:root {
  --page: #fff7ed;
  --page-strong: #f5efe7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #3f1307;
  --muted: #8a5b36;
  --brand: #b45309;
  --brand-strong: #7c2d12;
  --accent: #f59e0b;
  --line: rgba(146, 64, 14, 0.16);
  --shadow: 0 22px 55px rgba(120, 53, 15, 0.18);
  --radius: 22px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.22), transparent 32%),
    linear-gradient(180deg, #fff7ed 0%, #f5efe7 48%, #fffaf0 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 45, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 45, 18, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

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: 80;
  background: rgba(255, 247, 237, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  height: var(--header-height);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--brand-strong);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #ef4444 52%, #f59e0b);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.34);
}

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

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

.nav-link,
.mobile-link {
  color: var(--muted);
  font-weight: 700;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand-strong);
  background: rgba(245, 158, 11, 0.16);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 290px;
}

.nav-search input,
.mobile-search input,
.large-search input,
.search-controls input,
.search-controls select,
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(180, 83, 9, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  outline: none;
  transition: 0.22s ease;
}

.nav-search input {
  width: 100%;
  padding: 10px 14px;
}

.nav-search button,
.mobile-search button,
.large-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #dc2626);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.nav-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.search-controls input:focus,
.search-controls select:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(180, 83, 9, 0.58);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-strong);
  margin: 4px auto;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px 24px 22px;
}

.mobile-panel.is-open {
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 12px 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
}

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

.hero-carousel {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #160b05;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide > img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide > img.image-missing,
.poster-link img.image-missing,
.detail-poster img.image-missing,
.detail-backdrop img.image-missing,
.hero-dot img.image-missing {
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.9), rgba(120, 53, 15, 0.8)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 8px, transparent 8px 16px);
  min-height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 11, 5, 0.88) 0%, rgba(22, 11, 5, 0.58) 42%, rgba(22, 11, 5, 0.1) 100%),
    linear-gradient(0deg, rgba(22, 11, 5, 0.88) 0%, rgba(22, 11, 5, 0.22) 45%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 12vh 24px 148px;
  margin-left: max(24px, calc((100vw - 1280px) / 2));
  color: #fff;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: #fbbf24;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.hero-summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.82;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.tag-row span {
  color: var(--brand-strong);
  background: rgba(245, 158, 11, 0.13);
}

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

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.22s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  padding: 13px 22px;
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.28);
}

.primary-button:hover,
.nav-search button:hover,
.large-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(220, 38, 38, 0.32);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  padding: 13px 22px;
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - 1280px) / 2));
  top: 50%;
  display: flex;
  gap: 10px;
  transform: translateY(-50%);
}

.hero-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.hero-thumb-panel {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 22px;
  width: min(1232px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  cursor: pointer;
  padding: 8px;
  text-align: left;
}

.hero-dot.is-active {
  border-color: rgba(251, 191, 36, 0.82);
  background: rgba(180, 83, 9, 0.52);
}

.hero-dot img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-dot span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 800;
}

.quick-search-panel,
.content-section,
.category-overview-grid,
.search-workbench,
.article-section,
.player-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.quick-search-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  margin-top: -48px;
  position: relative;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-article h2 {
  margin: 0;
  color: var(--brand-strong);
  letter-spacing: -0.04em;
}

.quick-search-panel h2,
.section-heading h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.quick-search-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.large-search {
  display: flex;
  gap: 10px;
}

.large-search input {
  flex: 1;
  padding: 15px 18px;
}

.large-search button {
  border: 0;
  padding: 15px 22px;
  white-space: nowrap;
}

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

.no-top-space {
  padding-top: 24px;
}

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

.section-heading span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.section-more {
  color: var(--brand-strong);
  background: rgba(245, 158, 11, 0.16);
  padding: 10px 16px;
}

.section-more:hover {
  background: rgba(245, 158, 11, 0.28);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(120, 53, 15, 0.12);
  transition: 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(120, 53, 15, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 11, 5, 0.68), transparent 62%);
  opacity: 0;
  transition: 0.25s ease;
}

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

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  background: rgba(220, 38, 38, 0.85);
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 7px 11px;
  background: rgba(245, 158, 11, 0.9);
}

.card-body {
  padding: 16px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span,
.detail-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.06);
}

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

.card-body h3 a:hover {
  color: var(--brand);
}

.card-body p {
  min-height: 48px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.split-section {
  padding: 64px 34px 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 45, 18, 0.92), rgba(180, 83, 9, 0.84));
  box-shadow: var(--shadow);
}

