:root {
  color-scheme: light;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-100: #ffe4e6;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --text: #111827;
  --muted: #64748b;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
  --radius: 22px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff7f7 0%, #f8fafc 28%, #ffffff 100%);
  min-width: 320px;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.26);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark,
.footer-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.35);
}

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

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fb7185, #fdba74);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy small {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 12px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: #e2e8f0;
  white-space: nowrap;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(244, 63, 94, 0.18);
}

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

.site-search input,
.advanced-search input,
.advanced-search select,
.inline-filter input {
  width: 240px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.82);
  outline: none;
  transition: 0.2s ease;
}

.site-search input:focus,
.advanced-search input:focus,
.advanced-search select:focus,
.inline-filter input:focus {
  border-color: rgba(251, 113, 133, 0.8);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.16);
}

.site-search button,
.advanced-search button,
.inline-filter button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-menu a {
  padding: 12px;
  border-radius: 14px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #ffffff;
  background: var(--slate-950);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.6fr);
  align-items: center;
  gap: 54px;
  padding: 88px max(28px, calc((100vw - 1240px) / 2)) 72px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(16px) saturate(1.18);
  transform: scale(1.08);
  opacity: 0.42;
}

.hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 24%, rgba(244, 63, 94, 0.44), transparent 36%), linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.78) 52%, rgba(15, 23, 42, 0.40));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #ffe4e6;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(251, 113, 133, 0.26);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-content p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #e2e8f0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #be123c;
  background: var(--rose-100);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.hero-content .hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

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

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

.button.primary,
.button.small {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 16px 32px rgba(244, 63, 94, 0.32);
}

.button.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button.text {
  color: #fecdd3;
  background: transparent;
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-poster {
  display: block;
  width: min(430px, 100%);
  justify-self: center;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transition: 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

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

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.2s ease;
}

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

.quick-entry,
.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transform: translateY(-34px);
  position: relative;
  z-index: 20;
}

.quick-entry a {
  min-height: 112px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(51, 65, 85, 0.94));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.2s ease;
}

.quick-entry a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--rose-600), var(--orange-500));
}

.quick-entry strong {
  font-size: 21px;
}

.quick-entry span {
  margin-top: 8px;
  color: #e2e8f0;
}

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

.content-section.tinted {
  width: 100%;
  padding: 58px max(16px, calc((100vw - 1240px) / 2));
  background: linear-gradient(135deg, #fff1f2, #fffbeb);
}

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

.section-heading span {
  display: block;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 6px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.section-heading > a {
  color: var(--rose-600);
  font-weight: 800;
}

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

.horizontal-grid {
  grid-auto-flow: column;
  grid-auto-columns: 292px;
  grid-template-columns: none;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fecdd3, #fed7aa);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.76);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.poster-badge.top-left {
  top: 12px;
  left: 12px;
}

.poster-badge.bottom-right {
  right: 12px;
  bottom: 12px;
}

.movie-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.movie-info strong {
  color: var(--slate-900);
  font-size: 19px;
  line-height: 1.25;
}

.movie-info em {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

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

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

.category-card,
.category-overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  transition: 0.2s ease;
}

.category-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-thumbs,
.category-coverline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 118px;
  margin-bottom: 16px;
}

.category-thumbs img,
.category-coverline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #ffe4e6;
}

.category-card strong {
  color: var(--slate-900);
  font-size: 20px;
}

.category-card em,
.category-overview-card p {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 78% 20%, rgba(244, 63, 94, 0.35), transparent 34%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

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

.compact-hero > div {
  padding: 58px 0;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 800px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.8;
}

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  padding: 18px;
}

.category-overview-card h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 28px;
}

.category-coverline {
  grid-template-columns: repeat(4, 1fr);
  height: 180px;
  margin: 0;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.mini-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 700;
}

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

