:root {
  --rose-50: #fff1f5;
  --rose-100: #ffe4ec;
  --rose-300: #fda4bf;
  --rose-400: #fb718f;
  --rose-500: #f43f5e;
  --pink-500: #ec4899;
  --text-900: #1f2937;
  --text-700: #374151;
  --text-600: #4b5563;
  --text-500: #6b7280;
  --line: #ffe1ea;
  --shadow: 0 24px 70px rgba(244, 63, 94, 0.14);
  --soft-shadow: 0 14px 35px rgba(31, 41, 55, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-900);
  background: linear-gradient(180deg, rgba(255, 241, 245, 0.42), #ffffff 36%, rgba(255, 241, 245, 0.36));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.08);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.28);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  color: var(--text-600);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose-500);
}

.top-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.08);
}

.top-search input {
  width: 188px;
  border: 0;
  outline: 0;
  padding: 11px 14px;
  color: var(--text-700);
}

.top-search button,
.inline-search button,
.search-box-large button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  padding: 11px 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--rose-50);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--rose-500);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 9vw, 110px) 16px clamp(110px, 13vw, 150px);
  background: linear-gradient(135deg, #fff1f5 0%, #fff7fb 52%, #ffe4ec 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.42;
  pointer-events: none;
}

.hero-glow-one {
  top: 22px;
  left: 7%;
  width: 270px;
  height: 270px;
  background: var(--rose-300);
}

.hero-glow-two {
  right: 8%;
  bottom: 28px;
  width: 360px;
  height: 360px;
  background: #f9a8d4;
}

.hero-topline,
.page-hero {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.1);
}

.hero-topline h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--rose-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-topline p,
.page-hero p {
  margin: 0 auto;
  max-width: 740px;
  color: var(--text-600);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-quicklinks,
.hero-actions,
.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-quicklinks a,
.ghost-btn,
.page-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-quicklinks a:hover,
.ghost-btn:hover,
.page-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.13);
}

.hero-showcase {
  width: min(1180px, calc(100% - 32px));
  margin: -88px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-stage {
  min-height: 520px;
  position: relative;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: clamp(28px, 6vw, 56px);
  color: #ffffff;
}

.hero-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--rose-500);
  font-weight: 800;
  font-size: 13px;
}

.hero-content h2 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.hero-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 17px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(236, 72, 153, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(236, 72, 153, 0.34);
}

.hero-side {
  padding: 28px;
  background: linear-gradient(145deg, #fff1f5, #ffffff);
  border-left: 1px solid var(--line);
}

.hero-side-title,
.panel-heading h2,
.section-heading h2,
.side-card h2,
.text-panel h2,
.info-card h2 {
  margin: 0;
  color: var(--text-900);
  font-size: 24px;
  font-weight: 900;
}

.hero-thumbs {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-thumb:hover,
.hero-thumb.active {
  background: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.11);
}

.hero-thumb span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
  font-weight: 900;
}

.hero-thumb strong,
.hero-thumb em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-thumb strong {
  color: var(--text-900);
  font-size: 15px;
}

.hero-thumb em {
  color: var(--text-500);
  font-size: 12px;
  font-style: normal;
}

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

.section-heading,
.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--text-500);
  line-height: 1.7;
}

.section-heading a,
.panel-heading a {
  flex: 0 0 auto;
  color: var(--rose-500);
  font-weight: 900;
}

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

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

.featured-grid {
  align-items: stretch;
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 228, 236, 0.82);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(244, 63, 94, 0.16);
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.movie-card-large .card-poster {
  aspect-ratio: 16 / 11;
}

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

.movie-card:hover img {
  transform: scale(1.08);
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.62));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.movie-card:hover .card-shade {
  opacity: 1;
}

.card-score {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--rose-500);
  font-weight: 900;
  font-size: 13px;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-body strong {
  min-height: 44px;
  color: var(--text-900);
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body strong {
  color: var(--rose-500);
}

.card-body em {
  display: -webkit-box;
  min-height: 42px;
  color: var(--text-600);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
}

.card-meta,
.card-tags,
.genre-pills,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span {
  color: var(--text-500);
  font-size: 12px;
}

.card-tags span,
.genre-pills span,
.tag-cloud a {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--rose-500);
  background: var(--rose-50);
  font-size: 12px;
  font-weight: 800;
}

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

.category-tile,
.category-card-wide {
  display: grid;
  gap: 12px;
  min-height: 154px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, var(--rose-50));
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(244, 63, 94, 0.14);
}

.category-tile span,
.category-card-wide strong {
  color: var(--text-900);
  font-size: 20px;
  font-weight: 900;
}

.category-tile em,
.category-card-wide em {
  color: var(--text-600);
  font-style: normal;
  line-height: 1.7;
}

.category-card-wide {
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  min-height: auto;
}

.category-card-wide img {
  width: 130px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.category-card-wide span {
  display: grid;
  gap: 8px;
}

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

.ranking-panel,
.side-card,
.text-panel,
.info-card,
.rank-table {
  border: 1px solid rgba(255, 228, 236, 0.86);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.ranking-panel,
.side-card {
  padding: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 10px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: var(--rose-50);
}

.rank-row img {
  width: 74px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-400), var(--pink-500));
  font-weight: 900;
  font-size: 12px;
}

