:root {
  --sakura-50: #fff5f7;
  --sakura-100: #ffe4eb;
  --sakura-400: #fb7185;
  --sakura-500: #ed1c5a;
  --sakura-600: #db164f;
  --azuki-500: #dc2626;
  --azuki-600: #b91c1c;
  --matcha-500: #22c55e;
  --matcha-700: #15803d;
  --yuzu-400: #facc15;
  --yuzu-500: #f59e0b;
  --shiratama-50: #fffafa;
  --shiratama-100: #fff1f2;
  --shiratama-700: #4a2b32;
  --ink-900: #1f1720;
  --ink-700: #46333d;
  --ink-500: #755b66;
  --line: rgba(220, 38, 38, 0.12);
  --shadow-sm: 0 8px 24px rgba(146, 64, 14, 0.08);
  --shadow-md: 0 18px 40px rgba(146, 64, 14, 0.14);
  --shadow-lg: 0 30px 80px rgba(146, 64, 14, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 18% 8%, rgba(251, 113, 133, 0.18), transparent 30%),
    linear-gradient(180deg, #fff8f9 0%, #fffafa 52%, #fff7f1 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

main {
  min-height: 72vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(237, 28, 90, 0.12);
  box-shadow: 0 8px 28px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sakura-400), var(--azuki-500));
  box-shadow: 0 10px 24px rgba(237, 28, 90, 0.25);
}

.logo-text,
.footer-logo {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--sakura-500), var(--azuki-600));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  color: var(--ink-700);
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.search-panel input,
.search-panel select,
.filter-bar input,
.filter-bar select {
  width: 230px;
  border: 1px solid rgba(237, 28, 90, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-900);
  outline: none;
  padding: 11px 16px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-search input:focus,
.search-panel input:focus,
.search-panel select:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--sakura-400);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.nav-search button,
.search-panel button,
.primary-button,
.hero-button,
.player-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--sakura-500), var(--azuki-600));
  box-shadow: 0 14px 28px rgba(237, 28, 90, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nav-search button {
  padding: 11px 18px;
}

.nav-search button:hover,
.search-panel button:hover,
.primary-button:hover,
.hero-button:hover,
.player-button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(237, 28, 90, 0.28);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(237, 28, 90, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--sakura-600);
  font-size: 22px;
}

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

.hero-section {
  padding: 32px 0 26px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 520px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #111827, #3f1d2c 48%, #7f1d1d);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  position: relative;
  min-width: 100%;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 72px clamp(24px, 6vw, 76px);
  color: #fff;
  align-self: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker span,
.type-badge,
.rank-number,
.tag-row span,
.meta-pill,
.category-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-kicker span {
  padding: 7px 14px;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 14px;
}

.hero-kicker em {
  font-style: normal;
  opacity: 0.86;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-content p {
  margin: 20px 0 30px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.hero-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.secondary-link:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, opacity 0.25s ease;
}

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

.hero-control.prev {
  left: 20px;
}

.hero-control.next {
  right: 20px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--sakura-500);
}

.quick-panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.search-panel,
.category-panel,
.info-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.search-panel {
  padding: 22px;
}

.search-panel h2,
.category-panel h2,
.info-card h2,
.content-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.search-panel p,
.category-panel p,
.info-card p,
.content-card p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.8;
}

.search-panel form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.search-panel input {
  width: 100%;
}

.search-panel button {
  padding: 0 24px;
}

.category-panel {
  padding: 22px;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.category-chip {
  padding: 9px 14px;
  color: var(--sakura-600);
  background: var(--sakura-50);
  border: 1px solid rgba(237, 28, 90, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.category-chip:hover {
  background: var(--sakura-100);
  transform: translateY(-2px);
}

.section-block {
  padding: 34px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.heading-line {
  width: 5px;
  height: 38px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--sakura-500), var(--azuki-600));
}

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

.section-heading p {
  margin: 4px 0 0;
  color: var(--ink-500);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-card.horizontal {
  display: grid;
  grid-template-columns: 250px 1fr;
}

.poster-wrap {
  position: relative;
  min-height: 280px;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(250, 204, 21, 0.22), transparent 30%),
    linear-gradient(135deg, #3f1d2c, #111827);
}

.movie-card.horizontal .poster-wrap {
  min-height: 220px;
}

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

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 24px;
  background: rgba(237, 28, 90, 0.82);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
}

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

.type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  background: rgba(220, 38, 38, 0.92);
}

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

.movie-card-body h3 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.3;
}

.movie-card-body h3 a {
  transition: color 0.25s ease;
}

.movie-card:hover h3 a,
.compact-card:hover strong,
.rank-card:hover h3 {
  color: var(--sakura-600);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ink-500);
  font-size: 13px;
}