.split-section .section-heading h2,
.split-section .section-heading span,
.split-section .eyebrow {
  color: #fff;
}

.split-section .section-more {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.hot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 34px;
}

.hot-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 12px 14px;
  color: #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  transition: 0.22s ease;
}

.hot-row:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(4px);
}

.hot-row strong {
  color: #fde68a;
  font-size: 22px;
}

.hot-row span {
  font-weight: 900;
}

.hot-row em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-style: normal;
}

.page-main,
.detail-main {
  padding-bottom: 84px;
}

.page-hero {
  width: min(1280px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: clamp(42px, 7vw, 86px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(124, 45, 18, 0.92), rgba(180, 83, 9, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(251, 191, 36, 0.42), transparent 30%);
  color: #fff;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
}

.page-hero p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

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

.category-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(120, 53, 15, 0.1);
}

.category-main-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
}

.category-main-link span {
  color: var(--brand-strong);
  font-size: 28px;
  font-weight: 900;
}

.category-main-link strong {
  color: var(--accent);
  font-size: 34px;
}

.category-main-link em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.category-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar,
.search-controls {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(120, 53, 15, 0.1);
}

.filter-bar {
  width: min(1280px, calc(100% - 48px));
  margin: 24px auto 0;
  grid-template-columns: 1fr 220px;
}

.filter-bar input,
.filter-bar select,
.search-controls input,
.search-controls select {
  width: 100%;
  padding: 13px 16px;
}

.search-controls {
  grid-template-columns: 1fr 180px 160px 160px;
}

.search-workbench {
  padding-top: 28px;
}

.search-count {
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #160b05;
  color: #fff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: blur(2px) saturate(1.15);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 11, 5, 0.96), rgba(22, 11, 5, 0.58), rgba(22, 11, 5, 0.76)),
    linear-gradient(0deg, #160b05, transparent 62%);
}

.detail-layout {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 70px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #78350f, #f59e0b);
}

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

.detail-info h1 {
  color: #fff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  margin-top: 18px;
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.86;
}

.detail-tags {
  margin: 22px 0;
}

.player-section {
  margin-top: -70px;
  position: relative;
  z-index: 3;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #050505;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  aspect-ratio: 16 / 9;
}

.player-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54));
  cursor: pointer;
  text-align: center;
}

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

.player-start span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  font-size: 34px;
  box-shadow: 0 18px 45px rgba(220, 38, 38, 0.4);
}

.player-start strong {
  font-size: 24px;
}

.player-start em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.article-section {
  padding-top: 48px;
}

.detail-article {
  padding: 34px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.detail-article h2 {
  margin-top: 28px;
  font-size: 28px;
}

.detail-article h2:first-child {
  margin-top: 0;
}

.detail-article p {
  color: #5f341f;
  line-height: 2;
  font-size: 17px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.12);
  color: #5f341f;
}

.related-section {
  padding-top: 48px;
}

.site-footer {
  margin-top: 84px;
  padding: 44px 24px;
  background: rgba(124, 45, 18, 0.94);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 36px;
}

.footer-brand {
  color: #fff;
}

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

.site-footer p {
  max-width: 560px;
  line-height: 1.8;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 9px 0;
}

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

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

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

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

  .hero-dot:nth-child(n + 4) {
    display: none;
  }

  .quick-search-panel,
  .detail-layout,
  .search-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

  .hero-carousel {
    min-height: 78vh;
  }

  .hero-content {
    padding: 10vh 24px 150px;
    margin-left: 0;
  }

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

  .hero-controls {
    top: auto;
    right: 24px;
    bottom: 118px;
    transform: none;
  }

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

  .hero-dot:nth-child(n + 2) {
    display: none;
  }

  .quick-search-panel,
  .content-section,
  .category-overview-grid,
  .search-workbench,
  .article-section,
  .player-section,
  .page-hero,
  .filter-bar,
  .detail-layout {
    width: min(100% - 32px, 1280px);
  }

  .quick-search-panel,
  .large-search,
  .section-heading,
  .hot-list,
  .category-overview-grid,
  .filter-bar,
  .footer-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

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

  .card-body {
    padding: 13px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .detail-poster {
    width: min(320px, 82vw);
  }

  .page-hero {
    padding: 36px 24px;
  }

  .detail-article {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    padding: 0 16px;
  }

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

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

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

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

  .hero-actions {
    display: grid;
  }

  .quick-search-panel {
    padding: 24px;
  }

  .hot-row {
    grid-template-columns: 46px 1fr;
  }

  .hot-row em {
    grid-column: 2;
  }
}
