:root {
  --page-bg: #fff7ed;
  --panel-bg: #ffffff;
  --soft-bg: #fffbeb;
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.32);
  --amber: #d97706;
  --amber-strong: #b45309;
  --orange: #f97316;
  --shadow: 0 20px 50px rgba(31, 41, 55, 0.12);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 42%, #ffffff 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: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 237, 213, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
  font-size: 14px;
}

.brand-text {
  font-size: clamp(18px, 2vw, 24px);
}

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

.nav-link {
  padding: 9px 12px;
  color: #374151;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  background: #0f172a;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(245, 158, 11, 0.45), transparent 32%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.22)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 64%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: clamp(560px, 72vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 0 clamp(72px, 11vh, 128px);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content .eyebrow {
  color: #fbbf24;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.hero-desc {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.7;
}

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

.hero-tags span,
.detail-tags a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 12px;
  font-weight: 750;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.72);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.search-jump button,
.filter-controls button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-btn,
.search-jump button,
.filter-controls button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.26);
  cursor: pointer;
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--amber-strong);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.56);
  transform: translateY(-2px);
}

.hero-arrow--prev {
  left: clamp(12px, 3vw, 36px);
}

.hero-arrow--next {
  right: clamp(12px, 3vw, 36px);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

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

.section-head h2,
.quick-search h2,
.filter-panel h2,
.subhero h1,
.text-page h2,
.content-card h2 {
  margin: 0;
  color: #111827;
  letter-spacing: -0.035em;
}

.section-head h2,
.quick-search h2,
.filter-panel h2 {
  font-size: clamp(24px, 3vw, 38px);
}

.section-head a {
  color: var(--amber-strong);
  font-weight: 800;
  white-space: nowrap;
}

.quick-search,
.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 28px;
  margin-top: -42px;
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-search p,
.filter-panel p,
.category-tile p,
.category-overview-card p,
.text-page p,
.content-card p,
.detail-one-line {
  color: var(--muted);
  line-height: 1.75;
}

.search-jump {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-jump input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 999px;
  padding: 0 16px;
  color: #111827;
  background: #ffffff;
  outline: none;
}

.search-jump input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(245, 158, 11, 0.78);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: var(--panel-bg);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 24px 54px rgba(31, 41, 55, 0.16);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.movie-card--compact .movie-poster {
  aspect-ratio: 16 / 10;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 54%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

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

.score-badge,
.rank-badge,
.poster-play,
.detail-score {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 850;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.score-badge {
  top: 10px;
  right: 10px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.58);
}

.rank-badge {
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  background: rgba(217, 119, 6, 0.92);
}

.poster-play {
  left: 50%;
  top: 50%;
  padding: 9px 14px;
  background: rgba(217, 119, 6, 0.92);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--amber-strong);
}

.movie-meta {
  margin: 0 0 10px;
  color: #9ca3af;
  font-size: 13px;
}

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

.movie-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 12px;
}

.tag-list {
  justify-content: flex-end;
}

.tag-list span {
  min-height: 22px;
  padding: 2px 7px;
  font-size: 11px;
}

.split-highlight {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18);
}

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

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

.category-tile,
.category-overview-card,
.content-card,
.text-page,
.sitemap-block {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.07);
}

.category-tile {
  position: relative;
  min-height: 220px;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-count {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-weight: 800;
  font-size: 12px;
}

.category-tile h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-examples,
.category-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-examples a,
.category-link-list a {
  color: var(--amber-strong);
  font-size: 13px;
  font-weight: 700;
}

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

.latest-row {
  display: grid;
  grid-template-columns: auto 52px minmax(180px, 1fr) 80px 130px 110px 80px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.05);
}

.latest-row:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

.latest-row img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.latest-title {
  font-weight: 850;
}

.latest-rank {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--amber);
  font-weight: 850;
  font-size: 12px;
}

.subhero {
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 20%, rgba(251, 191, 36, 0.48), transparent 28%),
    linear-gradient(135deg, #92400e, #d97706 48%, #f97316);
}

.subhero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.subhero .eyebrow,
.subhero p {
  color: rgba(255, 255, 255, 0.84);
}

