:root {
  color-scheme: light;
  --ink: #10151b;
  --muted: #5e6874;
  --line: rgba(16, 21, 27, 0.1);
  --soft: #eef3f4;
  --paper: #fbfcfd;
  --accent: #0f766e;
  --blue: #355cff;
  --rose: #b4535c;
  --gold: #b38a47;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(243, 247, 249, 0.96)),
    linear-gradient(128deg, rgba(15, 118, 110, 0.07), transparent 30%),
    linear-gradient(248deg, rgba(53, 92, 255, 0.05), transparent 28%),
    linear-gradient(34deg, rgba(180, 83, 92, 0.04), transparent 24%);
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

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

.brand-name {
  color: #11151b;
  font-family:
    "Alibaba PuHuiTi", "Alibaba PuHuiTi 3.0", "Alibaba PuHuiTi 2.0", "阿里巴巴普惠体",
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 22px;
  font-weight: 700;
  font-synthesis: none;
  line-height: 1.12;
  letter-spacing: 0;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(145deg, #0f766e, #223b8f);
  color: #f8fbff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(17, 19, 21, 0.08);
}

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

.nav a,
.nav button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
  padding: 10px 14px;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 58px 0 42px;
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.brand-title {
  max-width: 760px;
  margin: 18px 0 18px;
  font-family:
    "Alibaba PuHuiTi", "Alibaba PuHuiTi 3.0", "Alibaba PuHuiTi 2.0", "阿里巴巴普惠体",
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  font-synthesis: none;
  line-height: 1.08;
  letter-spacing: 0;
  color: #11151b;
}

.brand-title span {
  display: block;
}

.brand-title span:last-child {
  color: var(--accent);
  font-size: 0.88em;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  max-width: 900px;
}

.hero-copy p {
  margin: 0;
  color: #1d252d;
  font-size: 19px;
  line-height: 1.7;
}

.stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat {
  min-width: 92px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.stat strong {
  display: block;
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.proof-band,
.conversion-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 250, 0.96));
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 34px 0;
  align-items: start;
}

.proof-grid h2,
.conversion-grid h2 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.proof-grid p {
  margin: 0;
  color: #2c343b;
  font-size: 17px;
  line-height: 1.8;
}

.proof-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-tags span {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #243039;
  font-size: 14px;
  padding: 10px 13px;
}

.anniversary-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(139, 30, 63, 0.1), transparent 34%),
    linear-gradient(245deg, rgba(212, 160, 23, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.9);
}

.anniversary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.anniversary-grid h2 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-size: 34px;
  line-height: 1.18;
}

.anniversary-grid p {
  max-width: 720px;
  margin: 0;
  color: #2d3640;
  font-size: 17px;
  line-height: 1.8;
}

.anniversary-panel {
  border: 1px solid rgba(139, 30, 63, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(27, 33, 38, 0.1);
  padding: 22px;
}

.anniversary-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.anniversary-panel strong {
  display: block;
  margin-top: 6px;
  color: #222832;
  font-size: 22px;
}

.anniversary-price {
  margin: 14px 0 18px;
  color: #8b1e3f;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.anniversary-original {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.anniversary-original del {
  color: #7a828b;
  text-decoration-thickness: 2px;
}

.anniversary-save {
  display: inline-flex;
  margin: -6px 0 18px;
  border: 1px solid rgba(139, 30, 63, 0.18);
  border-radius: 999px;
  background: rgba(139, 30, 63, 0.08);
  color: #8b1e3f;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

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

.section-head h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scrollbar-width: thin;
}

.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #273038;
  cursor: pointer;
  padding: 10px 14px;
}

.filter[aria-pressed="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding-bottom: 56px;
}

.bundle-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 249, 0.96));
  padding: 4px 0 48px;
}

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

.bundle-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  border: 1px solid rgba(16, 21, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(27, 33, 38, 0.08);
  padding: 18px;
}

.bundle-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-right: 46px;
}

.bundle-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.bundle-card p {
  margin: 0 0 14px;
  color: #43505a;
  line-height: 1.65;
}

