:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --slate: #111827;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

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

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

.nav-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706 48%, #111827);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.28);
}

.logo-text {
  font-size: 1.12rem;
}

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

.nav-link {
  position: relative;
  padding: 10px 14px;
  color: #334155;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-dark);
  background: #fffbeb;
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(340px, 31vw);
  padding: 6px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.top-search input,
.hero-search input,
.search-page-form input,
.local-filter {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.top-search input {
  padding: 6px 4px 6px 12px;
}

.top-search button,
.hero-search button,
.search-page-form button {
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.24);
}

.top-search button {
  padding: 8px 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-panel a {
  display: block;
  padding: 14px 20px;
  color: #334155;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
}

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

.hero-slider {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #0f172a;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-overlay,
.detail-bg,
.category-card-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(245, 158, 11, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.74) 42%, rgba(15, 23, 42, 0.22) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.84));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 46px;
  padding: 84px 0 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.38);
}

.hero-line {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-tags,
.tag-row,
.detail-meta,
.rank-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.rank-page-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: #78350f;
  background: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.26);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.category-tile:hover,
.category-card:hover,
.rank-page-row:hover {
  transform: translateY(-4px);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mini-poster,
.poster,
.detail-poster,
.rank-page-poster {
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
  background-image: linear-gradient(135deg, #1e293b, #334155);
}

.mini-poster {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
}

.hero-card-text strong,
.hero-card-text em {
  display: block;
}

.hero-card-text strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.hero-card-text em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: max(16px, calc((100vw - 1180px) / 2 - 64px));
}

.hero-next {
  right: max(16px, calc((100vw - 1180px) / 2 - 64px));
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.42);
}

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

.quick-search-panel {
  position: relative;
  z-index: 8;
  margin-top: -44px;
}

.quick-search-inner,
.story-panel,
.rank-panel,
.filter-bar,
.search-page-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.quick-search-inner h2,
.section-heading h2,
.story-panel h2,
.rank-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  letter-spacing: -0.04em;
}

.hero-search,
.search-page-form {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.hero-search input,
.search-page-form input {
  min-height: 50px;
  padding: 0 14px;
}

.hero-search button,
.search-page-form button {
  min-width: 112px;
  padding: 0 18px;
}

.page-stack {
  display: grid;
  gap: 38px;
  padding: 56px 0 74px;
}

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

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

.section-more,
.text-link {
  color: var(--amber-dark);
}

.section-more:hover,
.text-link:hover {
  color: #92400e;
}

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

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

.movie-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.poster::after,
.rank-page-poster::after,
.detail-poster::after,
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(15, 23, 42, 0.58));
}

.poster-glow {
  position: absolute;
  inset: auto 14px 14px 14px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  border-radius: 999px;
  opacity: 0.7;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border-radius: 999px;
  font-weight: 900;
}

.movie-info {
  padding: 16px 16px 18px;
}

.tag-row {
  margin-bottom: 10px;
}

.tag-row span {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 0.72rem;
}

.movie-info h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  line-height: 1.38;
}

.movie-info h3 a:hover,
.rank-title:hover,
.rank-page-info h2 a:hover,
.category-samples a:hover {
  color: var(--amber-dark);
}

.movie-meta {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.movie-info p:not(.movie-meta) {
  margin: 0 0 13px;
  color: #475569;
  font-size: 0.92rem;
}

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

.category-tile {
  position: relative;
  min-height: 168px;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.82));
}

.category-tile span,
.category-tile strong {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile span {
  margin-bottom: 44px;
  font-size: 1.25rem;
  font-weight: 950;
}

.category-tile strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
  align-items: start;
}

.split-main {
  padding: 0;
}

.rank-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.compact-heading h2 {
  font-size: 1.6rem;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
}

.rank-no {
  color: var(--amber-dark);
  font-weight: 950;
}

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

.rank-heat {
  color: var(--muted);
  font-size: 0.86rem;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 24%, rgba(245, 158, 11, 0.38), transparent 28%),
    linear-gradient(135deg, #0f172a, #334155);
}

.sub-hero .container {
  padding: 74px 0 66px;
}

.sub-hero h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
}

.sub-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.category-card {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease;
}

.category-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: end;
  padding: 30px;
  color: #fff;
}

.category-card-body h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.category-card-body p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.category-samples a {
  padding: 6px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.86rem;
}

.small-btn {
  width: fit-content;
  min-height: 42px;
}

.filter-section {
  padding-top: 34px;
}

.filter-bar {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
}

.local-filter {
  min-height: 50px;
  padding: 0 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  cursor: pointer;
  padding: 8px 14px;
  color: #475569;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: #78350f;
  background: #fef3c7;
  border-color: #fcd34d;
}

.detail-top {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

.detail-bg {
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.05);
}

.detail-head {
  position: relative;
  z-index: 1;
  padding: 38px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.detail-line {
  max-width: 850px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.detail-meta {
  margin: 20px 0 26px;
}

.player-section {
  padding: 42px 0 26px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #030712;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.play-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
}

.play-shade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.72));
}

.play-shade[hidden] {
  display: none;
}

.play-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  font-size: 2.4rem;
  box-shadow: 0 18px 48px rgba(245, 158, 11, 0.4);
}

.detail-body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  padding: 24px 0 10px;
}

.story-panel {
  padding: 28px;
}

.story-panel p {
  margin: 14px 0 0;
  color: #334155;
  font-size: 1.02rem;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
}

.movie-card-compact .poster {
  aspect-ratio: 3 / 4;
  border-radius: 0;
}

.movie-card-compact .movie-info {
  padding: 14px;
}

.movie-card-compact h3 {
  font-size: 1rem;
}

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

.rank-page-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.rank-page-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

.rank-page-info {
  min-width: 0;
}

.rank-page-number {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--amber-dark);
  font-weight: 950;
}

.rank-page-info h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.rank-page-info p {
  margin: 0 0 12px;
  color: #475569;
}

.search-section {
  padding-top: 34px;
}

.search-page-form {
  margin-bottom: 16px;
}

.search-status {
  min-height: 28px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.hidden-by-filter {
  display: none !important;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.footer-logo {
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-weight: 800;
}

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

@media (max-width: 1080px) {
  .top-search {
    display: none;
  }

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

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

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

  .rank-panel {
    position: static;
  }
}

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

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 74vh;
    padding-top: 64px;
  }

  .hero-card {
    max-width: 100%;
  }

  .hero-control {
    display: none;
  }

  .quick-search-inner {
    grid-template-columns: 1fr;
  }

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

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

  .detail-grid {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .detail-poster {
    border-radius: 20px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

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

  .nav-bar {
    min-height: 66px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-slider,
  .hero-content {
    min-height: 78vh;
  }

  .hero-card {
    grid-template-columns: 82px 1fr;
    border-radius: 20px;
  }

  .hero-actions,
  .hero-search,
  .search-page-form {
    flex-direction: column;
  }

  .hero-search button,
  .search-page-form button {
    min-height: 48px;
  }

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

  .movie-card-compact,
  .rank-page-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

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

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

  .detail-poster {
    width: min(220px, 70vw);
  }

  .player-section {
    padding-top: 24px;
  }

  .story-panel {
    padding: 22px;
  }
}
