:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --yellow: #facc15;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #fed7aa;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(234, 88, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 46%, #fdf2f8 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.96), rgba(253, 242, 248, 0.96), rgba(254, 249, 195, 0.96));
  border-bottom: 1px solid rgba(253, 186, 116, 0.45);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(4deg);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
}

.brand-text strong {
  display: block;
  line-height: 1.1;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--orange-dark), var(--pink-dark), #ca8a04);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
  transition: all 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange-dark);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.13);
}

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

.header-search input,
.mobile-search input,
.filter-input,
.filter-select {
  min-width: 0;
  border: 2px solid #fed7aa;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: all 0.22s ease;
}

.header-search input {
  width: 220px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.12);
}

.header-search button,
.mobile-search button,
.primary-btn,
.secondary-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(236, 72, 153, 0.25);
}

.secondary-btn {
  color: #374151;
  background: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #4b5563;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 18px;
}

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

.mobile-search {
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 16px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-nav-link.is-active {
  color: var(--orange-dark);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(120deg, #fb923c, #f472b6, #facc15);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, #fff7ed, transparent);
}

.hero-slides {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 600px;
  margin: 0 auto;
  padding: 54px 24px 72px;
}

.hero-slide {
  display: none;
  min-height: 474px;
  align-items: center;
  gap: 44px;
  animation: fadeIn 0.6s ease both;
}

.hero-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.hero-copy {
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(124, 45, 18, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fffbeb;
  font-size: 0.95rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5.4vw, 5.1rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero h1 span,
.hero h2 span {
  display: block;
  margin-top: 10px;
  color: #fef3c7;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-actions .secondary-btn {
  background: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags a,
.tag-row span,
.category-chip,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 800;
  background: #ffedd5;
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 28px 10px -10px 38px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(2px);
  transform: rotate(4deg);
}

.hero-poster {
  position: relative;
  height: 430px;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #fce7f3);
  box-shadow: 0 28px 60px rgba(124, 45, 18, 0.26);
}

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

.hero-poster figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.35));
}

.hero-poster strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.25rem;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

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

.section,
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 24px;
}

.section.alt {
  max-width: none;
  padding: 68px 0;
  background: linear-gradient(90deg, #fce7f3, #ffedd5, #fef9c3);
}

.section.alt > .section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: var(--shadow);
}

.title-block h2,
.page-title h1,
.detail-text h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 950;
  color: #1f2937;
}

.title-block p,
.page-title p {
  margin: 7px 0 0;
  color: var(--muted);
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card.vertical {
  flex-direction: column;
}

.movie-card.horizontal {
  min-height: 220px;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #fdba74;
  box-shadow: 0 22px 42px rgba(236, 72, 153, 0.16);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5, #fce7f3);
}

.movie-card.vertical .movie-poster {
  aspect-ratio: 16 / 10;
}

.movie-card.horizontal .movie-poster {
  width: 42%;
  min-width: 220px;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.62), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.poster-play,
.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: all 0.25s ease;
}

.poster-play::after,
.play-circle::after,
.player-button::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--orange);
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.movie-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-info h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 950;
}

.movie-info h3 a:hover {
  color: var(--orange-dark);
}

.movie-info p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 14px;
  overflow: hidden;
  color: #4b5563;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.movie-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ca8a04;
  font-weight: 950;
}

.score::before {
  content: "★";
  color: #f59e0b;
}

.movie-bottom a {
  color: var(--orange-dark);
  font-weight: 900;
}

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

.category-chip {
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(253, 186, 116, 0.5);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
  transition: all 0.22s ease;
}

.category-chip:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  transform: translateY(-3px);
}

.category-chip em {
  font-style: normal;
  opacity: 0.72;
}

.page-hero {
  background: linear-gradient(90deg, #ffedd5, #fce7f3, #fef9c3);
  border-bottom: 1px solid rgba(253, 186, 116, 0.55);
}

.page-hero .page-title {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--orange-dark);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid rgba(253, 186, 116, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 12px 14px;
}

.no-results {
  display: none;
  padding: 34px;
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.no-results.is-visible {
  display: block;
}

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

.category-group {
  padding: 24px;
  border: 1px solid rgba(253, 186, 116, 0.5);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.09);
}

.category-group h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-cloud a {
  display: inline-flex;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #7c2d12;
  font-weight: 800;
  background: #ffedd5;
  transition: all 0.22s ease;
}

.link-cloud a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 72px 112px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.08);
  transition: all 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(236, 72, 153, 0.15);
}

.rank-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.rank-item img {
  width: 112px;
  height: 70px;
  border-radius: 16px;
  object-fit: cover;
  background: #ffedd5;
}

.rank-copy h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.rank-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.rank-meta {
  color: var(--muted);
  font-weight: 800;
}

.detail-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
  gap: 28px;
  margin-bottom: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.25));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.26);
  transition: all 0.22s ease;
}

.player-button:hover {
  transform: scale(1.08);
}

.player-button::after {
  left: 36px;
  top: 28px;
  border-top-width: 16px;
  border-bottom-width: 16px;
  border-left-width: 24px;
}

.detail-text {
  padding: 24px;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-text p {
  color: #4b5563;
  line-height: 1.72;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #7c2d12;
  font-weight: 850;
  background: #ffedd5;
}

.detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: #ca8a04;
  font-size: 1.45rem;
  font-weight: 950;
}

.detail-rating::before {
  content: "★";
}

.content-panel {
  margin-bottom: 34px;
  padding: 28px;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.content-panel h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.content-panel p {
  margin: 0 0 22px;
  color: #374151;
  line-height: 1.9;
  text-align: justify;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 18px;
  background: #ffffff;
  transition: all 0.22s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.compact-card img {
  width: 92px;
  height: 62px;
  border-radius: 13px;
  object-fit: cover;
  background: #ffedd5;
}

.compact-card strong {
  display: block;
  margin-bottom: 5px;
  color: #1f2937;
  font-size: 0.95rem;
}

.compact-card em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.site-footer {
  border-top: 1px solid rgba(253, 186, 116, 0.5);
  background: linear-gradient(90deg, #fff7ed, #fdf2f8, #fef9c3);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
}

.footer-inner strong {
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  color: transparent;
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: #7c2d12;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--pink-dark);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@media (max-width: 860px) {
  .header-inner {
    height: 70px;
  }

  .desktop-nav {
    display: none;
  }

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

  .brand {
    min-width: 0;
  }

  .hero,
  .hero-slides {
    min-height: auto;
  }

  .hero-slide.is-active {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
  }

  .hero-poster {
    height: 320px;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-groups,
  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

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

  .rank-item {
    grid-template-columns: 52px 96px 1fr;
  }

  .rank-meta {
    grid-column: 3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .mobile-panel,
  .section,
  .section.alt > .section-inner,
  .page-hero .page-title,
  .page-shell,
  .detail-page,
  .hero-slides {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text em {
    display: none;
  }

  .hero-slides {
    padding-top: 36px;
    padding-bottom: 68px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-band,
  .category-groups,
  .compact-list {
    grid-template-columns: 1fr;
  }

  .movie-card.horizontal {
    flex-direction: column;
  }

  .movie-card.horizontal .movie-poster {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 44px 82px 1fr;
    gap: 12px;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .rank-item img {
    width: 82px;
    height: 58px;
  }
}
