:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(217, 119, 6, 0.18);
  --amber: #d97706;
  --amber-strong: #b45309;
  --orange: #f97316;
  --white: #ffffff;
  --dark: #120a04;
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 46%, #fff7ed 100%);
}

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, 247, 237, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.10);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #92400e, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: #b45309;
}

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

.desktop-nav a {
  padding: 9px 11px;
  color: #7c2d12;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #431407;
  background: rgba(251, 191, 36, 0.20);
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.hero-search,
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-search input {
  border: 1px solid rgba(217, 119, 6, 0.25);
  outline: none;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  min-width: 230px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-search input:focus {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.header-search button,
.mobile-search button,
.hero-search button,
.primary-button,
.ghost-button,
.filter-chip {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  padding: 11px 18px;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.24);
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(251, 191, 36, 0.22);
  color: #7c2d12;
  border-radius: 14px;
  padding: 10px 13px;
  cursor: pointer;
}

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

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

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mobile-panel nav a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #7c2d12;
  border: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.22), transparent 26%), linear-gradient(135deg, #92400e 0%, #f97316 48%, #b45309 100%);
}

.hero-pattern,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
  padding: 54px 0;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero-copy p,
.page-hero p,
.detail-copy .lead {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #fff7ed;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-search {
  width: min(560px, 100%);
  margin-top: 30px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
}

.hero-link-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-link-row a,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-carousel-box {
  position: relative;
  min-height: 472px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(67, 20, 7, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #1f1308;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.78));
}

.hero-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
}

.hero-card-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-card-copy p {
  max-width: 670px;
  margin: 14px 0 0;
  color: rgba(255, 247, 237, 0.88);
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.active {
  width: 28px;
  background: #fbbf24;
}

.content-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

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

.section-heading > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.22);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.category-tile {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: 0 24px 58px rgba(146, 64, 14, 0.22);
}

.category-cover {
  position: relative;
  min-height: 138px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.category-icon {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 25px;
}

.cover-stack {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.72;
}

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

.category-info {
  padding: 18px;
}

.category-info h2 {
  margin: 0;
  font-size: 20px;
}

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

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-links a {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: 0 14px 32px rgba(146, 64, 14, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(146, 64, 14, 0.20);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

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

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

.poster-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62));
  opacity: 0.9;
}

.card-year,
.play-pill,
.rank-index {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.card-year {
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.play-pill {
  right: 12px;
  bottom: 12px;
  padding: 7px 11px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
  font-size: 12px;
}

.rank-index {
  left: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.28);
}

.card-body {
  padding: 16px;
}

.card-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tags span,
.tag-cloud span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.card-body h2 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h2 a:hover {
  color: var(--amber);
}

.card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 150px;
}

.movie-card.compact .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

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

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

.movie-card.compact .card-body p {
  min-height: 42px;
  -webkit-line-clamp: 2;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.side-grid {
  grid-template-columns: repeat(2, 1fr);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rank-list.full {
  grid-template-columns: repeat(4, 1fr);
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.22), transparent 26%), linear-gradient(135deg, #92400e, #f97316 52%, #7c2d12);
}

.page-hero-inner {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.compact-hero .page-hero-inner {
  padding: 62px 0;
}

.page-hero-inner.split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 38px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 119, 6, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.filter-panel .filter-search input {
  width: min(560px, 100%);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-controls select {
  min-height: 42px;
  padding: 0 14px;
  color: #7c2d12;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  background: #fff;
  outline: none;
}

.filter-chip {
  min-height: 42px;
  padding: 0 15px;
  color: #7c2d12;
  background: #ffedd5;
}

.filter-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.empty-state {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 64px rgba(67, 20, 7, 0.35);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.detail-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
  padding: 68px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(67, 20, 7, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

.detail-meta-grid span {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-meta-grid strong {
  color: #fed7aa;
  font-size: 12px;
}

.player-block {
  padding-top: 46px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #080604;
  box-shadow: 0 30px 70px rgba(67, 20, 7, 0.30);
  border: 1px solid rgba(217, 119, 6, 0.24);
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.24), rgba(0, 0, 0, 0.55));
}

.play-symbol {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 20px 48px rgba(234, 88, 12, 0.36);
  font-size: 34px;
}

.play-layer strong {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(10px);
}

.player-shell.is-playing .play-layer {
  display: none;
}

.article-content {
  display: grid;
  gap: 20px;
  border-radius: 28px;
  margin-top: 10px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: var(--shadow);
}

.article-content h2 {
  margin: 0;
  font-size: 28px;
}

.article-content p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 40px;
  color: #fed7aa;
  background: linear-gradient(180deg, #78350f, #431407);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff7ed;
  font-size: 20px;
}

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

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

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

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fed7aa;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fdba74;
  font-size: 14px;
}

[hidden],
.movie-card.is-hidden {
  display: none !important;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    justify-content: space-between;
  }

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

  .rank-list,
  .rank-list.full {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner,
  .featured-layout,
  .detail-inner,
  .page-hero-inner.split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero-carousel-box {
    min-height: 420px;
  }

  .detail-poster {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  .header-search {
    display: none;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    gap: 24px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 42px;
  }

  .hero-search,
  .mobile-search,
  .filter-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .hero-search input,
  .hero-search button,
  .mobile-search input,
  .mobile-search button,
  .filter-search input {
    width: 100%;
    min-width: 0;
  }

  .hero-carousel-box {
    min-height: 420px;
    border-radius: 24px;
  }

  .hero-card-copy {
    padding: 22px;
  }

  .category-grid,
  .category-grid.large,
  .movie-grid,
  .side-grid,
  .rank-list,
  .rank-list.full {
    grid-template-columns: 1fr;
  }

  .movie-card.compact {
    grid-template-columns: 104px 1fr;
  }

  .detail-inner,
  .page-hero-inner,
  .content-section {
    width: min(100% - 24px, 1280px);
  }

  .detail-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-content {
    padding: 24px;
  }

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

@media (max-width: 460px) {
  .mobile-panel nav {
    grid-template-columns: 1fr;
  }

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

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

  .movie-card.compact {
    grid-template-columns: 92px 1fr;
  }
}
