:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --red: #dc2626;
  --red-dark: #7f1d1d;
  --red-mid: #b91c1c;
  --orange: #f97316;
  --shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 25px 50px rgba(17, 24, 39, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.28);
}

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

.nav-link {
  color: #374151;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.header-search button,
.mobile-search button,
.large-search button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 22px;
}

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

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

.mobile-panel nav,
.mobile-search {
  display: grid;
  gap: 12px;
}

.mobile-search {
  margin-top: 14px;
  grid-template-columns: 1fr auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(248, 113, 113, 0.45), transparent 32%),
    linear-gradient(110deg, #450a0a 0%, #7f1d1d 42%, #b91c1c 100%);
  padding: 72px 0 84px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 48%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-head h1,
.page-hero h1,
.detail-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-head p,
.page-hero p,
.detail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.primary-button {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #ffffff;
  padding: 13px 20px;
  box-shadow: 0 16px 28px rgba(220, 38, 38, 0.32);
}

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

.ghost-button {
  color: #ffffff;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 185px;
  gap: 16px;
}

.hero-tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111827;
  box-shadow: var(--shadow-strong);
}

.hero-main {
  grid-column: span 3;
  grid-row: span 2;
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hero-tile:hover img {
  transform: scale(1.1);
  opacity: 0.86;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 60%);
}

.hero-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
}

.hero-info strong,
.hero-info em {
  display: block;
}

