:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --red: #dc2626;
  --yellow: #f59e0b;
  --blue: #2563eb;
  --green: #16a34a;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.22);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 12px;
  opacity: 0.88;
}

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

.nav-link,
.nav-button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.94;
}

.nav-link:hover,
.nav-link.active,
.nav-button:hover {
  color: #ffedd5;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 38px;
  right: 0;
  width: 220px;
  padding: 10px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #374151;
}

.dropdown-panel a:hover {
  color: var(--orange);
  background: #fff7ed;
}

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

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

.header-search input,
.mobile-search input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  outline: 0;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.mobile-panel {
  background: rgba(194, 65, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-panel-inner {
  padding: 16px 0 18px;
}

.mobile-search input {
  flex: 1;
  width: 100%;
}

.mobile-links,
.mobile-categories {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mobile-link,
.mobile-sublink {
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-sublink {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 12px;
}

.mobile-category-title {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
}

.hero-carousel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-kicker {
  background: #fff7ed;
  color: var(--orange);
  margin-bottom: 8px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 24px;
  font-weight: 900;
  transition: 0.22s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
  box-shadow: 0 14px 26px rgba(234, 88, 12, 0.28);
}

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.ghost-button.light {
  color: #374151;
  background: #f3f4f6;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

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

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
}

.section-heading a {
  color: var(--orange);
  font-weight: 900;
}

.section-heading.light h2,
.section-heading.light a {
  color: #fff;
}

.category-grid,
.movie-grid,
.featured-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

.category-tile {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  color: #fff;
  padding: 22px;
  overflow: hidden;
  position: relative;
  transition: 0.25s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: -60% -40% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile:hover,
.movie-card:hover,
.compact-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-tile span {
  position: relative;
  font-size: 38px;
  margin-bottom: 12px;
}

.category-tile strong {
  position: relative;
  font-size: 20px;
}

.category-tile em {
  position: relative;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
}

.tile-0 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.tile-1 { background: linear-gradient(135deg, #16a34a, #15803d); }
.tile-2 { background: linear-gradient(135deg, #ea580c, #c2410c); }
.tile-3 { background: linear-gradient(135deg, #dc2626, #991b1b); }
.tile-4 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }

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

.featured-grid {
  grid-template-columns: repeat(3, 1fr);
}

.movie-card,
.compact-card,
.category-overview-card,
.rank-page-row {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  transition: 0.24s ease;
}

.poster-wrap {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.badge,
.year-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.badge {
  top: 12px;
  left: 12px;
  background: var(--orange);
}

.badge.gradient {
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.year-badge {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(6px);
}

.card-body {
  display: block;
  padding: 17px;
}

.card-body strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-desc,
.card-meta {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  -webkit-line-clamp: 1;
}

.card-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-tags span,
.tag-cloud span {
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.tag-cloud .genre-tag {
  background: #ffedd5;
  color: var(--orange-dark);
}

.soft-panel {
  width: min(1180px, calc(100% - 32px));
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.compact-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px;
  align-items: center;
}

.compact-card img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #111827;
}

.compact-body strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-body em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-panel {
  border-radius: 28px;
  padding: 36px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

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

.ranking-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.ranking-list li > b {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.ranking-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.ranking-thumb img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.ranking-body strong,
.ranking-body em {
  display: block;
}

.ranking-body em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
}

.page-main {
  min-height: 72vh;
  padding: 38px 0 64px;
}

.page-hero,
.category-hero {
  border-radius: 28px;
  color: #fff;
  padding: clamp(34px, 6vw, 62px);
  background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
  box-shadow: var(--shadow);
}

.page-hero h1,
.category-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
}

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

.category-overview-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 72px 1fr 160px;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.overview-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  font-size: 30px;
}

.overview-copy strong,
.overview-copy em {
  display: block;
}

.overview-copy strong {
  font-size: 22px;
}

.overview-copy em {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
  font-style: normal;
}

.overview-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.overview-posters img {
  height: 88px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #111827;
}

.filter-panel {
  margin-top: 24px;
  border-radius: 20px;
  background: var(--card);
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 16px;
  align-items: end;
}

.filter-row label {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-weight: 800;
}

.filter-row input,
.filter-row select,
.large-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 16px;
  outline: 0;
}

.filter-row input:focus,
.filter-row select:focus,
.large-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.sort-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sort-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
  cursor: pointer;
}

.sort-buttons button.active {
  color: #fff;
  background: var(--orange);
}

.related-categories {
  border-radius: 22px;
  background: var(--card);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.related-categories h2 {
  margin: 0 0 16px;
}

.related-categories div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-categories a {
  border-radius: 999px;
  background: #fff7ed;
  color: var(--orange-dark);
  padding: 9px 13px;
  font-weight: 800;
}

.rank-page-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.rank-page-row {
  display: grid;
  grid-template-columns: 56px 116px 1fr 70px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
}

.rank-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-weight: 900;
}

.rank-page-row img {
  width: 116px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  background: #111827;
}

.rank-page-copy strong,
.rank-page-copy em,
.rank-page-copy small {
  display: block;
}

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

.rank-page-copy em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
}

.rank-page-copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: #6b7280;
  line-height: 1.5;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-score {
  color: var(--orange);
  font-size: 24px;
  font-weight: 900;
  text-align: right;
}

.large-search {
  max-width: 680px;
  margin-top: 22px;
}

.large-search input {
  min-height: 52px;
}

.large-search button {
  min-height: 52px;
  padding: 0 24px;
}

.search-status {
  border-radius: 16px;
  background: var(--card);
  padding: 18px 20px;
  margin-bottom: 20px;
  color: #4b5563;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #6b7280;
}

.breadcrumb a {
  color: var(--orange);
  font-weight: 800;
}

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

.detail-content,
.detail-sidebar {
  display: grid;
  gap: 22px;
}

.player-card,
.detail-card,
.side-card {
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: 0.25s ease;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  box-shadow: 0 16px 38px rgba(220, 38, 38, 0.32);
  font-size: 28px;
  padding-left: 4px;
}

.player-shell.is-started .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  border-radius: 12px;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  padding: 12px 14px;
}

.detail-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
}

.detail-card h2 {
  margin: 28px 0 10px;
  font-size: 22px;
}

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

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

.detail-meta span {
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.lead-text {
  font-weight: 700;
}

.review-box {
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  padding: 20px;
}

.poster-side {
  padding-bottom: 20px;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111827;
}

.poster-side h2,
.poster-side p,
.side-card h2 {
  padding: 0 20px;
}

.poster-side h2 {
  margin: 18px 0 6px;
  font-size: 22px;
}

.poster-side p {
  margin: 0;
  color: var(--muted);
}

.side-card h2 {
  margin: 20px 0 16px;
}

.side-list {
  display: grid;
  gap: 12px;
  padding: 0 16px 18px;
}

.side-list .compact-card {
  grid-template-columns: 110px 1fr;
  box-shadow: none;
  border: 1px solid var(--line);
}

.side-list .compact-card img {
  width: 110px;
  height: 72px;
}

.hidden-card {
  display: none !important;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-grid p {
  color: #9ca3af;
  line-height: 1.7;
}

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

.footer-grid a:hover {
  color: #fdba74;
}

.footer-brand .brand-mark {
  color: #fff;
  background: var(--orange);
}

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

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

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

  .featured-grid,
  .category-overview-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }

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

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

  .filter-row {
    grid-template-columns: 1fr 180px;
  }

  .sort-buttons {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .header-inner {
    height: 64px;
  }

  .brand-text small {
    display: none;
  }

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

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

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

  .category-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .footer-grid,
  .detail-sidebar {
    grid-template-columns: 1fr;
  }

  .soft-panel,
  .rank-panel {
    padding: 22px;
  }

  .poster-wrap {
    height: 240px;
  }

  .compact-card {
    grid-template-columns: 122px 1fr;
  }

  .compact-card img {
    width: 122px;
    height: 82px;
  }

  .category-overview-card {
    grid-template-columns: 56px 1fr;
  }

  .overview-posters {
    grid-column: 1 / -1;
  }

  .filter-row,
  .rank-page-row {
    grid-template-columns: 1fr;
  }

  .rank-score {
    text-align: left;
  }

  .large-search {
    flex-direction: column;
    align-items: stretch;
  }
}
