:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-900: #78350f;
  --blue-50: #eff6ff;
  --blue-700: #1d4ed8;
  --green-50: #ecfdf5;
  --green-700: #047857;
  --purple-50: #f5f3ff;
  --purple-700: #6d28d9;
  --red-50: #fef2f2;
  --red-700: #b91c1c;
  --cyan-50: #ecfeff;
  --cyan-700: #0e7490;
  --orange-50: #fff7ed;
  --orange-700: #c2410c;
  --slate-50: #f8fafc;
  --slate-700: #334155;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f1d59c;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(120, 53, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--amber-50) 42%, #ffffff 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 74px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.25);
}

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

.brand-text strong {
  color: var(--amber-900);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-text em {
  color: var(--amber-600);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: #4b5563;
  border-radius: 12px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--amber-900);
  background: var(--amber-100);
}

.header-search {
  width: 280px;
  display: flex;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input,
.big-search input,
.inline-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #374151;
  background: transparent;
}

.header-search input {
  padding: 10px 12px 10px 16px;
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: white;
  background: var(--amber-600);
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button {
  padding: 10px 16px;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--amber-700);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--amber-900);
  background: var(--amber-100);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 18px;
}

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

.mobile-search {
  display: flex;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.mobile-search input {
  padding: 12px 14px;
}

.mobile-search button {
  padding: 12px 18px;
}

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

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #ffedd5);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fef3c7, #fb923c);
}

.hero-slide img.image-missing {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.84) 0%, rgba(17, 24, 39, 0.56) 42%, rgba(17, 24, 39, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  background: var(--amber-600);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1,
.hero-title-text {
  max-width: 760px;
  margin: 18px 0 8px;
  color: #fff7ed;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.hero-title-text {
  margin-bottom: 10px;
}

.hero h2 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 18px;
}

.hero-badges,
.detail-meta,
.tag-cloud,
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.detail-meta span,
.tag-cloud span,
.category-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  color: #374151;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 14px;
  font-weight: 650;
}

.hero-badges span {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn,
.section-more,
.back-link,
.detail-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  padding: 13px 22px;
  color: white;
  background: var(--amber-600);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: var(--amber-700);
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.36);
}

.ghost-btn {
  padding: 12px 18px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.42);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.search-hero,
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 30px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 22px;
}

.search-hero h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 30px;
}

.search-hero p {
  margin: 0;
  color: var(--muted);
}

