:root {
  --primary-50: #fef6ee;
  --primary-100: #fde9d7;
  --primary-500: #f0641f;
  --primary-600: #e14915;
  --primary-700: #bb3513;
  --secondary-100: #ccfbef;
  --secondary-500: #14b895;
  --secondary-700: #0a7763;
  --accent-50: #fefce8;
  --neutral-50: #fafaf9;
  --neutral-100: #f5f5f4;
  --neutral-200: #e7e5e4;
  --neutral-500: #78716c;
  --neutral-600: #57534e;
  --neutral-700: #44403c;
  --neutral-900: #1c1917;
  --white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(28, 25, 23, 0.08);
  --shadow-medium: 0 18px 38px rgba(28, 25, 23, 0.12);
  --shadow-hard: 0 24px 60px rgba(28, 25, 23, 0.18);
  --radius-lg: 16px;
  --radius-xl: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-500);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(240, 100, 31, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

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

.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--neutral-600);
}

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

.nav-link {
  font-weight: 700;
  color: var(--neutral-700);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  background: var(--white);
}

.header-search input,
.mobile-search input,
.big-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 11px 14px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: var(--white);
  background: var(--primary-500);
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--primary-600);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--neutral-100);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--neutral-900);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--neutral-200);
  background: var(--white);
}

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

.mobile-panel-inner {
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.mobile-cat-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-cat,
.chip-row button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--neutral-700);
  background: var(--neutral-100);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
  background: var(--neutral-900);
}

.hero-track {
  position: absolute;
  inset: 0;
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(240, 100, 31, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(28, 25, 23, 0.92) 0%, rgba(28, 25, 23, 0.7) 42%, rgba(28, 25, 23, 0.24) 100%),
    linear-gradient(180deg, rgba(28, 25, 23, 0.05) 0%, rgba(28, 25, 23, 0.92) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  top: 50%;
  width: min(620px, calc(100% - 48px));
  transform: translateY(-50%);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker span,
.pill,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-kicker span {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

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

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

.primary-btn {
  color: var(--white);
  background: var(--primary-500);
  box-shadow: 0 14px 34px rgba(240, 100, 31, 0.28);
}

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

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.light-btn {
  color: var(--primary-700);
  background: var(--white);
}

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

.hero-arrow {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

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

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

.hero-dot.is-active {
  width: 30px;
  background: var(--primary-500);
}

.hero-thumbs {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  transform: translateX(-50%);
}

.hero-thumb {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: var(--white);
  transition: border 0.2s ease, background 0.2s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: rgba(240, 100, 31, 0.9);
  background: rgba(240, 100, 31, 0.22);
}

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

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

.search-band {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
}

.search-band-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  align-items: center;
  gap: 26px;
  padding: 30px 0;
}

.search-band h2,
.gradient-panel h2,
.section-heading h2,
.category-overview-card h2,
.content-panel h2 {
  margin: 0;
  line-height: 1.2;
}

.search-band p,
.section-heading p,
.gradient-panel p {
  margin: 8px 0 0;
  color: var(--neutral-600);
}

.big-search input {
  width: 100%;
  padding: 14px 16px;
}

.big-search button {
  padding: 14px 22px;
  white-space: nowrap;
}

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

.soft-bg {
  background: var(--white);
}

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

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

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

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

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

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

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

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

.movie-card,
.category-overview-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.card-poster {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--neutral-200);
}

.wide-poster {
  aspect-ratio: 16 / 9;
}

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

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

.type-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  top: 10px;
  left: 10px;
  color: var(--white);
  background: var(--primary-500);
}

.year-badge {
  top: 14px;
  right: 14px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 14px;
  bottom: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
}

.rank-badge.small {
  left: auto;
  right: 10px;
  bottom: 10px;
}

.card-body {
  padding: 16px;
}

.large-card-body {
  padding: 22px;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill.primary {
  color: var(--primary-700);
  background: var(--primary-100);
}

.pill.secondary {
  color: var(--secondary-700);
  background: var(--secondary-100);
}

.score {
  margin-left: auto;
  color: var(--primary-600);
  font-weight: 900;
}

.mini-meta {
  margin-bottom: 6px;
  color: var(--neutral-500);
  font-size: 13px;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--neutral-900);
  line-height: 1.3;
}

.movie-card:hover h3 {
  color: var(--primary-600);
}

.movie-card p {
  margin: 0;
  color: var(--neutral-600);
  font-size: 14px;
}

.line-two,
.line-three {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.line-two {
  -webkit-line-clamp: 2;
}

.line-three {
  margin-top: 10px !important;
  color: var(--neutral-500) !important;
  -webkit-line-clamp: 3;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--neutral-700);
  background: var(--neutral-100);
  font-size: 12px;
}

.category-tile {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.05), rgba(28, 25, 23, 0.88));
}

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0 16px;
}

.category-tile span {
  margin-top: 98px;
  font-size: 20px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 13px;
}

.gradient-panel-wrap {
  padding-top: 0;
}

.gradient-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 28px;
  padding: 44px;
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
  box-shadow: var(--shadow-soft);
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 0%, rgba(240, 100, 31, 0.42), transparent 36%),
    linear-gradient(135deg, var(--neutral-900), #2c211e 52%, #3f261b);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-100);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.overview-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px;
  background: var(--neutral-100);
}

.overview-covers img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.overview-body {
  padding: 22px;
}

.overview-body p {
  margin: 8px 0 18px;
  color: var(--neutral-600);
}

.overview-body span {
  color: var(--primary-600);
  font-weight: 900;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 160px 160px;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 12px 14px;
  outline: 0;
  background: var(--neutral-50);
}

.catalog-grid {
  align-items: stretch;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 68px minmax(0, 1fr) 90px 120px 70px;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  padding: 10px 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-medium);
}

.rank-row strong {
  color: var(--primary-600);
  font-size: 22px;
}

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

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

.rank-row span:not(.rank-title) {
  color: var(--neutral-600);
}

.rank-row em {
  color: var(--primary-600);
  font-style: normal;
  font-weight: 900;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--neutral-900);
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.55;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(28, 25, 23, 0.68)),
    radial-gradient(circle at 80% 20%, rgba(240, 100, 31, 0.32), transparent 40%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: end;
}

.detail-poster {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

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

.detail-info h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 760px;
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.detail-tags a {
  color: var(--primary-700);
  background: var(--primary-100);
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.detail-meta-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.detail-meta-list span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.detail-meta-list strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
}

.player-section {
  padding-bottom: 22px;
  background: var(--white);
}

.video-player {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-hard);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  text-align: center;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--primary-500);
  box-shadow: 0 18px 42px rgba(240, 100, 31, 0.38);
  font-size: 28px;
  text-indent: 4px;
}

.player-overlay strong {
  max-width: 90%;
  font-size: clamp(20px, 4vw, 34px);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-panel {
  border-radius: 22px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.content-panel p {
  margin: 14px 0 0;
  color: var(--neutral-700);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--neutral-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0;
}

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

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none;
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

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

  .search-band-inner,
  .gradient-panel {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand-text em {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    top: 42%;
  }

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

  .hero-controls {
    bottom: 180px;
  }

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

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

  .hero-thumb {
    grid-template-columns: 64px 1fr;
  }

  .hero-thumb img {
    width: 64px;
    height: 48px;
  }

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

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

  .movie-grid,
  .featured-grid,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 58px minmax(0, 1fr) 50px;
    gap: 10px;
  }

  .rank-row span:not(.rank-title):not(:last-child) {
    display: none;
  }

  .rank-row img {
    width: 58px;
    height: 48px;
  }

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

  .detail-poster {
    max-width: 240px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}
