:root {
  color-scheme: light;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --indigo-700: #4338ca;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  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;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.28);
  font-size: 15px;
}

.logo-text {
  font-size: 1.5rem;
  line-height: 1;
  background: linear-gradient(90deg, var(--teal-600), var(--blue-600));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link,
.dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--slate-700);
  font-weight: 650;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle:hover {
  color: var(--teal-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 190px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--slate-700);
  font-size: 0.92rem;
}

.dropdown-panel a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.toolbar input,
.search-panel input,
.search-panel select {
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  color: var(--slate-800);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.toolbar input:focus,
.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.header-search button,
.mobile-search button,
.search-panel button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--slate-800);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 16px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 650;
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600), var(--indigo-700));
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(13, 148, 136, 0.64), rgba(37, 99, 235, 0.42)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.86));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 44px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
}

.hero-label,
.section-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1,
.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.hero p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.32rem);
}

.hero-tags,
.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-tags span,
.detail-tags a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 650;
}

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

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--white);
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: var(--white);
  color: var(--teal-700);
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-700);
  font-weight: 800;
}

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

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1.7rem;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dot.active {
  width: 28px;
  border-radius: 99px;
  background: var(--white);
}

.stats-row {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  display: block;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-card span {
  color: var(--teal-600);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin: 7px 0 3px;
  font-size: 1.55rem;
}

.stat-card small {
  color: var(--slate-500);
}

.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding: 66px max(16px, calc((100% - 1180px) / 2));
  background: var(--slate-100);
}

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

.section-kicker {
  background: var(--teal-50);
  color: var(--teal-700);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-500);
}

.section-link,
.text-button {
  color: var(--teal-700);
  font-weight: 800;
  white-space: nowrap;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600));
}

.movie-card-featured .movie-poster {
  aspect-ratio: 16 / 12;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
  opacity: 0.85;
}

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-700);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.movie-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 750;
}

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

.movie-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.movie-card-body h3 a:hover {
  color: var(--teal-700);
}

.movie-card-body p {
  margin: 0 0 14px;
  color: var(--slate-500);
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-tags span {
  background: var(--teal-50);
  color: var(--teal-700);
}

.movie-meta {
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 0.88rem;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.aside-card,
.detail-info-card,
.player-card,
.search-panel,
.category-overview-card {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ranking-panel {
  padding: 24px;
  position: sticky;
  top: 98px;
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 850;
}

.ranking-title a {
  color: var(--teal-700);
  font-size: 0.9rem;
}

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

.rank-item a {
  display: grid;
  grid-template-columns: auto 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--slate-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item a:hover {
  background: var(--teal-50);
  transform: translateX(3px);
}

.rank-number {
  width: 32px;
  color: var(--teal-700);
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 76px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-content {
  min-width: 0;
}

.rank-content strong,
.rank-content small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-content small {
  color: var(--slate-500);
}

.rank-action {
  color: var(--teal-700);
  font-weight: 800;
  font-size: 0.86rem;
}

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

.category-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--white), var(--teal-50));
  box-shadow: var(--soft-shadow);
  transition: all 0.25s ease;
}

.category-card > span,
.category-overview-body h2 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 900;
}

.category-card p,
.category-overview-body p {
  color: var(--slate-500);
}

.category-card div,
.category-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-card div a,
.category-mini-links a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 750;
}

.page-hero {
  background: linear-gradient(135deg, var(--teal-600), var(--blue-600), var(--slate-900));
  color: var(--white);
  padding: 92px 0;
}

.compact-page-hero {
  padding: 72px 0;
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.category-overview-card {
  overflow: hidden;
  transition: all 0.25s ease;
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 116px;
  overflow: hidden;
}

.category-cover-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-body {
  padding: 22px;
}

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

.toolbar label,
.search-panel label {
  display: grid;
  gap: 7px;
  color: var(--slate-700);
  font-weight: 800;
}

.toolbar input {
  width: min(420px, 70vw);
}

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

.detail-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--teal-700);
}

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

.player-card {
  overflow: hidden;
  background: #000000;
}

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

.video-frame video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #000000;
}

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

.video-cover {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(1px) saturate(1.1);
  transform: scale(1.02);
}

.video-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18), rgba(0, 0, 0, 0.76));
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-700);
  font-size: 2rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.detail-info-card {
  margin-top: 22px;
  padding: 28px;
}

.detail-info-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.detail-info-card h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

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

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
}

.lead-text {
  margin: 0 0 18px;
  color: var(--slate-700);
  font-size: 1.08rem;
}

.detail-tags a {
  background: var(--teal-50);
  color: var(--teal-700);
}

.article-text p {
  margin: 0 0 14px;
  color: var(--slate-700);
}

.detail-aside {
  position: sticky;
  top: 98px;
}

.aside-card {
  padding: 22px;
}

.aside-card h2 {
  margin: 0 0 14px;
}

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

.side-rank-list .rank-action {
  display: none;
}

.search-section {
  min-height: 520px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.8fr auto;
  gap: 16px;
  align-items: end;
  padding: 24px;
  margin-bottom: 26px;
}

.search-summary {
  color: var(--slate-500);
  margin-bottom: 18px;
  font-weight: 700;
}

.site-footer {
  margin-top: 70px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900), #0f3f46);
}

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

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--white);
}

.footer-col a:hover {
  color: var(--teal-100);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.hidden-card,
.hidden-rank {
  display: none !important;
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero {
    height: auto;
    min-height: 720px;
  }

  .hero-inner {
    padding: 70px 0 120px;
  }

  .hero-poster {
    width: min(320px, 82vw);
    margin: 0 auto;
  }

  .ranking-panel,
  .detail-aside {
    position: static;
  }

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

  .movie-card-featured {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 680px) {
  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.45rem;
  }

  .stats-row,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .category-overview-grid,
  .full-rank-list,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .stats-row {
    margin-top: -30px;
  }

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

  .toolbar input {
    width: 100%;
  }

  .rank-item a {
    grid-template-columns: auto 70px minmax(0, 1fr);
  }

  .rank-action {
    display: none;
  }

  .footer-inner {
    padding: 36px 0;
  }
}