.rank-row strong,
.rank-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row strong {
  color: var(--text-900);
  font-size: 14px;
}

.rank-row em {
  color: var(--text-500);
  font-size: 12px;
  font-style: normal;
}

.rank-row b {
  color: var(--rose-500);
}

.cta-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 76px;
  padding: clamp(34px, 6vw, 60px);
  border-radius: 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(120deg, var(--rose-500), var(--pink-500), var(--rose-400));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  margin: 0 auto 26px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.cta-band a {
  display: inline-flex;
  border-radius: 999px;
  padding: 12px 24px;
  color: var(--rose-500);
  background: #ffffff;
  font-weight: 900;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: clamp(54px, 8vw, 88px) 24px;
  border-radius: 0 0 32px 32px;
}

.page-hero.small {
  background: linear-gradient(135deg, var(--rose-50), #ffffff, #ffe4ec);
}

.ranking-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  text-align: left;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #2d1320 58%, #f43f5e);
  color: #ffffff;
}

.ranking-hero h1,
.ranking-hero p {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
}

.ranking-hero img {
  width: 100%;
  height: 230px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text-600);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-bar button:hover,
.filter-bar button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  transform: translateY(-1px);
}

.inline-search,
.search-box-large {
  display: flex;
  width: min(620px, 100%);
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.inline-search input,
.search-box-large input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  color: var(--text-700);
}

.rank-table {
  overflow: hidden;
}

.rank-table-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 80px 180px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.rank-table-row:hover {
  background: var(--rose-50);
}

.rank-table-row span {
  color: var(--rose-500);
  font-weight: 900;
}

.rank-table-row strong,
.rank-table-row em,
.rank-table-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-table-row em {
  color: var(--text-600);
  font-style: normal;
}

.rank-table-row b {
  color: var(--rose-500);
  font-size: 18px;
}

.rank-table-row small {
  color: var(--text-500);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.58));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 52px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

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

.breadcrumb em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.64);
}

.detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 28px;
  align-items: end;
  margin-top: 30px;
}

.detail-title-row h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.detail-title-row p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
  font-size: 17px;
}

.score-box {
  display: grid;
  place-items: center;
  gap: 4px;
  border-radius: 24px;
  padding: 18px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.score-box strong {
  font-size: 38px;
}

.score-box span {
  font-size: 13px;
}

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

.detail-main {
  min-width: 0;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 3;
}

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

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  font-size: 28px;
}

.player-overlay strong {
  max-width: min(680px, 82%);
  font-size: clamp(20px, 4vw, 34px);
  text-align: center;
  line-height: 1.25;
}

.info-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  margin-top: 26px;
}

.poster-column img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
}

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

.meta-list div {
  border-radius: 16px;
  padding: 12px;
  background: var(--rose-50);
}

.meta-list dt {
  color: var(--text-500);
  font-size: 12px;
}

.meta-list dd {
  margin: 5px 0 0;
  color: var(--text-900);
  font-weight: 800;
}

.genre-pills,
.tag-cloud {
  margin-top: 14px;
}

.text-panel {
  padding: 26px;
  margin-top: 26px;
}

.text-panel p {
  color: var(--text-600);
  line-height: 1.9;
  font-size: 16px;
}

.review-panel {
  background: linear-gradient(145deg, #ffffff, var(--rose-50));
}

.detail-side {
  position: sticky;
  top: 100px;
}

.related-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.related-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: var(--rose-50);
}

.related-card img {
  width: 96px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.related-card strong,
.related-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-card strong {
  display: -webkit-box;
  color: var(--text-900);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.related-card em {
  color: var(--text-500);
  white-space: nowrap;
  font-size: 12px;
  font-style: normal;
}

.detail-related-wide {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 0;
}

.prose-page {
  max-width: 900px;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff7fb, #ffffff);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--text-600);
  line-height: 1.8;
}

.footer-grid a:hover {
  color: var(--rose-500);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 34px;
  color: var(--text-500);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

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

  .hero-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .detail-side {
    position: static;
  }

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    padding: 13px 14px;
    border-radius: 12px;
  }

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

  .hero-shell {
    padding-bottom: 96px;
  }

  .hero-showcase {
    margin-top: -70px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-content {
    padding: 30px;
  }

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

  .ranking-hero,
  .info-card,
  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .rank-table-row {
    grid-template-columns: 54px minmax(0, 1fr) 60px;
  }

  .rank-table-row em,
  .rank-table-row small {
    display: none;
  }

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

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .hero-topline h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-showcase,
  .content-section,
  .split-section,
  .detail-layout,
  .cta-band {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-side {
    padding: 18px;
  }

  .hero-thumb {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .category-card-wide {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 16px;
  }

  .category-card-wide img {
    width: 96px;
    height: 74px;
  }

  .inline-search,
  .search-box-large {
    border-radius: 22px;
    flex-direction: column;
  }

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

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

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