:root {
  color-scheme: light;
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.26);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --shadow: 0 20px 45px rgba(124, 45, 18, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(251, 146, 60, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(245, 158, 11, 0.16), transparent 30rem),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 48%, #fff7ed 100%);
}

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, 247, 237, 0.9);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.08);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 18px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--orange-dark), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(251, 146, 60, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #9a3412;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border-top: 1px solid rgba(251, 146, 60, 0.2);
}

.hero-section {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 32px auto 22px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #7c2d12, #ea580c 46%, #f59e0b);
  box-shadow: var(--shadow);
}

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

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

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

.hero-backdrop img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(5px) saturate(1.2);
  transform: scale(1.04);
}

.hero-backdrop::after,
.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(124, 45, 18, 0.72) 46%, rgba(251, 146, 60, 0.18)),
    radial-gradient(circle at 70% 30%, rgba(254, 243, 199, 0.28), transparent 22rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(640px, 55%);
  padding: 86px 0 0 72px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy .eyebrow,
.detail-copy .eyebrow,
.page-hero .eyebrow,
.ranking-card .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.hero-tags,
.hero-actions,
.detail-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin: 22px 0 30px;
}

.hero-tags span,
.tag-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: 0.25s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
  color: #9a3412;
  background: rgba(255, 237, 213, 0.88);
  border-color: rgba(251, 146, 60, 0.26);
}

.hero-copy .btn-ghost,
.detail-copy .btn-ghost,
.page-hero .btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-poster {
  position: absolute;
  z-index: 3;
  right: 72px;
  bottom: 72px;
  width: min(330px, 30vw);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.38);
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

.hero-poster img,
.poster img,
.detail-poster img,
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img,
.movie-card:hover .poster img,
.category-tile:hover img {
  transform: scale(1.08);
}

.image-missing {
  opacity: 0 !important;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 72px;
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 26px;
  backdrop-filter: blur(14px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  width: 28px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-dots button.is-active {
  width: 48px;
  background: #ffffff;
}

.stats-strip,
.section-shell,
.filter-panel,
.ranking-preview,
.content-shell,
.sitemap-shell,
.overview-list,
.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stats-strip div,
.filter-panel,
.category-overview-card,
.story-card,
.sitemap-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stats-strip div {
  padding: 22px;
  text-align: center;
}

.stats-strip strong {
  display: block;
  color: var(--orange-dark);
  font-size: 34px;
  line-height: 1;
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section-shell {
  padding: 72px 0 0;
}

.section-shell.no-top {
  padding-top: 24px;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.ranking-card h2,
.sitemap-shell h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--orange-dark);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #9a3412, #f97316);
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: saturate(1.1);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.68), transparent 64%);
}

.category-tile span,
.category-tile small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile span {
  margin-top: 78px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(124, 45, 18, 0.1);
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px rgba(124, 45, 18, 0.16);
}

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

.poster-mask {
  position: absolute;
  inset: auto 10px 10px;
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
  backdrop-filter: blur(8px);
}

.movie-card:hover .poster-mask {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.28);
}

.movie-info {
  padding: 14px;
}

.movie-info h3 {
  min-height: 2.8em;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.movie-info h3 a:hover {
  color: var(--orange-dark);
}

.one-line {
  min-height: 3.2em;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 12px;
}

.meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #d1d5db;
}

.tag-row {
  margin-top: 8px;
}

.tag-row span {
  font-size: 12px;
}

.category-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.ranking-preview {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  padding-top: 76px;
}

.ranking-card {
  min-height: 420px;
  padding: 42px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(254, 243, 199, 0.28), transparent 18rem),
    linear-gradient(135deg, #7c2d12, #f97316);
  box-shadow: var(--shadow);
}

.ranking-card h2 {
  color: #ffffff;
  margin-bottom: 14px;
}

.ranking-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

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

