/* 基础 */
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,
.site-header-inner,
.detail-main,
.movie-grid {
  min-width: 0;
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

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

.site-header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.site-header-inner > .header-search {
  flex: 0 0 256px;
  width: 256px;
  min-width: 256px;
  max-width: 256px;
}

.detail-main h1 {
  letter-spacing: normal;
}

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

.hero-actions,
.breadcrumb {
  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;
  }
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 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 {
    border-radius: 16px;
  }
}

*,
:before,
:after {
  box-sizing: border-box;
  border-width: 0px;
  border-style: solid;
  border-color: #efe4e2;
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    Segoe UI Symbol,
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0px;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    Liberation Mono,
    Courier New,
    monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0px;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

input:where([type="button"]) {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

input:where([type="reset"]) {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

input:where([type="submit"]) {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #ae9f9b;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  opacity: 1;
  color: #ae9f9b;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #ae9f9b;
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

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

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.absolute {
  position: absolute;
}

:root {
  color-scheme: light;
  --primary: #914333;
  --primary-dark: #6d3127;
  --primary-soft: #faece9;
  --secondary: #995253;
  --ink: #2a1c19;
  --muted: #806b5c;
  --line: #efe4e2;
  --soft: #fbf6f4;
  --shadow: 0 18px 45px rgba(37, 18, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Microsoft YaHei,
    sans-serif;
  background: var(--soft);
  color: var(--ink);
}

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

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

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffffff0;
  border-bottom: 1px solid rgba(239, 228, 226, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  max-width: 1280px;
  height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: #91433340 0 12px 28px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0px;
}

.nav-link {
  color: #503a2d;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-search,
.mobile-search,
.hero-search-panel form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search-panel input,
.page-filter input {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  min-height: 42px;
  padding: 0 14px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search-panel input:focus,
.page-filter input:focus {
  border-color: var(--primary);
  box-shadow: #9143331f 0 0 0 4px;
}

.header-search button,
.mobile-search button,
.hero-search-panel button {
  min-height: 42px;
  border: 0px;
  border-radius: 12px;
  padding: 0 16px;
  color: #ffffff;
  font-weight: 700;
  background: var(--primary);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0px;
  border-radius: 12px;
  background: var(--primary-soft);
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: #503a2d;
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #6d3127, #914333 46%, #995253);
  overflow: hidden;
}

.hero-shell {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 620px;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: minmax(0px, 0.92fr) minmax(420px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.hero-intro h1 {
  margin: 0;
  font-size: 38px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-intro p {
  max-width: 660px;
  margin: 22px 0 0;
  color: #ffffffe0;
  font-size: 18px;
  line-height: 1.9;
}

.hero-search-panel {
  margin-top: 30px;
  max-width: 580px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: #ffffff1f;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-search-panel input {
  flex: 1 1 0%;
  min-width: 0px;
}

.hero-search-panel button {
  background: #ffffff;
  color: var(--primary-dark);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-quick-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffffeb;
  background: #ffffff1a;
}

.hero-carousel {
  position: relative;
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 230px;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: #ffffff21;
  box-shadow: #00000047 0 34px 80px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.45s,
    transform 0.45s;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #ffffff29;
  font-size: 13px;
  font-weight: 750;
}

.hero-copy h2 {
  margin: 18px 0 0;
  font-size: 26px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 16px 0 0;
  color: #ffffffdb;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: #ffffff29;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-weight: 800;
}

.button.primary {
  color: var(--primary-dark);
  background: #ffffff;
}

.button.ghost {
  color: #ffffff;
  background: #ffffff29;
}

.hero-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: #00000057 0 22px 52px;
}

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

.hero-poster img,
.detail-poster-card img,
.category-card img,
.ranking-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  background: linear-gradient(135deg, #fbe3d7, #e9f4ff);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.soft-section {
  background: linear-gradient(90deg, #fff7f5, #faece9);
}

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

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

.section-heading p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-more {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 1;
  background: linear-gradient(#00000014, #000000b8);
}

.category-card img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 0;
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 24px;
  font-weight: 850;
}

.category-card p {
  margin: 10px 0 0;
  color: #ffffffdb;
  line-height: 1.7;
}

.ranking-preview {
  padding-top: 40px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.ranking-item a {
  display: grid;
  grid-template-columns: 48px 74px minmax(0px, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(239, 228, 226, 0.88);
  border-radius: 18px;
  background: #ffffff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.ranking-item a:hover {
  transform: translateY(-3px);
  box-shadow: #25120e1a 0 12px 28px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.ranking-item img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}

.rank-copy {
  min-width: 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
}

.compact-hero {
  padding: 70px 24px;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 34px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #ffffffdb;
  line-height: 1.85;
}

.page-filter {
  margin-top: 24px;
}

.page-filter input {
  width: 100%;
  width: min(100%, 560px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffffffd1;
  font-size: 14px;
}

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

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

.detail-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0.26;
  -webkit-filter: blur(6px);
  filter: blur(6px);
  transform: scale(1.04);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.detail-hero:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: linear-gradient(90deg, #3f2a26eb, #914333b8);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 270px minmax(0px, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster-card {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: #00000057 0 28px 68px;
}

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

.detail-copy h1 {
  max-width: 860px;
  margin: 18px 0 0;
  font-size: 36px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.detail-one-line {
  max-width: 780px;
  color: #ffffffe6;
  font-size: 19px;
  line-height: 1.85;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #ffffff24;
  font-weight: 750;
}

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

.detail-copy .button {
  margin-top: 26px;
}

.detail-main {
  padding-top: 56px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0px, 1.32fr) minmax(340px, 0.68fr);
  gap: 30px;
  align-items: start;
}

.cinema-player {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.cinema-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.cinema-player-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(#0000002e, #000000bd);
}

.play-ring {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fffffff5;
  box-shadow: #0000003d 0 18px 50px;
}

.play-triangle {
  width: 0px;
  height: 0px;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--primary);
}

.cinema-player-cover strong {
  max-width: 80%;
  font-size: 22px;
  text-align: center;
}

.detail-article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: #ffffff;
  box-shadow: #25120e0f 0 12px 28px;
}

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-article h2 + p {
  margin-top: 0;
}

.detail-article p {
  color: #503a2d;
  line-height: 1.9;
}

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

.empty-state {
  display: none;
  margin: 30px 0 0;
  padding: 24px;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.site-footer {
  color: #dcd2d0;
  background: #25130f;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: minmax(0px, 1.6fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 560px;
  color: #b29c97;
  line-height: 1.85;
}

.footer-logo .brand-copy strong {
  color: #ffffff;
}

.footer-column h2 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 18px;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 10px;
}

.footer-column a {
  color: #b29c97;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
  color: #b29c97;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }
  .header-search {
    display: none;
  }
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-carousel {
    min-height: 430px;
  }
}

@media (max-width: 900px) {
  .movie-grid,
  .category-grid,
  .ranking-list,
  .ranking-page .ranking-list {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .player-layout,
  .footer-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-poster-card {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    height: 68px;
    padding: 0 16px;
  }
  .brand-copy strong {
    font-size: 18px;
  }
  .brand-copy small {
    display: none;
  }
  .hero-shell,
  .content-section,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-shell {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 54px;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .hero-poster {
    width: 100%;
    width: min(100%, 230px);
  }
  .hero-carousel {
    min-height: 640px;
  }
  .movie-grid,
  .category-grid,
  .ranking-list,
  .ranking-page .ranking-list {
    grid-template-columns: 1fr;
  }
  .ranking-item a {
    grid-template-columns: 42px 68px minmax(0px, 1fr);
  }
  .section-heading,
  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }
  .compact-hero {
    padding: 48px 16px;
  }
}

.mirror-raw {
  display: contents;
}

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

h1,
h2,
h3,
.detail-copy h1,
.page-hero h1,
.brand {
  letter-spacing: normal !important;
  line-height: 1.25;
}

header,
.site-header,
.detail-hero,
.movie-grid,
.category-grid {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.hero-poster:hover img {
  transform: none;
}

@media (max-width: 1023px) {
  header .desktop-nav {
    display: none !important;
  }
  header .mobile-nav.is-open,
  header ul.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: auto !important;
    max-height: none !important;
    visibility: visible;
    position: relative;
    z-index: 80;
    width: 100%;
    gap: 8px;
    padding: 8px 16px 12px;
    overflow: visible;
  }
  header .mobile-menu-button,
  [data-nav-button] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  header .header-search {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
  header .header-search input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .detail-hero {
    grid-template-columns: 1fr !important;
  }
}

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

@media (min-width: 1024px) {
  header .mobile-menu-button,
  [data-nav-button] {
    display: none !important;
  }
  header .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  header .site-header-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0 !important;
    height: auto !important;
    row-gap: 8px;
  }
  header .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
  }
}

@media (max-width: 1023px) {
  header .site-header-inner {
    -webkit-column-gap: 8px !important;
    column-gap: 8px !important;
  }
  header .brand {
    order: 1;
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0;
  }
  header .mobile-menu-button {
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }
  header .header-search {
    order: 3;
    flex: 1 0 100% !important;
  }
  header ul.is-open a,
  header .mobile-nav.is-open a {
    display: block;
    min-height: 36px;
    line-height: 36px;
  }
}

.hero-poster,
.detail-poster-card,
.cinema-player {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.hero-poster img,
.detail-poster-card img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.ranking-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}

.cinema-player {
  aspect-ratio: 16/9;
}

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

.cinema-player video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain;
  background: #000000;
}

.hero-intro h1,
.page-hero h1,
.detail-copy h1 {
  font-size: 30px !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.25 !important;
  max-width: 100%;
}

.movie-grid,
.category-grid,
.ranking-list,
.player-layout,
.detail-grid,
.hero-shell,
.footer-inner {
  min-width: 0;
}

.category-card,
.ranking-item {
  min-width: 0;
}

.movie-grid {
  gap: 18px;
}

.movie-grid > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f2e8e5;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(37, 18, 14, 0.07);
}

.movie-grid > a img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.movie-grid > a .rank-number {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  width: auto;
  height: auto;
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 13px;
}

.movie-grid > a .rank-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 14px 16px;
}

.movie-grid > a .rank-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.4;
}

.movie-grid > a .rank-copy em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #806b5c;
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
}

.page-hero h1 {
  letter-spacing: normal;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  box-sizing: border-box;
}

.auth-page {
  display: flex;
  justify-content: center;
  padding: 32px 16px 64px;
}

.auth-form {
  width: 100%;
  width: min(420px, 100%);
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-sizing: border-box;
}

.auth-form h1 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: normal;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.auth-form button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
}

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

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header-inner {
    gap: 10px !important;
    padding: 0 16px !important;
  }
  .brand-copy small {
    display: none;
  }
  .brand-copy strong {
    font-size: 18px;
  }
  .desktop-nav {
    gap: 10px !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-link {
    font-size: 14px;
  }
  .site-header-inner > .header-search {
    flex: 0 1 228px !important;
    width: 228px !important;
    min-width: 0 !important;
    max-width: 228px !important;
  }
  .header-search input {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
  }
}

@media (max-width: 760px) {
  .hero-carousel {
    min-height: 0;
  }
  .hero-slide {
    position: relative;
    min-height: 0;
  }
  .hero-slide:not(.active) {
    display: none;
  }
  .hero-shell {
    min-height: 0;
  }
}

.header-search,
.hero-search-panel form {
  align-items: center;
}

.header-search button,
.hero-search-panel button {
  white-space: nowrap;
  -webkit-writing-mode: horizontal-tb;
  writing-mode: horizontal-tb;
  flex: 0 0 auto;
  min-width: 72px;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
}

.header-search input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

@media (max-width: 760px) {
  .header-search button {
    min-width: 64px;
    padding: 0 12px;
  }
}

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

input,
select,
textarea,
button {
  font-size: 16px;
}

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

.site-header-inner,
.content-section,
.footer-inner {
  padding-left: 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: 24px;
  padding-right: max(24px, env(safe-area-inset-right));
}

.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: #914333;
  --lx-text: #2f201d;
  --lx-muted: rgba(47, 32, 29, 0.6);
  --lx-line: rgba(37, 18, 14, 0.1);
  --lx-soft: rgba(37, 18, 14, 0.04);
  --lx-fx: #914333;
}

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-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-stack .lx-art-grid {
  grid-template-columns: 1fr;
}

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

.lx-art-stack .lx-art-item {
  height: 96px;
}

.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;
}

.lx-art-stack .lx-art-item img {
  width: 72px;
  float: left;
  margin-right: 12px;
  border-radius: 10px;
}

.lx-art-stack .lx-art-item {
  display: flex;
  align-items: center;
  background: var(--lx-soft);
  color: var(--lx-text);
}

.lx-art-stack .lx-art-item span {
  position: static;
  padding: 0;
  background: none;
  font-size: 15px;
}

@media (max-width: 760px) {
  .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 {
    height: 130px;
  }
  .lx-art-stack .lx-art-item {
    height: auto;
    flex-direction: column;
  }
  .lx-art-stack .lx-art-item img {
    width: 100%;
    height: 110px;
    float: none;
    margin: 0;
  }
  .lx-art-stack .lx-art-item span {
    padding: 6px;
    font-size: 12px;
  }
  .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-sform {
    flex-direction: row;
  }
}

body.lx-site-12.lx-cat main > .lx-filter {
  max-width: 1200px;
  width: auto;
  margin: 20px auto 4px;
  box-sizing: border-box;
}

body.lx-site-12.lx-cat main > .lx-list {
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 1240px) {
  body.lx-site-12.lx-cat main > .lx-filter {
    margin-left: 16px;
    margin-right: 16px;
  }
}

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

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

@media (min-width: 901px) {
  body.lx-site-12.lx-home .hero-slide > .hero-poster {
    order: -1;
  }
}
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-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;
}

body.lx-site-12 .ranking-list > li.ranking-item a img {
  object-fit: cover;
}

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

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

@media (hover: hover) {
  body.lx-site-12 .ranking-list > li.ranking-item {
    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-12 .ranking-list > li.ranking-item:hover {
    transform: translateY(-2px);
  }

  body.lx-site-12 .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-12 .category-grid > a.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.45);
  }

  body.lx-site-12 .movie-grid > a {
    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-12 .movie-grid > a:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.45);
  }
}

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

/* crowd: home hero - poster/copy columns match the swapped order; no sideways overflow on phones */
@media (min-width: 901px) {
  body.lx-site-12.lx-home .hero-slide {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  body.lx-site-12.lx-home .hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.lx-site-12.lx-home .hero-slide {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 浏览器没开脚本时显示的首页文字与链接（开了脚本不会出现） */
.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;
}