.bundle-card ul,
.bundle-includes ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: #37424d;
  line-height: 1.55;
}

.bundle-card .actions {
  margin-top: auto;
}

.bundle-includes {
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 4px;
}

.bundle-includes h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.product-card {
  position: relative;
  grid-column: span 4;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 33, 38, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card:nth-child(5n + 1) {
  grid-column: span 5;
}

.product-card:nth-child(5n + 3) {
  grid-column: span 3;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 28px 70px rgba(27, 33, 38, 0.12);
}

.vip-card {
  border-color: rgba(139, 30, 63, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.96));
}

.vip-card .price {
  color: #8b1e3f;
  font-size: 20px;
}

.poster {
  position: relative;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: white;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a), #10151b 14%), var(--tone-b)),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.24));
  isolation: isolate;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  z-index: -1;
}

.poster::after {
  content: attr(data-code);
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 112px;
  line-height: 1;
  z-index: -1;
}

.poster-kicker {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.poster h3 {
  max-width: 12ch;
  margin: 54px 0 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.product-body {
  padding: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #2d3843;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
}

.price {
  font-weight: 900;
  color: var(--accent);
}

.vip-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vip-price-tag del {
  color: #7a828b;
  font-size: 12px;
  font-weight: 800;
}

.vip-price-tag strong {
  color: #8b1e3f;
  font-size: 20px;
  line-height: 1;
}

.vip-price-tag em {
  border-radius: 999px;
  background: rgba(139, 30, 63, 0.08);
  color: #8b1e3f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 4px 7px;
}

.product-body p {
  min-height: 50px;
  margin: 0 0 18px;
  color: #47515b;
  line-height: 1.65;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
}

.share-trigger {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 21, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(27, 33, 38, 0.1);
  color: rgba(36, 49, 59, 0.82);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.share-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.share-trigger:hover,
.share-actions.open .share-trigger {
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(27, 33, 38, 0.13);
  color: #0f766e;
  transform: translateY(-1px);
}

.share-popover {
  position: absolute;
  top: 40px;
  right: 0;
  display: none;
  width: min(260px, calc(100vw - 36px));
  border: 1px solid rgba(16, 21, 27, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(27, 33, 38, 0.18);
  padding: 12px;
}

.share-actions.open .share-popover {
  display: grid;
  gap: 8px;
}

.share-popover strong {
  color: #111820;
  font-size: 14px;
}

.share-popover p {
  margin: 0;
  color: #5c6872;
  font-size: 12px;
  line-height: 1.45;
}

.share-option {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 21, 27, 0.12);
  border-radius: 10px;
  background: #f7f4ee;
  color: #24313b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.share-option:hover {
  border-color: rgba(16, 21, 27, 0.24);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 14px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 21, 27, 0.18);
}

.detail-page,
.pay-page {
  padding: 38px 0 70px;
}

.back-row {
  margin: 16px 0 26px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.detail-poster {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(27, 33, 38, 0.14);
}

.detail-poster .poster {
  min-height: 620px;
}

.detail-poster .poster h3 {
  font-size: 56px;
}

.pdf-preview {
  display: grid;
  grid-template-rows: auto minmax(620px, 74vh) auto;
  min-height: 720px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 250, 0.98)),
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a), white 84%), color-mix(in srgb, var(--tone-b), white 88%));
}

.pdf-preview.image-only-preview {
  display: block;
  min-height: 0;
}

.pdf-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
}

