* {
  box-sizing: border-box;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --cyan: #06b6d4;
  --slate: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 54%, #0f172a 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

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

.brand-text small {
  color: #bfdbfe;
  font-size: 12px;
  margin-top: 3px;
}

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

.nav-link,
.mobile-nav-link {
  border-radius: 12px;
  color: #dbeafe;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

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

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.8);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px 16px;
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

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

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

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

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

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(34, 211, 238, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 58, 138, 0.82) 47%, rgba(15, 23, 42, 0.46) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  color: #cffafe;
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.38);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  width: min(760px, 100%);
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  width: min(680px, 100%);
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
  margin: 0 0 32px;
}

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

.primary-button,
.ghost-button,
.home-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button,
.home-search button {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.35);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
}

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

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

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

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(14px);
}

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

.hero-dot.active {
  width: 26px;
  background: #22d3ee;
}

.quick-search-section {
  margin-top: -42px;
  position: relative;
  z-index: 8;
}

.quick-search-box {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.quick-search-box h2,
.quick-search-box p {
  margin: 0;
}

.quick-search-box h2 {
  font-size: 28px;
  color: #0f172a;
}

.quick-search-box p {
  margin-top: 8px;
  color: var(--muted);
}

.home-search,
.filter-bar {
  display: flex;
  gap: 12px;
}

.home-search input,
.filter-bar input,
.filter-bar select {
  min-height: 50px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
}

.home-search input {
  flex: 1;
}

.filter-bar {
  position: sticky;
  top: 86px;
  z-index: 12;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.filter-bar input {
  flex: 1 1 280px;
}

.filter-bar select {
  flex: 0 1 170px;
}

.section-block {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: #0f172a;
}

.section-heading a {
  color: var(--blue);
  font-weight: 800;
}

.section-heading.light h2,
.section-heading.light a {
  color: #ffffff;
}

.section-heading.light .section-kicker {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
}

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

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

.all-movie-grid {
  align-items: start;
}

.masonry-grid {
  columns: 3 280px;
  column-gap: 22px;
}

.masonry-grid .movie-card {
  margin: 0 0 22px;
  break-inside: avoid;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

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

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.58), transparent 54%);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.corner-badge {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-meta {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.card-body strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body em {
  min-height: 42px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span,
.detail-tags a,
.info-pills span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.dark-band {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.32), transparent 34%),
    linear-gradient(135deg, #111827, #1e3a8a 60%, #0f172a);
}

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

.category-tile,
.overview-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 180px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-tile:hover img {
  opacity: 0.72;
  transform: scale(1.08);
}

.category-tile span {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 22px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.94), transparent);
}

.category-tile strong,
.overview-card strong {
  font-size: 21px;
}

.category-tile em,
.overview-card em {
  color: #dbeafe;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
}

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

.ranking-panel,
.side-card,
.content-card,
.player-card,
.ranking-column {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.ranking-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: #0f172a;
  font-weight: 900;
}

.ranking-title a {
  color: var(--blue);
  font-size: 14px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 78px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: #eff6ff;
  transform: translateX(3px);
}

.rank-number {
  color: #0ea5e9;
  font-weight: 900;
  font-size: 20px;
}

.rank-item img {
  width: 78px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #e2e8f0;
}

.rank-item strong,
.rank-item em {
  display: block;
}

.rank-item strong {
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-item em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  color: #ffffff;
  padding: 82px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.34), transparent 28%),
    linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0e7490);
}

.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.04em;
}

.page-hero p {
  width: min(720px, 100%);
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.7;
}

.overview-card {
  min-height: 260px;
  background: #ffffff;
  color: #0f172a;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 164px;
  background: #e2e8f0;
}

.overview-thumbs img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.overview-content {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.overview-content em {
  color: var(--muted);
}

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

.ranking-column {
  padding: 22px;
}

.ranking-column h2 {
  margin: 0 0 18px;
  color: #0f172a;
}

.ranking-list.large .rank-item {
  grid-template-columns: 38px 88px 1fr;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 58, 138, 0.76), rgba(15, 23, 42, 0.78)),
    var(--detail-poster) center / cover;
  filter: saturate(1.05);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #bfdbfe;
  font-size: 14px;
  margin-bottom: 34px;
}

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

.detail-title-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}

.detail-poster {
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  background: #1e293b;
}

.detail-title-row h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-title-row p {
  width: min(760px, 100%);
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 76px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
  padding: 0;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
}

.video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #2563eb;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.22s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-left: 6px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.video-player.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.content-card,
.side-card {
  padding: 26px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 24px;
}

.content-card p {
  color: #475569;
  line-height: 1.86;
  font-size: 16px;
}

.lead-text {
  color: #1d4ed8 !important;
  font-weight: 700;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.review-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border-left: 5px solid #f97316;
}

.detail-side {
  position: sticky;
  top: 96px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 8px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.related-card:hover {
  background: #eff6ff;
  transform: translateX(3px);
}

.related-card img {
  width: 118px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: #e2e8f0;
}

.related-card strong,
.related-card em {
  display: block;
}

.related-card strong {
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.side-link {
  display: block;
  border-radius: 14px;
  padding: 13px 15px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 800;
}

.side-link + .side-link {
  margin-top: 10px;
}

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

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

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

.site-footer p {
  max-width: 520px;
  line-height: 1.75;
}

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

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

.footer-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  background: rgba(37, 99, 235, 0.72);
}

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

[data-search-card][hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .feature-grid,
  .category-grid,
  .overview-grid,
  .ranking-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .ranking-panel,
  .detail-side {
    position: static;
  }
}

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

  .desktop-nav {
    display: none;
  }

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

  .header-inner {
    height: 64px;
  }

  .brand-text small {
    display: none;
  }

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

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

  .quick-search-box,
  .footer-grid,
  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .home-search,
  .filter-bar {
    flex-direction: column;
  }

  .feature-grid,
  .category-grid,
  .overview-grid,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

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

  .section-block {
    padding-top: 48px;
    padding-bottom: 48px;
  }

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

  .detail-poster {
    width: 190px;
  }

  .content-card,
  .side-card {
    padding: 20px;
  }

  .filter-bar {
    top: 74px;
  }
}

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

  .rank-item,
  .ranking-list.large .rank-item,
  .related-card {
    grid-template-columns: 72px 1fr;
  }

  .rank-number {
    display: none;
  }

  .rank-item img,
  .related-card img {
    width: 72px;
    height: 56px;
  }
}
