:root {
  --alley-50: #faf9f7;
  --alley-100: #f5f3ef;
  --rain-50: #f8f9fa;
  --rain-100: #e9ecef;
  --rain-200: #dee2e6;
  --rain-300: #ced4da;
  --rain-400: #adb5bd;
  --rain-500: #6c757d;
  --rain-600: #495057;
  --rain-700: #343a40;
  --rain-800: #212529;
  --rain-900: #121416;
  --mist-50: #f0f4f8;
  --mist-100: #d9e2ec;
  --mist-300: #9fb3c8;
  --mist-400: #829ab1;
  --mist-500: #627d98;
  --mist-600: #486581;
  --mist-700: #334e68;
  --mist-800: #243b53;
  --yellow: #facc15;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 10px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 30px rgba(15, 23, 42, .14);
  --shadow-xl: 0 22px 50px rgba(15, 23, 42, .20);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--rain-800);
  background: var(--alley-50);
  font-family: Inter, -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 {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 226, 230, .85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--mist-600), var(--mist-800));
  box-shadow: 0 10px 24px rgba(72, 101, 129, .28);
  font-size: 15px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--rain-800);
  letter-spacing: .02em;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--rain-500);
}

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

.nav-link,
.mobile-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--rain-700);
  transition: color .2s ease, background-color .2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--mist-700);
}

.nav-search {
  width: 210px;
  flex-shrink: 0;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.site-search {
  width: 100%;
  border: 1px solid var(--rain-200);
  border-radius: 999px;
  background: #fff;
  color: var(--rain-800);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nav-search input,
.mobile-search input {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.nav-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.site-search:focus {
  border-color: var(--mist-500);
  box-shadow: 0 0 0 4px rgba(98, 125, 152, .14);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  color: var(--rain-700);
  background: var(--rain-100);
  cursor: pointer;
}

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

.mobile-menu nav {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--rain-50);
}

.hero-slider {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: var(--rain-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-cover);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: blur(12px);
  opacity: .72;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48) 52%, rgba(0, 0, 0, .12));
}

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

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  transform: scale(1.02);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 116px;
  max-width: 760px;
  justify-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.eyebrow.dark {
  color: var(--mist-700);
}

.hero-copy h1,
.sub-hero h1,
.detail-info h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-weight: 800;
  line-height: 1.12;
}

.hero-copy h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  text-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

.hero-copy p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.hero-tags,
.detail-meta,
.rank-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.hero-tags span {
  padding: 6px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor: pointer;
}

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

.btn-light {
  color: var(--rain-900);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px);
}

.btn-dark {
  color: #fff;
  background: var(--mist-700);
  box-shadow: var(--shadow-md);
}

.btn-soft {
  color: var(--mist-700);
  background: var(--mist-50);
  border-color: var(--mist-100);
}

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

.hero-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  font-size: 26px;
  cursor: pointer;
  transition: background .2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, .3);
}

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

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  transition: width .25s ease, background-color .25s ease;
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: #fff;
}

.hero-search {
  position: absolute;
  z-index: 5;
  right: max(16px, calc((100% - var(--container)) / 2));
  bottom: 110px;
  width: min(380px, calc(100% - 32px));
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .22);
}

.hero-search input {
  height: 44px;
  padding: 0 18px;
  border: 0;
}

.hero-search button {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  background: var(--mist-700);
  font-weight: 800;
  cursor: pointer;
}

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

.section-white,
.section-mist {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
}

.section-white {
  background: #fff;
}

.section-mist {
  background: var(--mist-50);
}

.editor-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: linear-gradient(135deg, var(--mist-600), var(--mist-800));
}

.editor-section .section-heading h2,
.editor-section .section-heading p,
.editor-section .section-icon {
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.section-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--mist-700);
  background: var(--mist-50);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: var(--rain-800);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

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

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--rain-100);
}

.movie-card-large .poster-link {
  aspect-ratio: 16 / 11;
}

.movie-card-editor {
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .54), transparent 55%);
  opacity: .9;
}

.poster-badge,
.poster-type {
  position: absolute;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .64);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
}

.poster-badge {
  left: 12px;
}