.subhero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 64px);
}

.subhero p {
  max-width: 760px;
  margin: 0;
  line-height: 1.8;
  font-size: 18px;
}

.filter-panel {
  grid-template-columns: 0.82fr 1.18fr;
  margin: 0 0 28px;
  padding: 24px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(130px, 0.55fr) minmax(140px, 0.7fr) auto;
  align-items: end;
  gap: 10px;
}

.filter-controls label {
  display: grid;
  gap: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.filter-result {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 750;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.category-overview-card span {
  color: var(--amber-strong);
  font-weight: 850;
  font-size: 13px;
}

.category-overview-card h2 {
  margin: 8px 0 10px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-strong);
  font-weight: 750;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 260px;
  grid-template-areas:
    "player aside"
    "info aside";
  gap: 22px;
  align-items: start;
}

.player-panel {
  grid-area: player;
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.16));
  cursor: pointer;
}

.play-overlay span {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 45px rgba(217, 119, 6, 0.35);
  font-size: 28px;
}

.video-player.is-playing .play-overlay {
  display: none;
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 12px;
  margin: 0;
  color: #fecaca;
  font-weight: 700;
}

.detail-aside {
  grid-area: aside;
  position: sticky;
  top: 92px;
}

.detail-aside img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(135deg, #1f2937, #92400e);
  box-shadow: var(--shadow);
}

.detail-score {
  position: static;
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.detail-info {
  grid-area: info;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.07);
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.04em;
}

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

.detail-meta div {
  padding: 12px;
  border-radius: 14px;
  background: #fffbeb;
}

.detail-meta dt {
  color: #92400e;
  font-size: 12px;
  font-weight: 850;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: #111827;
  font-weight: 750;
}

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

.content-card,
.text-page,
.sitemap-block {
  padding: 26px;
}

.content-card p,
.text-page p {
  font-size: 16px;
}

.text-page {
  max-width: 860px;
}

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

.sitemap-block ul {
  margin: 14px 0 0;
  padding-left: 18px;
  columns: 2;
}

.sitemap-block li {
  break-inside: avoid;
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 14px;
}

.sitemap-block a:hover {
  color: var(--amber-strong);
}

.site-footer {
  margin-top: 54px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 54%, #0f172a);
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 36px;
}

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

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

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

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

.is-hidden {
  display: none !important;
}

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

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

  .quick-search,
  .filter-panel,
  .split-highlight,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .latest-row {
    grid-template-columns: auto 52px minmax(160px, 1fr) 80px 120px;
  }

  .latest-row span:nth-last-child(2),
  .latest-row strong {
    display: none;
  }
}

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(217, 119, 6, 0.16);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero-content {
    padding-bottom: 96px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .movie-grid,
  .movie-grid--three,
  .movie-grid--catalog,
  .movie-grid--related,
  .mini-list,
  .category-grid,
  .category-overview-grid,
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-controls label:first-child,
  .filter-controls button {
    grid-column: 1 / -1;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "player"
      "aside"
      "info";
  }

  .detail-aside {
    position: static;
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: end;
    gap: 16px;
  }

  .latest-row {
    grid-template-columns: auto 48px minmax(0, 1fr);
  }

  .latest-row span:not(.latest-rank):not(.latest-title),
  .latest-row strong {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-wrap,
  .subhero-inner {
    width: min(100% - 22px, var(--max));
  }

  .brand-text {
    max-width: 190px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

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

  .hero h1 {
    font-size: 42px;
  }

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

  .hero-arrow {
    display: none;
  }

  .quick-search,
  .filter-panel,
  .split-highlight,
  .detail-info,
  .content-card,
  .text-page,
  .sitemap-block {
    padding: 18px;
  }

  .search-jump,
  .filter-controls,
  .movie-grid,
  .movie-grid--three,
  .movie-grid--catalog,
  .movie-grid--related,
  .mini-list,
  .category-grid,
  .category-overview-grid,
  .sitemap-grid,
  .detail-content-grid,
  .detail-meta {
    grid-template-columns: 1fr;
  }

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

  .sitemap-block ul {
    columns: 1;
  }
}