.ranking-list.compact {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.ranking-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(160px, 0.8fr) 70px;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  transition: 0.25s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: 0 12px 24px rgba(124, 45, 18, 0.12);
}

.ranking-number {
  color: var(--orange-dark);
  font-size: 20px;
  font-weight: 900;
}

.ranking-title {
  min-width: 0;
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-meta {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-score {
  justify-self: end;
  color: #b45309;
  font-weight: 900;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 26px;
  padding: 72px;
  border-radius: 32px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(254, 243, 199, 0.3), transparent 18rem),
    linear-gradient(135deg, #7c2d12, #ea580c 52%, #f59e0b);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 14px;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.small-hero {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-actions.centered {
  justify-content: center;
  margin-top: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid rgba(251, 146, 60, 0.22);
  border-radius: 18px;
  background: #ffffff;
}

.search-box span {
  color: var(--orange-dark);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filter-status {
  color: var(--muted);
  font-weight: 700;
}

.overview-list {
  display: grid;
  gap: 28px;
  padding-bottom: 74px;
}

.category-overview-card {
  padding: 28px;
}

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

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 24px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange-dark);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 36px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #7c2d12, #f97316);
  box-shadow: var(--shadow);
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 58px;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  background: linear-gradient(135deg, #fed7aa, #f59e0b);
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.3);
}

.detail-copy {
  color: #ffffff;
}

.detail-copy h1 {
  color: #ffffff;
  margin-bottom: 18px;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-meta div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-meta dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.detail-meta dd {
  margin: 0;
  font-weight: 900;
}

.large-tags {
  margin-bottom: 26px;
}

.player-section,
.content-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 138px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.32);
}

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

.content-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 34px;
}

.story-card {
  padding: 30px;
}

.story-card h2 {
  margin: 0 0 14px;
  color: #9a3412;
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.sitemap-shell {
  padding: 34px;
  margin-bottom: 74px;
}

.sitemap-shell h2 {
  margin: 30px 0 14px;
  font-size: 28px;
}

.sitemap-shell h2:first-child {
  margin-top: 0;
}

.link-index {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.link-index li {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
}

.link-index a {
  color: #9a3412;
  font-weight: 900;
}

.link-index span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 82px;
  color: #e5e7eb;
  background: linear-gradient(135deg, #111827, #1f2937 52%, #111827);
}

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

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

.site-footer h3 {
  margin: 0 0 14px;
  color: #fdba74;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: #fed7aa;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

[hidden],
.is-hidden-by-search {
  display: none !important;
}

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

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

  .hero-copy {
    width: 60%;
  }

  .hero-poster {
    right: 38px;
  }

  .detail-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    padding: 42px;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-section {
    min-height: 760px;
    border-radius: 26px;
  }

  .hero-copy {
    width: auto;
    padding: 42px 28px 0;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-poster {
    left: 28px;
    right: auto;
    bottom: 92px;
    width: 210px;
  }

  .hero-controls {
    left: 28px;
    bottom: 28px;
  }

  .stats-strip,
  .footer-grid,
  .ranking-preview,
  .content-shell,
  .detail-layout,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading,
  .category-overview-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 44px 24px;
    text-align: left;
  }

  .page-hero p {
    margin-left: 0;
  }

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

  .detail-poster {
    width: min(260px, 100%);
  }

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

  .ranking-meta {
    display: none;
  }

  .link-index li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-text strong {
    font-size: 20px;
  }

  .hero-section,
  .section-shell,
  .stats-strip,
  .filter-panel,
  .ranking-preview,
  .content-shell,
  .sitemap-shell,
  .overview-list,
  .breadcrumb,
  .page-hero,
  .detail-hero,
  .player-section {
    width: min(100% - 20px, 1180px);
  }

  .movie-grid,
  .movie-grid.wide-grid,
  .mini-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-info h3 {
    font-size: 14px;
  }

  .one-line,
  .tag-row,
  .category-link {
    display: none;
  }

  .detail-layout {
    padding: 28px;
  }
}