.hero-info strong {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-main .hero-info strong {
  font-size: 28px;
}

.hero-info em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-section,
.category-strip {
  padding: 64px 0;
}

.white-section {
  background: #ffffff;
}

.section-title {
  margin-bottom: 28px;
}

.section-title.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-title.row-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-title span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.section-title p {
  color: var(--muted);
  margin: 10px 0 0;
}

.chip-cloud {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-cloud a,
.pill-row span,
.detail-tags a {
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #374151;
  font-weight: 700;
  padding: 9px 14px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.chip-cloud a:hover,
.detail-tags a:hover {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

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

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

.movie-card {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.82);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.poster-link {
  display: block;
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #111827;
}

.poster-link img,
.horizontal-card img,
.feature-poster img,
.rank-poster img,
.compact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .poster-link img,
.horizontal-card:hover img,
.feature-row:hover .feature-poster img,
.compact-card:hover img {
  transform: scale(1.08);
}

.card-badge,
.horizontal-year {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.card-body {
  padding: 18px;
}

.card-body h2,
.feature-copy h2,
.rank-item h2,
.detail-side h2,
.movie-article h2,
.category-overview-card h2 {
  margin: 0 0 10px;
  line-height: 1.3;
}

.card-body h2 {
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body h2:hover,
.feature-copy h2:hover,
.rank-item h2:hover,
.catalog-links a:hover {
  color: var(--red);
}

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

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

.tag-line {
  margin-top: 10px;
  color: var(--red);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

.horizontal-card {
  position: relative;
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: #ffffff;
  padding-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.horizontal-card img {
  height: 166px;
}

.horizontal-card strong,
.horizontal-card small {
  padding: 0 14px;
}

.horizontal-card small {
  color: var(--muted);
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.feature-poster {
  min-height: 220px;
  overflow: hidden;
  background: #111827;
}

.feature-copy {
  padding: 24px;
}

.feature-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.feature-top span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 10px;
}

.feature-copy p {
  color: var(--muted);
}

.pill-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.pill-row span {
  box-shadow: none;
  font-size: 12px;
  padding: 5px 10px;
}

.rank-panel,
.side-recommend,
.detail-side {
  border-radius: 20px;
  background: #f9fafb;
  border: 1px solid var(--line);
  padding: 24px;
  align-self: start;
}

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 44px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.05);
}

.small-rank .rank-item {
  grid-template-columns: 36px 70px minmax(0, 1fr);
  padding: 10px;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #ffffff;
  font-weight: 900;
}

.rank-poster {
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
}

.rank-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-item span {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font-size: 12px;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 850px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fecaca;
}

.timeline-item {
  position: relative;
}

.timeline-item > span {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: var(--red);
  box-shadow: var(--shadow);
}

.timeline-item a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 18px;
  align-items: center;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.timeline-item img {
  grid-row: span 2;
  width: 132px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

.timeline-item strong {
  font-size: 18px;
}

.timeline-item em {
  color: var(--muted);
  font-style: normal;
}

.page-hero,
.detail-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at right top, rgba(249, 115, 22, 0.36), transparent 35%),
    linear-gradient(110deg, #450a0a, #7f1d1d 48%, #111827);
}

.slim-hero {
  padding: 58px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

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

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

.category-overview-card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.category-overview-card > div:last-child {
  padding: 22px;
}

.category-overview-card p {
  color: var(--muted);
}

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

.category-preview img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-bottom: 26px;
}

.empty-state {
  display: none;
  margin: 30px 0;
  border: 1px dashed #fca5a5;
  border-radius: 16px;
  background: #fff7f7;
  color: #991b1b;
  padding: 24px;
  text-align: center;
  font-weight: 800;
}

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

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
}

.side-grid {
  display: grid;
  gap: 16px;
}

.side-grid .movie-card .poster-link {
  height: 180px;
}

.catalog-wrapper {
  display: grid;
  gap: 26px;
}

.catalog-block {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

.catalog-block h2 {
  color: var(--red);
  margin: 0 0 18px;
}

.catalog-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 18px;
}

.catalog-links a {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-weight: 800;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
}

.catalog-links span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.large-search {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  max-width: 660px;
}

.large-search input {
  flex: 1;
  height: 50px;
}

.large-search button {
  height: 50px;
  padding: 0 26px;
}

.detail-hero {
  padding: 60px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-cover {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #111827;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(32px, 5vw, 56px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 7px 12px;
  font-weight: 800;
}

.detail-tags a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.player-section {
  background: #0b0f19;
  padding: 52px 0;
}

.player-shell {
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-strong);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.18));
  cursor: pointer;
}

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

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 32px;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.32);
}

.player-overlay strong {
  max-width: min(90%, 720px);
  font-size: 22px;
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

.movie-article,
.detail-side {
  background: #ffffff;
}

.movie-article {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px;
}

.movie-article h2 {
  color: var(--text);
  font-size: 24px;
  margin-top: 24px;
}

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

.movie-article p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 17px;
}

.detail-side dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.detail-side dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-side dd {
  margin: -8px 0 0;
  font-weight: 800;
}

.compact-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.compact-card img {
  height: 54px;
  border-radius: 10px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 12px;
}

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

.site-footer p {
  color: #9ca3af;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

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

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
  text-align: center;
  padding: 20px;
}

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

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .hero-main {
    grid-column: span 2;
  }

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

  .two-column-layout,
  .ranking-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    height: 64px;
  }

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

  .hero-section {
    padding: 48px 0 58px;
  }

  .hero-head h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 34px;
  }

  .hero-head p,
  .page-hero p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 12px;
  }

  .hero-tile,
  .hero-main {
    flex: 0 0 84%;
    height: 320px;
  }

  .content-section,
  .category-strip {
    padding: 44px 0;
  }

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

  .movie-grid,
  .movie-grid.wide-grid,
  .category-overview-grid,
  .catalog-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-link {
    height: 235px;
  }

  .feature-row,
  .detail-layout,
  .timeline-item a {
    grid-template-columns: 1fr;
  }

  .feature-poster {
    min-height: 210px;
  }

  .timeline-item img {
    width: 100%;
    height: 160px;
  }

  .filter-bar,
  .large-search {
    grid-template-columns: 1fr;
    display: grid;
  }

  .rank-item {
    grid-template-columns: 38px 82px minmax(0, 1fr);
  }

  .detail-hero {
    padding: 36px 0;
  }

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

  .movie-article,
  .detail-side,
  .rank-panel,
  .side-recommend {
    padding: 20px;
  }

  .footer-links.compact {
    grid-template-columns: 1fr;
  }
}
