:root {
  --site-bg: #fdf2f8;
  --site-card: rgba(255, 255, 255, 0.82);
  --site-text: #1f2937;
  --site-muted: #6b7280;
  --site-pink: #ec4899;
  --site-red: #ef4444;
  --site-orange: #f97316;
  --site-purple: #a855f7;
  --site-blue: #60a5fa;
  --site-border: rgba(255, 255, 255, 0.7);
  --site-shadow: 0 20px 50px rgba(236, 72, 153, 0.14);
  --site-radius: 1.25rem;
  --site-max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--site-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 10%, rgba(248, 113, 113, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 15%, rgba(96, 165, 250, 0.18), transparent 30rem),
    radial-gradient(circle at 50% 95%, rgba(168, 85, 247, 0.14), transparent 32rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--site-pink);
  box-shadow: var(--site-shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.96), rgba(239, 246, 255, 0.96), rgba(250, 245, 255, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
}

.site-header__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

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

.brand__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25);
}

.brand__text,
.footer-brand span:last-child {
  background: linear-gradient(90deg, var(--site-red), var(--site-orange), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > a,
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: #374151;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown > a.is-active {
  color: var(--site-pink);
  background: #fff;
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.12);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: 20rem;
  padding: 0.75rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--site-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.3rem);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__panel a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
}

.nav-dropdown__panel a:hover {
  background: linear-gradient(90deg, #fdf2f8, #faf5ff);
}

.nav-dropdown__panel span {
  display: block;
  margin-top: 0.15rem;
  color: var(--site-muted);
  font-size: 0.75rem;
}

.mobile-menu-button {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
}

.mobile-menu-button span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.25rem auto;
  background: #374151;
}

.mobile-nav {
  display: none;
  padding: 0.75rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #f3f4f6;
}

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

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  color: #374151;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--site-pink);
  background: #fdf2f8;
}

.mobile-nav__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0.35rem 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem 4rem;
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.75), rgba(219, 234, 254, 0.78), rgba(243, 232, 255, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 3rem;
  align-items: center;
  max-width: var(--site-max);
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--site-red);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.1);
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 1rem 0 1rem;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--site-red), var(--site-orange), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 720px;
  color: #4b5563;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  line-height: 1.8;
}

.hero-search,
.search-panel {
  display: flex;
  gap: 0.65rem;
  max-width: 700px;
  margin-top: 1.6rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(236, 72, 153, 0.12);
}

.hero-search input,
.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--site-text);
}

.hero-search button,
.search-panel button,
.primary-button,
.secondary-button,
.filter-panel button,
.player-start,
.category-card__body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  border: 0;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.search-panel button,
.primary-button,
.player-start,
.category-card__body a {
  color: #fff;
  background: linear-gradient(90deg, var(--site-red), var(--site-orange));
  box-shadow: 0 14px 32px rgba(239, 68, 68, 0.25);
}

.secondary-button,
.filter-panel button {
  color: #374151;
  background: #fff;
  box-shadow: 0 12px 28px rgba(107, 114, 128, 0.12);
}

.hero-search button:hover,
.search-panel button:hover,
.primary-button:hover,
.secondary-button:hover,
.filter-panel button:hover,
.player-start:hover,
.category-card__body a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 640px;
  margin-top: 2rem;
}

.hero-stats div {
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  color: var(--site-red);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 0.25rem;
  color: var(--site-muted);
  font-size: 0.82rem;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 36px 70px rgba(236, 72, 153, 0.22);
  background: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1.1rem;
  border-radius: 1.4rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.2));
  backdrop-filter: blur(10px);
}

.hero-slide__overlay span {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.hero-slide__overlay h2 {
  margin: 0.65rem 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
}

.hero-slide__overlay p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(255, 255, 255, 0.88);
}

.hero-slide__overlay a {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 1.4rem;
  top: 1.4rem;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-dots button.is-active {
  width: 1.6rem;
  background: #fff;
}

.hero-blob {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.35;
  animation: siteBlob 7s ease-in-out infinite;
}

.hero-blob--one {
  left: 6%;
  top: 8%;
  background: #fecaca;
}

.hero-blob--two {
  right: 8%;
  top: 12%;
  background: #fed7aa;
  animation-delay: 2s;
}

.hero-blob--three {
  left: 38%;
  bottom: -4rem;
  background: #fbcfe8;
  animation-delay: 4s;
}

@keyframes siteBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(28px, -40px) scale(1.08);
  }

  66% {
    transform: translate(-24px, 24px) scale(0.94);
  }
}

.content-section,
.page-shell,
.detail-page {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 3rem 1rem;
}

.content-section--split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.page-title-card h1,
.article-card h2,
.ranking-sidebar h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #111827;
}

.section-heading p,
.page-title-card p {
  margin-top: 0.35rem;
  color: var(--site-muted);
  line-height: 1.7;
}

.section-more {
  flex-shrink: 0;
  color: var(--site-pink);
  font-weight: 800;
}

.category-grid,
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.category-tile,
.category-card,
.page-title-card,
.filter-panel,
.article-card,
.player-card,
.ranking-sidebar {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-card);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(14px);
}

.category-tile {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  overflow: hidden;
  position: relative;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2.8rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(249, 115, 22, 0.12));
}

.category-tile span {
  font-size: 1.25rem;
  font-weight: 900;
}

.category-tile em {
  color: var(--site-muted);
  font-style: normal;
  line-height: 1.7;
}

.category-tile strong {
  color: var(--site-pink);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.15rem;
}

.movie-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--site-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(236, 72, 153, 0.18);
}

.movie-card__poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.movie-card--compact .movie-card__poster {
  aspect-ratio: 16 / 9;
}

