* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111827;
  background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 42%, #fff7fb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.95), rgba(255, 255, 255, 0.96), rgba(255, 241, 242, 0.95));
  border-bottom: 1px solid #fbcfe8;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}

.logo-text {
  max-width: 280px;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  background-clip: text;
  -webkit-background-clip: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #db2777;
}

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

.mini-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #f9a8d4;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.08);
}

.mini-search input,
.mobile-search input,
.big-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  color: #374151;
  background: transparent;
}

.mini-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: #374151;
  background: #fdf2f8;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
  background: #fdf2f8;
}

.hero {
  position: relative;
  height: 62vh;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(236, 72, 153, 0.38), transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  right: 24px;
  bottom: 78px;
  max-width: 720px;
  color: #ffffff;
}

.hero-tags,
.chip-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.chip-row span,
.detail-tags span {
  color: #db2777;
  background: #fdf2f8;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(236, 72, 153, 0.88);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  color: #f9fafb;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.34);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.quick-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -30px auto 34px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-strip a {
  min-height: 62px;
  display: grid;
  place-items: center;
  color: #be185d;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fbcfe8;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(236, 72, 153, 0.12);
  font-weight: 800;
}

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

.page-main {
  min-height: 70vh;
}

.content-section {
  margin: 0 0 64px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  color: #6b7280;
}

.section-more {
  min-height: 40px;
  color: #db2777;
  background: #fdf2f8;
}

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

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

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

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px rgba(236, 72, 153, 0.16);
}

.card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f3f4f6;
}

.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-mask {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.poster-desc {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-desc {
  opacity: 1;
  transform: translateY(0);
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  color: #ffffff;
  background: #ec4899;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.year-badge {
  right: 10px;
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
}

.card-body {
  padding: 14px;
}

.card-body h2 {
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body h2 {
  color: #db2777;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 12px;
}

.card-meta span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
}

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

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

.category-tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(236, 72, 153, 0.18));
}

.category-tile-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #ffffff;
}

.category-tile-content h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.category-tile-content p {
  margin: 0;
  color: #f3f4f6;
  font-size: 13px;
}

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

.rank-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #fbcfe8;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.12);
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rank-panel-head h2 {
  margin: 0;
  font-size: 22px;
}

.rank-panel-head a {
  color: #db2777;
  font-weight: 800;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #fce7f3;
  color: #374151;
}

.rank-row:hover .rank-title {
  color: #db2777;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border-radius: 9px;
  font-weight: 900;
  font-size: 12px;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-type,
.rank-year {
  color: #6b7280;
  font-size: 12px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 260px;
  margin: 34px auto 46px;
  display: flex;
  align-items: end;
  padding: 42px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #ec4899, #f43f5e 55%, #be123c);
  border-radius: 32px;
  box-shadow: 0 24px 55px rgba(236, 72, 153, 0.22);
}

.soft-hero,
.search-hero {
  color: #111827;
  background:
    radial-gradient(circle at 15% 25%, rgba(236, 72, 153, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff, #fdf2f8);
  border: 1px solid #fbcfe8;
}

.rank-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.35), transparent 26%),
    linear-gradient(135deg, #111827, #831843 58%, #be123c);
}

.page-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: inherit;
  opacity: 0.86;
  font-size: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  color: #db2777;
  background: #fdf2f8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.page-hero .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.soft-hero .eyebrow,
.search-hero .eyebrow {
  color: #db2777;
  background: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: inherit;
  opacity: 0.86;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.category-overview-block {
  margin-bottom: 52px;
}

.detail-container {
  padding-top: 30px;
}

.detail-breadcrumb {
  color: #6b7280;
  margin-bottom: 18px;
}

.detail-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #030712;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.28);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.player-cover.hidden {
  display: none;
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border-radius: 999px;
  box-shadow: 0 22px 48px rgba(236, 72, 153, 0.35);
  transform: translate(-50%, -50%);
  font-size: 36px;
}

.detail-side {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(236, 72, 153, 0.12);
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
}

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

.detail-side-meta span {
  flex: 1 1 auto;
  text-align: center;
  color: #be185d;
  background: #fdf2f8;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.detail-main-text {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fbcfe8;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.06);
}

.detail-main-text h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.lead-text {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 18px;
}

.detail-meta-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.detail-meta-table div {
  padding: 14px;
  background: #fdf2f8;
  border-radius: 18px;
}

.detail-meta-table strong {
  display: block;
  margin-bottom: 5px;
  color: #be185d;
  font-size: 12px;
}

.detail-meta-table span {
  color: #111827;
  font-weight: 800;
}

.detail-text-block {
  margin-top: 30px;
}

.detail-text-block h2,
.detail-related-side h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-text-block p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

.detail-related-side {
  position: sticky;
  top: 92px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.12);
}

.related-section {
  margin-top: 54px;
}

.big-search {
  width: min(620px, 100%);
  margin-top: 26px;
  border-radius: 22px;
}

.big-search input {
  flex: 1;
  width: auto;
  padding: 15px 18px;
}

.big-search button {
  padding: 15px 28px;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 24px;
}

.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  border-top: 1px solid #e5e7eb;
}

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

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.footer-col p,
.footer-col a {
  color: #6b7280;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a:hover {
  color: #db2777;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.34);
  cursor: pointer;
  font-size: 22px;
}

.back-top.show {
  display: block;
}

@media (max-width: 1100px) {
  .movie-grid,
  .featured-grid,
  .small-grid,
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .split-section,
  .detail-content-grid,
  .detail-hero-card {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: 180px 1fr;
  }

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

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

@media (max-width: 860px) {
  .main-nav,
  .mini-search {
    display: none;
  }

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

  .hero {
    height: 70vh;
    min-height: 540px;
  }

  .hero-content {
    left: 24px;
    bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-grid,
  .featured-grid,
  .small-grid,
  .catalog-grid,
  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-meta-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 62px;
    width: min(100% - 20px, 1180px);
  }

  .logo-text {
    max-width: 180px;
    font-size: 18px;
  }

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

  .hero {
    min-height: 520px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
  }

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

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

  .container,
  .page-hero,
  .quick-strip {
    width: min(100% - 20px, 1180px);
  }

  .page-hero {
    min-height: 220px;
    padding: 28px;
    border-radius: 24px;
  }

  .movie-grid,
  .featured-grid,
  .small-grid,
  .catalog-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .card-body {
    padding: 12px;
  }

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

  .detail-poster {
    max-width: none;
  }

  .detail-main-text {
    padding: 22px;
  }

  .detail-meta-table {
    grid-template-columns: 1fr;
  }

  .play-circle {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

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

  .rank-year {
    display: none;
  }
}
