:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #f59e0b;
  --accent-strong: #f97316;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --cyan: #22d3ee;
  --rose: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(34, 211, 238, 0.14), transparent 28rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(22px);
}

.site-header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.site-logo {
  flex: 0 0 auto;
  font-size: 20px;
}

.site-logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #111827;
  background: linear-gradient(135deg, var(--accent), #fde68a 52%, var(--cyan));
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.34);
}

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

.nav-link,
.mobile-link {
  color: var(--muted-strong);
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

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

.header-search,
.mobile-search,
.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.header-search input,
.mobile-search input,
.quick-search input,
.filter-panel input,
.filter-panel select {
  min-width: 0;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.header-search input {
  width: 190px;
  padding: 8px 6px 8px 12px;
}

.header-search button,
.mobile-search button,
.quick-search button,
.filter-panel button,
.primary-button,
.secondary-button,
.section-action {
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-search button,
.mobile-search button,
.quick-search button,
.filter-panel button,
.primary-button {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), #fde68a);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.24);
}

.header-search button {
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  width: var(--container);
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-link {
  display: block;
  padding: 12px 14px;
}

.mobile-search {
  margin-top: 12px;
}

.mobile-search input {
  flex: 1;
  padding: 10px 12px;
}

.mobile-search button {
  padding: 10px 16px;
  font-weight: 800;
}

.hero-slider {
  width: var(--container);
  min-height: 620px;
  margin: 28px auto 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

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

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 74px);
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

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

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

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info-card h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 8vw, 88px);
}

.hero-summary {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  color: #fed7aa;
  background: var(--accent-soft);
}

.hero-tags span,
.detail-tags span {
  padding: 7px 11px;
  font-size: 13px;
}

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

.primary-button,
.secondary-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 900;
}

.secondary-button,
.section-action {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.primary-button:hover,
.secondary-button:hover,
.section-action:hover,
.header-search button:hover,
.quick-search button:hover,
.filter-panel button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  justify-self: end;
  width: min(330px, 100%);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: rgba(2, 6, 23, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
  transform: rotate(2deg);
}

.hero-poster img,
.movie-poster img,
.detail-poster,
.category-cover-grid img,
.rank-item img,
.full-rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
}

.hero-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px);
  font-size: 32px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 9px;
  pointer-events: auto;
}

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

.hero-dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
}

.quick-panel,
.page-hero,
.content-section,
.detail-hero,
.detail-content,
.category-overview-grid,
.site-footer .footer-inner {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.quick-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.quick-panel h2,
.section-head h2,
.detail-content h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.quick-panel h2 {
  font-size: clamp(24px, 3vw, 38px);
}

.quick-panel p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.quick-search input {
  flex: 1;
  padding: 14px 14px;
}

.quick-search button {
  padding: 14px 20px;
  font-weight: 900;
}

.content-section {
  margin-top: 42px;
}

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

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.46);
  background: var(--bg-card-strong);
}

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(2, 6, 23, 0.94));
}

.movie-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92), transparent);
}

.movie-year,
.movie-type {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.movie-year {
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  color: #111827;
  background: var(--accent);
}

.movie-type {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

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

.movie-title {
  display: -webkit-box;
  min-height: 1.4em;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: #fde68a;
}

.movie-meta,
.movie-desc {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.movie-meta {
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 8px;
  font-size: 12px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-chips a {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.category-chips a:hover {
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.48);
  transform: translateY(-2px);
}

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

.rank-item {
  display: grid;
  grid-template-columns: auto 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.38);
}

.rank-number {
  grid-row: 1 / 3;
  width: 40px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.rank-item img {
  grid-row: 1 / 3;
  width: 62px;
  height: 86px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

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

.rank-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero {
  margin-top: 34px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.72));
  box-shadow: var(--shadow);
}

.compact-page-hero {
  min-height: 280px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 72px);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.48);
}

.category-cover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  height: 160px;
  background: rgba(255, 255, 255, 0.05);
}

.category-card-body {
  padding: 20px;
}

.category-card-body h2 {
  margin: 0;
  font-size: 24px;
}

.category-card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.full-rank-item {
  display: grid;
  grid-template-columns: 64px 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.full-rank-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.38);
}

.full-rank-number {
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.full-rank-item img {
  width: 76px;
  height: 108px;
  border-radius: 14px;
}

.full-rank-content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.full-rank-content strong {
  overflow: hidden;
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.full-rank-content em,
.full-rank-content small {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-section {
  margin-bottom: 54px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.62);
}

.filter-panel select option {
  color: #111827;
}

.filter-panel button {
  min-height: 45px;
  padding: 0 20px;
  font-weight: 900;
}

.search-status {
  margin: 18px 0;
  color: var(--muted-strong);
  font-weight: 800;
}

.detail-hero {
  margin-top: 28px;
}

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

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow);
}

.player-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  z-index: 1;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: center;
  color: var(--text);
  border: 0;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.18), transparent 19rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
}

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

.play-icon {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #fde68a);
  box-shadow: 0 20px 58px rgba(245, 158, 11, 0.36);
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 23px solid #111827;
}

.play-overlay strong {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.detail-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.detail-info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
}

.detail-info-card h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.detail-meta,
.detail-genre {
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.detail-tags {
  margin-top: 18px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.detail-content section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
}

.detail-content h2 {
  font-size: 26px;
}

.detail-content p {
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.92;
}

.related-grid .movie-desc,
.compact-card .tag-row {
  display: none;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  padding: 34px 0;
}

.footer-logo {
  font-size: 20px;
}

.footer-inner p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.footer-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
}

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

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

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

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

  .mobile-menu-button {
    display: block;
  }

  .site-header-inner {
    min-height: 66px;
  }

  .hero-slider {
    min-height: 720px;
    margin-top: 16px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 28px;
  }

  .hero-poster {
    justify-self: start;
    width: 190px;
    transform: rotate(0);
  }

  .quick-panel,
  .detail-layout,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .player-shell {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 22px, 1180px);
  }

  .site-logo span:last-child {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-slider {
    min-height: 680px;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 13vw, 54px);
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-controls {
    left: 18px;
    right: 18px;
  }

  .quick-panel,
  .page-hero,
  .detail-content section,
  .filter-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .movie-grid,
  .category-overview-grid,
  .rank-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .movie-poster {
    height: 100%;
    min-height: 178px;
  }

  .movie-title {
    font-size: 16px;
  }

  .movie-desc {
    -webkit-line-clamp: 3;
  }

  .full-rank-item {
    grid-template-columns: 44px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .full-rank-number {
    font-size: 20px;
  }

  .full-rank-item img {
    width: 64px;
    height: 92px;
  }
}