.inline-filter input {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.category-movie-grid {
  align-items: stretch;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 50px 118px 1fr;
  gap: 15px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

.rank-poster img {
  width: 118px;
  height: 74px;
  object-fit: cover;
  border-radius: 16px;
  background: #ffe4e6;
}

.rank-title {
  display: inline-block;
  color: var(--slate-900);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.rank-copy p {
  display: -webkit-box;
  margin: 6px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #be123c;
  font-size: 12px;
  font-weight: 800;
}

.search-panel .advanced-search {
  display: grid;
  grid-template-columns: 1fr 180px 160px auto;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.advanced-search input,
.advanced-search select {
  width: 100%;
  color: var(--text);
  background: #f8fafc;
  border-color: var(--line);
}

.empty-state {
  padding: 50px;
  text-align: center;
  border-radius: 24px;
  color: var(--muted);
  background: #ffffff;
}

.detail-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  background: var(--slate-950);
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--detail-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.18);
  transform: scale(1.08);
  opacity: 0.42;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-intro {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  align-items: end;
  margin-top: 34px;
}

.detail-cover {
  width: 230px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  background: #ffe4e6;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.detail-intro h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.detail-intro p {
  max-width: 850px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1.75;
}

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

.player-panel,
.detail-card,
.sticky-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  border: 1px solid var(--line);
}

.player-panel {
  overflow: hidden;
  padding: 12px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  cursor: pointer;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.40), rgba(2, 6, 23, 0.74));
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 18px 50px rgba(244, 63, 94, 0.42);
  font-size: 30px;
  padding-left: 4px;
}

.player-cover span:last-child {
  font-size: 20px;
  font-weight: 900;
}

.player-message {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 10;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(225, 29, 72, 0.88);
  text-align: center;
}

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

.detail-card h2,
.sticky-card h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 25px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.meta-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.meta-card div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.meta-card dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-card dd {
  margin: 6px 0 0;
  color: var(--slate-900);
  font-weight: 900;
}

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

.sticky-card {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.side-rank-list .rank-item {
  grid-template-columns: 44px 86px 1fr;
  gap: 10px;
  box-shadow: none;
  padding: 10px;
}

.side-rank-list .rank-poster img {
  width: 86px;
  height: 58px;
}

.side-rank-list .rank-copy p {
  display: none;
}

.side-rank-list .rank-title {
  font-size: 14px;
}

.site-footer {
  margin-top: 70px;
  color: #cbd5e1;
  background: var(--slate-950);
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  max-width: 560px;
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  color: #94a3b8;
}

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

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

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

  .mobile-menu.is-open {
    display: block;
  }

  .header-inner .site-search {
    margin-left: auto;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 78px;
  }

  .hero-poster {
    display: none;
  }

  .quick-entry,
  .movie-grid,
  .category-grid,
  .home-rank-list,
  .expanded-rank-list,
  .detail-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-side {
    display: none;
  }
}

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

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

  .header-inner .site-search {
    display: none;
  }

  .mobile-menu .site-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .mobile-menu .site-search input {
    width: 100%;
  }

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

  .hero-slide {
    padding: 68px 18px 62px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-intro h1 {
    letter-spacing: -0.035em;
  }

  .quick-entry,
  .movie-grid,
  .category-grid,
  .home-rank-list,
  .expanded-rank-list,
  .footer-grid,
  .search-panel .advanced-search,
  .category-overview-card,
  .detail-layout,
  .related-grid,
  .meta-card dl {
    grid-template-columns: 1fr;
  }

  .quick-entry {
    transform: none;
    padding-top: 18px;
  }

  .content-section,
  .quick-entry {
    width: min(100% - 24px, 1240px);
  }

  .content-section.tinted {
    padding-inline: 12px;
  }

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

  .horizontal-grid {
    grid-auto-columns: 82%;
  }

  .rank-item {
    grid-template-columns: 44px 94px 1fr;
  }

  .rank-poster img {
    width: 94px;
    height: 64px;
  }

  .category-coverline {
    height: 130px;
  }

  .inline-filter {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .inline-filter input {
    width: 100%;
  }

  .detail-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .detail-cover {
    width: 168px;
  }

  .detail-hero-inner {
    padding: 24px 0 38px;
  }
}
