:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --emerald: #059669;
  --emerald-dark: #047857;
  --cyan: #0891b2;
  --rose: #e11d48;
  --amber: #d97706;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

img.image-failed {
  opacity: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: #cbd5e1;
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #dbeafe;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.18);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 8px 10px;
}

.header-search input::placeholder {
  color: #cbd5e1;
}

.header-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--emerald);
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-link {
  display: block;
  padding: 12px 8px;
  color: #e2e8f0;
  font-weight: 800;
}

.mobile-link.active {
  color: #34d399;
}

.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.mobile-category-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 13px;
}

.hero-section {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--dark);
}

.hero-media-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #1e293b);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.02);
  transition: transform 0.7s ease, opacity 0.4s ease;
}

.hero-panel:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

.hero-panel span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.38), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.25), transparent 38%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.48), rgba(2, 6, 23, 0.34) 42%, rgba(2, 6, 23, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 96px 0 72px;
}

.hero-kicker,
.sub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d1fae5;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 760px;
  margin: 24px auto 0;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 24px);
}

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

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.35);
}

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

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

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.hero-pills a {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: #d1fae5;
  font-size: 14px;
  border: 1px solid rgba(209, 250, 229, 0.18);
}

.hero-rank-panel {
  width: min(980px, 100%);
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.white-section {
  background: #ffffff;
}

.soft-section {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.black-section {
  background: linear-gradient(135deg, #020617, #111827);
  color: #ffffff;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #0f172a;
  font-weight: 950;
}

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

.section-more {
  color: var(--emerald);
  font-weight: 900;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.compact-space {
  gap: 18px;
}

.movie-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: var(--shadow);
}

.movie-card.hidden {
  display: none;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.72));
}

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: var(--emerald);
}

.play-dot {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: #0f172a;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.movie-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}

.movie-card.small .movie-info p,
.movie-card.small .tag-row {
  display: none;
}

.compact-card {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-rank-panel .compact-card {
  background: rgba(15, 23, 42, 0.54);
  color: #ffffff;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.compact-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.compact-card img {
  width: 56px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #0f172a;
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.compact-card em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.hero-rank-panel .compact-card em {
  color: #cbd5e1;
}

.rank-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  font-weight: 900;
  font-size: 12px;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

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

.side-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.side-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

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

.category-stack {
  display: grid;
  gap: 46px;
}

.category-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.category-preview-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f172a;
  font-size: 26px;
}

.category-preview-head h3::before {
  content: "";
  width: 5px;
  height: 30px;
  border-radius: 999px;
  background: var(--emerald);
}

.category-preview-head a {
  color: var(--emerald);
  font-weight: 900;
}

.sub-hero {
  position: relative;
  padding: 88px 0 64px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.35), transparent 34%),
    linear-gradient(135deg, #0f172a, #1e293b);
  overflow: hidden;
}

.sub-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.sub-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 18px;
}

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

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

.filter-box {
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.wide-filter {
  width: min(1100px, 100%);
}

.filter-box input,
.filter-box select {
  flex: 1 1 180px;
  min-height: 46px;
  border: 0;
  outline: 0;
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-weight: 700;
}

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

.category-card-large {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #0f172a;
}

.category-card-link span {
  font-size: 26px;
  font-weight: 950;
}

.category-card-link strong {
  color: var(--emerald);
}

.category-card-large p {
  margin: 12px 0 18px;
  color: var(--muted);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 76px 120px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.rank-index {
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  font-size: 20px;
  font-weight: 950;
}

.rank-cover img {
  width: 120px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  background: #0f172a;
}

.rank-body h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.rank-body h2 a:hover {
  color: var(--emerald);
}

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

.rank-score {
  display: grid;
  place-items: center;
  gap: 2px;
  color: var(--emerald);
}

.rank-score span {
  font-size: 30px;
  font-weight: 950;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  background: #020617;
  color: #ffffff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  filter: blur(16px);
  transform: scale(1.08);
  opacity: 0.42;
}

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

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.24), transparent 38%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.74));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

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

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}

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

.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 950;
}

.detail-one-line {
  max-width: 780px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: 20px;
}

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

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

.large-tags span {
  background: rgba(209, 250, 229, 0.15);
  color: #d1fae5;
  border: 1px solid rgba(209, 250, 229, 0.24);
}

.detail-actions {
  justify-content: flex-start;
}

.player-card {
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: #000000;
}

.player-cover.hidden {
  display: none;
}

.player-poster {
  position: absolute;
  inset: 0;
  opacity: 0.58;
}

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

.player-button {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 20px 60px rgba(5, 150, 105, 0.42);
}

.player-caption {
  padding: 24px;
}

.player-caption h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.player-caption p {
  margin: 0;
  color: #cbd5e1;
}

.detail-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
}

.article-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.accent-card {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.site-footer p {
  max-width: 420px;
  margin: 0;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 13px;
}

.footer-links a:hover {
  background: rgba(16, 185, 129, 0.22);
  color: #ffffff;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

  .sticky-panel {
    position: static;
  }

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

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

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

  .header-inner {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

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

  .hero-panel:not(:first-child) {
    display: none;
  }

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

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

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

  .four-col,
  .five-col,
  .six-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card-grid,
  .detail-text-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 54px 86px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 2 / 4;
    justify-content: start;
    display: flex;
    gap: 8px;
  }

  .rank-cover img {
    width: 86px;
    height: 62px;
  }

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

  .detail-poster {
    width: min(280px, 80vw);
  }
}

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

  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero-actions,
  .hero-pills {
    justify-content: flex-start;
  }

  .four-col,
  .five-col,
  .six-col {
    grid-template-columns: 1fr;
  }

  .compact-card {
    grid-template-columns: auto 52px minmax(0, 1fr);
  }

  .sub-hero {
    padding: 64px 0 48px;
  }

  .page-section {
    padding: 52px 0;
  }
}
