:root {
  --bg: #f6f1e8;
  --surface: #fffdf8;
  --surface-2: #efe6d6;
  --ink: #1c1612;
  --muted: #4f4841;
  --gold: #b07a3e;
  --gold-bright: #e7ae77;
  --gold-deep: #8a5a28;
  --gold-hi: #e9c785;
  --gold-lo: #e69167;
  --lead: #3a322b;
  --copy: #4a433c;
  --copy-strong: #2b241e;
  --btn-ink: #1a120c;
  --rank-ghost: #d8cbb8;
  --badge-hi: #8a5a28;
  --badge-lo: #6e451c;
  --badge-ink: #fffdf8;
  --line: rgba(176, 122, 62, 0.22);
  --shadow: 0 18px 40px rgba(80, 52, 24, 0.12);
  --cta-wash: rgba(180, 110, 48, 0.26);
  --cta-line: rgba(90, 52, 24, 0.28);
  --wrap: min(1200px, calc(100% - 64px));
  --header-h: 72px;
  --cta-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(var(--cta-h) + 28px + env(safe-area-inset-bottom, 0px));
}

h1 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
}

h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

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

a {
  color: var(--gold-deep);
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.94), rgba(246, 241, 232, 0.28));
}

.header.is-on {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  background: var(--surface-2);
}

.logo img,
.logo.lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo.lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.brand b,
.foot-brand b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 14px;
}

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

.nav a:hover,
.nav a.is-on {
  color: var(--gold);
}

.nav-dl {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(176, 122, 62, 0.08);
  color: var(--ink);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-dl:hover {
  color: var(--gold-deep);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  padding: calc(var(--header-h) + 36px) 0 48px;
  overflow: hidden;
}

.hero-bg,
.hero-shade,
.band-bg,
.band-shade {
  position: absolute;
  inset: 0;
}

.hero-bg,
.band-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.55) 0%, rgba(246, 241, 232, 0.2) 36%, rgba(246, 241, 232, 0.92) 100%);
  pointer-events: none;
}

.hero-dock {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 18em;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 42em;
  color: var(--lead);
  font-size: 17px;
}

.dl-card,
.cta-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.dl-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.gold {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(102deg, var(--gold-hi), var(--gold-lo));
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-height: 48px;
}

.gold:hover {
  color: var(--btn-ink);
  filter: brightness(1.03);
}

.plats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.plats i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.free {
  margin: 0;
  color: var(--copy);
  font-size: 13px;
}

