/* Static movie channel styles derived from the uploaded warm, card-based video layout. */
:root {
  --primary-50: #fef9ee;
  --primary-100: #fdf2d7;
  --primary-500: #f08d1f;
  --primary-600: #e17015;
  --primary-700: #bb5413;
  --primary-800: #954217;
  --accent-50: #fef6ee;
  --accent-100: #fdebd7;
  --accent-600: #df5015;
  --secondary-50: #faf9f6;
  --secondary-100: #f5f3ec;
  --secondary-600: #a58a66;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 42%, #faf9f6 100%);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--primary-800), var(--primary-600));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(149, 66, 23, 0.25);
}

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

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-copy em {
  font-size: 12px;
  color: var(--primary-100);
  font-style: normal;
  font-weight: 500;
}

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

.nav-link,
.nav-search {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-search:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-100);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  background: rgba(149, 66, 23, 0.98);
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

.mobile-nav a,
.mobile-nav button {
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: #111827;
}

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

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(225, 112, 21, 0.45), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
}

.hero-text {
  max-width: 720px;
  color: var(--white);
}

.hero-rating,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-rating {
  margin-bottom: 14px;
  color: #e5e7eb;
}

.hero-rating strong {
  font-size: 24px;
  color: var(--white);
}

.star {
  color: #facc15;
  font-size: 22px;
}

.hero h1,
.page-hero h1,
.detail-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-intro p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(225, 112, 21, 0.12);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags .tag,
.detail-intro .tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(225, 112, 21, 0.28);
}

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

.btn-glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-outline {
  color: var(--primary-700);
  border-color: rgba(225, 112, 21, 0.35);
  background: var(--white);
}

.full-btn {
  width: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.36);
  font-size: 38px;
  cursor: pointer;
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

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

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

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

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

.soft-section,
.category-strip {
  padding: 72px 0;
  background: linear-gradient(90deg, var(--primary-50), var(--secondary-50));
}

.quick-search {
  margin-top: -46px;
  position: relative;
  z-index: 12;
}

.quick-search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-search-card h2 {
  margin: 4px 0 6px;
  font-size: clamp(24px, 4vw, 36px);
}

.quick-search-card p {
  margin: 0;
  color: var(--muted);
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.category-group h2,
.text-card h2,
.info-card h2,
.player-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
}

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

.section-more {
  color: var(--primary-600);
  font-weight: 800;
}

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

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

.catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
}

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

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.score-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.score-badge {
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.62);
}

.play-chip {
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  background: var(--primary-600);
}

.card-body {
  padding: 14px;
}

.card-meta {
  color: var(--muted);
  font-size: 12px;
  gap: 6px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #c4c4c4;
}

.card-body h3 {
  margin: 7px 0 7px;
  font-size: 16px;
  line-height: 1.28;
}

.card-body p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.mini-section h3 {
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary-600);
  font-size: 22px;
}

.index-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

.ranking-panel,
.info-card,
.text-card,
.player-section,
.standalone-card {
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ranking-panel {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.compact-heading {
  margin-bottom: 16px;
}

.rank-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.rank-list li + li {
  border-top: 1px solid var(--line);
}

.rank-list a {
  display: grid;
  grid-template-columns: 42px 1fr 46px;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
}

.rank-num {
  color: var(--primary-600);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.rank-score {
  color: #f59e0b;
  font-weight: 900;
  text-align: right;
}

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

.category-chip-grid a,
.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-chip-grid strong,
.category-card span {
  font-size: 18px;
}

.category-chip-grid span,
.category-card strong {
  color: var(--primary-600);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(115deg, var(--primary-800), var(--primary-600));
}

.small-hero {
  padding: 88px 0 74px;
}

.category-overview {
  padding: 64px 0 20px;
}

.category-group {
  margin-bottom: 46px;
}

.category-group h2 {
  margin-bottom: 18px;
}

.category-card-grid.dense {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-card-grid.dense .category-card {
  padding: 16px;
}

.category-preview {
  margin-bottom: 54px;
}

.catalog-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(225, 112, 21, 0.12);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

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

.catalog-filter input,
.catalog-filter select,
.search-input-wrap input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.catalog-filter input:focus,
.catalog-filter select:focus,
.search-input-wrap input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(225, 112, 21, 0.12);
}

.empty-state {
  padding: 36px;
  border-radius: 18px;
  background: var(--primary-50);
  color: var(--primary-700);
  text-align: center;
  font-weight: 800;
}

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

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-weight: 800;
}

.pagination a.active {
  background: var(--primary-600);
  color: var(--white);
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 86px 58px minmax(0, 1fr) 72px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ranking-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--primary-100);
}

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

.ranking-number {
  color: var(--primary-600);
  font-size: 30px;
  font-weight: 900;
}

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

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

.ranking-score {
  color: #f59e0b;
  font-size: 24px;
  text-align: right;
}

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

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

.detail-mask {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 22% 30%, rgba(225, 112, 21, 0.36), transparent 28%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  min-height: 560px;
  padding: 80px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: var(--primary-100);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  padding: 70px 0;
}

.detail-main {
  display: grid;
  gap: 26px;
}

.player-section,
.text-card,
.info-card {
  padding: 26px;
}

.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.source-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 900;
}

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

.video-shell video {
  width: 100%;
  height: 100%;
  background: #000;
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-play-button span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--primary-600);
  box-shadow: 0 16px 34px rgba(225, 112, 21, 0.42);
  font-size: 30px;
}

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

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #fef3c7;
  font-size: 13px;
  text-align: center;
}

.text-card p {
  margin: 14px 0 0;
  color: #374151;
  font-size: 17px;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.info-card dl {
  margin: 18px 0 0;
}

.info-card div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

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

.info-card dd {
  margin: 0;
}

.sidebar-related {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.sidebar-related a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.sidebar-related img {
  width: 54px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
  background: var(--primary-100);
}

.sidebar-related span {
  display: grid;
  gap: 2px;
  font-weight: 800;
}

.sidebar-related em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(6px);
}

.search-drawer.open {
  display: grid;
}

.search-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.search-panel h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

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

.search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 28px;
  cursor: pointer;
}

.search-input-wrap {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--secondary-50);
}

.search-result-item img {
  width: 58px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
  background: var(--primary-100);
}

.search-result-item strong {
  display: block;
}

.search-result-item span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 54px 0 0;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 22px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
}

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

.footer-bottom {
  margin-top: 42px;
  padding: 18px 0;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
  text-align: center;
}

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

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

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

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

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 620px;
    height: 78vh;
  }

  .hero-content {
    padding-bottom: 88px;
  }

  .hero-control {
    display: none;
  }

  .quick-search-card,
  .section-heading,
  .player-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .four-grid,
  .catalog-grid,
  .category-chip-grid,
  .category-card-grid,
  .category-card-grid.dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .detail-hero-inner {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }

  .detail-intro h1 {
    font-size: 34px;
  }

  .detail-intro p {
    font-size: 15px;
  }

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

  .ranking-number {
    display: none;
  }

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

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

  .brand-copy em {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

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

  .section-block,
  .soft-section,
  .category-strip {
    padding: 48px 0;
  }

  .movie-grid,
  .four-grid,
  .catalog-grid,
  .category-chip-grid,
  .category-card-grid,
  .category-card-grid.dense,
  .catalog-filter {
    grid-template-columns: 1fr;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .detail-poster {
    width: 170px;
  }

  .detail-layout {
    padding: 44px 0;
  }

  .search-result-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .search-result-item .btn {
    grid-column: 1 / -1;
  }
}
