:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #0d9488;
  --orange: #f97316;
  --yellow: #facc15;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 26px 70px rgba(15, 23, 42, 0.20);
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1280px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 21px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  border-radius: 12px;
  transition: all 0.2s ease;
}

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--blue);
  background: #eff6ff;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.site-search input,
.mobile-search input,
.big-search input,
.category-toolbar input {
  width: 230px;
  padding: 11px 14px;
  color: var(--gray-800);
  background: #ffffff;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.site-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.category-toolbar input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.site-search button,
.mobile-search button,
.big-search button {
  padding: 11px 15px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
  border-radius: 12px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-800);
  border-radius: 999px;
}

.mobile-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.mobile-link {
  padding: 12px 14px;
  font-weight: 700;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, var(--blue), var(--cyan), var(--teal));
}

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

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.24)),
    linear-gradient(120deg, rgba(37, 99, 235, 0.86), rgba(6, 182, 212, 0.72), rgba(13, 148, 136, 0.74));
}

.hero-content {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

.hero-tags,
.detail-meta,
.card-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.hero-tags span,
.detail-meta span {
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.10);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

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

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

.hero-dot.active {
  width: 32px;
  background: #ffffff;
}

.section-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.pull-up {
  position: relative;
  z-index: 10;
  margin-top: -86px;
  padding-top: 0;
}

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

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

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

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

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

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2,
.ranking-column h2,
.filter-panel h2,
.info-card h2,
.side-rank h2,
.detail-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading .section-kicker,
.page-hero .section-kicker,
.detail-intro .section-kicker {
  color: var(--blue);
}

.section-heading a,
.category-toolbar a {
  color: var(--blue);
  font-weight: 800;
}

.movie-card {
  min-width: 0;
}

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-link:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.poster-frame {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--gray-200);
}

.movie-card-large .poster-frame {
  height: 330px;
}

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

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

.poster-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.72));
  opacity: 0.85;
}

.card-badge,
.duration-badge,
.play-hover {
  position: absolute;
  z-index: 2;
}

.card-badge {
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.duration-badge {
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 10px;
  font-size: 12px;
}

.play-hover {
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: all 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 50px;
  margin: 0;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-link:hover .card-body h3 {
  color: var(--blue);
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta,
.rank-meta {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta span:not(:last-child)::after,
.rank-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--gray-300);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--blue-dark);
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.category-tile,
.category-overview-card,
.filter-panel,
.info-card,
.side-rank,
.detail-card,
.player-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.82));
}

.category-tile div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
}

.category-tile h3,
.category-overview-body h2 {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 900;
}

.category-tile p,
.category-overview-body p,
.filter-panel p,
.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

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

.rank-list.tall {
  max-height: 980px;
  overflow: auto;
  padding-right: 8px;
}

.rank-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.rank-number {
  width: 46px;
  flex-shrink: 0;
  color: var(--blue);
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.rank-link {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 14px;
  padding: 10px 12px 10px 0;
}

.rank-link img {
  width: 118px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-link h3 {
  margin: 0;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-link p {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 13px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.filter-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 28px;
}

.filter-panel p {
  color: var(--gray-600);
  margin-top: 10px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip-cloud a {
  padding: 8px 12px;
  color: var(--blue-dark);
  background: #eff6ff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.page-main {
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
}

.page-hero {
  padding: 70px 16px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(120deg, var(--blue), var(--cyan), var(--teal));
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.category-hero,
.search-hero {
  text-align: left;
}

.category-hero > *,
.search-hero > * {
  width: min(980px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-mini-list a {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.hero-mini-list span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.category-toolbar label {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  color: var(--gray-700);
  font-weight: 800;
}

.category-toolbar input {
  width: 100%;
}

.search-status {
  min-height: 24px;
  margin-bottom: 20px;
  color: var(--gray-600);
  font-weight: 700;
}

.big-search {
  display: flex;
  width: min(680px, 100%);
  gap: 12px;
  margin-top: 28px;
}

.big-search input {
  flex: 1;
  width: auto;
}

.category-overview-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-cover {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 220px;
}

.thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  background: var(--gray-200);
}

.thumb-stack img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
}

.category-overview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.category-overview-body p {
  color: var(--gray-600);
}

.category-overview-body span {
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
}

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

.ranking-column h2 {
  margin-bottom: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--gray-900);
}

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

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.05);
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.62), rgba(37, 99, 235, 0.38));
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 58px;
}

.breadcrumb,
.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.breadcrumb:hover {
  color: #ffffff;
}

.detail-intro {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-top: 28px;
}

.detail-poster {
  width: 270px;
  height: 380px;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.detail-intro h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-line {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.detail-tags span {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-intro .primary-button {
  margin-top: 28px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  padding: 12px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.86));
  border: 0;
  text-align: center;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  color: var(--blue);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  font-size: 30px;
}

.player-overlay span:last-child {
  max-width: 80%;
  font-size: 18px;
  font-weight: 850;
}

.player-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto minmax(100px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-shell:hover .player-controls,
.player-shell.is-playing .player-controls {
  opacity: 1;
}

.player-controls button {
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.player-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  cursor: pointer;
}

.player-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
}

#player-time {
  font-size: 13px;
  white-space: nowrap;
}

.detail-card,
.info-card,
.side-rank {
  padding: 26px;
}

.detail-card p {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: 16px;
}

.detail-side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 94px;
}

.info-card dl {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
}

.info-card div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.info-card dt {
  color: var(--gray-500);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: var(--gray-800);
}

.side-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-weight: 800;
}

.side-links span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.side-links em {
  color: var(--gray-500);
  font-style: normal;
  flex-shrink: 0;
}

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

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

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

  .hero-content,
  .split-layout,
  .detail-layout,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .detail-side {
    position: static;
  }

  .hero-poster {
    display: none;
  }
}

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

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

  .nav-shell {
    gap: 16px;
  }

  .hero-slider {
    height: 620px;
  }

  .hero-content {
    align-items: center;
    gap: 0;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 42px;
  }

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

  .category-cover,
  .detail-intro {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: 220px;
    height: 310px;
  }

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

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

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

@media (max-width: 560px) {
  .brand-text {
    font-size: 18px;
  }

  .section-shell {
    width: min(100% - 22px, 1280px);
    padding: 42px 0;
  }

  .hero-slider {
    height: 650px;
  }

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

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

  .poster-frame,
  .movie-card-large .poster-frame {
    height: 280px;
  }

  .rank-link {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rank-link img {
    width: 92px;
    height: 68px;
  }

  .player-controls {
    grid-template-columns: auto auto minmax(60px, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  #player-time {
    display: none;
  }
}
