/* 基础 */
img {
  height: auto;
}
.seo-crumb {
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 0 2px;
  opacity: 0.82;
  position: relative;
  z-index: 2;
}
.seo-crumb .seo-crumb-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.seo-crumb a {
  color: inherit;
  text-decoration: none;
}
.seo-crumb a:hover {
  text-decoration: underline;
}
.seo-crumb .sep {
  margin: 0 6px;
  opacity: 0.6;
}
.seo-crumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.seo-crumb li {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}
/* 模版样式 */

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
#root,
.site-header,
.detail-layout,
.detail-main,
.movie-grid,
.filter-panel {
  min-width: 0;
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.detail-main h1,
.movie-card h3 {
  letter-spacing: normal;
}

.movie-card,
.movie-card:hover {
  transform: none;
}

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

.tag-row,
.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

form {
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 1280px) {
  .movie-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1279px) {
  .movie-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .header-search {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .detail-layout,
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .detail-main h1 {
    font-size: 28px;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.25;
  }
}

@media (max-width: 640px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .detail-main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-hero,
  .movie-card {
    border-radius: 16px;
  }
}

:root {
  --bg: #00090c;
  --panel: rgba(3, 28, 31, 0.74);
  --panel-strong: #031c1f;
  --line: rgba(183, 154, 149, 0.18);
  --text: #f7fafb;
  --muted: #b79a95;
  --soft: #c6d8da;
  --accent: #00ccd7;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 9, 12, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(0, 204, 215, 0.14), transparent 34rem),
    radial-gradient(circle at top right, rgba(229, 110, 134, 0.1), transparent 30rem), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    PingFang SC,
    Microsoft YaHei,
    sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #00090cd1;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: calc(100% - 32px);
  width: min(1280px, 100% - 32px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #031c20;
  background: linear-gradient(135deg, #4edeff, #00ccd7);
  border-radius: 14px;
  box-shadow: #00ccd752 0 14px 35px;
}

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

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: var(--soft);
  border-radius: 999px;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: #00ccd724;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select,
.home-search-block input {
  color: #ffffff;
  background: #031c1feb;
  border: 1px solid rgba(183, 154, 149, 0.22);
  border-radius: 14px;
  outline: none;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}

.header-search input {
  width: 248px;
  height: 42px;
  padding: 0 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.home-search-block input:focus {
  border-color: #00ccd7b8;
  box-shadow: #00ccd71f 0 0 0 4px;
}

.header-search button,
.mobile-search button,
.home-search-block button {
  height: 42px;
  padding: 0 18px;
  color: #031c20;
  font-weight: 800;
  background: var(--accent);
  border: 0px;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

.header-search button:hover,
.mobile-search button:hover,
.home-search-block button:hover,
.primary-button:hover {
  background: #4edeff;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: #031c1ff5;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: calc(100% - 32px);
  width: min(1280px, 100% - 32px);
  margin: 0 auto 16px;
  padding: 16px;
  background: #031c1ff5;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search {
  margin-left: 0;
}

.mobile-search input {
  flex: 1 1 0%;
  height: 42px;
  padding: 0 14px;
}

main {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  height: calc(-72px + 100vh);
  height: min(760px, -72px + 100vh);
  height: min(760px, -72px + 100svh);
  min-height: 560px;
  overflow: hidden;
  background: #00090c;
}

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s;
}

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

.hero-slide img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background:
    linear-gradient(90deg, #00090cfa, #00090cb3, #00090c3d), linear-gradient(0deg, rgb(0, 9, 12), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  width: min(1280px, 100% - 32px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1280px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content [data-hero-h1] {
  width: 100%;
  width: min(720px, 100%);
  margin: 0 0 22px;
  font-size: 42px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p:not(.eyebrow) {
  width: 100%;
  width: min(720px, 100%);
  margin: 0 0 28px;
  color: var(--soft);
  font-size: 17px;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.7;
}

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

.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #c6edff;
  background: #00ccd71f;
  border: 1px solid rgba(0, 204, 215, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

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

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

.primary-button {
  color: #031c20;
  background: var(--accent);
  box-shadow: #00ccd742 0 18px 38px;
}

.primary-button.wide {
  width: 100%;
}

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

.ghost-button:hover {
  background: #ffffff24;
  transform: translateY(-1px);
}

.home-search-block,
.content-section,
.split-section,
.page-hero,
.detail-layout {
  width: calc(100% - 32px);
  width: min(1280px, 100% - 32px);
  margin: 0 auto;
}

.home-search-block {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #031c1fe0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.home-search-block h2,
.section-head h2,
.page-hero h1,
.detail-card h1,
.detail-card h2,
.poster-panel h2,
.page-hero [data-hero-h1] {
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.home-search-block form {
  display: flex;
  gap: 10px;
}

.home-search-block input {
  flex: 1 1 0%;
  height: 52px;
  padding: 0 16px;
}

.home-search-block button {
  height: 52px;
}

.content-section,
.split-section {
  padding: 74px 0 0;
}

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

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

.section-head a {
  color: var(--accent);
  font-weight: 800;
}

.section-head.small {
  margin-bottom: 16px;
}

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

.category-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: #00090c38 0 20px 45px;
}

.category-card img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.06);
  transition:
    transform 0.4s,
    opacity 0.4s;
}

.category-card:hover img {
  opacity: 0.72;
  transform: scale(1.12);
}

.category-card span {
  position: absolute;
  top: auto;
  right: 18px;
  bottom: 18px;
  left: 18px;
  inset: auto 18px 18px;
  z-index: 2;
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 21px;
}

.category-card em {
  color: var(--soft);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

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

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

.movie-card {
  overflow: hidden;
  background: #031c1fad;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: #00090c38 0 16px 42px;
  transition:
    transform 0.22s,
    border 0.22s,
    background 0.22s;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #00ccd770;
  background: #031c1feb;
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #031c20, #142d31);
}

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

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

.poster-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 9, 12, 0.76), transparent 55%);
}

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #031c20;
  background: #4edeffeb;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition:
    opacity 0.25s,
    transform 0.25s;
}

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

.year-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: #ffffff;
  background: #00090cb8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
}

.card-body {
  display: block;
  padding: 15px;
}

.card-body strong,
.rank-item strong,
.ranking-title strong {
  display: block;
  color: #ffffff;
  font-weight: 800;
}

.card-body strong {
  min-height: 44px;
  line-height: 1.38;
}

.card-body em,
.rank-item em,
.ranking-title em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
}

.card-body em {
  min-height: 42px;
  margin-top: 8px;
  font-size: 13px;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  color: #896a65;
  font-size: 12px;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  min-height: 23px;
  padding: 3px 7px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 26px;
}

.ranking-panel,
.detail-card,
.poster-panel,
.filter-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.ranking-panel {
  align-self: start;
  position: -webkit-sticky;
  position: sticky;
  top: 92px;
  padding: 24px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #031c1fb8;
  border: 1px solid rgba(183, 154, 149, 0.13);
  border-radius: 16px;
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #031c20;
  font-weight: 900;
  background: linear-gradient(135deg, #4edeff, #00ccd7);
  border-radius: 12px;
}

.rank-item .rank-number {
  width: 34px;
  height: 34px;
}

.rank-item em {
  margin-top: 4px;
  font-size: 12px;
  -webkit-line-clamp: 1;
}

.rank-item b {
  color: var(--accent);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: center;
  padding: 70px 0 0;
}

.page-hero.slim {
  display: block;
  padding-top: 78px;
}

.page-hero h1,
.page-hero [data-hero-h1] {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: 38px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
}

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

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
}

.ranking-table {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 64px minmax(0px, 1fr) 120px 90px 70px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #031c1fb8;
  border: 1px solid rgba(183, 154, 149, 0.12);
  border-radius: 16px;
}

.ranking-row .rank-number {
  width: 44px;
  height: 36px;
}

.ranking-title em {
  margin-top: 4px;
  font-size: 13px;
  -webkit-line-clamp: 1;
}

.ranking-row > span:not(.rank-number),
.ranking-row b {
  color: var(--soft);
}

.ranking-row b {
  color: var(--accent);
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 340px;
  gap: 28px;
  padding-top: 38px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

@supports not (aspect-ratio: 1 / 1) {
  .movie-video::before {
    content: '';
    float: left;
    padding-top: 56.25%;
  }
  .movie-video::after {
    content: '';
    display: block;
    clear: both;
  }
}

.player-start {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  background: radial-gradient(circle, #00090c2e, #00090ca8);
  border: 0px;
  cursor: pointer;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}

.player-start span {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #031c20;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: #00ccd759 0 18px 45px;
}

.player-start strong {
  font-size: 18px;
}

.detail-card {
  margin-top: 24px;
  padding: 24px;
  padding: clamp(24px, 4vw, 36px);
}

.detail-card h1 {
  margin-bottom: 16px;
  font-size: 32px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
}

.lead-text {
  color: var(--soft);
  font-size: 19px;
  line-height: 1.75;
}

.detail-meta {
  margin: 22px 0 30px;
}

.detail-card h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 26px;
}

.detail-card p:not(.eyebrow):not(.lead-text) {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.9;
}

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

.detail-aside {
  padding-top: 40px;
}

.poster-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 92px;
  padding: 18px;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 2 / 3;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 18px;
}

.poster-panel h2 {
  margin-top: 18px;
  font-size: 24px;
}

.poster-panel p {
  color: var(--muted);
}

.related-section {
  padding-top: 52px;
}

.site-footer {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  background: linear-gradient(#031c1f99, #00090cf5);
}

.footer-grid,
.footer-bottom {
  width: calc(100% - 32px);
  width: min(1280px, 100% - 32px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 38px;
  padding: 44px 0;
}

.footer-grid p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: #896a65;
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(5, minmax(0px, 1fr));
  }
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
  .split-section,
  .page-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .ranking-panel,
  .poster-panel {
    position: static;
  }
  .detail-aside {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }
  .mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .hero-carousel {
    min-height: 620px;
  }
  .home-search-block {
    grid-template-columns: 1fr;
  }
  .home-search-block form {
    flex-direction: column;
  }
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .ranking-row {
    grid-template-columns: 54px minmax(0px, 1fr) 70px;
  }
  .ranking-row > span:nth-of-type(3),
  .ranking-row > span:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .home-search-block,
  .content-section,
  .split-section,
  .page-hero,
  .detail-layout,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 24px);
    width: min(100% - 24px, 1280px);
  }
  .brand-text {
    font-size: 17px;
  }
  .hero-carousel {
    height: 640px;
    min-height: 640px;
  }
  .hero-content h1,
  .hero-content [data-hero-h1] {
    font-size: 44px;
  }
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 14px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .card-body {
    padding: 12px;
  }
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .primary-button,
  .ghost-button {
    width: 100%;
  }
}

