:root {
  --bg: #070b14;
  --panel: #0f172a;
  --panel-soft: rgba(15, 23, 42, 0.76);
  --panel-strong: #111827;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --amber: #f59e0b;
  --orange: #ea580c;
  --blue: #38bdf8;
  --purple: #a855f7;
  --danger: #ef4444;
  --green: #22c55e;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12), transparent 26%),
    linear-gradient(180deg, #070b14 0%, #0f172a 42%, #05070d 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong,
.footer-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fde68a, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  margin-top: 3px;
}

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

.nav-link {
  padding: 10px 15px;
  border-radius: 13px;
  color: #cbd5e1;
  transition: 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(234, 88, 12, 0.96));
  color: #fff;
}

.menu-toggle {
  display: none;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.8);
}

.quick-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  overflow-x: auto;
}

.quick-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  padding: 10px 24px;
  white-space: nowrap;
}

.quick-nav a {
  color: var(--muted);
  font-size: 14px;
}

.quick-nav a:hover {
  color: #fbbf24;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.15);
  transform: scale(1.05);
  opacity: 0.38;
}

.hero-overlay,
.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.96) 0%, rgba(7, 11, 20, 0.76) 50%, rgba(7, 11, 20, 0.38) 100%),
    radial-gradient(circle at 74% 34%, rgba(245, 158, 11, 0.28), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 720px;
  margin: 0 auto;
  padding: 84px 24px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 58px;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 16px 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.85;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.3);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.52);
  color: #f8fafc;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.22), rgba(15, 23, 42, 0.9));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3) !important;
}

.hero-dot.active {
  width: 28px !important;
  background: #fbbf24 !important;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 116px;
  z-index: 6;
  width: min(720px, calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(14px);
}

.hero-search input,
.filter-bar input,
.filter-bar select,
.search-console input,
.search-console select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  outline: none;
  color: #e2e8f0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  padding: 13px 14px;
}

.hero-search button,
.filter-bar button,
.search-console button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.stat-strip {
  max-width: 1180px;
  margin: -36px auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 24px;
}

.stat-strip div {
  min-height: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.84);
  box-shadow: var(--shadow);
}

.stat-strip strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: #fbbf24;
}

.stat-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-heading > a {
  margin-left: auto;
  color: #fbbf24;
  font-weight: 700;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
}

.section-icon.amber {
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.section-icon.blue {
  background: linear-gradient(135deg, #2563eb, var(--blue));
}

.section-icon.purple {
  background: linear-gradient(135deg, #7c3aed, var(--purple));
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(17, 24, 39, 0.92);
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 190px;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.24), rgba(56, 189, 248, 0.08)),
    #111827;
}

.poster-frame.small {
  height: 100%;
  aspect-ratio: auto;
}

.poster-frame::before,
.hero-poster::before,
.detail-poster::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 30%, rgba(251, 191, 36, 0.32), transparent 24%),
    linear-gradient(145deg, rgba(30, 41, 59, 0.1), rgba(2, 6, 23, 0.88));
}

.poster-frame img,
.hero-poster img,
.detail-poster img {
  position: relative;
  z-index: 1;
}

.poster-frame img.is-missing,
.hero-poster img.is-missing,
.detail-poster img.is-missing {
  opacity: 0;
}

.poster-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.34);
}

.card-body {
  padding: 16px;
}

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

.card-meta-row,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.card-body h3 {
  min-height: 52px;
  margin: 10px 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 850;
}

.card-body h3 a:hover {
  color: #fbbf24;
}

.card-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #cbd5e1;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-panel,
.content-card,
.category-overview-card,
.search-console,
.filter-bar,
.rank-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.rank-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.rank-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.rank-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.rank-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.rank-row,
.rank-table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.58);
}

.rank-row {
  grid-template-columns: 36px minmax(0, 1fr);
}

.rank-row:hover,
.rank-table-row:hover {
  background: rgba(245, 158, 11, 0.13);
}

.rank-no {
  color: #fbbf24;
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
}

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

.category-card,
.category-top {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.78));
}

.category-card {
  min-height: 210px;
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover,
.category-top:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.42);
}

.category-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 18px;
}

.category-card strong {
  display: block;
  font-size: 20px;
}

.category-card small {
  color: #fbbf24;
}

.category-card p {
  color: var(--muted);
  line-height: 1.7;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.4);
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 64px 24px;
}

.page-hero.slim {
  min-height: 300px;
}

.page-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86));
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 66px);
}

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

.category-overview-card {
  overflow: hidden;
}

.category-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.category-top span {
  font-size: 34px;
}

.category-top h2 {
  margin: 0 0 5px;
}

.category-top p {
  margin: 0;
  color: var(--muted);
}

.category-top strong {
  color: #fbbf24;
}

.category-preview-links {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-preview-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.5);
  color: #dbeafe;
}

.category-preview-links span {
  color: var(--muted);
}

.filter-bar,
.search-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px auto;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.result-count {
  margin: 0 0 18px;
  color: var(--muted);
}

.rank-table {
  overflow: hidden;
}

.rank-table-row {
  grid-template-columns: 50px minmax(0, 1fr) 130px 80px 80px 90px;
  border-radius: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 46px;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-info h1 {
  font-size: clamp(38px, 6vw, 74px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover,
.meta-card a:hover {
  color: #fbbf24;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-stats span {
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

.player-section {
  padding-top: 54px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.72));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.video-start span {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.36);
  font-size: 34px;
}

.video-start.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.62);
  font-size: 13px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.content-card {
  padding: 26px;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-card p {
  color: #cbd5e1;
  line-height: 1.95;
  margin: 0 0 16px;
}

.meta-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 16px;
}

.meta-card dt {
  color: var(--muted);
}

.meta-card dd {
  margin: 0;
  color: #e2e8f0;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.prev-next a {
  max-width: 48%;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.72);
  color: #dbeafe;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), #020617);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 32px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 16px;
}

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

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
}

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

@media (max-width: 1100px) {
  .hero-content,
  .detail-hero-inner,
  .split-section,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .rank-panel {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 58px;
    padding-bottom: 150px;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    min-height: 44px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .movie-grid,
  .horizontal-grid,
  .category-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar,
  .search-console {
    grid-template-columns: 1fr;
  }

  .rank-table-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rank-table-row span:nth-child(n+3) {
    display: none;
  }

  .detail-hero-inner {
    padding-top: 42px;
  }

  .detail-poster {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1,
  .detail-info h1 {
    font-size: 38px;
  }

  .movie-grid,
  .horizontal-grid,
  .category-grid,
  .category-overview-grid,
  .category-preview-links,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .section-wrap {
    padding: 46px 16px;
  }

  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-grid {
    padding-left: 16px;
    padding-right: 16px;
  }
}
