:root {
  --color-primary: #0f766e;
  --color-primary-soft: #ccfbf1;
  --color-secondary: #d97706;
  --color-secondary-dark: #b45309;
  --color-accent: #f97316;
  --color-stone-50: #fafaf9;
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
  --shadow-card: 0 14px 34px rgba(41, 37, 36, 0.1);
  --shadow-soft: 0 8px 22px rgba(41, 37, 36, 0.08);
  --radius-large: 24px;
  --radius-card: 18px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-stone-800);
  background: var(--color-stone-50);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-main {
  min-height: 70vh;
}

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

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.section-white {
  background: #ffffff;
}

.section-stone {
  background: var(--color-stone-100);
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 6px 0 0;
  color: var(--color-stone-800);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.section-heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--color-stone-600);
}

.section-more {
  flex: 0 0 auto;
  color: var(--color-secondary);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 229, 228, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--color-stone-900);
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-accent)
  );
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.25);
}

.site-logo-text {
  white-space: nowrap;
  font-size: 20px;
}

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

.site-nav a,
.mobile-nav-panel a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-stone-600);
  font-weight: 750;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  color: var(--color-secondary-dark);
  background: #fffbeb;
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: min(330px, 28vw);
  margin-left: 4px;
  background: var(--color-stone-100);
  border: 1px solid var(--color-stone-200);
  border-radius: 999px;
}

.header-search input {
  min-width: 0;
  width: 100%;
  padding: 10px 0 10px 16px;
  color: var(--color-stone-800);
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search button {
  padding: 10px 16px;
  color: #ffffff;
  background: var(--color-secondary);
  font-weight: 800;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: var(--color-stone-100);
  border-radius: 14px;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-stone-800);
  border-radius: 2px;
}

.mobile-nav-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

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

.mobile-nav-panel nav,
.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-category-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-stone-200);
}

