:root {
  --bg: #f7fbfa;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
  --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 48%, #f0fdfa 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(5deg);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-name {
  font-size: 21px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--emerald-dark), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--emerald-dark);
  background: #ecfdf5;
}

.header-search,
.mobile-search,
.search-page-form,
.list-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  width: 230px;
  position: relative;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.list-search input {
  width: 100%;
  border: 1px solid #cbd5e1;
  outline: none;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  transition: all 0.2s ease;
}

.header-search input {
  padding: 11px 44px 11px 18px;
}

.header-search button {
  position: absolute;
  right: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--emerald);
  cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.list-search input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #334155;
  border-radius: 4px;
}

.mobile-panel {
  display: none;
  padding: 14px 16px 20px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

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

.mobile-search input,
.search-page-form input {
  padding: 13px 18px;
}

.mobile-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  cursor: pointer;
}

.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-bg,
.hero-bg img,
.hero-shade,
.detail-bg,
.detail-bg img,
.detail-bg div {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.78) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.14) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #a7f3d0;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-kicker span,
.eyebrow {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(167, 243, 208, 0.36);
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 26px;
  color: #e2e8f0;
  font-size: 20px;
}

.hero-tags,
.detail-meta,
.movie-meta-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.chip-row span {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span,
.detail-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.primary-button,
.ghost-button,
.section-action,
.category-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.primary-button {
  padding: 14px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.30);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 45px rgba(16, 185, 129, 0.38);
}

.primary-button.wide {
  width: 100%;
}

.ghost-button {
  padding: 13px 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 22px;
}

.compact-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  transition: all 0.2s ease;
}

.compact-item + .compact-item {
  margin-top: 12px;
}

.compact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.compact-item img {
  width: 70px;
  height: 90px;
  border-radius: 14px;
  object-fit: cover;
  background: #d1fae5;
}

.compact-item strong,
.compact-item small {
  display: block;
}

.compact-item strong {
  color: var(--ink);
  line-height: 1.35;
}

.compact-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  font-weight: 900;
}

.main-stack {
  padding: 70px 0 84px;
}

.content-section {
  margin-bottom: 70px;
}

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

.section-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--emerald-dark);
  background: #d1fae5;
  font-weight: 900;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-action {
  color: var(--emerald-dark);
}

.section-action:hover {
  transform: translateX(3px);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  transition: all 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #ccfbf1);
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  font-weight: 800;
  font-size: 12px;
}

.movie-body {
  padding: 18px;
}

.movie-meta-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta-row a {
  color: var(--emerald-dark);
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-info h2 a:hover {
  color: var(--emerald-dark);
}

.movie-card p {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chip-row span {
  color: #047857;
  background: #ecfdf5;
}

.compact-card .movie-body {
  padding: 15px;
}

.compact-card h3 {
  font-size: 17px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 70px;
}

.category-showcase article,
.category-card,
.prose-card,
.detail-side-card,
.player-card,
.filter-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(226, 232, 240, 0.86);
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  color: #ffffff;
}

.showcase-head.emerald {
  background: linear-gradient(135deg, var(--emerald), var(--teal));
}

.showcase-head.teal {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.showcase-head h2 {
  margin: 0;
  font-size: 26px;
}

.showcase-head a {
  font-weight: 800;
}

.showcase-list {
  padding: 18px;
}

.subpage {
  padding-bottom: 84px;
}

.page-hero {
  padding: 64px 0 46px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.42), transparent 34%), linear-gradient(135deg, #064e3b, #0f766e 54%, #155e75);
}

.page-hero.soft {
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #ecfdf5 58%, #ccfbf1);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

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

.category-grid-wrap,
.list-page,
.ranking-page,
.search-results-wrap {
  padding-top: 42px;
}

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

.category-card {
  padding: 22px;
}

.category-card-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  font-weight: 900;
}

.category-card h2 {
  margin: 14px 0 8px;
  font-size: 26px;
}

.category-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.category-preview {
  margin: 16px 0;
}

.category-enter {
  color: var(--emerald-dark);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #334155;
  background: #f1f5f9;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
}

.list-search {
  min-width: min(340px, 100%);
}

.list-search span {
  color: var(--muted);
  font-weight: 800;
}

.list-search input {
  padding: 10px 15px;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.empty-state.show {
  display: block;
}

.ranking-list {
  display: grid;
  gap: 16px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr) 80px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  transition: all 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  font-weight: 900;
}

.ranking-cover img {
  width: 92px;
  height: 126px;
  border-radius: 16px;
  object-fit: cover;
  background: #ccfbf1;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-info p {
  margin: 0 0 12px;
  color: var(--muted);
}

.ranking-score {
  text-align: center;
  color: var(--emerald-dark);
}

.ranking-score strong,
.ranking-score span {
  display: block;
}

.ranking-score strong {
  font-size: 28px;
}

.ranking-score span {
  font-size: 12px;
  font-weight: 800;
}

.search-page-form {
  max-width: 680px;
  margin-top: 26px;
}

.search-summary {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-page {
  background: linear-gradient(135deg, #ffffff, #ecfdf5 54%, #f0fdfa);
  padding-bottom: 84px;
}

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

.detail-bg div {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.60), rgba(15, 23, 42, 0.36));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 42px 0 58px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  min-height: 390px;
}

.detail-poster img {
  width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 820px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: 19px;
}

.detail-main {
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.player-card {
  padding: 22px;
  margin-bottom: 28px;
}

.player-card h2,
.prose-card h2,
.detail-side-card h2 {
  margin: 0 0 16px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.24), rgba(2, 6, 23, 0.58));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.35);
  font-size: 30px;
}

.play-overlay strong {
  font-size: 24px;
}

.play-overlay small {
  max-width: 80%;
  color: #d1fae5;
  font-weight: 700;
}

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

.prose-card,
.detail-side-card {
  padding: 26px;
}

.prose-card p {
  margin: 0 0 22px;
  color: #334155;
  font-size: 17px;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0 0 22px;
}

.detail-side-card dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: #1e293b;
}

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

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 42px;
}

.support-grid article {
  padding: 26px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.support-grid h2 {
  margin: 0 0 10px;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

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

.site-footer a:hover {
  color: #a7f3d0;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  text-align: center;
}

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

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

  .menu-button {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 72px 0 54px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .movie-grid.four,
  .movie-grid.three,
  .category-grid,
  .category-showcase,
  .detail-content-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-subtitle {
    display: none;
  }

  .hero-section,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 58px 0 44px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .section-head,
  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-panel {
    padding: 18px;
  }

  .movie-grid.four,
  .movie-grid.three,
  .category-grid,
  .category-showcase,
  .detail-layout,
  .detail-content-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-layout {
    gap: 22px;
    align-items: start;
    padding-top: 24px;
  }

  .detail-poster img {
    width: min(220px, 70vw);
  }

  .detail-main {
    margin-top: -28px;
  }

  .ranking-row {
    grid-template-columns: 44px 74px minmax(0, 1fr);
  }

  .ranking-cover img {
    width: 74px;
    height: 104px;
  }

  .ranking-score {
    grid-column: 2 / -1;
    display: flex;
    gap: 8px;
    text-align: left;
  }

  .footer-grid {
    gap: 18px;
  }
}
