:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --blue-500: #3b82f6;
  --green-500: #22c55e;
  --rose-500: #f43f5e;
  --cyan-500: #06b6d4;
  --violet-500: #8b5cf6;
  --emerald-500: #10b981;
  --red-500: #ef4444;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.16);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.25);
}

.nav-shell {
  width: min(1280px, 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: 800;
  letter-spacing: 0.03em;
}

.brand {
  font-size: 21px;
  background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(245, 158, 11, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--amber-400);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--slate-800);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.86);
}

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

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

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.18), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.56) 52%, rgba(0, 0, 0, 0.22) 100%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 128px;
  width: min(1200px, calc(100% - 40px));
  transform: translateX(-50%);
  color: #fff;
}

.hero-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--amber-500);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.32);
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 740px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.65;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

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

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.32);
}

.btn-ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: var(--slate-900);
}

.btn.full {
  width: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transition: background 180ms ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.hero-search-panel {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: min(1160px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.search-box {
  display: flex;
  min-height: 54px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 16px;
  color: var(--gray-900);
  background: transparent;
}

.search-box button {
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: var(--slate-900);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-shortcuts a {
  padding: 9px 13px;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.content-section,
.category-preview,
.detail-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.section-kicker {
  display: inline-block;
  width: 6px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--amber-500);
  border-radius: 999px;
}

.section-heading h2 {
  display: inline-block;
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-link {
  flex: 0 0 auto;
  color: var(--amber-600);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slate-900);
}

.movie-card:not(.movie-card-horizontal) .poster-link {
  aspect-ratio: 3 / 4;
}

.poster-link img,
.rank-cover img,
.poster-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

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

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.duration-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  font-size: 12px;
}

.card-body {
  padding: 16px;
}

.card-title,
.rank-title {
  display: block;
  margin-bottom: 10px;
  color: var(--gray-900);
  font-weight: 850;
  line-height: 1.35;
}

.card-title {
  font-size: 17px;
}

.card-title:hover,
.rank-title:hover {
  color: var(--amber-600);
}

.card-body p,
.rank-item p {
  margin: 0 0 12px;
  color: var(--gray-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

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

.tag-row span {
  color: var(--blue-500);
  background: #eff6ff;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-card-large .poster-link {
  aspect-ratio: 16 / 9;
}

.movie-card-large .card-title {
  font-size: 24px;
}

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

.horizontal-list {
  display: grid;
  gap: 16px;
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.movie-card-horizontal .poster-link {
  aspect-ratio: auto;
  height: 100%;
  min-height: 150px;
}

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

.category-tile {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.category-tile::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -38% auto;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  z-index: -1;
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

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

.accent-amber { background: linear-gradient(135deg, var(--amber-500), var(--orange-500)); }
.accent-blue { background: linear-gradient(135deg, #2563eb, var(--blue-500)); }
.accent-green { background: linear-gradient(135deg, #16a34a, var(--green-500)); }
.accent-rose { background: linear-gradient(135deg, #e11d48, var(--rose-500)); }
.accent-orange { background: linear-gradient(135deg, #ea580c, var(--orange-500)); }
.accent-cyan { background: linear-gradient(135deg, #0891b2, var(--cyan-500)); }
.accent-slate { background: linear-gradient(135deg, var(--slate-800), var(--slate-700)); }
.accent-violet { background: linear-gradient(135deg, #7c3aed, var(--violet-500)); }
.accent-emerald { background: linear-gradient(135deg, #059669, var(--emerald-500)); }
.accent-red { background: linear-gradient(135deg, #dc2626, var(--red-500)); }

.two-column-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 56px 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 14px;
  font-weight: 900;
}

.rank-cover {
  width: 112px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate-900);
}

.compact .rank-item {
  grid-template-columns: 48px 92px 1fr;
}

.compact .rank-cover {
  width: 92px;
  height: 62px;
}

.mini-card-list {
  display: grid;
  gap: 10px;
}

.mini-card-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.mini-card-list span {
  font-weight: 800;
}

.mini-card-list em {
  flex: 0 0 auto;
  color: var(--gray-500);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.page-hero > div {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--amber-400);
  font-weight: 800;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
}

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

.slim-hero > div {
  padding: 64px 0;
}

.channel-shortcuts {
  max-width: 920px;
  margin-top: 26px;
}

.category-preview {
  margin-bottom: 46px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.category-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.category-preview h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-preview p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.search-inline,
.sort-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-weight: 800;
}

.search-inline {
  flex: 1;
}

.search-inline input,
.sort-inline select {
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  outline: none;
  color: var(--gray-900);
  background: #fff;
}

.search-inline input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
}

.sort-inline select {
  padding: 0 12px;
}

.player-wrap {
  background: #000;
}

.player-shell {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28));
  cursor: pointer;
  text-align: center;
}

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

.big-play {
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: #fff;
  background: rgba(245, 158, 11, 0.9);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.play-layer span {
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 34px 0 64px;
}

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

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

.detail-card,
.side-card {
  margin-bottom: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.hero-detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.detail-lead {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags span {
  color: var(--blue-500);
  background: #eff6ff;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 8px 12px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.long-text {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
  text-align: justify;
  white-space: pre-line;
}

.poster-side img {
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--slate-900);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.info-list span {
  color: var(--gray-500);
}

.info-list strong {
  text-align: right;
}

.side-links {
  display: grid;
  gap: 10px;
}

.side-links a {
  padding: 12px 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 12px;
  font-weight: 800;
}

.side-links a:hover {
  color: #fff;
  background: var(--amber-500);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 36px;
}

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

.site-footer p {
  max-width: 520px;
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

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

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

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

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

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

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

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    bottom: 188px;
  }

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

  .feature-grid,
  .two-column-section,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

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

  .detail-side {
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .content-section,
  .category-preview,
  .detail-layout,
  .footer-shell,
  .page-hero > div {
    width: min(100% - 24px, 1280px);
  }

  .brand {
    font-size: 18px;
  }

  .hero-control {
    display: none;
  }

  .hero-content {
    bottom: 210px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .hero-search-panel {
    bottom: 22px;
  }

  .search-box {
    min-height: 50px;
  }

  .hero-shortcuts {
    max-height: 84px;
    overflow: hidden;
  }

  .section-heading,
  .toolbar,
  .category-preview-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .movie-card-horizontal {
    grid-template-columns: 1fr;
  }

  .rank-item,
  .compact .rank-item {
    grid-template-columns: 42px 82px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .rank-cover,
  .compact .rank-cover {
    width: 82px;
    height: 58px;
  }

  .rank-num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .player-shell {
    aspect-ratio: 16 / 10;
  }
}