.hero-slider {
  position: relative;
  height: 62vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--color-stone-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

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

.hero-slide.poster-missing {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(249, 115, 22, 0.36),
      transparent 32%
    ),
    radial-gradient(
      circle at 78% 14%,
      rgba(20, 184, 166, 0.32),
      transparent 28%
    ),
    linear-gradient(135deg, #1c1917 0%, #44403c 45%, #92400e 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.12) 0%,
    rgba(28, 25, 23, 0.62) 48%,
    rgba(28, 25, 23, 0.95) 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0 64px;
}

.hero-copy {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  color: #ffffff;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-labels span,
.movie-tags span,
.detail-tag,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-labels span {
  color: #fffbeb;
  background: rgba(217, 119, 6, 0.82);
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #e7e5e4;
  font-size: clamp(17px, 2.2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--color-secondary);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.btn-light {
  color: var(--color-stone-800);
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 180ms ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow-prev {
  left: 22px;
}

.hero-arrow-next {
  right: 22px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition:
    width 200ms ease,
    background 200ms ease;
}

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

.hero-search-panel {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: -34px auto 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 229, 228, 0.82);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.hero-search-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.hero-search-panel input,
.hero-search-panel select,
.filter-bar input,
.filter-bar select,
.search-large input,
.search-large select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--color-stone-800);
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 14px;
  outline: 0;
}

.hero-search-panel button,
.search-large button {
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 14px;
  font-weight: 900;
}

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

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

.movie-card,
.category-card,
.feature-card,
.detail-panel,
.search-panel,
.player-panel {
  background: #ffffff;
  border: 1px solid rgba(231, 229, 228, 0.82);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.movie-card {
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.movie-card:hover {
  border-color: rgba(217, 119, 6, 0.32);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

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

.poster-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 28% 18%,
      rgba(249, 115, 22, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #292524, #57534e);
}

.poster-frame-poster {
  aspect-ratio: 2 / 3;
}

.poster-frame-cover {
  aspect-ratio: 16 / 10;
}

.poster-frame-wide {
  width: 132px;
  aspect-ratio: 16 / 10;
  flex: 0 0 132px;
  border-radius: 12px;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.movie-card:hover .poster-frame img,
.rank-item:hover .poster-frame img,
.feature-card:hover .poster-frame img,
.related-card:hover .poster-frame img {
  transform: scale(1.06);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.08em;
}

.poster-missing .poster-fallback,
.poster-frame.poster-missing .poster-fallback {
  display: flex;
}

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

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-stone-500);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  min-height: 2.7em;
  margin: 8px 0 8px;
  color: var(--color-stone-800);
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card p {
  min-height: 3.9em;
  margin: 0 0 12px;
  color: var(--color-stone-600);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.movie-tags span,
.detail-tag,
.filter-chip {
  color: #92400e;
  background: #fef3c7;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  background: rgba(217, 119, 6, 0.12);
  border-radius: 999px;
}

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

.category-card h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 22px;
}

.category-card p {
  position: relative;
  margin: 0 0 16px;
  color: var(--color-stone-600);
}

.category-card strong {
  position: relative;
  color: var(--color-primary);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.feature-card {
  overflow: hidden;
}

.feature-card a {
  display: grid;
  grid-template-columns: 44% 1fr;
  height: 100%;
}

.feature-copy {
  padding: 24px;
}

.feature-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.feature-copy p {
  color: var(--color-stone-600);
}

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

.rank-list.single-column {
  grid-template-columns: 1fr;
}

.rank-item {
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.rank-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.rank-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-accent)
  );
  border-radius: 14px;
  font-weight: 900;
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-copy strong,
.rank-copy em,
.rank-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  color: var(--color-stone-500);
  font-size: 13px;
  font-style: normal;
}

.rank-copy small {
  color: var(--color-stone-600);
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(249, 115, 22, 0.35),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(20, 184, 166, 0.32),
      transparent 26%
    ),
    linear-gradient(135deg, #1c1917 0%, #44403c 48%, #92400e 100%);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #e7e5e4;
  font-size: 18px;
}

.filter-bar,
.search-large {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(140px, 0.5fr));
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.filter-summary {
  margin: -8px 0 24px;
  color: var(--color-stone-600);
  font-weight: 800;
}

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

.player-panel {
  overflow: hidden;
  margin-bottom: 22px;
  background: #000000;
  border-color: #000000;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

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

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.player-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.player-start {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(217, 119, 6, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.3);
  font-size: 34px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(28, 25, 23, 0.78);
  border-radius: 12px;
  text-align: center;
}

.player-message.show {
  display: block;
}

.detail-panel {
  padding: 26px;
  margin-bottom: 22px;
}

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

.detail-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.detail-panel h2,
.detail-sidebar h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.detail-meta span {
  padding: 8px 11px;
  color: var(--color-stone-700);
  background: var(--color-stone-100);
  border-radius: 12px;
  font-weight: 750;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-text {
  color: var(--color-stone-700);
  white-space: pre-wrap;
}

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

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

.related-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 16px;
}

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

.related-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;
}

.related-card p {
  margin: 0;
  color: var(--color-stone-500);
  font-size: 13px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-stone-600);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--color-secondary);
  font-weight: 800;
}

.search-panel {
  padding: 24px;
}

.search-large {
  grid-template-columns: minmax(0, 1fr) 160px 160px auto;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.empty-state {
  padding: 48px 20px;
  color: var(--color-stone-600);
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--color-stone-200);
  border-radius: 22px;
}

.site-footer {
  padding: 44px 0;
  color: #d6d3d1;
  background: var(--color-stone-900);
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 24px;
}

.footer-logo {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  max-width: 520px;
  margin: 10px 0 0;
  color: #a8a29e;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: #e7e5e4;
}

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

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: none;
  color: #ffffff;
  background: var(--color-secondary);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-size: 20px;
  font-weight: 900;
}

.back-to-top.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

  .hero-slider {
    min-height: 560px;
    height: 72vh;
  }

  .hero-search-panel form,
  .filter-bar,
  .search-large {
    grid-template-columns: 1fr;
  }

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

  .category-strip,
  .rank-list,
  .feature-layout,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 48px 0;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-block;
    margin-top: 12px;
  }

  .site-logo-text {
    font-size: 18px;
  }

  .hero-slider {
    min-height: 600px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

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

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .movie-grid.compact-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-strip {
    grid-template-columns: 1fr;
  }

  .feature-card a {
    grid-template-columns: 1fr;
  }

  .rank-item a {
    align-items: flex-start;
  }

  .poster-frame-wide {
    width: 104px;
    flex-basis: 104px;
  }

  .related-card a {
    grid-template-columns: 104px 1fr;
  }

  .detail-panel {
    padding: 20px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .movie-grid.compact-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

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

  .site-logo-mark {
    width: 38px;
    height: 38px;
  }
}