.mirror-raw {
  display: contents;
}

.hero-content h1,
.hero-content [data-hero-h1] {
  letter-spacing: normal;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow) {
  letter-spacing: normal;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.auth-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  box-sizing: border-box;
}

.auth-form {
  width: 100%;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  color: CanvasText;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.auth-form h1 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: normal;
}

.auth-form label,
.auth-form__field {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: inherit;
}

.auth-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #7a2e2f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.auth-form__foot,
.auth-form p {
  margin: 0;
  font-size: 14px;
}

.rank-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.player-shell,
.detail-layout,
.detail-main {
  min-width: 0;
  max-width: 100%;
}

.player-shell video,
video {
  max-width: 100%;
}

@media (max-width: 860px) {
  .page-hero h1,
  .page-hero [data-hero-h1] {
    font-size: 1.7rem;
  }
  main {
    overflow-x: clip;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.auth-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  box-sizing: border-box;
}

.auth-form {
  width: 100%;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  color: #151d1e;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.auth-form input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccd7d9;
  border-radius: 10px;
  font-size: 16px;
  background: #ffffff;
  color: #151d1e;
}

.auth-form button,
.auth-form input[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #7a2e2f;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .auth-page {
    padding: 24px 14px;
    align-items: flex-start;
  }
}