.movie-meta span,
.meta-pill {
  padding: 5px 9px;
  background: var(--shiratama-100);
  border: 1px solid rgba(237, 28, 90, 0.1);
  border-radius: 999px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 9px;
  color: #8a4454;
  font-size: 12px;
  background: #fff5f7;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.compact-card:hover {
  background: var(--sakura-50);
  transform: translateX(4px);
}

.compact-cover {
  position: relative;
  height: 68px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #3f1d2c, #111827);
}

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

.compact-info {
  min-width: 0;
}

.compact-info strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.compact-info em {
  display: block;
  margin-top: 5px;
  color: var(--ink-500);
  font-style: normal;
  font-size: 13px;
}

.ranking-grid {
  display: grid;
  gap: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: auto 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 42px;
  height: 42px;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--yuzu-500), var(--sakura-500));
}

.rank-cover {
  height: 78px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #3f1d2c, #111827);
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-card h3 {
  margin: 0 0 6px;
  transition: color 0.25s ease;
}

.rank-card p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.6;
}

.page-hero {
  padding: 52px 0 24px;
}

.page-hero-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.18), transparent 34%),
    linear-gradient(135deg, #321827, #7f1d1d);
  box-shadow: var(--shadow-lg);
}

.page-hero-card h1 {
  margin: 0 0 12px;
  max-width: 900px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-hero-card p {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-card {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card strong {
  display: block;
  font-size: 20px;
  color: var(--ink-900);
}

.category-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-500);
  line-height: 1.6;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.filter-bar input {
  flex: 1 1 260px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0;
}

.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  font-weight: 800;
}

.pagination .is-current {
  color: #fff;
  background: var(--sakura-500);
  border-color: var(--sakura-500);
}

.detail-hero {
  position: relative;
  padding: 42px 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #111827, #3f1d2c 54%, #7f1d1d);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: blur(2px);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(31, 23, 32, 0.78));
}

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
}

.detail-cover {
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #3f1d2c, #111827);
  box-shadow: var(--shadow-lg);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
}

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

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

.detail-info p {
  margin: 0 0 22px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-meta .meta-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.player-section {
  padding: 36px 0;
}

.player-shell {
  overflow: hidden;
  border-radius: 28px;
  background: #06070a;
  box-shadow: var(--shadow-lg);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(237, 28, 90, 0.25), transparent 30%),
    rgba(0, 0, 0, 0.42);
  transition: opacity 0.25s ease;
  cursor: pointer;
}

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

.player-button {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 38px;
}

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

.content-card {
  padding: 24px;
}

.content-card h2 {
  color: var(--ink-900);
}

.content-card p {
  margin-top: 12px;
  color: var(--ink-700);
}

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

.site-footer {
  margin-top: 44px;
  background: #2a1820;
  color: #ffe4eb;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-inner p {
  margin: 12px 0 0;
  color: rgba(255, 228, 235, 0.78);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.footer-links a:hover {
  color: #fff;
}

.sitemap-list {
  column-count: 4;
  column-gap: 24px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.sitemap-list a {
  display: block;
  break-inside: avoid;
  padding: 7px 0;
  color: var(--ink-700);
}

.sitemap-list a:hover {
  color: var(--sakura-600);
}

.empty-state {
  padding: 42px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-500);
}

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

  .quick-panel,
  .split-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0;
    gap: 14px;
  }

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

  .nav-links,
  .nav-search {
    display: none;
    width: 100%;
  }

  .nav-links.is-open,
  .nav-search.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-link {
    padding: 12px;
    border-radius: 14px;
    background: var(--sakura-50);
  }

  .nav-search input {
    width: 100%;
  }

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

  .hero-content {
    padding: 70px 24px 92px;
  }

  .hero-control {
    display: none;
  }

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

  .movie-card.horizontal {
    display: block;
  }

  .rank-card {
    grid-template-columns: auto 92px 1fr;
    gap: 12px;
  }

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

  .detail-cover {
    max-width: 300px;
    min-height: 410px;
  }

  .sitemap-list {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .footer-inner {
    width: min(100% - 22px, 1200px);
  }

  .logo-text {
    font-size: 22px;
  }

  .hero-carousel,
  .hero-slide {
    min-height: 560px;
    border-radius: 22px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 34px;
  }

  .search-panel form,
  .hero-actions,
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

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

  .poster-wrap {
    min-height: 320px;
  }

  .rank-card {
    grid-template-columns: auto 1fr;
  }

  .rank-cover {
    display: none;
  }

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

  .player-button {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }

  .sitemap-list {
    column-count: 1;
  }
}