.warn {
  margin: 22px auto 0;
  max-width: 980px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.block {
  padding: 36px 0 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.sec-head {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.sec-head h2,
.display,
.band-inner h2 {
  margin: 0;
  font-weight: 500;
}

.sec-head h2 {
  font-size: 36px;
  line-height: 1.2;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.more:hover {
  color: var(--gold);
}

.filters {
  margin-top: 22px;
}

.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.seg span {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  line-height: 36px;
}

.ranks,
.latest {
  margin-top: 28px;
  display: grid;
}

.ranks {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.latest {
  margin-top: 22px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.latest-head {
  margin-top: 36px;
}

.sub-title {
  font-size: 20px !important;
}

.rank-visual {
  position: relative;
  height: 220px;
}

.rank-no {
  position: absolute;
  left: -6px;
  bottom: 0;
  z-index: 1;
  transform: translateY(-12%);
  color: var(--rank-ghost);
  font-size: 120px;
  font-weight: 700;
  line-height: 0.72;
  pointer-events: none;
}

.poster {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 78%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.poster.flat {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--badge-hi), var(--badge-lo));
  color: var(--badge-ink);
  font-size: 11px;
  line-height: 18px;
}

.ranks h3,
.latest h3 {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.ranks h3 {
  padding-left: 18%;
}

.ranks p,
.latest p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ranks p {
  padding-left: 18%;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover h3 {
  color: var(--gold);
}

.about {
  padding-top: 56px;
}

.about-grid,
.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.display {
  margin-top: 16px;
  font-size: 36px;
  line-height: 1.3;
}

.gold-line {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 16px;
}

.copy,
.end-line,
.prose p {
  margin: 16px 0 0;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.75;
}

.end-line {
  color: var(--copy-strong);
}

.visual {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
}

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

.pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pills span,
.pills a {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 36px;
  text-decoration: none;
}

.pills a:hover {
  color: var(--gold-deep);
}

.feat-block {
  padding-top: 36px;
}

.feat {
  display: grid;
  grid-template-columns: 88px 220px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.feat span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 700;
}

.feat h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.faq h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.faq p {
  margin: 0;
  color: var(--copy);
}

.band {
  position: relative;
  min-height: 420px;
  margin-top: 28px;
  overflow: hidden;
}

.band-shade {
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.35), rgba(246, 241, 232, 0.88));
}

.band-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  text-align: center;
}

.band-inner h2 {
  font-size: 32px;
}

.band-inner > p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-card {
  margin: 28px auto 0;
  text-align: left;
}

.page {
  padding: calc(var(--header-h) + 36px) 0 40px;
}

.page h1 {
  margin: 12px 0 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
}

.prose h2 {
  margin: 32px 0 0;
  font-size: 22px;
  font-weight: 500;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--copy);
}

.prose li + li {
  margin-top: 8px;
}

.note-list {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.note {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.note h2,
.note h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.note p {
  margin: 0;
  color: var(--copy);
}

.foot {
  padding: 36px 24px 28px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.foot .logo {
  margin: 0 auto;
}

.foot-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: inherit;
  text-decoration: none;
}

.foot-brand:hover {
  color: var(--gold-deep);
}

.foot-brand b {
  font-size: 18px;
}

.foot-tag {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px 0 0;
  font-size: 13px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--gold-deep);
}

.copyline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: var(--wrap);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-cta,
a[data-site-cta="xunfang"] {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(520px, 36vw);
  min-width: 400px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(102deg, var(--gold-hi), var(--gold-lo));
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-cta:hover,
a[data-site-cta="xunfang"]:hover {
  color: var(--btn-ink);
}

.site-cta::before,
a[data-site-cta="xunfang"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 30% 50%, var(--cta-wash) 0%, transparent 72%);
  opacity: 0;
  transform: scale(0.96);
  animation: cta-film-bloom 3.1s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  pointer-events: none;
}

.site-cta::after,
a[data-site-cta="xunfang"]::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid var(--cta-line);
  border-radius: inherit;
  opacity: 0;
  transform: scale(1);
  box-shadow: none;
  animation: cta-clapper-press 3.1s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  pointer-events: none;
}

.site-cta span,
a[data-site-cta="xunfang"] span {
  position: relative;
  z-index: 1;
}

@keyframes cta-film-bloom {
  0%,
  55% {
    opacity: 0;
    transform: scale(0.96);
  }
  68% {
    opacity: 0.28;
    transform: scale(1);
  }
  86%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes cta-clapper-press {
  0%,
  62% {
    opacity: 0;
    transform: scale(1);
    box-shadow: none;
  }
  74% {
    opacity: 1;
    transform: scale(0.97);
    box-shadow: inset 0 2px 8px rgba(90, 52, 24, 0.18);
  }
  88%,
  100% {
    opacity: 0;
    transform: scale(1);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before,
  a[data-site-cta="xunfang"]::before,
  .site-cta::after,
  a[data-site-cta="xunfang"]::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .about-grid,
  .prose-grid,
  .feat {
    grid-template-columns: 1fr;
  }

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

  .hero h1,
  .sec-head h2,
  .display,
  .page h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --wrap: min(1200px, calc(100% - 32px));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav.is-open {
    display: flex;
  }

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

  .rank-no {
    font-size: 84px;
  }

  .dl-card,
  .cta-card {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .copyline {
    flex-direction: column;
  }

  .site-cta,
  a[data-site-cta="xunfang"] {
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    transform: none;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 24px);
  }

  .hero h1,
  .page h1,
  .sec-head h2 {
    font-size: 26px;
  }

  .ranks,
  .latest {
    grid-template-columns: 1fr;
  }

  .ranks h3,
  .ranks p {
    padding-left: 0;
  }

  .rank-visual {
    height: 200px;
  }
}
