/* Static movie site styles rebuilt from the uploaded slate/emerald visual system. */
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #162033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-800), var(--slate-950), var(--slate-800));
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.28);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.32);
}

.brand-text,
.footer-brand {
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--emerald-400), #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav > a,
.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #e2e8f0;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown:hover .nav-dropdown-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 190px;
  padding: 8px;
  border-radius: 16px;
  background: var(--slate-800);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #e2e8f0;
}

.nav-dropdown-menu a:hover {
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-100);
}

.header-search {
  display: flex;
  align-items: center;
  min-width: 270px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(51, 65, 85, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: none;
}

.header-search input {
  min-width: 0;
  padding: 11px 14px;
  color: var(--white);
  background: transparent;
}

.header-search button,
.mobile-search button,
.large-search button,
.filter-panel button {
  border: 0;
  color: var(--white);
  background: var(--emerald-500);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button {
  align-self: stretch;
  padding: 0 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.filter-panel button:hover,
.btn-primary:hover {
  background: var(--emerald-600);
}

.mobile-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.mobile-panel {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 14px 16px 18px;
  background: var(--slate-900);
}

.mobile-search {
  display: flex;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--slate-800);
}

.mobile-search input {
  padding: 12px 14px;
  color: var(--white);
  background: transparent;
}

.mobile-search button {
  padding: 0 16px;
}

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

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 40%, rgba(16, 185, 129, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
  color: var(--white);
}

.hero-category,
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--white);
  background: var(--emerald-500);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-content h1 {
  margin: 20px 0 16px;
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.83rem;
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
}

.btn-primary {
  color: var(--white);
  background: var(--emerald-500);
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.26);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(2, 6, 23, 0.48);
  font-size: 2rem;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.76);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

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

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--slate-100);
}

.section-gradient {
  background: linear-gradient(180deg, var(--slate-50), var(--white));
}

.section-soft {
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa);
}

.intro-strip {
  padding: 36px 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.intro-grid h2 {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.eyebrow {
  display: inline-flex;
  color: var(--emerald-600);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-link {
  color: var(--emerald-600);
  font-weight: 800;
}

.large-search {
  display: flex;
  min-height: 58px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.large-search input {
  padding: 0 18px;
  color: var(--slate-900);
  background: transparent;
}

.large-search button {
  min-width: 120px;
  padding: 0 18px;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

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

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 62%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
  opacity: 1;
}

.duration-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--slate-500);
  font-size: 0.82rem;
}

.card-meta a {
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--emerald-700);
  background: var(--emerald-50);
  font-weight: 800;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 1.05rem;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--emerald-600);
}

.card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row span {
  color: var(--slate-600);
  background: var(--slate-100);
  backdrop-filter: none;
}

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 310px;
  gap: 18px;
  padding: 6px 2px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

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

.category-tile {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-tile strong {
  font-size: 1.35rem;
}

.category-tile span {
  color: var(--emerald-100);
  font-weight: 800;
}

.category-tile small {
  color: var(--slate-300);
}

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

.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ranking-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-500), var(--teal-500));
  font-weight: 900;
}

.ranking-item img {
  width: 86px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
}

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

.ranking-info small {
  color: var(--slate-500);
}

.page-hero {
  padding: 86px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(16, 185, 129, 0.24), transparent 30%),
    linear-gradient(120deg, var(--slate-900), var(--slate-950));
}

.compact-page-hero,
.search-hero,
.ranking-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(20, 184, 166, 0.26), transparent 32%),
    linear-gradient(120deg, var(--emerald-700), var(--slate-900));
}

.page-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 1.08rem;
}

.filter-bar-section {
  position: sticky;
  top: 64px;
  z-index: 40;
  padding: 16px 0;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.68);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 190px 120px 120px;
  gap: 12px;
  align-items: end;
}

.filter-panel label span {
  display: block;
  margin-bottom: 5px;
  color: var(--slate-600);
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  height: 44px;
  border-radius: 12px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
}

.filter-panel button {
  height: 44px;
  border-radius: 12px;
}

.filter-panel output {
  color: var(--slate-600);
  font-weight: 800;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.category-cover {
  background: var(--slate-800);
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

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

.category-overview-body strong {
  color: var(--emerald-700);
}

.category-overview-body ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.category-overview-body a:hover {
  color: var(--emerald-600);
}

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

.ranking-column {
  display: grid;
  gap: 14px;
}

.ranking-side {
  position: sticky;
  top: 92px;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-side h2 {
  margin: 0 0 18px;
}

.result-count {
  color: var(--slate-600);
  font-weight: 800;
}

.player-hero {
  padding: 34px 0 42px;
  background: linear-gradient(180deg, var(--slate-950), var(--slate-800));
}

.player-wrap {
  max-width: 1120px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate-300);
  font-size: 0.92rem;
}

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

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  background: var(--slate-950);
}

.video-start {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 185, 129, 0.9);
  font-size: 2rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.32);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-start:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-frame.is-playing .video-start {
  opacity: 0;
  pointer-events: none;
}

.detail-section {
  background: var(--slate-50);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.detail-card,
.sidebar-card,
.more-related {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-card h2,
.more-related h2,
.sidebar-card h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.detail-card p {
  color: var(--slate-700);
}

.lead-text {
  padding: 16px 18px;
  border-left: 4px solid var(--emerald-500);
  border-radius: 14px;
  background: var(--emerald-50);
  font-size: 1.05rem;
  font-weight: 700;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--slate-600);
}

.detail-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--slate-100);
}

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

.info-list div {
  border-radius: 14px;
  padding: 12px;
  background: var(--slate-50);
}

.info-list dt {
  color: var(--slate-500);
  font-size: 0.83rem;
  font-weight: 800;
}

.info-list dd {
  margin: 2px 0 0;
  color: var(--slate-900);
  font-weight: 800;
}

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

.detail-tags a {
  color: var(--emerald-700);
  background: var(--emerald-50);
  backdrop-filter: none;
}

.detail-sidebar {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

.related-mini {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.related-mini:last-child {
  border-bottom: 0;
}

.related-mini img {
  width: 112px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.related-mini strong,
.related-mini small {
  display: block;
}

.related-mini strong {
  line-height: 1.35;
}

.related-mini small {
  margin-top: 4px;
  color: var(--slate-500);
}

.more-related {
  margin-top: 24px;
}

.site-footer {
  color: #cbd5e1;
  background: var(--slate-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.4fr) minmax(220px, 0.5fr);
  gap: 28px;
  padding: 46px 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 520px;
  color: #94a3b8;
}

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

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

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

.empty-results {
  grid-column: 1 / -1;
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  color: var(--slate-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .hero-carousel {
    height: 80vh;
  }
}

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

  .mobile-toggle {
    display: inline-flex;
  }

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

  .filter-panel,
  .intro-grid,
  .ranking-page-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-side,
  .sticky-card,
  .filter-bar-section {
    position: static;
  }
}

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

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-arrow {
    display: none;
  }

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

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .large-search {
    flex-direction: column;
  }

  .large-search input {
    min-height: 54px;
  }

  .large-search button {
    min-height: 50px;
  }

  .three-grid,
  .four-grid,
  .category-tile-grid,
  .ranking-grid,
  .category-overview-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

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

  .category-cover {
    aspect-ratio: 16 / 9;
  }

  .filter-panel {
    gap: 10px;
  }

  .detail-card,
  .sidebar-card,
  .more-related {
    padding: 20px;
  }

  .related-mini {
    grid-template-columns: 94px 1fr;
  }

  .related-mini img {
    width: 94px;
    height: 60px;
  }

  .video-start {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }
}
