:root {
  --candy-pink: #ffb3d9;
  --candy-rose: #ff8dc7;
  --candy-orange: #ffb347;
  --candy-yellow: #ffe66d;
  --candy-mint: #a8e6ce;
  --candy-blue: #87ceeb;
  --candy-purple: #c497ff;
  --ink: #263043;
  --muted: #6b7280;
  --soft: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 179, 217, 0.32);
  --shadow: 0 20px 60px rgba(255, 141, 199, 0.23);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 179, 217, 0.48), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(168, 230, 206, 0.42), transparent 30%),
    radial-gradient(circle at 48% 80%, rgba(135, 206, 235, 0.32), transparent 34%),
    linear-gradient(135deg, #fff5f8 0%, #fffaf0 42%, #f2fff9 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange), var(--candy-yellow), var(--candy-mint), var(--candy-blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 12px 45px rgba(255, 179, 217, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  box-shadow: 0 10px 22px rgba(255, 141, 199, 0.35);
}

.brand-text {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  color: #526070;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

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

.nav-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 179, 217, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.nav-search input,
.mobile-search input {
  width: 230px;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
}

.nav-search button,
.mobile-search button {
  border: 0;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 179, 217, 0.16);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 8px;
  background: #d94f9d;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
}

.mobile-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 46px 0 56px;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.45;
}

.hero::before {
  width: 270px;
  height: 270px;
  left: -70px;
  top: 120px;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-yellow));
}

.hero::after {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 42px;
  background: linear-gradient(135deg, var(--candy-mint), var(--candy-blue));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54));
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 42px;
  opacity: 0;
  transform: translateX(18px) scale(0.99);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 48, 67, 0.86), rgba(38, 48, 67, 0.52), rgba(38, 48, 67, 0.16)),
    radial-gradient(circle at 28% 12%, rgba(255, 179, 217, 0.5), transparent 32%);
}

.hero-content {
  position: relative;
  max-width: 660px;
  color: #ffffff;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: #8a2b68;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
}

.hero-meta,
.detail-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.detail-meta span,
.meta-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #6f345c;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.candy-button,
.ghost-button,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.candy-button,
.play-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  box-shadow: 0 14px 32px rgba(255, 141, 199, 0.35);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
}

.candy-button:hover,
.ghost-button:hover,
.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 141, 199, 0.42);
}

.hero-dots {
  position: absolute;
  left: 42px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

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

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

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

.hero-search-box,
.hero-mini-list,
.info-card,
.filter-panel,
.detail-panel,
.player-panel {
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(255, 179, 217, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-search-box h2,
.hero-mini-list h2,
.info-card h2,
.filter-panel h2,
.detail-panel h2,
.player-panel h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.hero-search-box p,
.info-card p,
.filter-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.search-wide {
  display: flex;
  overflow: hidden;
  border: 2px solid rgba(255, 179, 217, 0.48);
  border-radius: 999px;
  background: #ffffff;
}

.search-wide input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 14px 18px;
}

.search-wide button {
  border: 0;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

.mini-movie {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mini-movie:hover {
  transform: translateX(4px);
  background: rgba(255, 179, 217, 0.13);
}

.mini-movie img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-movie strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-movie span {
  color: var(--muted);
  font-size: 0.86rem;
}

.main-section {
  padding: 48px 0;
}

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

.section-title h1,
.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.section-title p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: #d94f9d;
  font-weight: 800;
}

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

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 141, 199, 0.86), rgba(255, 179, 71, 0.86));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(255, 141, 199, 0.32);
}

.category-card img {
  position: absolute;
  right: -26px;
  bottom: -18px;
  width: 170px;
  height: 130px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  transform: rotate(-6deg);
}

.category-card h2,
.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.category-card p {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.video-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(255, 179, 217, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 46px rgba(255, 179, 217, 0.42);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255, 179, 217, 0.2);
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent);
}

.score-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.83rem;
}

.score-pill {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.68);
}