.pdf-preview-bar div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pdf-preview-bar span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.pdf-preview-bar strong {
  overflow: hidden;
  color: #18212b;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-preview-bar a,
.pdf-preview-fallback a {
  flex: 0 0 auto;
  border: 1px solid rgba(16, 21, 27, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.pdf-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  background: #f8fafb;
}

.mobile-preview-pages {
  display: none;
  background: #eef3f4;
  padding: 12px;
}

.screenshot-preview-pages {
  display: grid;
  max-height: min(760px, 78vh);
  gap: 14px;
  overflow: auto;
  background: linear-gradient(180deg, #eef3f4, #f7faf9);
  padding: 14px;
}

.mobile-preview-page {
  position: relative;
  margin: 0 0 14px;
  border: 1px solid rgba(16, 21, 27, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(27, 33, 38, 0.08);
  overflow: hidden;
}

.mobile-preview-page img {
  display: block;
  width: 100%;
  min-height: 160px;
  background: #f7f8f8;
  cursor: zoom-in;
  height: auto;
}

.image-zoom-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 21, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(27, 33, 38, 0.14);
  color: #1f2b35;
  cursor: zoom-in;
  backdrop-filter: blur(10px);
}

.image-zoom-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.image-zoom-button:hover {
  color: var(--accent);
  background: #fff;
}

.mobile-preview-page figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  text-align: center;
}

.wechat-browser .pdf-preview {
  display: block;
  min-height: 0;
}

.wechat-browser .pdf-preview iframe {
  display: none;
}

.wechat-browser .mobile-preview-pages {
  display: block;
}

.screenshot-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent),
    #f3f7f7;
  color: #4d5a64;
  padding: 28px;
  text-align: center;
}

.screenshot-placeholder span {
  color: #16212a;
  font-size: 18px;
  font-weight: 900;
}

.screenshot-placeholder p {
  max-width: 360px;
  margin: 0;
  line-height: 1.7;
}

.pdf-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  padding: 12px 16px;
}

.detail-content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  padding-right: 74px;
}

.detail-content h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 20px;
  color: #2f3942;
  font-size: 18px;
  line-height: 1.7;
}

