:root {
  --bg: #07111f;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-soft: rgba(30, 41, 59, 0.72);
  --card: rgba(255, 255, 255, 0.96);
  --muted: #64748b;
  --text: #0f172a;
  --white: #ffffff;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --violet: #7c3aed;
  --orange: #f97316;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.22);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(6, 182, 212, 0.20), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.20), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #0f172a 42%, #eef6ff 42%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.page-light {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 30rem),
    linear-gradient(180deg, #edf7ff 0%, #f8fbff 100%);
}

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: 60;
  color: var(--white);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.96), rgba(37, 99, 235, 0.96), rgba(124, 58, 237, 0.96));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
}

.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 24px;
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.logo-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.logo-title {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: #ffffff;
  content: "";
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-pill {
  position: relative;
  display: flex;
  align-items: center;
}

.search-pill input {
  width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  outline: none;
  padding: 12px 46px 12px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(16px);
}

.search-pill input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.search-pill button {
  position: absolute;
  right: 5px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
}

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

.mobile-nav a {
  display: block;
  margin: 8px 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #ffffff;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-glow::before,
.hero-bg-glow::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.44;
  content: "";
}

.hero-bg-glow::before {
  top: 60px;
  left: -140px;
  background: rgba(6, 182, 212, 0.42);
}

.hero-bg-glow::after {
  right: -80px;
  bottom: 80px;
  background: rgba(124, 58, 237, 0.42);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 38px;
  align-items: center;
  padding: 72px 0 86px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  border-radius: 38px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  padding: 42px;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.15) 100%),
    var(--hero-image) center / cover;
  content: "";
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.18), transparent 24rem);
  content: "";
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #67e8f9;
}

.hero-text {
  max-width: 670px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #0f172a;
  background: #e0f2fe;
  font-size: 13px;
  font-weight: 800;
}

.badge.dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.26);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.34);
}

.btn.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-poster {
  align-self: center;
  justify-self: center;
  width: min(300px, 100%);
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(3deg);
}

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

.hero-dots {
  position: absolute;
  left: 42px;
  bottom: 32px;
  z-index: 5;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}

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

.hero-search-card,
.hero-rank-card,
.hero-category-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.20);
  backdrop-filter: blur(18px);
}

.hero-search-card {
  padding: 22px;
}

.hero-search-card h2,
.hero-rank-card h2,
.hero-category-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
}

.hero-search-card p,
.hero-category-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.hero-search {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  padding: 14px 18px;
  color: #0f172a;
  background: transparent;
}

.hero-search button {
  border: 0;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  cursor: pointer;
}

.hero-rank-card {
  padding: 20px;
}

.mini-rank {
  display: grid;
  gap: 10px;
}

.mini-rank a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-rank a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

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

.mini-rank strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-rank span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-chips a,
.category-chips button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 800;
  cursor: pointer;
}

.category-chips a:hover,
.category-chips button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.section {
  padding: 62px 0;
}

.section.compact {
  padding: 36px 0;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 13px;
  font-weight: 900;
}

.section h2,
.page-title h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.section-head p,
.page-title p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.poster-overlay span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 12rem),
    linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.95));
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(37, 99, 235, 0.30);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.category-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.page-hero {
  padding: 54px 0 46px;
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 0%, rgba(6, 182, 212, 0.24), transparent 24rem),
    radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.24), transparent 28rem),
    linear-gradient(135deg, #0f172a, #1e3a8a);
}

.page-title h1 {
  color: #ffffff;
}

.page-title p {
  color: rgba(255, 255, 255, 0.78);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  outline: none;
  padding: 13px 15px;
  color: #0f172a;
  background: #f8fbff;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 110px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 15px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.rank-index {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), #ef4444);
  font-size: 20px;
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 18px;
}

.rank-thumb img {
  width: 110px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rank-info h2,
.rank-info h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
}

.rank-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rank-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.detail-hero {
  padding: 46px 0 64px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(6, 182, 212, 0.25), transparent 24rem),
    linear-gradient(135deg, #0f172a, #172554 58%, #312e81);
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 34px;
  align-items: start;
}

.detail-poster {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-desc {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.player-card {
  overflow: hidden;
  border-radius: 34px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.32);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.20), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.play-bubble {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.34);
  cursor: pointer;
}

.play-bubble svg {
  margin-left: 5px;
}

.content-card {
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
  margin: 0 0 15px;
  font-size: 28px;
}

.content-card p {
  color: #334155;
  line-height: 1.9;
}

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

.tags span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 800;
}

.site-footer {
  margin-top: 50px;
  color: #ffffff;
  background: #07111f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

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

.empty-state {
  display: none;
  padding: 28px;
  border-radius: 28px;
  color: #475569;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

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

@media (max-width: 1024px) {
  .main-nav,
  .header-actions .search-pill {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-shell,
  .hero-slide,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .logo-title {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding: 34px 0 54px;
  }

  .hero-stage {
    min-height: 610px;
    border-radius: 28px;
  }

  .hero-slide {
    padding: 28px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .hero-side,
  .movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner,
  .filter-bar,
  .rank-item {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .rank-item {
    justify-items: start;
  }

  .rank-thumb img {
    width: 100%;
  }

  .rank-side {
    justify-items: start;
  }

  .detail-grid {
    gap: 22px;
  }

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