:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --soft: #e2e8f0;
  --emerald: #10b981;
  --teal: #0d9488;
  --cyan: #06b6d4;
  --orange: #f97316;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.18);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.08), transparent 28rem), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-solid,
.sub-page .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.32);
}

.brand-text strong,
.footer-brand {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  margin-top: -4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.site-header.is-solid .brand-text small,
.sub-page .brand-text small {
  color: var(--muted);
}

.brand-text strong,
.main-nav a,
.menu-toggle span {
  color: #ffffff;
}

.site-header.is-solid .brand-text strong,
.site-header.is-solid .main-nav a,
.sub-page .brand-text strong,
.sub-page .main-nav a {
  color: var(--ink);
}

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

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #020617;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.75s ease, transform 1.1s ease;
}

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

.hero-slide img,
.detail-hero > img,
.rank-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #0d9488);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.12) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 76px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
}

.hero-content > * {
  max-width: 720px;
}

.eyebrow,
.section-heading p,
.page-hero p,
.rank-hero-content p {
  margin: 0 0 10px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.eyebrow span,
.detail-badge,
.rank-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
}

.eyebrow em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.hero h1,
.hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-meta,
.meta-row,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-meta {
  margin: 24px 0 0;
}

.hero-meta span,
.meta-row span,
.detail-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

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

.primary-btn,
.ghost-btn,
.quick-search button,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover,
.quick-search button:hover,
.filter-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(16, 185, 129, 0.34);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

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

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

.hero-dot.is-active {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
  max-width: 620px;
}

.hero-thumbs a {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-thumbs a:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.hero-thumbs span {
  position: absolute;
  inset: auto 10px 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.section-block,
.search-strip-inner,
.detail-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.search-strip {
  position: relative;
  z-index: 3;
  margin-top: -50px;
}

.search-strip-inner {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 560px);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.search-strip strong {
  display: block;
  font-size: 26px;
}

.search-strip span {
  color: var(--muted);
}

.quick-search,
.filter-bar {
  display: flex;
  gap: 12px;
}

.quick-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--soft);
  border-radius: 16px;
  background: #ffffff;
  padding: 0 16px;
  outline: none;
}

.quick-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
  color: var(--teal);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #0f766e);
}

.compact-card .poster-frame {
  aspect-ratio: 4 / 3;
}

.poster-frame img,
.list-poster img,
.poster-side-card img,
.category-cover-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.rank-number {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #dc2626);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

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

.meta-row {
  justify-content: space-between;
  color: var(--muted);
}

.meta-row span {
  background: #f1f5f9;
}

.movie-card h3,
.list-card h3,
.category-card-large h2 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.movie-card p,
.list-card p,
.category-card-large p,
.page-hero span,
.detail-article p,
.rank-hero-content span {
  margin: 0;
  color: var(--muted);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  padding: 5px 9px;
  color: #047857;
  font-size: 12px;
  border-radius: 999px;
  background: #d1fae5;
}

.category-section {
  padding-top: 24px;
}

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

.category-tile {
  min-height: 160px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 40%), linear-gradient(135deg, #0f766e, #064e3b);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(3n + 2) {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 40%), linear-gradient(135deg, #0e7490, #155e75);
}

.category-tile:nth-child(3n) {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 40%), linear-gradient(135deg, #1d4ed8, #312e81);
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-tile span {
  font-size: 23px;
  font-weight: 900;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.split-section,
.split-rank-page {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: start;
}

.rank-panel,
.fresh-panel,
.wide-panel,
.rank-side-grid,
.side-card,
.detail-article,
.player-card {
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.rank-panel,
.fresh-panel,
.wide-panel,
.rank-side-grid {
  padding: 28px;
}

.inline-heading {
  align-items: center;
  margin-bottom: 22px;
}

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

.list-stack {
  display: grid;
  gap: 16px;
}

.list-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.list-card:hover {
  background: #ecfdf5;
  transform: translateX(4px);
}

.list-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #0f766e);
}

.rank-pill {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
}

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

.sub-page {
  padding-top: 76px;
}

.page-hero,
.rank-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: linear-gradient(135deg, #064e3b, #0f172a);
}

.page-hero {
  display: grid;
  place-items: center;
  padding: 72px 16px;
  color: #ffffff;
  text-align: center;
}

.page-hero h1,
.rank-hero h1,
.detail-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero span {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.breadcrumb a {
  color: var(--teal);
  font-weight: 800;
}

.on-dark,
.on-dark a {
  color: rgba(255, 255, 255, 0.86);
}

.filter-bar {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-bar select {
  max-width: 180px;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #0f766e);
}

.category-card-large span {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rank-hero,
.detail-hero {
  height: 520px;
}

.rank-hero-mask,
.detail-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.28)), linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 50%);
}

.rank-hero-content,
.detail-hero-content {
  position: absolute;
  left: 50%;
  bottom: 64px;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  color: #ffffff;
}

.rank-hero-content span,
.detail-hero-content p {
  display: block;
  max-width: 720px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  padding: 52px 0 80px;
  align-items: start;
}

.detail-primary,
.detail-aside {
  display: grid;
  gap: 24px;
}

.player-card {
  padding: 12px;
  background: #020617;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
}

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

.video-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.18));
}

.video-trigger span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  color: var(--teal);
  font-size: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.video-trigger.is-hidden {
  display: none;
}

.detail-article {
  padding: 32px;
}

.detail-tags {
  margin-top: 0;
  margin-bottom: 24px;
}

.detail-tags span {
  color: #065f46;
  background: #d1fae5;
}

.detail-article h2,
.related-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-article p + h2 {
  margin-top: 32px;
}

.detail-article p {
  font-size: 17px;
  line-height: 1.9;
}

.side-card {
  padding: 22px;
}

.poster-side-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(135deg, #111827, #0f766e);
}

.detail-meta {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.detail-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

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

.detail-meta dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.compact-list .list-card {
  grid-template-columns: 112px 1fr;
  padding: 8px;
}

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

.is-filtered-out {
  display: none !important;
}

.site-footer {
  color: #cbd5e1;
  background: #020617;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  max-width: 720px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #e2e8f0;
  font-weight: 800;
}

.footer-inner span {
  color: #64748b;
}

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

  .featured-grid,
  .split-section,
  .split-rank-page,
  .detail-layout,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .nav-wrap {
    height: 66px;
  }

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

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
  }

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

  .main-nav a,
  .site-header .main-nav a {
    color: var(--ink);
  }

  .hero,
  .hero-content {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 66px;
  }

  .hero-panel {
    display: none;
  }

  .hero-actions,
  .quick-search,
  .filter-bar {
    flex-direction: column;
  }

  .search-strip-inner,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .list-card {
    grid-template-columns: 112px 1fr;
  }

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

  .detail-hero,
  .rank-hero {
    height: 460px;
  }

  .filter-bar select {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }

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

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

  .movie-card-body,
  .detail-article,
  .rank-panel,
  .fresh-panel,
  .wide-panel,
  .rank-side-grid {
    padding: 20px;
  }

  .list-card,
  .compact-list .list-card {
    grid-template-columns: 96px 1fr;
  }
}
