:root {
  --page-bg: #fff8ed;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: #ffffff;
  --text: #2d1f2d;
  --muted: #7b6878;
  --line: rgba(244, 114, 182, 0.22);
  --pink: #ec4899;
  --pink-dark: #be185d;
  --orange: #f97316;
  --yellow: #facc15;
  --shadow: 0 18px 50px rgba(190, 24, 93, 0.14);
  --soft-shadow: 0 10px 28px rgba(124, 45, 18, 0.12);
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(236, 72, 153, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.18), transparent 30rem),
    linear-gradient(135deg, #fff1f8 0%, #fff7ed 48%, #fefce8 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(236, 72, 153, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--pink), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #65515f;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pink-dark);
  background: rgba(236, 72, 153, 0.1);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--pink-dark);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 24px auto 0;
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 237, 213, 0.78)),
    linear-gradient(120deg, rgba(236, 72, 153, 0.24), rgba(250, 204, 21, 0.24));
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-glow.one {
  left: -8rem;
  top: -8rem;
  background: rgba(236, 72, 153, 0.55);
}

.hero-glow.two {
  right: -6rem;
  bottom: -8rem;
  background: rgba(249, 115, 22, 0.45);
}

.hero-slides {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 46px;
  min-height: calc(100vh - 96px);
  padding: clamp(34px, 6vw, 74px);
}

.hero-slide.is-active {
  display: grid;
  animation: fadeUp 0.65s ease both;
}

.hero-copy {
  max-width: 680px;
}

.hero-kicker,
.section-heading span,
.page-hero span,
.category-card span,
.category-large-copy span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--pink-dark);
  background: rgba(236, 72, 153, 0.12);
  font-weight: 800;
  font-size: 13px;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero p,
.page-hero p,
.detail-copy p {
  margin: 0;
  max-width: 760px;
  color: #674c5f;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #8a124c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(236, 72, 153, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  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(--pink), var(--orange));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.28);
}

.ghost-button {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(236, 72, 153, 0.22);
}

.text-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--pink-dark);
  background: rgba(236, 72, 153, 0.1);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.18);
}

.hero-poster {
  position: relative;
  display: block;
  transform: rotate(3deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 28px -20px -24px 24px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(249, 115, 22, 0.25));
  filter: blur(1px);
}

.hero-poster img,
.detail-poster img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 32px;
  background: linear-gradient(135deg, #fecdd3, #fed7aa);
  box-shadow: var(--shadow);
}

.hero-control {
  position: absolute;
  left: clamp(26px, 6vw, 74px);
  bottom: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-control button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.14);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: rgba(190, 24, 93, 0.24) !important;
  box-shadow: none !important;
}

.hero-dot.active {
  width: 28px !important;
  background: linear-gradient(135deg, var(--pink), var(--orange)) !important;
}

.quick-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 0;
}

.quick-strip a {
  padding: 12px 18px;
  border-radius: 999px;
  color: #7b2155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

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

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.category-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 8%, rgba(45, 31, 45, 0.82) 100%);
}

.category-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
}

.category-card span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.category-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 14px;
}

.category-card:hover img {
  transform: scale(1.06);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(236, 72, 153, 0.14);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(45, 31, 45, 0.72);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 900;
}

.year-badge {
  left: 12px;
}

.rank-badge {
  right: 12px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

.movie-title {
  display: -webkit-box;
  min-height: 52px;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 68px;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: #7a5068;
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.08);
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.search-panel input {
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 245, 248, 0.92);
  font-size: 16px;
}

.search-panel span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 360px;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: clamp(28px, 6vw, 58px);
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 237, 213, 0.84)),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.22), transparent 26rem);
  box-shadow: var(--shadow);
}

.compact-hero h1,
.category-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.category-hero {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
}

.category-hero > img {
  width: 230px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.category-large-grid {
  display: grid;
  gap: 22px;
}

.category-large-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

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

.category-thumbs img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa);
}

.category-large-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.category-large-copy h2 {
  margin: 14px 0 10px;
  font-size: 30px;
}

.category-large-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

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

.rank-thumb img {
  width: 92px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa);
}

.rank-title {
  font-size: 19px;
  font-weight: 900;
}

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

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

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 31, 45, 0.92), rgba(45, 31, 45, 0.56)),
    linear-gradient(0deg, rgba(45, 31, 45, 0.88), transparent 58%);
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(230px, 330px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}

.detail-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.detail-copy .hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.26);
}

.detail-meta-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-meta-panel span {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.player-section {
  scroll-margin-top: 90px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.5), rgba(45, 31, 45, 0.82)),
    rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.play-button {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  color: var(--pink-dark);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  font-size: 28px;
  cursor: pointer;
}

.player-overlay strong {
  display: block;
  font-size: clamp(24px, 4vw, 46px);
}

.player-overlay span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

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

.article-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.article-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.article-card p {
  margin: 0;
  color: #5f4a59;
  line-height: 1.92;
  font-size: 17px;
}

.info-card {
  grid-column: 1 / -1;
}

.info-card dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.info-card div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(236, 72, 153, 0.07);
}

.info-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-card dd {
  margin: 8px 0 0;
  font-weight: 900;
}

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

.site-footer {
  margin-top: 86px;
  padding: 48px 0 24px;
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.92), rgba(255, 237, 213, 0.92));
  border-top: 1px solid var(--line);
}

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

.footer-inner h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 520px;
}

.footer-links a {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--pink-dark);
  font-weight: 800;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(236, 72, 153, 0.18);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

[data-card].is-hidden {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .info-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

  .hero-slide,
  .category-hero,
  .detail-grid,
  .category-large-card,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    padding: 28px;
    gap: 30px;
  }

  .hero-poster {
    max-width: 280px;
    margin: 0 auto 64px;
  }

  .hero-control {
    left: 28px;
    bottom: 22px;
  }

  .category-hero > img {
    width: 180px;
  }

  .category-large-card {
    gap: 18px;
  }

  .category-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .rank-row .text-button {
    grid-column: 2 / -1;
    width: fit-content;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 20px;
  }

  .hero,
  .page-hero {
    width: calc(100% - 20px);
    border-radius: 26px;
  }

  .content-section {
    width: calc(100% - 20px);
    margin-top: 50px;
  }

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

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

  .movie-title {
    font-size: 16px;
  }

  .movie-card-body p {
    font-size: 14px;
  }

  .category-large-card,
  .article-card {
    border-radius: 22px;
  }

  .detail-wrap {
    width: calc(100% - 20px);
  }

  .detail-meta-panel,
  .info-card dl {
    grid-template-columns: 1fr;
  }

  .player-overlay {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .category-grid,
  .movie-grid,
  .rank-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 44px 68px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-number {
    width: 44px;
    height: 44px;
  }

  .rank-thumb img {
    width: 68px;
  }
}
