:root {
  --hero-image: url("https://huangguo.hkg.bcebos.com/images/auto/16x9/product/32.webp");
  --paper: #fbfaf5;
  --surface: #ffffff;
  --surface-warm: #fff3d5;
  --ink: #14120f;
  --ink-soft: #2f2a24;
  --muted: #706961;
  --gold: #f4b331;
  --orange: #f06531;
  --jade: #237a68;
  --blue: #e9f3f7;
  --line: #e2d8c8;
  --shadow: 0 18px 50px rgba(20, 18, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(35, 122, 104, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 101, 49, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
}

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 30;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(226, 216, 200, 0.8);
  background: rgba(251, 250, 245, 0.93);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(240, 101, 49, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.top-nav {
  display: flex;
  gap: 6px;
}

.top-nav a,
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav a.active,
.top-nav a:hover,
.mobile-nav a.active,
.mobile-nav a:hover {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(620px, calc(82svh - 72px));
  overflow: hidden;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 64px);
  isolation: isolate;
  color: #fff;
  background: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(10, 9, 8, 0.9) 0%, rgba(10, 9, 8, 0.7) 42%, rgba(10, 9, 8, 0.26) 72%),
    linear-gradient(0deg, rgba(20, 18, 15, 0.65), rgba(20, 18, 15, 0.02) 48%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 12px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--jade));
}

.hero-inner {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

h1,
h2,
h3,
p,
strong,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: 5rem;
  font-weight: 900;
}

h2 {
  font-size: 2.65rem;
  font-weight: 900;
}

h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #f8efe1;
  font-size: 1.22rem;
}

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

.button,
.filter-chip,
.favorite-button,
.icon-button {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 0 18px;
  font-weight: 900;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button:hover,
.filter-chip:hover,
.favorite-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(20, 18, 15, 0.42);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 4px;
  color: #f6eadc;
  font-size: 0.86rem;
}

.quick-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.quick-dock a {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fffaf0);
}

.quick-dock span,
.quick-dock strong {
  display: block;
}

.quick-dock span {
  color: var(--jade);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-dock strong {
  margin-top: 6px;
  font-size: 1rem;
}

.section-band {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head.compact {
  max-width: 720px;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-band,
.creator-band,
.faq-band {
  background: rgba(255, 255, 255, 0.5);
}

.feature-grid,
.creator-list,
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.creator-list article,
.faq-list article,
.favorite-box,
.finder-panel,
.theater-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 18, 15, 0.07);
}

.feature-card {
  min-height: 178px;
  padding: 24px;
}

.feature-card p,
.creator-list p,
.faq-list p,
.theater-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-icon {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface-warm);
}

.feature-icon.play::after {
  position: absolute;
  top: 9px;
  left: 13px;
  width: 0;
  height: 0;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--orange);
}

.feature-icon.poster {
  background: linear-gradient(90deg, var(--orange) 0 36%, var(--gold) 36% 70%, var(--jade) 70% 100%);
}

.feature-icon.mobile::after {
  position: absolute;
  inset: 7px 10px;
  content: "";
  border: 2px solid var(--jade);
  border-radius: 4px;
}

.catalog-band {
  background: #fffdf7;
}

.finder-panel {
  display: grid;
  grid-template-columns: 0.8fr minmax(240px, 1fr) 1.1fr;
  align-items: end;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
}

.finder-head {
  min-height: 50px;
}

.finder-head span,
.finder-head strong,
.search-label {
  display: block;
}

.finder-head span,
.search-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.finder-head strong {
  margin-top: 3px;
  font-size: 1.05rem;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
}

.search-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.icon-button {
  background: var(--gold);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-width: 68px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.filter-chip.active {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  color: #b33c2f;
  font-weight: 800;
}

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

.theater-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theater-card:hover,
.theater-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(240, 101, 49, 0.55);
  box-shadow: var(--shadow);
}

.theater-card[hidden] {
  display: none;
}

.poster-shell {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
}

.poster-shell::after {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  content: "图片暂不可用";
  background: var(--ink-soft);
  color: #fff;
  font-weight: 800;
}

.poster-shell.is-broken::after {
  display: flex;
}

.poster-shell.is-broken img {
  visibility: hidden;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.theater-card:hover .poster-image {
  transform: scale(1.035);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(35, 122, 104, 0.35);
  border-radius: 6px;
  background: var(--blue);
  color: var(--jade);
  font-size: 0.82rem;
  font-weight: 900;
}

.favorite-button {
  min-width: 76px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.favorite-button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.theater-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin-top: auto;
  color: var(--jade);
  font-weight: 900;
}

.favorites-band {
  background: var(--surface-warm);
}

.favorite-box {
  min-height: 112px;
  padding: 20px;
}

.favorite-box p {
  margin: 0;
  color: var(--muted);
}

#favoriteList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#favoriteList li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(35, 122, 104, 0.32);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.path-band {
  background:
    linear-gradient(90deg, rgba(244, 179, 49, 0.16), transparent 38%),
    var(--ink);
  color: #fff;
}

.path-band .eyebrow,
.path-band .section-head p:not(.eyebrow) {
  color: #f5e7c7;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  min-height: 168px;
  padding: 24px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  counter-increment: steps;
}

.step-list li::before {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  content: counter(steps);
  font-weight: 900;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list span {
  margin-top: 8px;
  color: #eadfce;
}

.creator-list article,
.faq-list article {
  padding: 22px;
}

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

.faq-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--jade);
  font-weight: 900;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1060px) {
  .finder-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .catalog-grid,
  .feature-grid,
  .creator-list,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .top-nav {
    display: none;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: min(560px, calc(82svh - 66px));
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(10, 9, 8, 0.9), rgba(10, 9, 8, 0.42)),
      linear-gradient(0deg, rgba(20, 18, 15, 0.78), rgba(20, 18, 15, 0.04) 52%),
      var(--hero-image);
    background-position: 58% center;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-metrics li {
    min-width: 0;
    flex: 1 1 120px;
  }

  .quick-dock,
  .catalog-grid,
  .feature-grid,
  .creator-list,
  .step-list {
    grid-template-columns: 1fr;
  }

  .quick-dock {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .faq-list article {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(20, 18, 15, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-nav a {
    min-width: 0;
    padding: 0 6px;
    font-size: 0.86rem;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  .section-band {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    min-height: min(540px, calc(84svh - 66px));
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.86rem;
  }

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

  .hero-metrics {
    gap: 8px;
  }

  .hero-metrics li,
  .quick-dock a,
  .finder-panel,
  .feature-card,
  .card-body,
  .creator-list article,
  .faq-list article,
  .favorite-box {
    padding: 16px;
  }

  .filter-chip {
    min-width: 62px;
    padding: 0 10px;
  }
}
