:root {
  --sakura-50: #fff7fb;
  --sakura-100: #fdedf3;
  --sakura-200: #fcd9e7;
  --sakura-300: #fab5d1;
  --sakura-400: #f78bb8;
  --sakura-500: #f06292;
  --sakura-600: #e91e63;
  --sakura-700: #c2185b;
  --cream-50: #fffaf0;
  --cream-200: #fff0cf;
  --cream-500: #f5b942;
  --cream-600: #de9908;
  --spring-50: #f0fdf4;
  --spring-500: #22c55e;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(233, 30, 99, 0.16);
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --shadow-soft: 0 10px 24px rgba(31, 41, 55, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fef6f9 0%, #fffcf5 48%, #f0fdf4 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(233, 30, 99, 0.08);
}

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

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

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sakura-400), var(--sakura-600));
  box-shadow: 0 12px 24px rgba(233, 30, 99, 0.28);
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--sakura-700), var(--sakura-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small,
.footer-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 460px;
  position: relative;
}

.site-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 52px 0 18px;
  border: 2px solid var(--sakura-200);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus {
  border-color: var(--sakura-400);
  box-shadow: 0 0 0 4px rgba(240, 98, 146, 0.12);
}

.site-search button {
  position: absolute;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--sakura-500);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-search button:hover {
  background: var(--sakura-600);
  transform: scale(1.06);
}

.desktop-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.desktop-nav a,
.mobile-panel nav a,
.category-tabs a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #374151;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel nav a:hover,
.category-tabs a:hover {
  background: var(--sakura-100);
  color: var(--sakura-700);
}

.desktop-nav a.is-active,
.mobile-panel nav a.is-active,
.category-tabs a.is-active {
  color: #ffffff;
  background: var(--sakura-500);
  box-shadow: 0 10px 22px rgba(233, 30, 99, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--sakura-100);
  color: var(--sakura-700);
  font-size: 22px;
}

.mobile-panel {
  border-top: 1px solid var(--line);
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.site-main {
  padding: 30px 0 56px;
}

.hero-carousel {
  width: min(100% - 32px, 1280px);
  margin: 0 auto 34px;
  min-height: 510px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--sakura-200), var(--cream-200));
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(240, 98, 146, 0.3), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.05)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 38%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 78px);
  bottom: clamp(28px, 8vw, 76px);
  width: min(640px, calc(100% - 48px));
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--sakura-300);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-content p,
.page-hero p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.hero-tags,
.detail-tags,
.movie-card__tags,
.tag-cloud,
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.movie-card__tags span,
.tag-cloud span,
.category-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(253, 237, 243, 0.92);
  color: var(--sakura-700);
  font-size: 13px;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.btn-primary {
  color: #ffffff;
  background: var(--sakura-500);
  box-shadow: 0 14px 28px rgba(233, 30, 99, 0.26);
}

.btn-primary:hover {
  background: var(--sakura-600);
}

.btn-secondary {
  color: var(--sakura-700);
  background: var(--sakura-100);
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(233, 30, 99, 0.82);
  transform: translateY(-50%) scale(1.05);
}

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

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

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

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

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.quick-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-bottom: 42px;
}

.quick-search,
.quick-categories,
.filter-panel,
.callout-card,
.prose-card,
.taxonomy-box {
  padding: 26px;
}

.quick-search h2,
.quick-categories h2,
.taxonomy-box h2,
.prose-card h2,
.callout-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.quick-search p,
.quick-categories p,
.callout-card p,
.prose-card p {
  color: var(--muted);
  line-height: 1.75;
}

.quick-search-form,
.search-page-form {
  max-width: none;
  margin-top: 16px;
}

.quick-search-form button,
.search-page-form button {
  width: auto;
  min-width: 82px;
  padding: 0 18px;
}

.content-section {
  margin-top: 46px;
}

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

.section-heading > div:first-child {
  min-width: 0;
}

.section-icon {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--sakura-700);
  font-weight: 800;
  white-space: nowrap;
}

.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));
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card__link {
  display: block;
  height: 100%;
}

.movie-card__poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sakura-200), var(--cream-200));
}

.movie-card__poster--wide {
  aspect-ratio: 16 / 10;
}

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

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

.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 55%);
  opacity: 0.82;
}

.movie-card__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--sakura-500);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-card__body {
  padding: 16px;
}

.movie-card__eyebrow {
  margin-bottom: 7px;
  color: var(--sakura-700);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3,
.rank-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card p,
.rank-item p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.movie-card--horizontal .movie-card__link {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 138px;
}

.movie-card--horizontal .movie-card__poster {
  aspect-ratio: auto;
  height: 100%;
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.6fr);
  gap: 28px;
  align-items: start;
}

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

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(253, 237, 243, 0.92), rgba(255, 240, 207, 0.84));
  box-shadow: var(--shadow-soft);
}

