:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --slate: #0f172a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 52%, #0f172a 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(6, 182, 212, 0.28);
  transition: transform 220ms ease;
}

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

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

.brand-text strong {
  font-size: 21px;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #dbeafe, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: #93c5fd;
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 15px;
  border-radius: 12px;
  color: #dbeafe;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.82);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

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

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.36), transparent 28%),
              linear-gradient(135deg, #020617 0%, #0f172a 35%, #1e3a8a 70%, #0f766e 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 48px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
}

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

.hero-content {
  max-width: 740px;
  padding-top: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #a5f3fc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #2563eb;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero h1 {
  background: linear-gradient(90deg, #bfdbfe, #a5f3fc, #ccfbf1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 700px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0f172a;
  box-shadow: 0 35px 80px rgba(2, 6, 23, 0.58);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 6, 23, 0.65));
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 36px;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 32px;
  line-height: 1;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
}

.stats-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -44px;
}

.stats-strip div {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

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

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section-block {
  padding: 74px 0;
}

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

.section-heading.vertical {
  display: block;
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  color: #2563eb;
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.card-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 360ms ease;
}

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(2, 6, 23, 0.76));
}

.play-chip,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.rank-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.card-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.card-body p {
  display: -webkit-box;
  min-height: 4.8em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 800;
}

.large-tags span {
  padding: 7px 12px;
  font-size: 13px;
}

.rank-section {
  padding: 82px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #0f766e 100%);
}

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

.rank-section .section-heading p {
  color: #bfdbfe;
  margin-bottom: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.home-rank-list .rank-row {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.rank-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 12px;
}

.rank-thumb img {
  width: 76px;
  height: 100px;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.rank-info p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
}

.home-rank-list .rank-info p,
.home-rank-list .card-meta {
  color: #dbeafe;
}

.rank-action {
  padding: 9px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  font-weight: 800;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #0e7490);
  box-shadow: var(--shadow);
}

.category-card strong,
.category-overview-title strong {
  display: block;
  font-size: 24px;
}

.category-card em,
.category-overview-title span {
  display: inline-flex;
  margin: 10px 0;
  padding: 4px 9px;
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
  font-weight: 800;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: #dbeafe;
}

.category-glow {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.35);
  filter: blur(8px);
}

.category-overview-card {
  color: var(--ink);
  background: var(--surface);
}

.category-overview-card p {
  color: var(--muted);
}

.category-overview-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.category-overview-title span {
  margin: 0;
  color: #1d4ed8;
  background: #dbeafe;
}

.mini-links {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.mini-links a {
  display: -webkit-box;
  overflow: hidden;
  color: #2563eb;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.page-hero {
  padding: 72px 0;
  color: #ffffff;
  background: radial-gradient(circle at 16% 20%, rgba(6, 182, 212, 0.42), transparent 30%),
              linear-gradient(135deg, #020617, #1e3a8a 62%, #0f766e);
}

.small-hero,
.category-hero,
.search-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 800;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  max-width: 820px;
  margin-top: 28px;
}

.wide-filter {
  grid-template-columns: minmax(0, 1fr) repeat(3, 150px);
  max-width: 1000px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  padding: 0 15px;
  outline: none;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #94a3b8;
  border-radius: 18px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.1);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.94), rgba(30, 58, 138, 0.76));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 64px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  background: #0f172a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  max-width: 880px;
}

.lead {
  max-width: 900px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.1);
}

.detail-meta a {
  color: #a5f3fc;
  font-weight: 900;
}

.detail-content {
  padding: 54px 0 0;
}

.player-panel {
  margin-bottom: 32px;
  border-radius: 26px;
  background: #020617;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.4), rgba(2, 6, 23, 0.78));
  cursor: pointer;
}

.player-start strong {
  font-size: 24px;
}

.player-start em {
  color: #bfdbfe;
  font-style: normal;
}

.play-round {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.36);
  font-size: 32px;
}

.player-panel.is-playing .player-start {
  display: none;
}

.player-message {
  margin: 0;
  padding: 14px 18px;
  color: #bfdbfe;
  background: #0f172a;
  font-size: 14px;
}

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

.prose-panel,
.side-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.prose-panel h2,
.side-panel h2 {
  margin: 0 0 15px;
  font-size: 24px;
}

.prose-panel p {
  margin: 0 0 24px;
  color: #334155;
  font-size: 17px;
}

.side-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.side-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.side-panel dd {
  margin: -10px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #0f172a;
  font-weight: 800;
}

.pager-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.pager-links a {
  padding: 11px 12px;
  border-radius: 14px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 800;
}

.full-rank-list .rank-row {
  grid-template-columns: 70px 84px minmax(0, 1fr) auto;
}

.prose-panel a,
.side-panel a {
  color: #2563eb;
  font-weight: 800;
}

.site-footer {
  margin-top: 70px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 48px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #67e8f9;
}

.footer-stat {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .split-layout,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
  }

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: center;
    padding-top: 20px;
  }

  .hero-poster {
    max-width: 260px;
    margin: 0 auto;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    display: inline-flex;
    margin-top: 14px;
  }

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

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

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

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

  .rank-row,
  .full-rank-list .rank-row {
    grid-template-columns: 52px 68px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / -1;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1200px);
  }

  .brand-text small {
    display: none;
  }

  .hero,
  .hero-track {
    min-height: 720px;
  }

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

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .card-body h3 {
    min-height: auto;
  }

  .rank-thumb img {
    width: 68px;
    height: 90px;
  }
}