.site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner,
.desktop-nav,
.header-search,
.brand,
.movie-grid,
.compact-grid,
.detail-layout,
.detail-main,
.detail-aside,
.player-shell,
.filter-panel,
.ranking-row,
.rank-item,
.footer-grid,
.home-search-block,
.page-hero {
  min-width: 0;
  max-width: 100%;
}

.hero-content h1,
.page-hero h1,
.detail-card h1,
.detail-card h2,
.section-head h2,
.home-search-block h2,
.poster-panel h2,
.hero-content [data-hero-h1],
.page-hero [data-hero-h1] {
  letter-spacing: normal;
  line-height: 1.25;
}

.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.player-shell .movie-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  aspect-ratio: auto;
  background: #000000;
}

.player-start {
  z-index: 2;
}

.ranking-title,
.rank-item strong,
.card-body strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .desktop-nav,
  .header-search {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
    margin-left: auto;
    flex: 0 0 auto;
  }
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none !important;
  }
  .mobile-panel {
    display: none !important;
  }
  .desktop-nav,
  .header-search {
    display: flex !important;
  }
}

@media (max-width: 720px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .brand-text {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-search-block form,
  .hero-actions {
    width: 100%;
  }
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

.card-poster img,
.hero-slide img,
.category-card img {
  -webkit-object-fit: cover;
}

.card-body em,
.rank-item em {
  line-clamp: 2;
}

.rank-item em {
  line-clamp: 1;
}

@supports not (aspect-ratio: 1 / 1) {
  .card-poster {
    height: 0;
    padding-top: 150%;
  }
  .card-poster img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    height: 100%;
  }
  .player-shell {
    height: 0;
    padding-top: 56.25%;
  }
}

.back-top,
button[aria-label="回到顶部"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.back-top,
[aria-label="回到顶部"] {
  display: none !important;
}

/* 站点样式 */
header nav a,
header nav li {
  white-space: nowrap;
}

[data-nav-toggle] {
  flex-direction: column;
}

[data-nav-toggle] > span {
  width: 22px;
  max-width: 100%;
  flex: none;
}

a.lx-chip {
  text-decoration: none;
}

:root {
  --lx-accent: #00ccd7;
  --lx-text: #e3eef0;
  --lx-muted: rgba(227, 238, 240, 0.62);
  --lx-line: rgba(255, 255, 255, 0.12);
  --lx-soft: rgba(255, 255, 255, 0.06);
  --lx-fx: #00ccd7;
}

html,
body {
  overflow-x: hidden;
}

#bg-fx {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

#root {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
  background: #000000;
}

.lx-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 16px 18px;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  background: var(--lx-soft);
}

