:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-850: #24201e;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --bronze-800: #846358;
  --bronze-700: #977669;
  --bronze-600: #a18072;
  --bronze-400: #d2bab0;
  --bronze-100: #efe4df;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(12, 10, 9, 0.16);
  --shadow-deep: 0 28px 70px rgba(12, 10, 9, 0.38);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 25, 23, 0.96);
  color: var(--stone-100);
  box-shadow: 0 14px 35px rgba(12, 10, 9, 0.25);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--bronze-400);
  transition: transform 0.25s ease;
}

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

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

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

.brand-copy strong {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--stone-400);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: var(--stone-300);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--bronze-400);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--bronze-400);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

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

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--stone-950);
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-image,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(210, 186, 176, 0.24), transparent 30%),
    linear-gradient(135deg, #1c1917, #0c0a09);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.95) 0%, rgba(12, 10, 9, 0.64) 45%, rgba(12, 10, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.9) 0%, rgba(12, 10, 9, 0.08) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
}

.hero-kicker,
.section-heading span,
.ranking-panel > span,
.page-hero span,
.detail-kicker,
.quick-search-inner span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(210, 186, 176, 0.36);
  border-radius: 999px;
  color: var(--bronze-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--stone-200);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-meta,
.movie-meta-row,
.rank-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.detail-meta span,
.movie-meta-row span,
.rank-copy div span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--stone-200);
  font-size: 12px;
}

.hero-actions,
.detail-title-block .primary-button {
  margin-top: 26px;
}

.primary-button,
.secondary-button,
.ghost-button,
.home-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button,
.home-search button {
  background: var(--bronze-600);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(161, 128, 114, 0.32);
}

.primary-button:hover,
.home-search button:hover {
  background: var(--bronze-700);
  transform: translateY(-1px);
}

.secondary-button,
.ghost-button {
  border: 1px solid rgba(210, 186, 176, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: var(--bronze-400);
  color: var(--bronze-400);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 10, 9, 0.56);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(12, 10, 9, 0.78);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--bronze-400);
}

.quick-search-band {
  margin-top: -38px;
  position: relative;
  z-index: 10;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(210, 186, 176, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.quick-search-inner h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.home-search {
  display: flex;
  gap: 10px;
}

.home-search input,
.filter-search input,
.filter-selects select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--stone-900);
  outline: none;
  padding: 0 14px;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.home-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 4px rgba(161, 128, 114, 0.12);
}

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

.muted-section {
  background: var(--stone-100);
}

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

.section-heading h2,
.ranking-panel h2,
.page-hero h1,
.detail-article h2,
.sidebar-card h2 {
  margin: 0 0 10px;
  line-height: 1.15;
}

.section-heading h2,
.ranking-panel h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.page-hero p,
.category-card p,
.category-overview-card p {
  max-width: 760px;
  margin: 0;
  color: var(--stone-600);
}

.section-more {
  color: var(--bronze-700);
  font-weight: 900;
}

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

.category-card,
.category-overview-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  min-height: 144px;
  padding: 14px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(12, 10, 9, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  border-color: var(--bronze-400);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.category-card h3,
.category-overview-card h2 {
  margin: 8px 0 8px;
  font-size: 19px;
}

.category-thumb {
  overflow: hidden;
  min-height: 116px;
  border-radius: 14px;
  background: var(--stone-200);
}

.category-thumb img,
.stack-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(12, 10, 9, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

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

.movie-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 25%, rgba(210, 186, 176, 0.42), transparent 32%),
    linear-gradient(135deg, #292524, #0c0a09);
}

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

.movie-card .poster-frame img,
.detail-poster img,
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-fallback::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--bronze-100);
  content: "亚洲高分电影";
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bronze-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--stone-900);
  font-size: 18px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover h3 {
  color: var(--bronze-700);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta-row span,
.rank-copy div span {
  background: var(--stone-100);
  color: var(--stone-600);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-row span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bronze-100);
  color: var(--bronze-800);
  font-size: 12px;
  font-weight: 700;
}

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

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 34px;
}

.ranking-panel,
.sidebar-card,
.player-card,
.detail-article,
.filter-panel {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(12, 10, 9, 0.07);
}

.ranking-panel {
  padding: 24px;
  align-self: start;
}

.mini-rank-list,
.rank-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(12, 10, 9, 0.07);
}

.ranking-panel .rank-row {
  box-shadow: none;
  border: 1px solid var(--stone-200);
}

