:root {
  --bg: #f8fafc;
  --bg-soft: #eef2ff;
  --surface: #ffffff;
  --surface-deep: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.26);
  --brand: #f59e0b;
  --brand-deep: #d97706;
  --accent: #38bdf8;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 16px 38px rgba(15, 23, 42, 0.09);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 30vw),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 44%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.top-nav {
  color: #fff;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #0f172a;
  background: linear-gradient(135deg, #facc15, #f97316);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.34);
}

.brand-text {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.nav-link,
.mobile-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
}

.hero {
  position: relative;
  height: min(760px, calc(100vh - 68px));
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

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

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 80% 22%, rgba(245, 158, 11, 0.30), transparent 24%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.84) 36%, rgba(15, 23, 42, 0.38) 64%, rgba(2, 6, 23, 0.70) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 52px;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.detail-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.28);
  font-weight: 700;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

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

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

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

.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-dark {
  color: #fff;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: rotate(2.5deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: inherit;
  z-index: 2;
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 120px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  cursor: pointer;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 28px;
  background: #f59e0b;
}

.hero-thumbs {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-thumb.is-active {
  color: #fff;
  border-color: rgba(245, 158, 11, 0.56);
  background: rgba(245, 158, 11, 0.18);
}

.hero-thumb img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
}

.search-band,
.content-section,
.category-preview,
.archive-block {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.search-band {
  margin-top: -44px;
  position: relative;
  z-index: 5;
}

.search-band-inner,
.page-hero,
.category-preview,
.archive-block,
.side-panel,
.detail-article,
.detail-meta-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.search-band-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.search-band h2,
.page-hero h1,
.section-heading h2,
.category-preview h2,
.side-panel h2,
.detail-info h1,
.detail-article h2,
.detail-meta-card h2,
.archive-block h2 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.035em;
}

.search-band p,
.section-heading p,
.category-preview p,
.page-hero p,
.card-body p,
.detail-one-line,
.detail-article p,
.footer-inner p {
  color: var(--muted);
  line-height: 1.75;
}

.quick-search,
.inline-filter,
.search-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.34);
}

.quick-search input,
.inline-filter input,
.search-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  padding: 0 8px;
}

.quick-search button,
.inline-filter button,
.search-panel button {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #fb923c);
  font-weight: 900;
  cursor: pointer;
}

.content-section,
.category-preview,
.archive-block {
  padding: 68px 0 0;
}

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

.section-heading h2,
.category-preview h2,
.side-panel h2,
.archive-block h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  color: #b45309;
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #fb923c);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.card-body {
  padding: 16px;
}

.card-meta {
  margin-bottom: 8px;
  color: #d97706;
  font-size: 12px;
  font-weight: 800;
}

.card-body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
}

.card-body p {
  min-height: 72px;
  margin: 10px 0 0;
  font-size: 14px;
}

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

.chip-link {
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}

.category-section {
  padding-top: 74px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.category-tile img,
.category-tile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile-shade {
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.18));
}

.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 22px;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 26px;
  align-items: start;
}

.side-panel {
  padding: 24px;
}

.side-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.side-list a,
.rank-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-list a {
  grid-template-columns: 54px 1fr;
}

.side-list a:hover,
.rank-row:hover {
  background: #fff7ed;
  transform: translateX(2px);
}

.side-list img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  grid-row: span 2;
}

.side-list span {
  font-weight: 900;
}

.side-list small,
.rank-row small {
  color: var(--muted);
}

.page-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: clamp(38px, 8vw, 82px);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a, #1e293b 52%, #334155);
  color: #fff;
}

.page-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(36px, 6vw, 64px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.category-preview,
.archive-block {
  padding: 28px;
  margin-top: 28px;
}

.category-preview .movie-grid {
  margin-top: 22px;
}

.inline-filter,
.search-panel {
  max-width: 640px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.search-status {
  margin-bottom: 18px;
  color: #475569;
  font-weight: 900;
}

.rank-list-section {
  padding-top: 56px;
}

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

.rank-row {
  grid-template-columns: 44px 50px minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.rank-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #111827;
  background: #fde68a;
  font-weight: 900;
}

.rank-row img {
  width: 50px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

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

.archive-links a {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.archive-links strong,
.archive-links small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 24px 0;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a {
  color: #b45309;
  font-weight: 800;
}

.detail-main {
  width: 100%;
}

.detail-main .breadcrumb,
.detail-grid,
.player-section,
.detail-main .content-section {
  width: min(var(--max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.detail-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

.detail-backdrop,
.detail-backdrop img,
.detail-backdrop::after {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px) saturate(1.08);
  transform: scale(1.08);
  opacity: 0.55;
}

.detail-backdrop::after {
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(245, 158, 11, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.76), rgba(2, 6, 23, 0.94));
}

.detail-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: 570px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

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

.detail-info h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 68px);
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.12), rgba(2, 6, 23, 0.48));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #fb923c);
  font-size: 34px;
  box-shadow: 0 24px 50px rgba(245, 158, 11, 0.28);
}

.player-start strong {
  font-size: 18px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  padding-top: 36px;
}

.detail-article,
.detail-meta-card {
  padding: 28px;
}

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  font-size: 17px;
}

.detail-meta-card dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.detail-meta-card dt {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 900;
}

.detail-meta-card dd {
  margin: -8px 0 0;
  color: #0f172a;
  font-weight: 800;
}

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f172a;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

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

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

  .nav-toggle {
    display: block;
  }

  .mobile-panel.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-content {
    grid-template-columns: 1fr 270px;
  }

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

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

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    height: 62px;
  }

  .hero {
    height: auto;
    min-height: 740px;
  }

  .hero-content {
    min-height: 640px;
    padding: 38px 0 150px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-poster {
    display: none;
  }

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

  .hero-controls {
    bottom: 108px;
  }

  .hero-thumbs {
    bottom: 14px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-thumb:nth-child(n + 5) {
    display: none;
  }

  .search-band {
    margin-top: 18px;
  }

  .search-band-inner,
  .section-heading,
  .category-preview-head {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .quick-search,
  .inline-filter,
  .search-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .rank-grid,
  .compact-grid,
  .archive-grid,
  .category-grid,
  .rank-list,
  .archive-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-body h3 {
    font-size: 16px;
  }

  .card-body p {
    min-height: auto;
  }

  .card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 34px 22px;
  }

  .detail-content {
    min-height: 620px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .detail-poster {
    width: 210px;
  }

  .rank-row {
    grid-template-columns: 34px 46px minmax(0, 1fr);
  }

  .rank-row small {
    grid-column: 3;
  }
}

@media (max-width: 480px) {
  .mobile-panel.is-open,
  .movie-grid,
  .rank-grid,
  .compact-grid,
  .archive-grid,
  .category-grid,
  .archive-links {
    grid-template-columns: 1fr;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
  }

  .hero-thumb:nth-child(n + 4) {
    display: none;
  }

  .detail-poster {
    width: 170px;
  }
}
