:root {
  --bg: #fff7fb;
  --panel: #ffffff;
  --panel-soft: #fff1f7;
  --text: #221526;
  --muted: #74667a;
  --pink: #ec4899;
  --pink-deep: #db2777;
  --purple: #8b5cf6;
  --violet: #6d28d9;
  --yellow: #fde68a;
  --border: rgba(236, 72, 153, 0.16);
  --shadow: 0 22px 60px rgba(129, 39, 120, 0.16);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.16), transparent 34%), var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(236, 72, 153, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.32);
}

.brand-text,
.footer-brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--pink-deep), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

.nav-link,
.dropdown-toggle {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  background: transparent;
  color: #57425f;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle:hover {
  color: var(--pink-deep);
  background: rgba(236, 72, 153, 0.09);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 220px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #66516d;
}

.dropdown-panel a:hover {
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.12), rgba(139, 92, 246, 0.12));
  color: var(--pink-deep);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.page-filter-input {
  min-width: 230px;
  border: 2px solid rgba(236, 72, 153, 0.16);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.page-filter-input:focus {
  border-color: rgba(236, 72, 153, 0.58);
  box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.08);
}

.header-search button,
.mobile-search button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.26);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.34);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.23);
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.1);
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--pink-deep);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
}

.mobile-panel.open {
  display: block;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-links a {
  padding: 12px;
  border-radius: 14px;
  background: var(--panel-soft);
  color: var(--pink-deep);
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #ffffff;
  background: #271032;
}

.hero-track {
  position: relative;
  min-height: 690px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.18);
}

.hero-shade,
.detail-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(253, 230, 138, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(219, 39, 119, 0.82), rgba(109, 40, 217, 0.86) 55%, rgba(16, 11, 38, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: 56px;
  padding: 82px 0 118px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffe4f2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.section-kicker {
  color: var(--pink-deep);
  background: rgba(236, 72, 153, 0.09);
  border-color: rgba(236, 72, 153, 0.18);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-meta,
.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags,
.detail-meta,
.detail-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.movie-meta-line span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-meta span,
.detail-tags span {
  color: #fff7d6;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tag-row span,
.movie-meta-line span {
  color: var(--pink-deep);
  background: rgba(236, 72, 153, 0.08);
}

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

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #f9a8d4, #8b5cf6);
}

.hero-poster span,
.detail-poster span {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink-deep);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 82px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.hero-quick-links {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-quick-links a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -48px;
  position: relative;
  z-index: 6;
  padding-top: 0;
}

.intro-card,
.content-card,
.rank-panel,
.latest-panel,
.filter-bar,
.player-card,
.channel-card,
.category-card,
.movie-card,
.library-row {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(129, 39, 120, 0.1);
}

.intro-card {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-radius: 24px;
  padding: 24px;
}

.intro-card strong {
  font-size: 22px;
  color: var(--pink-deep);
}

.intro-card span,
.category-card p,
.channel-body p,
.movie-card p,
.content-card p,
.library-row p,
.site-footer p {
  color: var(--muted);
  line-height: 1.78;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--pink-deep);
  font-weight: 900;
}

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

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(129, 39, 120, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.08);
}

.play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.movie-card-body {
  padding: 17px;
}

.movie-meta-line {
  margin-bottom: 10px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.library-title:hover,
.channel-body h2 a:hover {
  color: var(--pink-deep);
}

.movie-card p {
  margin: 0 0 12px;
  min-height: 50px;
  font-size: 14px;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
}

.movie-card-wide .movie-cover img {
  height: 100%;
  aspect-ratio: auto;
}

.category-grid,
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--pink-deep);
  font-size: 24px;
  font-weight: 950;
}

.category-samples,
.channel-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-samples a,
.channel-links a,
.footer-links a {
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--pink-deep);
  background: rgba(236, 72, 153, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.latest-panel,
.rank-panel {
  border-radius: 28px;
  padding: 24px;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-card {
  display: grid;
  gap: 8px;
}

.compact-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.22));
}

.compact-card span {
  font-weight: 900;
  line-height: 1.35;
}

.compact-card small,
.rank-meta,
.library-meta {
  color: var(--muted);
}

.rank-list {
  display: grid;
  gap: 8px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 16px;
  background: rgba(236, 72, 153, 0.06);
}

.rank-no {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

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

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-deep), var(--violet));
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 72px max(16px, calc((100% - 1180px) / 2));
}

.page-hero.small-hero,
.page-hero.search-hero,
.page-hero.rank-hero,
.page-hero.category-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 230, 138, 0.28), transparent 25%),
    linear-gradient(135deg, #db2777, #7c3aed 58%, #241036);
}

.filter-shell,
.library-shell {
  padding-top: 36px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 24px;
}

.page-filter-input {
  flex: 1 1 330px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--pink-deep);
  background: rgba(236, 72, 153, 0.08);
  cursor: pointer;
}

.filter-chips button.active,
.filter-chips button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

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

.channel-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 26px;
}

.channel-cover {
  position: relative;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(139, 92, 246, 0.25));
}

.channel-cover img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.channel-cover span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.42);
}

.channel-body {
  padding: 24px;
}

.channel-body h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.library-list {
  display: grid;
  gap: 12px;
}

.library-row {
  border-radius: 18px;
  padding: 18px 20px;
}

.library-title {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 950;
}

.library-row p {
  margin: 8px 0 0;
}

.detail-hero {
  min-height: 620px;
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #f9a8d4, #8b5cf6);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.player-section {
  padding-top: 36px;
  padding-bottom: 26px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #10091a;
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #10091a;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.72), rgba(109, 40, 217, 0.78));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink-deep);
  font-size: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.player-overlay strong {
  max-width: min(620px, calc(100% - 48px));
  font-size: clamp(22px, 4vw, 38px);
  text-align: center;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding-top: 28px;
}

.content-card {
  border-radius: 26px;
  padding: 28px;
}

.content-card h2 {
  margin: 12px 0 18px;
  font-size: 28px;
}

.content-card p {
  margin: 0 0 14px;
}

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

.sticky-rank {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.site-footer {
  margin-top: 56px;
  padding: 42px 0 26px;
  color: #ffe4f2;
  background: linear-gradient(135deg, #db2777, #7c3aed);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-links a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.is-hidden-by-filter {
  display: none !important;
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

  .movie-grid,
  .page-movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-layout,
  .rank-page-layout {
    grid-template-columns: 1fr;
  }

  .sticky-rank {
    position: static;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 56px;
  }

  .hero-poster {
    width: min(280px, 82%);
  }

  .intro-strip,
  .category-grid,
  .channel-grid,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .compact-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card {
    grid-template-columns: 1fr;
  }

  .detail-inner {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .detail-poster {
    width: min(260px, 72%);
    margin: 0 auto;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 64px;
  }

  .brand-text {
    font-size: 19px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

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

  .movie-card-body {
    padding: 14px;
  }

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-card p {
    display: none;
  }

  .movie-card-wide {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: -28px;
  }

  .section-shell {
    padding: 42px 0;
  }

  .hero-dots {
    bottom: 72px;
  }

  .hero-quick-links {
    bottom: 18px;
  }

  .compact-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