.vip-discount {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  border: 1px solid rgba(139, 30, 63, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(139, 30, 63, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.92);
  padding: 16px;
}

.vip-discount span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.vip-discount strong {
  color: #8b1e3f;
  font-size: 28px;
  line-height: 1.1;
}

.vip-discount em {
  color: #4b3037;
  font-style: normal;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.info-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.info-block h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-block ul {
  margin: 0;
  padding-left: 18px;
  color: #404b55;
  line-height: 1.8;
}

.preview-section {
  margin: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.preview-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.preview-head h2 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.preview-head p {
  margin: 0;
  color: #4a5560;
  line-height: 1.7;
}

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

.preview-page {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(16, 21, 27, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 251, 0.97)),
    linear-gradient(135deg, color-mix(in srgb, var(--tone-a), white 82%), color-mix(in srgb, var(--tone-b), white 86%));
  box-shadow: 0 18px 46px rgba(27, 33, 38, 0.08);
  padding: 18px;
}

.preview-page::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid color-mix(in srgb, var(--tone-a), var(--tone-b) 30%);
}

.preview-page-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-page h3 {
  margin: 30px 0 18px;
  color: #17202a;
  font-size: 20px;
  line-height: 1.25;
}

.preview-lines {
  display: grid;
  gap: 10px;
}

.preview-lines p {
  margin: 0;
  border-bottom: 1px solid rgba(16, 21, 27, 0.11);
  color: #34404b;
  font-size: 13px;
  line-height: 1.55;
  padding-bottom: 8px;
}

.preview-watermark {
  position: absolute;
  right: -12px;
  bottom: 18px;
  color: rgba(16, 21, 27, 0.07);
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 56px;
  font-weight: 900;
  transform: rotate(-12deg);
}

.preview-tip {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  background: rgba(241, 246, 246, 0.82);
  color: #34404b;
  line-height: 1.6;
  padding: 12px 14px;
}

.preview-tip strong {
  flex: 0 0 auto;
  color: var(--accent);
}

.preview-link {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(16, 21, 27, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.preview-note {
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.preview-note h2 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.preview-note p {
  margin: 0 0 10px;
  color: #4a5560;
  line-height: 1.7;
}

.detail-buy {
  position: sticky;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  border: 1px solid rgba(17, 19, 21, 0.16);
  border-radius: var(--radius);
  background: rgba(250, 251, 252, 0.98);
  padding: 14px;
  box-shadow: 0 18px 44px rgba(27, 33, 38, 0.1);
}

.pay-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.pay-card,
.pay-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 26px;
}

.pay-card {
  position: relative;
  padding-right: 74px;
}

.pay-card h1 {
  margin: 0 0 10px;
  font-size: 42px;
  letter-spacing: 0;
}

.pay-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 8px;
  font-size: 46px;
  font-weight: 900;
}

.vip-upgrade-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  border: 1px solid rgba(139, 30, 63, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(139, 30, 63, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.92);
  color: #4b3037;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  padding: 10px 12px;
}

.vip-upgrade-hint a {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #8b1e3f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.qr-frame {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 14px;
}

.qr-frame img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.payment-qr-frame {
  max-width: 420px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px;
}

.payment-qr-frame img {
  image-rendering: auto;
  user-select: auto;
  -webkit-user-select: auto;
  -webkit-touch-callout: default;
}

.pay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 10px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.step span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.step p {
  margin: 4px 0 0;
  color: #39444e;
  line-height: 1.65;
}

.wechat-id {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f6f6;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  padding: 14px;
  text-align: center;
}

.tiny {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.back-to-top {
  position: fixed;
  right: max(18px, calc((100vw - var(--max)) / 2 + 18px));
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(16, 21, 27, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(16, 21, 27, 0.14);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #fff;
  transform: translateY(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 18, 0.78);
  padding: 24px;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox figure {
  display: grid;
  max-width: min(1180px, 96vw);
  max-height: 92vh;
  gap: 10px;
  margin: 0;
}

.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 52px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  object-fit: contain;
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0 42px;
  font-size: 13px;
}

.footer-contact {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  border: 1px solid rgba(16, 21, 27, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
}

.footer-contact img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 21, 27, 0.08);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

.footer-contact > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-contact strong {
  color: #1b252f;
  font-size: 14px;
  font-weight: 900;
}

.footer-contact span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.social-chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(16, 21, 27, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #24313b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 9px 4px 5px;
  white-space: nowrap;
}

.social-chip i {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  padding: 0 4px;
}

.social-xhs i {
  background: linear-gradient(135deg, #ff2442, #d80f2f);
}

.social-video i {
  background: linear-gradient(135deg, #18d6d0, #2f6fff);
}

.social-mp i {
  background: linear-gradient(135deg, #18b66a, #06a34f);
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

@media (max-width: 920px) {
  .hero-copy,
  .detail-grid,
  .pay-shell,
  .anniversary-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:nth-child(5n + 1),
  .product-card:nth-child(5n + 3) {
    grid-column: span 6;
  }

  .detail-poster .poster {
    min-height: 480px;
  }

  .anniversary-panel {
    max-width: 460px;
  }

  .pdf-preview {
    grid-template-rows: auto minmax(520px, 68vh) auto;
    min-height: 620px;
  }

  .pdf-preview iframe {
    min-height: 520px;
  }

  .preview-head,
  .preview-pages,
  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .preview-page {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, var(--max));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 52vh;
    padding-top: 28px;
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 8px;
    padding-bottom: 14px;
  }

  .filter {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .anniversary-grid h2 {
    font-size: 28px;
  }

  .anniversary-price {
    font-size: 44px;
  }

  .gallery {
    gap: 12px;
  }

  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .bundle-card {
    min-height: 0;
  }

  .product-card,
  .product-card:nth-child(5n + 1),
  .product-card:nth-child(5n + 3) {
    grid-column: span 12;
    min-height: 0;
  }

  .poster {
    min-height: 250px;
  }

  .poster h3 {
    font-size: 30px;
  }

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

  .detail-content,
  .pay-card,
  .pay-side {
    padding: 20px;
  }

  .detail-content h1,
  .pay-card h1 {
    font-size: 34px;
  }

  .detail-buy {
    align-items: stretch;
    flex-direction: column;
  }

  .vip-upgrade-hint {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-contact img {
    width: 82px;
    height: 82px;
  }

  .footer-socials {
    justify-content: center;
  }

  .preview-tip {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-link {
    margin-left: 0;
  }

  .pdf-preview {
    display: block;
    min-height: 0;
  }

  .pdf-preview-bar,
  .pdf-preview-fallback {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-preview iframe {
    display: none;
  }

  .mobile-preview-pages {
    display: block;
  }
}