.rank-badge {
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

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

.meta-line {
  margin-bottom: 10px;
}

.meta-line span {
  min-height: 24px;
  background: rgba(255, 179, 217, 0.18);
  font-size: 0.76rem;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.detail-tags span,
.filter-chip,
.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-row span,
.detail-tags span {
  color: #ca4a94;
  background: rgba(255, 179, 217, 0.22);
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

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

.rank-list-item {
  display: grid;
  grid-template-columns: 46px 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(255, 179, 217, 0.26);
}

.rank-list-item img {
  width: 82px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-list-item strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-list-item p {
  display: -webkit-box;
  margin: 2px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-list-item span:last-child {
  color: #d94f9d;
  font-size: 0.82rem;
  font-weight: 800;
}

.list-rank {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  font-weight: 900;
}

.list-rank.soft {
  background: linear-gradient(135deg, var(--candy-mint), var(--candy-blue));
}

.page-hero {
  padding: 58px 0 28px;
}

.page-hero-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 248, 0.68));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-hero-card h1 {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-hero-card p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.filter-panel {
  margin-bottom: 24px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-chip {
  border: 0;
  color: #6f345c;
  background: rgba(255, 179, 217, 0.18);
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
}

.search-status {
  margin: 14px 0 0;
  color: #d94f9d;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb a,
.breadcrumb span {
  color: #6f345c;
  background: rgba(255, 255, 255, 0.75);
}

.detail-hero {
  padding: 42px 0 26px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.detail-title-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 217, 0.48), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 240, 0.74));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-title-panel h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.detail-title-panel p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 1.05rem;
}

.detail-meta span {
  background: rgba(255, 179, 217, 0.2);
}

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

.player-panel {
  padding: 0;
  overflow: hidden;
}

.movie-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.movie-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111827;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.74), rgba(17, 24, 39, 0.35));
}

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

.play-button {
  position: relative;
  z-index: 2;
  min-height: 58px;
  padding: 14px 26px;
  font-size: 1.02rem;
}

.detail-panel {
  margin-top: 24px;
}

.detail-panel p {
  color: #4b5563;
  font-size: 1rem;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

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

.related-list .mini-movie {
  grid-template-columns: 92px 1fr;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.related-list .mini-movie img {
  width: 92px;
  height: 62px;
}

.site-footer {
  margin-top: 66px;
  padding: 42px 0 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 179, 217, 0.13), rgba(255, 230, 109, 0.08), rgba(168, 230, 206, 0.13));
}

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

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #d94f9d;
  font-size: 1.08rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #526070;
  font-weight: 700;
}

.site-footer a:not(.brand):hover {
  color: #d94f9d;
}

.footer-bottom {
  margin-top: 32px;
  padding: 16px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.hidden-card {
  display: none !important;
}

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

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

  .hero-shell,
  .rank-layout,
  .detail-body {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy {
    min-height: 560px;
    padding: 0;
  }

  .hero-slide {
    padding: 28px;
  }

  .hero-dots {
    left: 28px;
  }

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

  .detail-poster img {
    min-height: auto;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 640px) {
  .section-container {
    width: min(100% - 20px, 1280px);
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .hero-content h1,
  .detail-title-panel h1,
  .page-hero-card h1 {
    letter-spacing: -0.03em;
  }

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

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

  .movie-card h3 {
    min-height: 45px;
    font-size: 0.94rem;
  }

  .movie-card p,
  .tag-row {
    display: none;
  }

  .page-hero-card,
  .detail-title-panel,
  .hero-search-box,
  .hero-mini-list,
  .info-card,
  .filter-panel,
  .detail-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .rank-list-item {
    grid-template-columns: 36px 72px 1fr;
    gap: 10px;
  }

  .rank-list-item img {
    width: 72px;
    height: 52px;
  }
}

.category-overview-card {
  padding: 0;
  overflow: hidden;
}

.category-overview-card .category-card {
  display: block;
  min-height: 240px;
  border-radius: 28px 28px 0 0;
  box-shadow: none;
}

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

.overview-links a {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 11px;
  overflow: hidden;
  color: #ca4a94;
  border-radius: 999px;
  background: rgba(255, 179, 217, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