.movie-card__type,
.movie-card__score,
.rank-badge {
  position: absolute;
  z-index: 3;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.movie-card__type {
  left: 0.65rem;
  bottom: 0.65rem;
}

.movie-card__score {
  right: 0.65rem;
  bottom: 0.65rem;
  background: linear-gradient(90deg, var(--site-red), var(--site-orange));
}

.rank-badge {
  left: 0.65rem;
  top: 0.65rem;
  background: linear-gradient(90deg, var(--site-pink), var(--site-purple));
}

.movie-card__body {
  padding: 1rem;
}

.movie-card__body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 900;
  color: #111827;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover h3 {
  color: var(--site-pink);
}

.movie-card__body p {
  min-height: 3.2rem;
  color: var(--site-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.movie-meta span,
.movie-tags,
.chip-row span {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: #fdf2f8;
}

.movie-tags {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--site-pink);
  font-size: 0.75rem;
}

.poster-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #dbeafe 50%, #f3e8ff);
}

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

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

.poster-wrap figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: none;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(17, 24, 39, 0.35);
}

.poster-missing::before {
  content: attr(data-poster-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #be123c;
  font-weight: 900;
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.22), transparent 12rem),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.22), transparent 12rem),
    linear-gradient(135deg, #fff1f2, #eff6ff, #faf5ff);
}

.poster-missing figcaption {
  display: none;
}

.poster-wrap--small {
  width: 6rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 0.8rem;
}

.poster-wrap--mini {
  width: 25%;
  min-height: 7rem;
  border-radius: 0.85rem;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.poster-wrap--detail {
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  box-shadow: 0 26px 55px rgba(236, 72, 153, 0.16);
}

.poster-wrap--hero {
  height: 100%;
}

.poster-wrap--hero::after,
.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.5), transparent 55%);
  pointer-events: none;
}

.ranking-list {
  display: grid;
  gap: 0.65rem;
}

.small-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-card:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.12);
}

.small-card__rank {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  font-weight: 900;
  flex-shrink: 0;
}

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

.small-card strong {
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.35;
}

.small-card em {
  margin-top: 0.2rem;
  color: var(--site-muted);
  font-size: 0.75rem;
  font-style: normal;
}

.page-shell {
  min-height: 65vh;
}

.page-title-card {
  margin-bottom: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.page-title-card span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  color: var(--site-pink);
  background: #fdf2f8;
  font-weight: 800;
}

.category-card {
  overflow: hidden;
}

.category-card__posters {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 0.8rem 0;
}

.category-card__body {
  padding: 1rem;
}

.category-card__body h2 {
  font-size: 1.35rem;
  font-weight: 900;
}

.category-card__body p {
  min-height: 3.2rem;
  margin-top: 0.35rem;
  color: var(--site-muted);
  line-height: 1.65;
}

.category-card__body span {
  display: block;
  margin: 0.8rem 0;
  color: var(--site-pink);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--site-pink);
  font-weight: 700;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) minmax(150px, 0.6fr) minmax(150px, 0.6fr) auto auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1.4rem;
  padding: 1rem;
}

.filter-panel label {
  display: grid;
  gap: 0.4rem;
}

.filter-panel span {
  color: var(--site-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #f3f4f6;
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
  outline: 0;
  background: #fff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus {
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.filter-panel strong,
.search-meta {
  color: var(--site-pink);
  font-size: 0.9rem;
}

.search-panel {
  max-width: 820px;
  margin: 0 0 1rem;
}

.search-meta {
  margin-bottom: 1rem;
}

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

.ranking-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  padding: 1rem;
}

.ranking-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.detail-page {
  padding-top: 1.5rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--site-shadow);
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: var(--site-red);
  background: #fff1f2;
  font-weight: 900;
}

.detail-info h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.detail-one-line {
  margin-top: 1rem;
  color: #4b5563;
  font-size: 1.12rem;
  line-height: 1.85;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.detail-meta-grid div {
  border-radius: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.78);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: var(--site-muted);
  font-size: 0.76rem;
}

.detail-meta-grid strong {
  margin-top: 0.2rem;
  color: var(--site-pink);
  font-size: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chip-row span {
  color: var(--site-pink);
  font-size: 0.86rem;
  font-weight: 700;
}

.chip-row--muted span {
  color: #6b7280;
  background: #f9fafb;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.player-section {
  margin: 2rem 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
  background: #111827;
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background: #000;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

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

.player-note {
  margin-top: 0.65rem;
  color: var(--site-muted);
  font-size: 0.9rem;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.article-card {
  padding: 1.25rem;
}

.article-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.article-card p {
  color: #4b5563;
  line-height: 1.9;
  white-space: pre-line;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.prev-next a {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--site-pink);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.08);
  font-weight: 800;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.8), rgba(243, 244, 246, 0.92));
}

.site-footer__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
  padding: 2.5rem 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin-top: 0.55rem;
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer a:hover {
  color: var(--site-pink);
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: #111827;
  font-weight: 900;
}

.copyright {
  border-top: 1px solid #e5e7eb;
  padding: 1.1rem;
  text-align: center;
  color: var(--site-muted);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-pink), var(--site-purple));
  box-shadow: var(--site-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: all 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

  .hero-inner,
  .content-section--split,
  .ranking-layout,
  .detail-hero,
  .detail-content-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 460px;
  }

  .ranking-sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .hero-section {
    padding-top: 3rem;
  }

  .hero-search,
  .search-panel {
    border-radius: 1.25rem;
    flex-direction: column;
  }

  .hero-search button,
  .search-panel button {
    width: 100%;
  }

  .hero-stats,
  .detail-meta-grid,
  .filter-panel,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 380px;
  }

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

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

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

  .poster-wrap--mini {
    width: 100%;
    min-height: 5rem;
  }
}