.big-search {
  display: flex;
  min-height: 58px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.big-search input {
  padding: 0 18px;
  font-size: 16px;
}

.big-search button {
  min-width: 110px;
  border: 0;
}

.page-top {
  padding-top: 32px;
}

.content-section {
  margin: 42px 0;
  padding: 28px;
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.theme-amber {
  background: linear-gradient(135deg, var(--amber-50), #ffffff);
}

.theme-blue {
  background: linear-gradient(135deg, var(--blue-50), #ffffff);
}

.theme-green {
  background: linear-gradient(135deg, var(--green-50), #ffffff);
}

.theme-purple {
  background: linear-gradient(135deg, var(--purple-50), #ffffff);
}

.theme-red {
  background: linear-gradient(135deg, var(--red-50), #ffffff);
}

.theme-cyan {
  background: linear-gradient(135deg, var(--cyan-50), #ffffff);
}

.theme-orange {
  background: linear-gradient(135deg, var(--orange-50), #ffffff);
}

.theme-slate {
  background: linear-gradient(135deg, var(--slate-50), #ffffff);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
}

.section-more {
  color: var(--amber-700);
  font-size: 15px;
}

.section-more:hover {
  color: var(--amber-900);
  transform: translateX(2px);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(120, 53, 15, 0.18);
}

.cover-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

.movie-card:hover .cover-frame img {
  transform: scale(1.08);
}

.cover-frame img.image-missing {
  opacity: 0;
}

.card-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), transparent 58%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-shade {
  opacity: 1;
}

.card-corner {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: white;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body strong {
  color: var(--amber-700);
}

.card-line {
  min-height: 44px;
  color: #4b5563;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta,
.card-tags {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  color: var(--amber-700);
}

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

.quick-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--amber-600), #fb923c);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(217, 119, 6, 0.3);
}

.quick-card strong {
  font-size: 22px;
}

.quick-card span {
  color: #fffbeb;
  font-size: 14px;
}

.rank-list,
.mini-rank {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(3px);
  box-shadow: 0 14px 28px rgba(120, 53, 15, 0.12);
}

.rank-num,
.ranking-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: white;
  background: var(--amber-600);
  font-weight: 900;
}

.rank-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--amber-100);
}

.rank-cover img,
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-cover img.image-missing,
.ranking-poster img.image-missing {
  opacity: 0;
}

.rank-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rank-main strong {
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main em {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score,
.ranking-score,
.detail-score {
  color: var(--amber-700);
  font-weight: 900;
}

.listing-hero {
  padding: 36px;
  border-radius: 30px;
  border: 1px solid rgba(217, 119, 6, 0.14);
  box-shadow: var(--shadow);
}

.listing-hero h1 {
  margin: 16px 0 10px;
  color: #111827;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.listing-hero p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.inline-filter {
  max-width: 560px;
  display: flex;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: white;
  overflow: hidden;
}

.inline-filter input {
  padding: 14px 16px;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 52px 128px minmax(0, 1fr) 64px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(120, 53, 15, 0.14);
}

.ranking-poster {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--amber-100);
}

.ranking-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ranking-info strong {
  color: #111827;
  font-size: 20px;
}

.ranking-info em,
.ranking-info small {
  color: var(--muted);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.back-link {
  margin-bottom: 22px;
  color: var(--muted);
}

.back-link:hover {
  color: var(--amber-700);
  transform: translateX(-3px);
}

.player-card,
.detail-article,
.side-panel {
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.player-card {
  padding: 14px;
  background: linear-gradient(135deg, #111827, #78350f);
}

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

.player-box video {
  width: 100%;
  height: 100%;
  display: block;
  background: #111827;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: rgba(17, 24, 39, 0.18);
  cursor: pointer;
  transition: background 0.2s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  background: var(--amber-600);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  font-size: 34px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay:hover {
  background: rgba(17, 24, 39, 0.08);
}

.play-overlay:hover span {
  transform: scale(1.06);
  background: var(--amber-700);
}

.player-box.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: white;
  background: rgba(17, 24, 39, 0.74);
  font-size: 14px;
}

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

.detail-article {
  padding: 28px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h1 {
  margin: 14px 0 0;
  color: #111827;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
}

.detail-score {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
  font-size: 24px;
}

.lead-text {
  color: #374151;
  font-size: 20px;
  font-weight: 650;
}

.detail-article h2,
.side-panel h2 {
  margin: 28px 0 12px;
  color: #111827;
  font-size: 24px;
}

.detail-article p {
  color: #4b5563;
  font-size: 16px;
}

.category-links {
  margin-top: 16px;
}

.category-links a:hover {
  color: var(--amber-900);
  border-color: var(--amber-600);
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-nav a {
  padding: 10px 14px;
  color: var(--amber-800);
  background: var(--amber-100);
}

.detail-nav a:hover {
  background: var(--amber-200);
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 24px;
}

.side-panel {
  padding: 20px;
}

.side-panel h2 {
  margin-top: 0;
}

.side-grid {
  display: grid;
  gap: 14px;
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border-radius: 18px;
}

.movie-card.compact .cover-frame {
  aspect-ratio: 1 / 1;
  height: 100%;
}

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

.movie-card.compact .card-line {
  min-height: auto;
  -webkit-line-clamp: 2;
}

.movie-card.compact .card-tags {
  display: none;
}

.mini-rank .rank-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 10px;
}

.mini-rank .rank-cover {
  display: none;
}

.mini-rank .rank-num {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 13px;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(217, 119, 6, 0.18);
  background: linear-gradient(180deg, var(--amber-50), var(--amber-100));
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  max-width: 560px;
  color: var(--muted);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h2 {
  margin: 0 0 6px;
  color: var(--amber-900);
  font-size: 18px;
}

.footer-col a {
  color: #4b5563;
}

.footer-col a:hover {
  color: var(--amber-700);
}

.copyright {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 28px;
  color: var(--muted);
  font-size: 14px;
}

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

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

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

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

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

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

@media (max-width: 820px) {
  .hero {
    height: 620px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 88px;
  }

  .hero h1,
  .hero-title-text {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 28px;
  }

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

  .hero-control {
    display: none;
  }

  .search-hero {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .movie-grid.large,
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-card {
    grid-template-columns: 42px 92px minmax(0, 1fr);
  }

  .ranking-score {
    display: none;
  }

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

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

@media (max-width: 560px) {
  .header-inner,
  .mobile-panel,
  .search-hero,
  .page-wrap,
  .hero-content,
  .footer-inner,
  .copyright {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .brand-text em {
    font-size: 11px;
  }

  .hero {
    height: 650px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .content-section,
  .listing-hero,
  .detail-article {
    padding: 20px;
    border-radius: 22px;
  }

  .movie-grid.large,
  .movie-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-cover {
    display: none;
  }

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

  .ranking-poster {
    display: none;
  }

  .detail-title-row {
    flex-direction: column;
  }

  .detail-score {
    width: auto;
    height: auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 18px;
  }

  .play-overlay span {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
