:root {
  --bg: #fffaf1;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.14);
  --amber: #d97706;
  --amber-dark: #92400e;
  --rose: #e11d48;
  --shadow: 0 22px 60px rgba(120, 53, 15, 0.15);
  --radius: 24px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(251, 191, 36, 0.28), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(244, 63, 94, 0.16), transparent 28rem),
    var(--bg);
  min-height: 100vh;
}

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

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

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.25);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, #78350f, var(--amber));
  color: transparent;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4b5563;
  font-weight: 700;
  font-size: 15px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transition: right 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--amber-dark);
}

.desktop-nav a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-dark);
  border-radius: 99px;
}

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

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #4b5563;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  background: linear-gradient(135deg, #111827, #1f2937 50%, #78350f);
  color: #fff;
}

.hero-slides,
.hero-slide {
  min-height: 680px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: blur(5px) saturate(1.15);
  transform: scale(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.62), rgba(120, 53, 15, 0.82)),
    radial-gradient(circle at 76% 34%, rgba(245, 158, 11, 0.42), transparent 24rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  align-items: center;
  gap: 60px;
  padding: 84px 20px 118px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: #fbbf24;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-desc {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.84);
}

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

.hero-tags span,
.detail-tags a {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(90deg, var(--amber), var(--rose));
  box-shadow: 0 18px 34px rgba(225, 29, 72, 0.24);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn.ghost.dark {
  color: var(--amber-dark);
  background: rgba(255, 255, 255, 0.82);
}

.hero-poster {
  justify-self: center;
  width: min(360px, 82vw);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

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

.hero-poster span {
  display: block;
  padding: 18px 20px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.9), rgba(225, 29, 72, 0.9));
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

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

.hero-controls > button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.14);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
}

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

.quick-search-section,
.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 20px;
}

.quick-search-card {
  margin-top: -120px;
  position: relative;
  z-index: 10;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.quick-search-card p {
  margin: 0 0 8px;
  color: var(--amber-dark);
  font-weight: 900;
}

.quick-search-card h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.global-search,
.filter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.global-search input,
.filter-panel input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
  background: #fff;
  color: var(--text);
}

.global-search input:focus,
.filter-panel input:focus {
  border-color: rgba(217, 119, 6, 0.62);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.global-search button,
.filter-panel button {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  padding: 0 24px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.section-heading p:not(.section-kicker) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  flex: none;
  color: var(--amber-dark);
  font-weight: 900;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 44px rgba(120, 53, 15, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(120, 53, 15, 0.2);
}

.poster-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fecdd3);
}

.poster-box img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-box img {
  transform: scale(1.05);
}

.year-badge,
.rank-number {
  position: absolute;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.year-badge {
  left: 12px;
}

.rank-number {
  right: 12px;
  background: linear-gradient(90deg, var(--amber), var(--rose));
}

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

.movie-card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--amber-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.compact-list,
.full-rank-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #fff7ed);
  border: 1px solid rgba(146, 64, 14, 0.1);
  box-shadow: 0 12px 30px rgba(120, 53, 15, 0.08);
  transition: transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
}

.rank-index {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.rank-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.rank-copy strong {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

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

.category-card {
  position: relative;
  min-height: 160px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(120, 53, 15, 0.14);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.86));
}

.category-card strong,
.category-card em {
  position: relative;
  z-index: 1;
}

.category-card strong {
  font-size: 20px;
  font-weight: 900;
}

.category-card em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.soft-section {
  max-width: none;
  padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.82), rgba(255, 255, 255, 0.78));
}

.page-hero,
.detail-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #78350f);
  overflow: hidden;
}

.page-hero > div:not(.page-hero-bg) {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 74px 20px;
}

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

.page-hero p:not(.section-kicker) {
  margin: 22px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  font-size: 18px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(3px);
}

.category-hero::after,
.rank-hero::after,
.search-hero::after,
.simple-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 24%, rgba(251, 191, 36, 0.34), transparent 24rem);
}

.filter-panel {
  margin-bottom: 26px;
}

.empty-state {
  margin: 26px 0;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 180px;
  overflow: hidden;
}

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

.category-overview-copy {
  padding: 24px;
}

.category-overview-copy h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

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

.category-overview-copy span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--amber-dark);
  font-weight: 900;
}

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

.detail-hero {
  min-height: auto;
  display: block;
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.04);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72), rgba(120, 53, 15, 0.76));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 20px 64px;
}

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

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

.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.detail-one-line {
  margin: 22px 0 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.85;
}

.detail-tags a {
  background: rgba(255, 255, 255, 0.14);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-meta span {
  padding: 10px 13px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.player-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

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

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.play-layer {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shell.is-playing .play-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.35);
  font-size: 32px;
}

.play-layer strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.article-card,
.side-card {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.article-card {
  padding: 34px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.article-card h2:not(:first-child) {
  margin-top: 34px;
}

.article-card p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.side-card {
  padding: 26px;
}

.side-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

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

.site-footer p {
  max-width: 620px;
  line-height: 1.8;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fbbf24;
}

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

  .nav-toggle {
    display: block;
  }

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

  .hero-content,
  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

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

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

@media (max-width: 760px) {
  .header-inner {
    padding: 12px 16px;
  }

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

  .hero-carousel,
  .hero-slides,
  .hero-slide,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding: 72px 18px 110px;
    display: flex;
  }

  .hero-desc,
  .detail-one-line {
    font-size: 17px;
  }

  .quick-search-section,
  .content-section,
  .player-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-search-card {
    margin-top: -86px;
    padding: 24px;
  }

  .global-search,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-inner {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 14px;
  }

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

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

  .movie-card-body p {
    -webkit-line-clamp: 1;
  }

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

  .rank-item {
    grid-template-columns: 42px 64px 1fr;
  }

  .rank-item img {
    width: 64px;
    height: 86px;
  }

  .page-hero,
  .detail-hero {
    min-height: 300px;
  }

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

  .detail-cover {
    max-width: 220px;
  }

  .detail-inner {
    padding: 32px 16px 46px;
  }

  .player-shell {
    border-radius: 20px;
  }

  .article-card,
  .side-card {
    padding: 22px;
    border-radius: 22px;
  }

  .side-card dl div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-controls {
    bottom: 22px;
  }

  .category-thumbs {
    height: 130px;
  }
}
