:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --brand: #f59e0b;
  --brand-dark: #d97706;
  --brand-soft: rgba(245, 158, 11, 0.14);
  --danger: #ef4444;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --container: 1180px;
}

* {
  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", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(59, 130, 246, 0.14), transparent 34rem),
    var(--bg);
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(100% - 32px, var(--container));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.28);
}

.site-logo__text {
  font-size: 18px;
  white-space: nowrap;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted-strong);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.16);
}

.header-search {
  width: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  color: var(--text);
  outline: none;
  border: 0;
  background: transparent;
}

.header-search button {
  height: 40px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  background: var(--brand);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111827, #020617 58%, #1f2937);
}

.hero-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.18) 44%, rgba(2, 6, 23, 0.15) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: end;
  gap: 44px;
  padding: 96px 0 72px;
}

.hero__eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

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

.hero p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.movie-meta span,
.inline-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 18px 48px rgba(245, 158, 11, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
}

.hero-panel {
  align-self: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-panel__poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(15, 23, 42, 0.9));
}

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

.hero-panel h2 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(16px, calc((100% - var(--container)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #ffffff;
  background: rgba(2, 6, 23, 0.72);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--brand);
}

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

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

.section-heading h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-title p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-link {
  color: #fbbf24;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.32);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(245, 158, 11, 0.38), transparent 38%),
    linear-gradient(145deg, #172033, #020617);
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.08);
  opacity: 0.82;
}

.movie-card__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.movie-card__body {
  padding: 15px;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #fbbf24;
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.movie-meta {
  gap: 7px;
}

.movie-meta span {
  min-height: 26px;
  padding: 0 9px;
  font-size: 12px;
}

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

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.7);
}

.ranking-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 42px 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.26);
}

.ranking-item__num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.ranking-item__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(15, 23, 42, 0.9));
}

.ranking-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-item__text {
  min-width: 0;
}

.ranking-item__text strong,
.ranking-item__text em,
.ranking-item__text small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-item__text strong {
  margin-bottom: 4px;
}

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

.ranking-item__text small {
  margin-top: 3px;
  color: #64748b;
}

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

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.category-link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.1);
}

.category-link strong {
  font-size: 17px;
}

.category-link span {
  color: #fbbf24;
}

.page-title {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 58px 0 26px;
}

.page-title__panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.74)),
    rgba(15, 23, 42, 0.72);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
}

.pagination a:hover,
.pagination span.is-current {
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.14);
}

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

detail-hero a {
  text-decoration: none;
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111827, #020617);
}

.detail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(2px);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.88)),
    linear-gradient(0deg, var(--bg), transparent 58%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
  padding: 72px 0 58px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(15, 23, 42, 0.9));
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.detail-info p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

.detail-actions {
  margin-top: 28px;
}

.detail-layout {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  padding: 48px 0 70px;
}

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

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2 {
  margin: 0 0 18px;
  font-size: 25px;
}

.content-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.95;
}

.player-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
}

.player-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.15)),
    rgba(0, 0, 0, 0.1);
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-panel.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-overlay__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-radius: 50%;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  font-size: 32px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(239, 68, 68, 0.82);
  border-radius: 12px;
  line-height: 1.6;
}

.player-message.is-visible {
  display: block;
}

.side-card {
  position: sticky;
  top: 94px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-mini {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.32);
}

.related-mini:hover {
  border-color: rgba(245, 158, 11, 0.42);
}

.related-mini__pic {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(15, 23, 42, 0.9));
}

.related-mini__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-mini strong,
.related-mini span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-mini strong {
  margin-bottom: 7px;
  white-space: nowrap;
}

.related-mini span {
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-box {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.search-box input {
  flex: 1;
  min-height: 54px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: rgba(2, 6, 23, 0.5);
}

.search-box button {
  min-height: 54px;
  padding: 0 24px;
  color: #ffffff;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  cursor: pointer;
  font-weight: 800;
}

.search-status {
  margin: 18px 0 0;
  color: var(--muted);
}

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

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

.site-footer__inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

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

  .ranking-panel,
  .side-card {
    position: static;
  }

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

  .hero-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    height: 64px;
  }

  .site-nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

  .header-search {
    margin-left: auto;
    width: min(44vw, 240px);
  }

  .menu-toggle {
    display: flex;
  }

  .hero,
  .hero__inner {
    min-height: 560px;
  }

  .detail-hero__inner {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }

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

@media (max-width: 700px) {
  .site-logo__text {
    max-width: 7em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-search {
    display: none;
  }

  .hero,
  .hero__inner {
    min-height: 520px;
  }

  .hero__inner {
    padding: 78px 0 86px;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-controls {
    left: 16px;
    right: auto;
  }

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

  .movie-grid,
  .movie-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card__body {
    padding: 12px;
  }

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-card p {
    min-height: auto;
    font-size: 13px;
  }

  .detail-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .detail-poster {
    width: 190px;
  }

  .detail-info p {
    font-size: 16px;
  }

  .content-card {
    padding: 20px;
  }

  .ranking-item {
    grid-template-columns: 36px 72px minmax(0, 1fr);
  }

  .search-box {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .movie-grid--six,
  .category-cloud {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .page-section,
  .page-title,
  .detail-layout,
  .detail-hero__inner,
  .site-footer__inner,
  .hero__inner {
    width: min(100% - 24px, var(--container));
  }
}