.lx-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lx-label {
  flex: 0 0 auto;
  min-width: 40px;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lx-muted);
}

.lx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.lx-chip {
  cursor: pointer;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}

.lx-chip.is-active {
  background: var(--lx-accent) !important;
  border-color: var(--lx-accent) !important;
  color: #ffffff !important;
}

.lx-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 34px;
}

.lx-pager:empty {
  display: none;
}

.lx-sform {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 18px 0 8px;
}

.lx-sform input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: var(--lx-soft);
  color: inherit;
  font-size: 15px;
  outline: none;
}

.lx-sform input:focus {
  border-color: var(--lx-accent);
}

.lx-sform button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--lx-accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.lx-note {
  margin: 6px 0 4px;
  font-size: 13px;
  color: var(--lx-muted);
}

main > .lx-sform,
main > .lx-note {
  width: calc(100% - 32px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

main > .lx-note {
  text-align: center;
}

main > .lx-list {
  margin-left: auto;
  margin-right: auto;
}

.lx-map {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 40px;
}

.lx-map-group {
  padding: 16px 18px;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  background: var(--lx-soft);
}

.lx-map-title {
  margin: 0 0 12px;
  font-size: 17px;
}

.lx-404 {
  padding: 30px 0 10px;
  text-align: center;
}

.lx-404-code {
  margin: 0;
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  color: var(--lx-accent);
}

.lx-404-text {
  margin: 12px 0 16px;
  color: var(--lx-muted);
}

.lx-404-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 26px;
}

.lx-404-actions a {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--lx-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.lx-404-actions a + a {
  background: transparent;
  border: 1px solid var(--lx-line);
  color: inherit;
}

.lx-split {
  display: grid;
  gap: 24px;
  align-items: start;
}

.lx-split > * {
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.lx-authbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  box-sizing: border-box;
  width: 1000px;
  max-width: calc(100% - 32px);
  margin: 34px auto;
  position: relative;
}

main.lx-authmain {
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box;
}

.lx-authbox > * {
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0;
}

.lx-art {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--lx-line);
  background: var(--lx-soft);
  overflow: hidden;
  box-sizing: border-box;
}

.lx-art-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lx-accent);
  font-weight: 700;
}

.lx-art-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--lx-text);
}

.lx-art-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--lx-muted);
  line-height: 1.7;
}

.lx-art-grid {
  display: grid;
  gap: 10px;
}

.lx-art-strip .lx-art-grid {
  grid-template-columns: repeat(3, 1fr);
}

.lx-art-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  height: 170px;
  color: #ffffff;
  text-decoration: none;
}

.lx-art-strip .lx-art-item {
  height: 220px;
}

.lx-art-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.lx-art-item:hover img {
  transform: scale(1.05);
}

