:root {
  --bg: #fffbf2;
  --paper: #ffffff;
  --paper-soft: #fff7e8;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.14);
  --amber: #f59e0b;
  --orange: #f97316;
  --red: #ef4444;
  --green: #10b981;
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.13);
  --shadow-strong: 0 28px 80px rgba(67, 20, 7, 0.24);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8eb 0%, #ffffff 38%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.wrap,
.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #b45309, #ea580c);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #b45309;
  background: rgba(245, 158, 11, 0.13);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #92400e;
}

.hero-carousel {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.24), transparent 34%), linear-gradient(135deg, #f59e0b 0%, #f97316 52%, #b91c1c 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  padding-block: 72px 86px;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  opacity: 0.16;
  filter: blur(12px) saturate(1.2);
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(67, 20, 7, 0.83), rgba(180, 83, 9, 0.55));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span,
.quick-search span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  color: #7c2d12;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 24px 0 20px;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags {
  margin-top: 26px;
}

.hero-tags span,
.detail-meta span,
.card-meta span,
.tag-row span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-weight: 700;
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn-ghost.light {
  color: #92400e;
  background: rgba(255, 237, 213, 0.88);
  border-color: rgba(245, 158, 11, 0.24);
}

.btn-soft {
  color: #92400e;
  background: #ffedd5;
}

.btn-soft.dark-link {
  margin-top: 22px;
}

.hero-poster {
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.34), rgba(255, 255, 255, 0.12));
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  transform: translate(-50%, -50%);
  font-size: 28px;
  box-shadow: 0 18px 32px rgba(67, 20, 7, 0.3);
}

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

.hero-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  background: white;
}

.quick-search,
.page-hero,
.highlight-block,
.detail-card,
.related-panel,
.filter-panel,
.category-panel,
.rank-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.quick-search {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  backdrop-filter: blur(18px);
}

.quick-search h2,
.page-hero h1,
.section-heading h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-block {
  padding-block: 64px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p,
.page-hero p,
.category-panel p,
.detail-card p,
.rank-card p {
  color: var(--muted);
  line-height: 1.75;
}

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

.category-tile {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  color: white;
  background: linear-gradient(135deg, #92400e, #f97316);
  box-shadow: var(--shadow);
}

.category-image {
  position: absolute;
  inset: 0;
  opacity: 0.36;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover .category-image img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(67, 20, 7, 0.8));
}

.category-name,
.category-text {
  position: relative;
  z-index: 1;
}

.category-name {
  font-size: 22px;
  font-weight: 900;
}

.category-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(146, 64, 14, 0.18);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 38%), linear-gradient(135deg, #f59e0b, #f97316);
}

.poster img,
.mini-thumb img,
.category-panel-cover img,
.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster img,
.mini-card:hover img,
.category-panel:hover img,
.rank-card:hover img {
  transform: scale(1.08);
}

.image-hidden {
  display: none;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.62));
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: rgba(245, 158, 11, 0.92);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.corner-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: rgba(245, 158, 11, 0.92);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-body {
  padding: 18px;
}

.card-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #1f2937;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title:hover {
  color: #d97706;
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta span {
  color: #92400e;
  background: #fff7ed;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 36px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.08);
}

.rank-no {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-weight: 900;
}

.rank-list strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.site-footer {
  margin-top: 72px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 36px;
  padding: 54px 0 42px;
}

.footer-brand p {
  max-width: 440px;
  color: #9ca3af;
  line-height: 1.75;
}

.footer-logo strong {
  color: white;
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 18px;
}

.footer-links a {
  color: #9ca3af;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #9ca3af;
}

.page-shell {
  padding-top: 34px;
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 36px;
  background: radial-gradient(circle at top left, #fff7ed, white 45%);
}

.compact-hero {
  margin-bottom: 30px;
}

.ranking-hero {
  background: radial-gradient(circle at top left, #ffedd5, white 52%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #d97706;
  font-weight: 800;
}

.category-panel-grid,
.rank-card-list {
  display: grid;
  gap: 20px;
}

.category-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
}

.category-panel-cover {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.category-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.category-panel h2 a:hover {
  color: #d97706;
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-preview a {
  border-radius: 999px;
  padding: 7px 12px;
  color: #92400e;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 0.24fr));
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-pill {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 900;
}

.filter-pill.is-active {
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.no-results {
  display: none;
  margin-top: 26px;
  padding: 34px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: white;
  box-shadow: var(--shadow);
}

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

.pager-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #050505;
  box-shadow: var(--shadow-strong);
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #050505;
}

.player-layer {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-ring {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.96);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.34);
  font-size: 30px;
}

.player-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 14px;
  padding: 10px 14px;
  color: white;
  background: rgba(17, 24, 39, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.player-status.is-visible {
  opacity: 1;
}

.detail-card {
  margin-top: 24px;
  padding: 30px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.detail-card h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.detail-meta {
  margin: 18px 0;
}

.detail-meta span,
.tag-row span {
  color: #92400e;
  background: #fff7ed;
}

.detail-lead {
  font-size: 18px;
  color: #374151;
}

.detail-card section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-card h2,
.related-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

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

.related-panel {
  position: sticky;
  top: 100px;
  padding: 22px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.mini-thumb {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.mini-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-copy em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.rank-cover {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.rank-cover span {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-weight: 900;
}

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

.rank-card h2 a:hover {
  color: #d97706;
}

@media (max-width: 1024px) {
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .related-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
  }

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

  .nav-link {
    border-radius: 14px;
  }

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

  .hero-slide {
    padding-block: 52px 74px;
  }

  .hero-content h1 {
    margin-top: 18px;
  }

  .hero-actions,
  .quick-search,
  .page-hero,
  .detail-title-row,
  .footer-bottom,
  .pager-links {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-search,
  .page-hero,
  .detail-card,
  .related-panel {
    padding: 22px;
  }

  .category-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .category-panel,
  .rank-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .rank-list em {
    grid-column: 2;
  }
}