.poster-type {
  right: 12px;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(.86);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

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

.card-body {
  padding: 15px;
}

.card-body h3 {
  margin: 0;
  color: var(--rain-800);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

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

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

.card-meta span,
.rank-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mist-50);
  color: var(--mist-700);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-editor .card-body h3,
.movie-card-editor .card-body p,
.movie-card-editor .card-meta span {
  color: #fff;
}

.movie-card-editor .card-meta span {
  background: rgba(255, 255, 255, .14);
}

.movie-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x proximity;
}

.rail-card {
  width: 250px;
  flex: 0 0 250px;
  scroll-snap-align: start;
}

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

.category-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--rain-200);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--mist-300);
  box-shadow: var(--shadow-lg);
}

.category-card span {
  color: var(--rain-800);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 23px;
  font-weight: 800;
}

.category-card p {
  margin: 14px 0 0;
  color: var(--rain-600);
  font-size: 14px;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: auto 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.full-rank .rank-item {
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 38px;
  color: var(--mist-700);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  width: 82px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: var(--rain-100);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-content h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.rank-content h3 a:hover {
  color: var(--mist-700);
}

.rank-content p {
  margin: 5px 0 8px;
  color: var(--rain-600);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--mist-700);
  font-size: 13px;
  font-weight: 800;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.sub-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--rain-800);
  background: radial-gradient(circle at 18% 0, rgba(159, 179, 200, .42), transparent 32%), linear-gradient(135deg, var(--mist-50), var(--alley-100));
}

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

.sub-hero h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
}

.sub-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--rain-600);
  font-size: 17px;
}

.sub-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.overview-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--rain-100);
}

.overview-copy h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  color: var(--rain-800);
}

.overview-copy p {
  margin: 10px 0 16px;
  color: var(--rain-600);
}

.text-link {
  color: var(--mist-700);
  font-weight: 800;
}

.browse-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.site-search {
  height: 46px;
  padding: 0 18px;
}

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

.filter-chip {
  border: 1px solid var(--rain-200);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--rain-700);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  background: var(--mist-700);
  border-color: var(--mist-700);
}

.detail-hero {
  padding: 34px max(16px, calc((100% - var(--container)) / 2)) 70px;
  background: radial-gradient(circle at 86% 12%, rgba(159, 179, 200, .48), transparent 34%), linear-gradient(135deg, #fff, var(--mist-50));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--rain-500);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--mist-700);
}

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

.player-panel,
.detail-info,
.article-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.player-panel {
  overflow: hidden;
}

.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .28));
  cursor: pointer;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  font-size: 30px;
  transition: transform .22s ease, background .22s ease;
}

.player-overlay:hover .play-circle {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .32);
}

.player-overlay strong {
  font-size: 18px;
  letter-spacing: .04em;
}

.detail-info {
  overflow: hidden;
}

.detail-poster {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  background: var(--rain-100);
}

.detail-text {
  padding: 22px;
}

.detail-info h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 42px);
}

.detail-text p {
  margin: 0 0 18px;
  color: var(--rain-600);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--rain-700);
  background: var(--rain-100);
  font-size: 12px;
  font-weight: 700;
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.article-card {
  padding: 26px;
}

.article-card h2 {
  margin: 0 0 14px;
  color: var(--rain-800);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: var(--rain-700);
  font-size: 16px;
}

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

.footer-shell {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 25px;
  font-weight: 900;
}

.footer-shell p {
  margin: 0;
  color: var(--rain-400);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

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

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--rain-700);
  color: var(--rain-500);
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

.is-filter-hidden {
  display: none !important;
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

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

  .detail-info {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .detail-poster {
    height: 100%;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .hero-slider {
    min-height: 78vh;
  }

  .hero-copy {
    padding-bottom: 160px;
  }

  .hero-search {
    left: 16px;
    right: 16px;
    bottom: 78px;
    width: auto;
  }

  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .category-overview-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

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

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

  .rank-play {
    grid-column: 3;
    justify-self: start;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

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

  .hero-search button {
    height: 42px;
  }

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

  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  .movie-card-large .poster-link {
    aspect-ratio: 2 / 3;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    max-height: 460px;
  }

  .rank-item {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
  }

  .rank-number {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .rank-thumb {
    display: none;
  }

  .rank-content,
  .rank-play {
    grid-column: 2;
  }
}