.lx-art-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .lx-split.lx-side-right > .lx-filter {
    order: -1;
  }
  .lx-authbox {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .lx-authbox .lx-art {
    order: 2;
    padding: 18px;
  }
  .lx-art-title {
    font-size: 20px;
  }
  .lx-art-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .lx-art-item,
  .lx-art-strip .lx-art-item {
    height: 130px;
  }
  .lx-row {
    flex-direction: column;
    gap: 6px;
  }
  .lx-label {
    padding-top: 0;
  }
  .lx-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .lx-chips .lx-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .lx-split {
    grid-template-columns: 1fr !important;
  }
  .lx-sform {
    flex-direction: row;
  }
}

body.lx-site-1.lx-cat .lx-split.lx-side {
  grid-template-columns: minmax(0, 1fr) 250px;
  max-width: 1240px;
  width: 100%;
  margin: 22px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-list {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-list > * {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-filter {
  position: -webkit-sticky;
  position: sticky;
  top: 84px;
  margin: 0;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-row {
  flex-direction: column;
  gap: 8px;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-label {
  padding-top: 0;
}

body.lx-site-1.lx-cat .lx-split.lx-side .lx-list {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.lx-site-1.lx-home main > section.content-section .movie-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
  body.lx-site-1.lx-home main > section.content-section .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.lx-site-1.lx-home .split-section .compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  body.lx-site-1.lx-home .split-section .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.lx-site-1.lx-home .hero-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.lx-site-1.lx-home .hero-content .hero-tags,
body.lx-site-1.lx-home .hero-content .hero-actions,
body.lx-site-1.lx-home .hero-content .tag-row {
  justify-content: center;
}

@media (min-width: 901px) {
  body.lx-site-1.lx-home .split-section {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  body.lx-site-1.lx-home .split-section > .ranking-panel {
    order: -1;
  }
}

@media (min-width: 901px) {
  body.lx-site-1.lx-play .detail-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  body.lx-site-1.lx-play .detail-layout > .detail-aside {
    order: -1;
  }
}

body.lx-site-1.lx-home .hero-carousel,
body.lx-site-1.lx-home .hero-slide {
  min-height: 0;
  height: 560px;
}

@media (max-width: 900px) {
  body.lx-site-1.lx-home .hero-carousel,
  body.lx-site-1.lx-home .hero-slide {
    height: 480px;
  }
}
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

main.lx-authmain {
  grid-template-columns: minmax(0, 1fr);
}

video {
  object-fit: contain !important;
  background-color: #000000;
}

.lx-eps {
  margin: 14px 0 6px;
  padding: 12px 14px;
  border: 1px solid rgba(127, 127, 127, 0.28);
  border-radius: 10px;
}

.lx-eps-t {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.lx-eps-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  max-height: 168px;
  overflow-y: auto;
}

.lx-ep {
  padding: 6px 4px;
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 6px;
  background: rgba(127, 127, 127, 0.1);
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.lx-ep.on,
.lx-ep:hover {
  border-color: currentColor;
  font-weight: 700;
}

@media (min-width: 1025px) {
  body.lx-site-1 .detail-layout > .detail-aside {
    position: -webkit-sticky;
    position: sticky;
    top: 89px;
    align-self: start;
  }
}

body.lx-site-1 .movie-grid > a.movie-card .card-poster img {
  object-fit: cover;
}

body.lx-site-1 .movie-grid > a.movie-card .card-body strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.lx-site-1 .movie-grid > a.movie-card .card-poster {
  overflow: hidden;
}

body.lx-site-1 .category-grid > a.category-card img {
  object-fit: cover;
}

@media (hover: hover) {
  body.lx-site-1 .movie-grid > a.movie-card {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      opacity 0.5s ease,
      border-color 0.25s ease,
      background-color 0.25s ease;
  }

  body.lx-site-1 .movie-grid > a.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.45);
  }

  body.lx-site-1 .movie-grid > a.movie-card .card-poster img {
    transition: transform 0.45s ease;
  }

  body.lx-site-1 .movie-grid > a.movie-card:hover .card-poster img {
    transform: scale(1.05);
  }

  body.lx-site-1 .category-grid > a.category-card {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      opacity 0.5s ease,
      border-color 0.25s ease,
      background-color 0.25s ease;
  }

  body.lx-site-1 .category-grid > a.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.45);
  }
}

/* 页面元素样式（原 style 属性） */

/* 浏览器没开脚本时显示的首页文字与链接（开了脚本不会出现） */
.lx-noscript {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px;
  line-height: 1.75;
}

.lx-noscript ul {
  margin: 8px 0 20px;
  padding-left: 20px;
}