.ranking-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ranking-panel__head h2 {
  margin: 0;
}

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

.rank-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
}

.rank-item a {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.rank-item img {
  width: 74px;
  height: 86px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.ranking-more {
  margin-top: 16px;
}

.sakura-band {
  padding: 46px 0;
  background: linear-gradient(135deg, rgba(252, 217, 231, 0.62), rgba(255, 240, 207, 0.62));
}

.page-hero {
  display: grid;
  min-height: 260px;
  align-items: center;
  margin-bottom: 32px;
  padding: 42px;
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(233, 30, 99, 0.9), rgba(245, 185, 66, 0.78)),
    linear-gradient(135deg, var(--sakura-600), var(--cream-500));
  box-shadow: var(--shadow);
}

.page-hero p {
  max-width: 760px;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

.category-card span,
.category-card small {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.category-card span {
  bottom: 52px;
  font-size: 28px;
  font-weight: 900;
}

.category-card small {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.taxonomy-box .tag-cloud {
  margin-top: 16px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 14px;
}

.filter-row label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-row input,
.filter-row select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--sakura-400);
  box-shadow: 0 0 0 4px rgba(240, 98, 146, 0.1);
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.filter-count {
  color: var(--muted);
  font-weight: 700;
}

.library-card.is-hidden {
  display: none;
}

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

.ranking-column {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.ranking-column h2 {
  margin: 0 0 16px;
}

.ranking-column ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-column li a {
  display: grid;
  grid-template-columns: 34px 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.ranking-column li a:hover {
  background: var(--sakura-100);
}

.rank-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--sakura-500);
  font-weight: 900;
}

.ranking-column img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.ranking-column strong,
.ranking-column small {
  display: block;
}

.ranking-column small {
  margin-top: 4px;
  color: var(--muted);
}

.search-page-form {
  width: min(100%, 620px);
}

.search-results-section {
  min-height: 360px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--sakura-700);
}

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

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

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

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

.video-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.42), rgba(0, 0, 0, 0.58));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-start span {
  display: inline-flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sakura-500);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  font-size: 32px;
}

.video-player.is-playing .video-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  pointer-events: none;
}

.detail-info,
.detail-text,
.side-poster,
.side-list {
  padding: 24px;
  margin-bottom: 20px;
}

.detail-title-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.detail-title-row h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.detail-one-line {
  margin: 18px 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.detail-meta-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(253, 237, 243, 0.72);
}

.detail-meta-list strong {
  color: var(--sakura-700);
  font-size: 13px;
}

.detail-text h2,
.side-list h2 {
  margin: 0 0 12px;
}

.detail-text p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
  font-size: 17px;
}

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

.side-poster img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 14px;
}

.side-poster strong,
.side-poster span {
  display: block;
}

.side-poster span {
  margin-top: 6px;
  color: var(--muted);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(253, 237, 243, 0.9), rgba(255, 250, 240, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 28px;
  padding: 46px 0 32px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--sakura-700);
}

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

@media (max-width: 1100px) {
  .movie-grid--three,
  .movie-grid--four,
  .category-grid,
  .ranking-board,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .detail-side,
  .ranking-panel {
    position: static;
  }
}

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

  .brand-copy small,
  .desktop-nav,
  .header-inner > .site-search {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-main {
    padding-top: 18px;
  }

  .hero-carousel {
    min-height: 560px;
    border-radius: 24px;
  }

  .hero-content {
    left: 22px;
    bottom: 54px;
  }

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

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

  .hero-control {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .hero-control:hover {
    transform: scale(1.05);
  }

  .hero-dots {
    bottom: 28px;
  }

  .quick-panel,
  .two-columns,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .movie-grid--three,
  .movie-grid--four,
  .category-grid,
  .ranking-board,
  .footer-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container,
  .hero-carousel {
    width: min(100% - 22px, 1280px);
  }

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

  .page-hero {
    padding: 28px 22px;
    border-radius: 24px;
  }

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

  .movie-grid--three,
  .movie-grid--four,
  .category-grid,
  .ranking-board,
  .footer-grid,
  .mini-grid,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .movie-card--horizontal .movie-card__link {
    grid-template-columns: 118px 1fr;
  }

  .movie-card--horizontal .movie-card__poster {
    min-height: 132px;
  }

  .filter-actions,
  .detail-title-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .video-start span {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
}