.rank-link {
  display: grid;
  grid-template-columns: 96px 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.rank-number {
  color: var(--bronze-700);
  font-weight: 900;
}

.rank-thumb {
  width: 88px;
  height: 66px;
  border-radius: 12px;
}

.rank-copy h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.rank-copy p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(210, 186, 176, 0.18), transparent 32%),
    linear-gradient(135deg, var(--stone-950), var(--stone-800));
  color: var(--white);
}

.page-hero {
  padding: 86px 0;
}

.small-hero {
  padding: 76px 0;
}

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

.page-hero p {
  color: var(--stone-300);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--stone-300);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--bronze-400);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  padding: 18px;
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-selects select {
  width: auto;
  min-width: 140px;
}

.empty-state {
  margin: 30px 0 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--stone-100);
  color: var(--stone-600);
  text-align: center;
}

.thumb-stack {
  display: flex;
  min-height: 128px;
  align-items: center;
}

.stack-thumb {
  width: 86px;
  height: 118px;
  margin-left: -36px;
  border: 3px solid var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(12, 10, 9, 0.20);
}

.stack-thumb:first-child {
  margin-left: 0;
}

.category-overview-card {
  grid-template-columns: 180px 1fr;
  align-items: center;
}

.category-overview-card span:last-child {
  display: inline-flex;
  margin-top: 16px;
  color: var(--bronze-700);
  font-weight: 900;
}

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

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.96), rgba(12, 10, 9, 0.74), rgba(12, 10, 9, 0.38)),
    linear-gradient(0deg, rgba(12, 10, 9, 0.96), rgba(12, 10, 9, 0.10));
}

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

.detail-title-block {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.detail-title-block h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.detail-title-block p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--stone-200);
  font-size: 20px;
}

.large-tags span {
  background: rgba(210, 186, 176, 0.18);
  color: var(--bronze-100);
}

.detail-content-section {
  padding-top: 52px;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
}

.player-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--stone-900);
  color: var(--stone-200);
}

.player-topline span {
  color: var(--bronze-400);
  font-weight: 900;
}

.video-shell {
  position: relative;
  background: var(--stone-950);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--stone-950);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background: radial-gradient(circle, rgba(12, 10, 9, 0.28), rgba(12, 10, 9, 0.70));
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-card.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 999px;
  background: var(--bronze-600);
  box-shadow: 0 16px 34px rgba(161, 128, 114, 0.44);
}

.play-icon::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--white);
  content: "";
}

.player-status {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 10, 9, 0.74);
  color: var(--stone-200);
  font-size: 12px;
}

.player-card.is-ready .player-status {
  display: none;
}

.player-card.is-error .player-status {
  display: block;
  background: rgba(127, 29, 29, 0.86);
  color: var(--white);
}

.detail-article,
.sidebar-card {
  padding: 24px;
}

.detail-article h2 {
  margin-top: 0;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--stone-700);
  font-size: 17px;
}

.detail-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-card dl {
  margin: 0;
}

.sidebar-card div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--stone-200);
}

.sidebar-card div:last-child {
  border-bottom: 0;
}

.sidebar-card dt {
  color: var(--stone-500);
  font-weight: 800;
}

.sidebar-card dd {
  margin: 0;
  color: var(--stone-900);
}

.site-footer {
  background: var(--stone-900);
  color: var(--stone-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.site-footer p,
.site-footer ul {
  margin: 0;
  padding: 0;
  color: var(--stone-400);
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--bronze-400);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid var(--stone-800);
  color: var(--stone-500);
  font-size: 14px;
}

[data-movie-card][hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .movie-grid,
  .narrow-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--stone-900);
    border-top: 1px solid var(--stone-800);
  }

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

  .nav-link {
    padding: 12px 0;
  }

  .nav-link::after {
    display: none;
  }

  .hero-carousel {
    height: 78vh;
    min-height: 560px;
  }

  .hero-content {
    justify-content: end;
    padding-bottom: 88px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-inner,
  .filter-panel,
  .detail-title-block,
  .category-card,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .home-search,
  .filter-selects {
    flex-direction: column;
  }

  .filter-selects select {
    width: 100%;
  }

  .detail-poster {
    width: min(260px, 70vw);
  }

  .rank-link {
    grid-template-columns: 74px 76px 1fr;
    gap: 10px;
  }

  .rank-thumb {
    width: 76px;
    height: 58px;
  }
}

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

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

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

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

  .content-section {
    padding: 52px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .rank-link {
    grid-template-columns: 1fr;
  }

  .rank-thumb {
    width: 100%;
    height: 160px;
  }
}
