/* 描边和按钮压痕的画法沿用唐僧木鱼；墨色、卡片底色改成跟淡紫背景一套的深紫/白（09-30 Iris 嫌棕色配紫底奇怪） */
:root {
  --zhu: #E03C31;
  --zhu-deep: #B8261E;
  --jin: #F4B63C;
  --huang: #FFD34E;
  --mo: #2E2143;
  --mo-soft: #6B5F82;
  --mi: #F6F1FC;
  --bg: #E8E0F7;
  --bg-glass: rgba(232, 224, 247, .9);
  --mi-deep: #E9DFF7;
  --card: #FFFDFF;
  --tao: #FF9AA2;
  --zi: #8C63C9;
  --zi-deep: #6A45A6;
  --zi-light: #EBDDFB;
  --line: 3px solid var(--mo);
  --pop: 0 5px 0 var(--mo);
  --pop-small: 0 3px 0 var(--mo);
  --radius: 24px;
  --radius-small: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --page: 1080px;
  --tabbar-height: 68px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--mo);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, .7), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .6 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { color: inherit; }

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

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

.main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.page-head { margin: 8px 0 24px; }
.page-head__crumb { margin: 0 0 6px; font-size: 14px; color: var(--mo-soft); }
.page-head__crumb a { text-decoration: none; }
.page-head__crumb a:hover { text-decoration: underline; }
.page-head__title { font-size: clamp(26px, 5vw, 36px); letter-spacing: 1px; }
.page-head__lead { margin: 8px 0 0; color: var(--mo-soft); }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0 16px;
  font-size: 22px;
}
.section-title a { font-size: 15px; font-weight: 600; color: var(--zhu); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--pop-small);
  background: var(--zhu);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(3px); box-shadow: none; }
.btn svg { flex: none; width: 22px; height: 22px; }
.btn--light { background: var(--card); color: var(--mo); }
.btn--zi { background: var(--zi); }
.btn--big { padding: 14px 28px; font-size: 18px; }
.btn[aria-disabled="true"] {
  background: var(--mi-deep);
  color: var(--mo-soft);
  border-style: dashed;
  box-shadow: none;
  cursor: not-allowed;
}

.tag {
  display: inline-block;
  padding: 1px 10px;
  border: 2px solid var(--mo);
  border-radius: 999px;
  background: var(--huang);
  font-size: 13px;
  font-weight: 700;
}
.tag--zi { background: var(--zi-light); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.placeholder {
  padding: 18px;
  border: 2px dashed var(--mo-soft);
  border-radius: var(--radius-small);
  color: var(--mo-soft);
  text-align: center;
}

.footer {
  padding: 24px 18px calc(24px + var(--tabbar-height));
  font-size: 13px;
  color: var(--mo-soft);
  text-align: center;
}
.footer p { margin: 0; }

@media (min-width: 1100px) {
  .footer { padding-bottom: 32px; }
}

/* 微信/QQ 里点安装包下载时弹的引导浮层（js/wechat-download.js） */
.wx-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 22px 24px;
  background: rgba(30, 22, 18, .9);
  color: #fff;
  text-align: right;
}
.wx-mask[hidden] { display: none; }
.wx-mask__arrow { font-size: 64px; line-height: 1; }
.wx-mask__tip { margin: 6px 0 0; font-size: 20px; font-weight: 700; line-height: 1.8; }
.wx-mask__tip b { color: var(--huang); }
.wx-mask__box {
  align-self: stretch;
  margin-top: 36px;
  padding: 18px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--mo);
  text-align: center;
}
.wx-mask__or { margin: 0 0 10px; font-weight: 700; }
.wx-mask__status { min-height: 1.6em; margin: 10px 0 0; font-size: 14px; color: var(--zhu-deep); }
.wx-mask__url { width: 100%; margin-top: 8px; padding: 8px; border: 2px solid var(--mo); border-radius: 10px; font-size: 13px; }
.wx-mask__close { align-self: center; margin: auto 0 0; font-size: 14px; opacity: .7; }

