* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --red-900: #7f1d1d;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --orange-600: #ea580c;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: -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,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red-600), var(--orange-600));
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
}

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

.brand-text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: var(--gray-700);
  background: transparent;
  font-weight: 650;
  cursor: pointer;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--red-600);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.18);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 210px;
  padding: 10px;
  display: grid;
  gap: 6px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-weight: 600;
}

.dropdown-panel a:hover {
  background: var(--gray-100);
  color: var(--red-600);
}

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

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 5px;
  background: var(--gray-700);
}

.mobile-nav {
  display: none;
  padding: 10px 18px 18px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 650;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--white);
  background: var(--red-600);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #7f1d1d 0%, #9a3412 54%, #b45309 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.25) 0 2px, transparent 3px), linear-gradient(135deg, rgba(255,255,255,0.08), transparent 55%);
  background-size: 46px 46px, 100% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.46), rgba(0,0,0,0.12));
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 600px;
  margin: 0 auto;
  padding: 58px 22px 72px;
}

.hero-slide {
  position: absolute;
  inset: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #7c2d12;
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

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

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

.hero-tags span,
.detail-meta span,
.detail-meta a,
.rank-meta span,
.movie-meta-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-button {
  color: var(--red-900);
  background: var(--white);
  box-shadow: 0 15px 28px rgba(255,255,255,0.18);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--amber-100);
}

.ghost-button {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.72);
}

.ghost-button:hover {
  color: var(--red-900);
  background: var(--white);
}

.text-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-600));
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0,0,0,0.32);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.28));
}

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

.hero-dots {
  position: absolute;
  left: 22px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}

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

.hero-dot.active {
  width: 54px;
  background: var(--white);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 22px;
}

.soft-section {
  padding-top: 18px;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-more {
  color: var(--red-600);
  font-weight: 800;
}

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

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

.movie-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
}

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

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

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0,0,0,0.58);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

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

.movie-meta-line {
  margin-bottom: 10px;
  color: var(--gray-600);
}

.movie-meta-line span {
  background: var(--gray-100);
}

.movie-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.movie-card h2 a:hover {
  color: var(--red-600);
}

.movie-card p {
  min-height: 58px;
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 9px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
}

.compact .movie-card-body {
  padding: 14px;
}

.compact h2 {
  font-size: 17px;
}

.compact p {
  min-height: 48px;
}

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

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

.category-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--soft-shadow);
  background: var(--gray-900);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  opacity: 0.66;
  transition: 0.25s ease;
}

.category-card:hover img {
  transform: scale(1.05);
  opacity: 0.5;
}

.category-card span {
  position: absolute;
  inset: auto 18px 18px;
  color: var(--white);
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  margin-bottom: 6px;
  font-size: 21px;
}

.category-card em {
  color: rgba(255,255,255,0.82);
  font-style: normal;
  font-size: 13px;
}

.hot-panel {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.hot-panel-head {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hot-panel-head h2 {
  margin: 0;
  font-size: 22px;
}

.hot-panel-head a {
  color: var(--red-600);
  font-weight: 800;
}

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

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.mini-card:hover {
  background: var(--gray-100);
}

.mini-card img {
  width: 64px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gray-100);
}

.mini-card-text {
  min-width: 0;
}

.mini-card-text strong,
.mini-card-text em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card-text strong {
  color: var(--gray-900);
  font-size: 15px;
}

.mini-card-text em {
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-600));
  font-weight: 800;
}

.search-strip {
  padding-top: 36px;
  padding-bottom: 28px;
}

.quick-search,
.search-panel {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.quick-search {
  padding: 24px;
}

.quick-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--gray-700);
  font-weight: 800;
}

.quick-search div {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
}

.quick-search input,
.search-field input,
.search-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  background: var(--white);
}

.quick-search input:focus,
.search-field input:focus,
.search-field select:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.quick-search button,
.search-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-600));
  font-weight: 800;
  cursor: pointer;
}

.page-hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-900), #9a3412 55%, #b45309);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.28) 0 2px, transparent 3px);
  background-size: 46px 46px;
}

.compact-hero {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 22px;
}

.compact-hero > div {
  position: relative;
  width: 100%;
  max-width: 1280px;
}

.compact-hero h1 {
  max-width: 860px;
  margin: 20px 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.compact-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.overview-cover {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: var(--gray-100);
}

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

.overview-card h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.overview-card p {
  margin: 0 0 12px;
  color: var(--gray-600);
}

.overview-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-700);
}

.overview-card li + li {
  margin-top: 5px;
}

.overview-card a:hover {
  color: var(--red-600);
}

.category-top {
  max-width: 1420px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.rank-num {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-600));
  font-size: 20px;
  font-weight: 900;
}

.rank-thumb {
  display: block;
  width: 96px;
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--gray-100);
}

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

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-info h2 a:hover {
  color: var(--red-600);
}

.rank-info p {
  margin: 0 0 12px;
  color: var(--gray-600);
}

.rank-meta {
  color: var(--gray-600);
}

.rank-meta span {
  background: var(--gray-100);
}

.search-page-section {
  display: grid;
  gap: 26px;
}

.search-panel {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 130px;
  gap: 14px;
  align-items: end;
}

.search-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-weight: 800;
}

.search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-result-head h2 {
  margin: 0;
  font-size: 28px;
}

.search-result-head span {
  color: var(--gray-500);
  font-weight: 700;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 22px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--red-600);
}

.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 22px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.62));
  cursor: pointer;
}

.player-cover.is-hidden {
  display: none;
}

.play-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--red-600);
  background: var(--white);
  font-size: 28px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}

.player-cover strong {
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
}

.detail-card,
.side-cover-card {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.detail-card section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

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

.detail-meta {
  color: var(--gray-600);
}

.detail-meta span,
.detail-meta a {
  background: var(--gray-100);
}

.detail-tags span {
  font-size: 13px;
}

.side-cover-card {
  margin-top: 0;
}

.side-cover-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
  background: var(--gray-100);
}

.side-cover-card h2 {
  margin: 18px 0 8px;
  font-size: 24px;
}

.side-cover-card p {
  margin: 0;
  color: var(--gray-600);
}

.site-footer {
  margin-top: 40px;
  background: var(--gray-900);
  color: #d1d5db;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: #9ca3af;
}

.footer-block h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

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

.footer-block a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9ca3af;
  text-align: center;
}

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

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

  .sticky-panel {
    position: static;
  }

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

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
    align-content: center;
    padding-top: 30px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-poster {
    order: 1;
    width: min(260px, 70vw);
    margin: 0 auto;
  }

  .hero p {
    font-size: 17px;
  }

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

  .overview-grid,
  .category-grid,
  .detail-side,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .rank-row {
    grid-template-columns: 44px 76px minmax(0, 1fr);
  }

  .rank-row .text-button {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

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

  .brand-text small {
    display: none;
  }

  .content-section,
  .detail-layout,
  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .movie-card h2 {
    font-size: 16px;
  }

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

  .section-title,
  .search-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .overview-cover {
    max-width: 210px;
  }

  .rank-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rank-thumb {
    display: none;
  }

  .rank-row .text-button {
    grid-column: 2;
  }

  .detail-card,
  .side-cover-card,
  .hot-panel {
    padding: 18px;
  }
}
