:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --secondary-100: #ccfbf1;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 22px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--neutral-900);
  background: linear-gradient(180deg, var(--neutral-50), #ffffff 520px);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, 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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.9);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.08);
}

.brand-copy,
.footer-brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy em,
.footer-brand em {
  margin-top: 2px;
  color: var(--neutral-500);
  font-style: normal;
  font-size: 12px;
}

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

.nav-link,
.dropdown-trigger {
  border: 0;
  background: transparent;
  color: var(--neutral-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.dropdown-trigger:hover {
  color: var(--primary-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--neutral-700);
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

.header-search,
.mobile-search,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  height: 42px;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  background: #ffffff;
  color: var(--neutral-800);
  outline: none;
  transition: 0.2s ease;
}

.header-search input,
.mobile-search input,
.filter-panel input {
  padding: 0 16px;
}

.header-search input {
  width: 250px;
}

.filter-panel select {
  padding: 0 38px 0 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.header-search button,
.mobile-search button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--primary-600);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--neutral-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--neutral-800);
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

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

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--neutral-700);
  font-weight: 650;
}

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

.hero-carousel {
  position: relative;
  height: 72vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--neutral-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.is-active img {
  transform: scale(1.12);
}

.hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.50) 42%, rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1240px) / 2));
  bottom: 84px;
  width: min(760px, calc(100% - 48px));
  color: #ffffff;
}

.hero-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary-600);
  font-size: 14px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-100);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: var(--primary-600);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover,
.header-search button:hover,
.mobile-search button:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: 0.2s ease;
}

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-top {
  padding-top: 48px;
}

.content-section,
.analysis-section {
  margin: 70px 0;
}

.analysis-section {
  padding: 40px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-100));
}

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

.section-heading span,
.page-hero span {
  color: var(--primary-700);
  background: var(--primary-100);
}

.section-heading h2,
.page-hero h1 {
  margin: 12px 0 0;
  color: var(--neutral-900);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  max-width: 740px;
  margin: 10px 0 0;
  color: var(--neutral-600);
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 700;
}

.section-link:hover {
  background: var(--primary-100);
}

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

.movie-card {
  min-width: 0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.poster-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--neutral-200);
}

.movie-card-compact .poster-wrap {
  height: 190px;
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 60%);
  transition: opacity 0.25s ease;
}

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

.badge-year {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.badge-soft {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--primary-700);
  background: var(--primary-100);
  font-size: 12px;
  font-weight: 750;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 11px 0 8px;
  overflow: hidden;
  color: var(--neutral-900);
  font-size: 18px;
  line-height: 1.38;
  font-weight: 800;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--primary-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  margin-top: auto;
}

.movie-card-horizontal .movie-card-link {
  flex-direction: row;
}

.movie-card-horizontal .poster-wrap {
  width: 280px;
  height: auto;
  min-height: 190px;
  flex: 0 0 auto;
}

.movie-card-horizontal .movie-card-body {
  padding: 26px;
}

.movie-card-horizontal h3 {
  font-size: 22px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rank-item a {
  display: grid;
  grid-template-columns: 52px 76px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.rank-copy {
  min-width: 0;
}

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

.rank-copy strong {
  color: var(--neutral-900);
  font-size: 17px;
  font-weight: 800;
}

.rank-copy em {
  margin-top: 4px;
  color: var(--neutral-500);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, var(--primary-50));
  box-shadow: var(--shadow-md);
}

.small-hero {
  margin-bottom: 28px;
}

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

.category-tile {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-tile a {
  display: block;
}

.category-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-tile span,
.category-tile h2,
.category-tile p {
  margin-left: 18px;
  margin-right: 18px;
}

.category-tile span {
  display: inline-flex;
  margin-top: 18px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-100);
  font-size: 12px;
  font-weight: 750;
}

.category-tile h2 {
  margin-top: 10px;
  margin-bottom: 8px;
  color: var(--neutral-900);
  font-size: 22px;
}

.category-tile p {
  margin-bottom: 22px;
  color: var(--neutral-600);
  font-size: 14px;
}

.filter-panel {
  margin: 28px 0;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-panel input {
  flex: 1;
  min-width: 220px;
}

.filter-panel select {
  min-width: 160px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--neutral-500);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--primary-600);
}

.breadcrumb.light {
  color: rgba(255, 255, 255, 0.74);
}

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

.detail-page {
  background: #ffffff;
}

.detail-hero {
  position: relative;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 82px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  min-height: 470px;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.detail-copy .lead {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 20px;
}

.detail-shell {
  margin-top: 56px;
}

.player-section h2,
.article-card h2,
.content-section h2 {
  margin-top: 0;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.30), rgba(0, 0, 0, 0.72));
  text-align: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: var(--primary-700);
  background: #ffffff;
  font-size: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.player-cover strong {
  width: min(80%, 720px);
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.2;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin: 42px 0 0;
}

.article-card,
.meta-card {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.article-card {
  padding: 30px;
}

.article-card h2 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.article-card p {
  margin: 0;
  color: var(--neutral-700);
  font-size: 16px;
}

.meta-card {
  grid-row: span 2;
  padding: 26px;
}

.meta-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.meta-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--neutral-200);
}

.meta-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-card dt {
  color: var(--neutral-500);
  font-size: 13px;
}

.meta-card dd {
  margin: 5px 0 0;
  color: var(--neutral-900);
  font-weight: 750;
}

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
}

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

.footer-brand strong {
  color: #ffffff;
}

.footer-main p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.50);
  font-size: 14px;
}

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

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

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

  .meta-card {
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .hero-carousel {
    height: 78vh;
    min-height: 560px;
  }

  .hero-content {
    bottom: 72px;
  }

  .hero-arrow {
    display: none;
  }

  .content-section,
  .analysis-section {
    margin: 46px 0;
  }

  .analysis-section,
  .page-hero {
    padding: 26px;
    border-radius: 26px;
  }

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

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

  .movie-card-horizontal .movie-card-link {
    flex-direction: column;
  }

  .movie-card-horizontal .poster-wrap {
    width: 100%;
    height: 220px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .detail-poster {
    width: min(280px, 76vw);
  }

  .detail-copy .lead {
    font-size: 17px;
  }

  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 24px, 1240px);
    height: 66px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-copy em {
    display: none;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .hero-carousel {
    min-height: 520px;
  }

  .hero-content {
    left: 18px;
    width: calc(100% - 36px);
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .page-shell,
  .detail-hero-inner,
  .footer-inner {
    width: min(100% - 24px, 1240px);
  }

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

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

  .rank-item a {
    grid-template-columns: 42px 66px minmax(0, 1fr);
    gap: 12px;
  }

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

  .rank-item img {
    width: 66px;
    height: 66px;
  }

  .poster-wrap,
  .movie-card-compact .poster-wrap {
    height: 260px;
  }

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

  .detail-hero-inner {
    padding: 36px 0 58px;
  }

  .player-box {
    border-radius: 20px;
  }

  .article-card,
  .meta-card {
    padding: 22px;
  }
}
