:root {
  --primary-50: #eef8ff;
  --primary-100: #d8efff;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  --accent-300: #fde68a;
  --accent-400: #facc15;
  --accent-500: #eab308;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 50px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 46%, var(--slate-50) 100%);
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, var(--slate-800), var(--primary-800));
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.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;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-900));
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--slate-500);
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--slate-600);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(360px, 36vw);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.nav-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 11px 14px;
  color: var(--slate-800);
  background: transparent;
}

.nav-search button {
  border: 0;
  padding: 11px 18px;
  color: var(--white);
  background: var(--primary-700);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--slate-700);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mobile-panel.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-panel a {
  padding: 12px;
  border-radius: 12px;
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 700;
}

.hero-section {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.28), transparent 34%), linear-gradient(135deg, var(--slate-900), var(--primary-900) 54%, var(--slate-800));
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.04);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.74) 44%, rgba(15, 23, 42, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 380px 72px 0;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent-300);
  background: rgba(234, 179, 8, 0.14);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.78;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-meta span,
.movie-meta span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--slate-600);
  background: var(--slate-100);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-900));
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button.ghost.light {
  color: var(--primary-700);
  border-color: var(--primary-100);
  background: var(--white);
}

.button.full {
  width: 100%;
}

.hero-side-panel {
  position: absolute;
  z-index: 4;
  right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  top: 50%;
  width: 320px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  transform: translateY(-50%);
  box-shadow: var(--shadow-medium);
}

.side-title {
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 900;
}

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

.hero-mini-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-mini-card.active,
.hero-mini-card:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.hero-mini-card img {
  width: 72px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-mini-card span {
  font-weight: 800;
  line-height: 1.4;
}

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

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

.hero-dot.active {
  width: 34px;
  background: var(--accent-400);
}

main {
  width: 100%;
}

.content-section,
.search-hero-card,
.breadcrumb,
.page-hero,
.detail-hero,
.player-section {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-hero-card {
  position: relative;
  z-index: 8;
  margin-top: -46px;
  padding: 22px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-medium);
}

.wide-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--slate-700);
  font-weight: 900;
}

.wide-search div {
  display: flex;
  gap: 10px;
}

.wide-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 15px 16px;
  outline: 0;
  color: var(--slate-800);
  background: var(--slate-50);
}

.wide-search input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13);
}

.wide-search button {
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  color: var(--white);
  background: var(--primary-700);
  font-weight: 900;
  cursor: pointer;
}

.content-section {
  padding: 64px 0 18px;
}

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

.section-header h2 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-header p {
  max-width: 680px;
  margin: 0;
  color: var(--slate-600);
  line-height: 1.8;
}

.section-more {
  min-width: max-content;
  color: var(--primary-700);
  font-weight: 900;
}

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

.category-tile {
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-medium);
}

.category-tile span {
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 900;
}

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

.category-tile p,
.category-tile small {
  display: block;
  color: var(--slate-600);
  line-height: 1.7;
}

.category-tile small {
  margin-top: 14px;
  color: var(--slate-500);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--slate-900);
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  opacity: 0.86;
}

.poster-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: var(--primary-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  color: var(--slate-600);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta span {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 12px;
}

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

.ranking-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--slate-900), var(--primary-900));
  box-shadow: var(--shadow-medium);
}

.ranking-head span {
  color: var(--accent-400);
  font-weight: 900;
}

.ranking-head h2 {
  margin: 6px 0 18px;
  font-size: 32px;
}

.rank-list {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-num {
  color: var(--accent-400);
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
}

.rank-type {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.page-hero {
  margin-top: 28px;
  padding: 56px;
  border-radius: 32px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.28), transparent 30%), linear-gradient(135deg, var(--slate-900), var(--primary-900));
  box-shadow: var(--shadow-medium);
}

.page-hero h1 {
  max-width: 780px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.overview-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--slate-900);
}

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

.overview-body {
  padding: 22px;
}

.overview-body span {
  color: var(--primary-700);
  font-weight: 900;
}

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

.overview-body p {
  color: var(--slate-600);
  line-height: 1.75;
}

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

.overview-links a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 700;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.ranking-row-cover img {
  width: 96px;
  height: 126px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-row h2 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.ranking-row p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.ranking-play {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-700);
  font-weight: 900;
}

.search-status {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  color: var(--slate-600);
  background: var(--slate-100);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 22px 0;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--primary-700);
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.22), transparent 28%), linear-gradient(135deg, var(--slate-900), var(--primary-900));
  box-shadow: var(--shadow-medium);
}

.detail-poster img {
  width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin: 22px 0 16px;
}

.detail-meta span,
.detail-copy .tag-cloud span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.player-section {
  padding-top: 32px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: var(--shadow-medium);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.78));
  cursor: pointer;
}

.player-section.is-playing .player-overlay {
  display: none;
  pointer-events: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-600);
  box-shadow: 0 18px 42px rgba(2, 132, 199, 0.45);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--white);
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay small {
  color: rgba(255, 255, 255, 0.76);
}

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

.detail-article,
.detail-side {
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.95;
}

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

.detail-side dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.detail-side dt {
  color: var(--slate-500);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: var(--slate-800);
  font-weight: 800;
}

.next-prev {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.next-prev a {
  padding: 12px;
  border-radius: 14px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 800;
}

.site-footer {
  margin-top: 70px;
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--slate-900);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.footer-shell p {
  max-width: 520px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

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

.footer-links strong {
  color: var(--white);
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: var(--accent-300);
}

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

  .hero-content {
    padding-right: 0;
  }

  .hero-side-panel {
    display: none;
  }

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

  .split-layout,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-shell {
    height: 64px;
  }

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

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

  .hero-content {
    padding: 54px 0 74px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
  }

  .wide-search div {
    display: grid;
  }

  .wide-search button {
    min-height: 48px;
  }

  .section-header {
    display: grid;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .ranking-row {
    grid-template-columns: 74px 1fr;
    align-items: start;
  }

  .ranking-row-cover img {
    width: 74px;
    height: 98px;
  }

  .ranking-play {
    grid-column: 1 / -1;
    text-align: center;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .detail-poster img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .detail-article,
  .detail-side {
    padding: 22px;
  }

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

@media (max-width: 420px) {
  .content-section,
  .search-hero-card,
  .breadcrumb,
  .page-hero,
  .detail-hero,
  .player-section,
  .nav-shell,
  .mobile-panel,
  .footer-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-content {
    width: min(100% - 20px, 1180px);
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
