/* 岐黄拾遗 · Web 基础样式（由 app.wxss 自动转换：rpx -> rem，1rem = 100rpx） */

body {
  /* 宣纸底色 + 纤维纹理，纯 CSS 实现，不依赖任何图片素材 */
  background-color: #f2e7d0;
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 120, 80, 0.05) 0px, rgba(150, 120, 80, 0.05) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(150, 120, 80, 0.035) 0px, rgba(150, 120, 80, 0.035) 1px, transparent 1px, transparent 6px),
    radial-gradient(circle at 20% 10%, rgba(255, 252, 240, 0.9), rgba(242, 231, 208, 0) 60%);
  color: #2b2118;
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: 0.3rem;
  line-height: 1.75;
}

/* ============ 布局 ============ */
.qh-page {
  min-height: 880px;
  padding: 0.32rem 0.36rem 0.6rem;
  box-sizing: border-box;
}

.qh-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ 文字 ============ */
.qh-title {
  font-size: 0.52rem;
  letter-spacing: 0.12rem;
  font-weight: 600;
  color: #2b2118;
}

.qh-subtitle {
  font-size: 0.26rem;
  letter-spacing: 0.04rem;
  color: #7a6a55;
}

.qh-section-title {
  font-size: 0.34rem;
  letter-spacing: 0.06rem;
  font-weight: 600;
  margin: 0.4rem 0 0.2rem;
  display: flex;
  align-items: center;
}

.qh-section-title::before {
  content: '';
  width: 0.08rem;
  height: 0.32rem;
  margin-right: 0.16rem;
  background: #a8321e;
  border-radius: 0.02rem;
}

/* ============ 卡片 ============ */
.qh-card {
  background: rgba(255, 252, 243, 0.82);
  border: 0.02rem solid rgba(43, 33, 24, 0.35);
  border-radius: 0.08rem;
  padding: 0.32rem;
  margin-bottom: 0.28rem;
  box-shadow: 0 0.06rem 0.2rem rgba(80, 60, 35, 0.08);
  position: relative;
}

/* ============ 朱砂印章 ============ */
.qh-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.64rem;
  height: 0.64rem;
  background: #a8321e;
  color: #fdf8ec;
  font-size: 0.22rem;
  line-height: 1.05;
  letter-spacing: 0;
  border-radius: 0.06rem;
  text-align: center;
  padding: 0.04rem;
  box-sizing: border-box;
}

/* ============ 按钮 ============ */
.qh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0.88rem;
  border-radius: 0.08rem;
  font-size: 0.32rem;
  letter-spacing: 0.04rem;
  border: 0.02rem solid #2b2118;
  color: #2b2118;
  background: transparent;
}

.qh-btn--primary {
  background: #2b2118;
  color: #f7f0dd;
}

.qh-btn--seal {
  background: #a8321e;
  border-color: #8d2716;
  color: #fdf8ec;
}

.qh-btn:active {
  opacity: 0.75;
}

.qh-btn[disabled] {
  opacity: 0.4;
}

/* ============ 分隔与注释 ============ */
.qh-divider {
  height: 0.02rem;
  background: linear-gradient(90deg, transparent, rgba(43, 33, 24, 0.35), transparent);
  margin: 0.28rem 0;
}

.qh-note {
  font-size: 0.22rem;
  color: #8a7963;
  line-height: 1.6;
  letter-spacing: 0.01rem;
}

.qh-classic {
  font-size: 0.3rem;
  line-height: 1.9;
  letter-spacing: 0.02rem;
  color: #2b2118;
}

.qh-tag {
  display: inline-block;
  padding: 0.04rem 0.16rem;
  font-size: 0.22rem;
  border: 0.02rem solid rgba(168, 50, 30, 0.6);
  color: #a8321e;
  border-radius: 9.99rem;
  margin-right: 0.12rem;
}

/* ============ 底部弹层（分享卡预览） ============ */
.qh-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 15, 10, 0.72);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  box-sizing: border-box;
}

.qh-modal {
  width: 100%;
  background: #f7f0dd;
  border-radius: 0.12rem;
  padding: 0.28rem;
  box-sizing: border-box;
}

.qh-share-img {
  width: 100%;
  height: 4.96rem;
  border-radius: 0.08rem;
  background: #efe4cb;
}

.qh-modal-actions {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.28rem;
}

.qh-modal-actions .qh-btn {
  flex: 1;
  height: 0.8rem;
  font-size: 0.28rem;
}