:root {
  color-scheme: light;
  --amber-50: #fff8eb;
  --amber-100: #ffefc7;
  --amber-200: #fedf99;
  --amber-300: #fdc766;
  --amber-400: #f6a73a;
  --amber-500: #eb8a17;
  --amber-600: #d96f0b;
  --amber-700: #b6530b;
  --amber-800: #924010;
  --amber-900: #783713;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 16px 45px rgba(146, 64, 16, 0.13);
  --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.10);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--amber-50) 0%, var(--white) 38%, var(--amber-50) 100%);
  color: var(--gray-800);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 248, 235, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(217, 111, 11, 0.18);
  box-shadow: 0 10px 28px rgba(146, 64, 16, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(217, 111, 11, 0.24);
  font-size: 13px;
}

.brand-text {
  font-size: clamp(22px, 3vw, 28px);
  background: linear-gradient(90deg, var(--amber-700), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--gray-700);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a,
.mobile-menu a,
.footer-grid a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--amber-700);
}

.nav-search {
  position: relative;
  width: 260px;
  flex: 0 0 auto;
}

.nav-search input,
.mobile-search input,
.catalog-search,
.catalog-filter {
  width: 100%;
  border: 1px solid rgba(217, 111, 11, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-800);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-search input {
  padding: 10px 44px 10px 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.catalog-search:focus,
.catalog-filter:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(246, 167, 58, 0.22);
}

.nav-search button {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-600);
  color: var(--white);
  transform: translateY(-50%);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--white);
  color: var(--amber-700);
  border-radius: 12px;
  padding: 8px 11px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

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

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

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

.mobile-search button {
  border: 0;
  border-radius: 999px;
  background: var(--amber-600);
  color: var(--white);
  padding: 0 18px;
  cursor: pointer;
}

.mobile-menu nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--gray-700);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--amber-400), var(--orange-500) 56%, var(--amber-500));
  color: var(--white);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.52) 0 3px, transparent 4px), radial-gradient(circle at 55px 55px, rgba(255, 255, 255, 0.32) 0 4px, transparent 5px);
  background-size: 74px 74px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(5px);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  min-height: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeUp 0.55s ease both;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero-desc {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 25px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.detail-tags a,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

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

.small-actions {
  justify-content: center;
}

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

.btn-primary {
  min-height: 46px;
  padding: 0 24px;
  background: var(--white);
  color: var(--amber-700);
  box-shadow: 0 14px 30px rgba(120, 55, 19, 0.18);
}

.btn-ghost {
  min-height: 46px;
  padding: 0 24px;
  background: rgba(120, 55, 19, 0.26);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.btn-text {
  color: var(--white);
  opacity: 0.9;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-text:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(120, 55, 19, 0.32);
  transform: rotate(1deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.28));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--amber-700);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(120, 55, 19, 0.14);
}

.hero-dots {
  display: inline-flex;
  gap: 8px;
}

.hero-dots .hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

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

.feature-strip,
.section-block,
.page-hero,
.breadcrumb,
.detail-hero,
.detail-content {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  transform: translateY(-38px);
  margin-bottom: -6px;
}

.strip-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.strip-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-700);
  font-size: 19px;
  font-weight: 900;
}

.strip-card p,
.section-heading p,
.category-card p,
.catalog-tools p,
.card-desc,
.mini-card p,
.page-hero p,
.detail-one-line,
.story-card p,
.site-footer p {
  margin: 0;
  color: var(--gray-600);
}

.section-block {
  padding: 56px 0;
}

.section-block.no-top {
  padding-top: 0;
}

.section-block.tinted {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.9), rgba(255, 255, 255, 0.84));
}

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

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.catalog-tools h2,
.story-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.section-link {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  background: var(--amber-100);
  color: var(--amber-800);
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card.is-hidden {
  display: none;
}

.movie-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.16);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--amber-100);
}

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

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

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}

.type-badge {
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  background: rgba(217, 111, 11, 0.94);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(17, 24, 39, 0.74);
  font-size: 12px;
}

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

.movie-card-body h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

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

.category-card {
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(146, 64, 16, 0.16);
}

.category-card span {
  display: block;
  margin-bottom: 16px;
  font-size: 34px;
}

.category-card h2 {
  margin: 0 0 10px;
  color: var(--gray-900);
  font-size: 22px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.14);
}

.mini-card img {
  width: 112px;
  height: 148px;
  border-radius: 16px;
  object-fit: cover;
}

.mini-card h2 {
  margin: 4px 0 8px;
  color: var(--gray-900);
  font-size: 19px;
}

.mini-card span,
.mini-rank {
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

.page-main {
  padding-bottom: 42px;
}

.page-hero {
  position: relative;
  margin-top: 34px;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.page-hero.compact {
  padding: clamp(44px, 7vw, 84px) clamp(20px, 4vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.catalog-tools {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.tool-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr);
  gap: 12px;
}

.catalog-search,
.catalog-filter {
  min-height: 46px;
  padding: 0 16px;
}

.empty-state {
  display: none;
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 16px;
  background: var(--amber-50);
  text-align: center;
  font-weight: 700;
}

.empty-state.is-visible {
  display: block;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 28px 0 18px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
}

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

.detail-main {
  padding-bottom: 42px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.player-panel,
.detail-info,
.story-card {
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-panel {
  padding: 14px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #09090b;
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #09090b;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.10), rgba(17, 24, 39, 0.56));
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.22s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  font-size: 26px;
  text-indent: 4px;
}

.detail-info {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
}

.detail-cover {
  width: 132px;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
}

.detail-info h1 {
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 48px);
}

.detail-one-line {
  margin-top: 12px;
  font-size: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-meta span {
  padding: 7px 10px;
  background: var(--amber-50);
  color: var(--amber-800);
}

.detail-tags {
  margin-top: 16px;
}

.detail-tags a {
  padding: 7px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
}

.detail-tags a:hover {
  background: var(--amber-100);
  color: var(--amber-800);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.story-card {
  padding: 28px;
}

.story-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.story-card p {
  font-size: 16px;
}

.related-block {
  margin-top: 14px;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(180deg, var(--amber-900), #4b230c);
  color: var(--amber-50);
}

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

.footer-brand {
  margin-bottom: 14px;
  color: var(--amber-100);
  font-size: 22px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--amber-100);
  font-size: 18px;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: var(--amber-200);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.site-footer p {
  color: var(--amber-200);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 239, 199, 0.18);
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

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

  .hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    padding: 56px 0 96px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

  .hero-poster img {
    min-height: 360px;
  }

  .hero-controls {
    bottom: 30px;
  }

  .feature-strip,
  .detail-content,
  .detail-hero,
  .footer-grid,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 620px) {
  .nav-shell {
    width: min(100% - 24px, 1240px);
    height: 62px;
  }

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

  .brand-text {
    font-size: 22px;
  }

  .mobile-menu,
  .feature-strip,
  .section-block,
  .page-hero,
  .breadcrumb,
  .detail-hero,
  .detail-content {
    width: min(100% - 24px, 1240px);
  }

  .hero-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 42px;
  }

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

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

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

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

  .movie-grid,
  .movie-grid.dense,
  .ranking-grid,
  .category-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .tool-controls {
    grid-template-columns: 1fr;
  }

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

  .mini-card img {
    width: 94px;
    height: 128px;
  }

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

  .detail-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .story-card {
    padding: 22px;
  }

  .footer-grid {
    width: min(100% - 24px, 1240px);
  }
}
