:root {
  color-scheme: dark;
  --bg: #06101f;
  --bg-soft: #0d1b2d;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-strong: #111827;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --cyan: #22d3ee;
  --blue: #2563eb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -6%, rgba(34, 211, 238, 0.24), transparent 28rem),
    radial-gradient(circle at 94% 8%, rgba(37, 99, 235, 0.24), transparent 32rem),
    linear-gradient(180deg, #08111f 0%, #0f172a 42%, #070b14 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 31, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 36px rgba(34, 211, 238, 0.24);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(34, 211, 238, 0.14);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.12);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
}

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

.section-wrap,
.page-hero,
.detail-breadcrumb,
.detail-layout,
.player-section {
  width: min(1200px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 46px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0 calc((100vw - min(1200px, calc(100vw - 32px))) / -2);
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.15) brightness(0.62);
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.96) 0%, rgba(6, 16, 31, 0.72) 44%, rgba(6, 16, 31, 0.92) 100%),
    linear-gradient(180deg, rgba(6, 16, 31, 0.15), #06101f 100%);
}

.hero-content {
  padding: 60px 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-content h1,
.page-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p,
.page-hero p {
  max-width: 680px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-tags,
.tag-row,
.poster-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span,
.poster-meta span,
.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.54);
  font-size: 12px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.home-search button,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.home-search button,
.filter-bar button {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.ghost-btn {
  border: 1px solid rgba(226, 232, 240, 0.22);
  background: rgba(15, 23, 42, 0.64);
}

.primary-btn:hover,
.ghost-btn:hover,
.home-search button:hover,
.filter-bar button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(37, 99, 235, 0.08));
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

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

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

.hero-dots button {
  width: 38px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.32);
  cursor: pointer;
}

.hero-dots button.active {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.66));
  box-shadow: var(--shadow);
}

.quick-search h2,
.section-head h2,
.detail-card h2,
.page-hero h1 {
  margin: 0;
}

.quick-search p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.54);
}

.home-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: inherit;
}

.home-search input {
  padding: 0 14px;
}

.section-wrap {
  margin-top: 64px;
}

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

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.section-head a {
  color: #67e8f9;
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.94) 82%);
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(34, 211, 238, 0.16);
  font-weight: 900;
}

.category-tile p {
  margin: 92px 0 0;
  color: #cbd5e1;
  line-height: 1.7;
}

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

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

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

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

.tiny-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.movie-card {
  min-width: 0;
}

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.36);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5.45;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.92));
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #082f49;
  background: #67e8f9;
  font-size: 12px;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  min-height: 1.5em;
  margin: 0 0 8px;
  overflow: hidden;
  color: white;
  font-size: 18px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.meta-row {
  margin-bottom: 10px;
}

.meta-row span,
.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  color: #bae6fd;
  font-size: 11px;
}

.highlight-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.16), rgba(30, 41, 59, 0.86));
}

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

.wide-card a {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 18px;
  min-height: 166px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.74);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.wide-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.34);
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
  border-radius: 16px;
}

.wide-card h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  line-height: 1.35;
}

.wide-card p {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.65;
}

.wide-card span {
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 800;
}

.wide-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  color: #082f49;
  background: #67e8f9;
  font-weight: 900;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.rail .movie-card {
  scroll-snap-align: start;
}

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

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

.page-main {
  padding-top: 42px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(37, 99, 235, 0.08)),
    rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.small-hero h1 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 62px);
}

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

.breadcrumb a:hover {
  color: #67e8f9;
}

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

.category-panel a {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  min-height: 240px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

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

.panel-posters img {
  width: 100%;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
}

.panel-body {
  align-self: center;
}

.panel-body h2 {
  margin: 0 0 12px;
}

.panel-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.panel-body span {
  color: #67e8f9;
  font-weight: 900;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.76);
}

.filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.55);
}

.filter-bar select option {
  color: #0f172a;
}

.empty-state {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.64);
}

.detail-main {
  padding-top: 28px;
}

.detail-breadcrumb {
  margin-bottom: 22px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.16), transparent 34rem),
    rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 4 / 5.5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.poster-meta {
  justify-content: center;
  margin-top: 16px;
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-line {
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
}

.player-section {
  margin-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: white;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.62)),
    rgba(2, 6, 23, 0.18);
  cursor: pointer;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.36);
  font-size: 34px;
  padding-left: 5px;
}

.play-layer strong {
  font-size: 20px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-card p {
  margin: 14px 0 0;
  color: #cbd5e1;
  line-height: 1.95;
}

.site-footer {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.84);
}

.footer-grid {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
}

.footer-grid p {
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 14px;
}

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

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

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .hero-poster {
    width: min(300px, 72vw);
    margin: 0 auto 36px;
  }

  .quick-search,
  .detail-layout,
  .detail-content,
  .footer-grid,
  .category-panel a {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .nav-wrap,
  .section-wrap,
  .page-hero,
  .detail-breadcrumb,
  .detail-layout,
  .player-section,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1200px);
  }

  .brand-text {
    font-size: 17px;
  }

  .hero-content h1,
  .detail-info h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-content p,
  .page-hero p,
  .detail-line {
    font-size: 16px;
  }

  .quick-search,
  .page-hero,
  .detail-layout,
  .highlight-block,
  .detail-card {
    padding: 22px;
  }

  .movie-grid,
  .feature-grid,
  .compact-grid,
  .tiny-grid,
  .category-grid,
  .wide-grid,
  .rank-list,
  .full-rank,
  .category-overview {
    grid-template-columns: 1fr;
  }

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

  .home-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .wide-card a {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .panel-posters {
    grid-template-columns: repeat(4, 1fr);
  }

  .panel-posters img {
    height: 82px;
  }
}
