/* ============================================================
   mzmudang-reading.css — MZ 巫女名簿 · 紫微命书 · 测算流程页
   对应原站 /products/mzmudang-tw?step=immersion → input(0~10)
   → loading → teaser 的完整问答链路（简体中文版）。
   视觉延续 mzmudang.css 神坛基调：暗夜底、余烬、朱金点缀。
   ============================================================ */

.rz-page {
  background: #0b0303;
  overflow: hidden;
  overscroll-behavior: none;
}

.rz {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background: #0b0303;
  isolation: isolate;
}

/* ---------- 顶栏 ---------- */
.rz-hdr {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 10px;
}
.rz-back {
  appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #f2e6d8;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
}
.rz-logo {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
  color: rgba(242,230,216,.9);
}
.rz-count {
  margin-left: auto;
  font-size: 11px;
  color: rgba(242,230,216,.55);
  letter-spacing: 2px;
  font-family: "Noto Serif SC", serif;
}

/* ---------- 视图切换 ---------- */
.rz-view {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.rz-view.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 全局视频背景层（对照原站 .absolute.inset-0.object-cover） ---------- */
.rz-vbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #120303;
  overflow: hidden;
}
.rz-vbg video,
.rz-vbg-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity .5s ease;
}
/* 动态 WebP 兜底层：位于视频之下，视频能播时会被 .is-on 盖住 */
.rz-vbg-gif { opacity: 1; }
.rz-vbg video.is-on { opacity: 1; z-index: 1; }
.rz-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(255,120,30,.14), transparent 60%),
    linear-gradient(180deg, rgba(11,3,3,.66) 0%, rgba(11,3,3,.16) 40%, rgba(11,3,3,.9) 84%);
}
.rz-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 90px 30px rgba(0,0,0,.55);
}

/* ---------- ① 沉浸开场 ---------- */
.rz-talk {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 26px calc(env(safe-area-inset-bottom, 0px) + 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rz-line {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.6;
  color: #f7ecd9;
  text-shadow: 0 1px 10px rgba(0,0,0,.7);
  margin: 0;
}
.rz-line:nth-child(2) { transition-delay: .35s; }
.rz-line:nth-child(3) { transition-delay: .7s; }
.rz-go {
  margin-top: 18px;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 6px;
  color: #1a0800;
  background: linear-gradient(180deg, #ffcf7d, #eda13f 58%, #c97a1f);
  border-radius: 14px;
  padding: 15px 18px;
  box-shadow: 0 10px 28px rgba(237,161,63,.32), inset 0 1px 0 rgba(255,255,255,.5);
  animation: rz-breathe 3.4s ease-in-out infinite;
  transition: transform .15s ease;
}
.rz-go:active { transform: scale(.97); }
.rz-fine {
  margin: 10px 0 0;
  text-align: center;
  font-size: 10.5px;
  color: rgba(242,230,216,.45);
  letter-spacing: 1px;
}

/* ---------- ② 问答 ---------- */
.rz-qwrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 64px) 24px calc(env(safe-area-inset-bottom, 0px) + 26px);
}
.rz-qstep {
  animation: rz-qin .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes rz-qin {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.rz-qchat {
  font-family: "Noto Serif SC", serif;
  font-size: 12.5px;
  color: rgba(242,230,216,.5);
  margin: 0 0 6px;
}
.rz-qtitle {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 23px;
  line-height: 1.3;
  color: #f7ecd9;
  margin: 0 0 6px;
}
.rz-qsub {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242,230,216,.55);
  margin: 0 0 22px;
}
.rz-opts {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 6px;
}
.rz-pill {
  appearance: none;
  cursor: pointer;
  text-align: left;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #f2e6d8;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(242,230,216,.2);
  border-radius: 13px;
  padding: 14px 16px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  animation: rz-qin .5s cubic-bezier(.22,1,.36,1) both;
}
.rz-pill:nth-child(2) { animation-delay: .07s; }
.rz-pill:nth-child(3) { animation-delay: .14s; }
.rz-pill:nth-child(4) { animation-delay: .21s; }
.rz-pill:nth-child(5) { animation-delay: .28s; }
.rz-pill:nth-child(6) { animation-delay: .35s; }
.rz-pill:hover { border-color: rgba(237,161,63,.6); }
.rz-pill:active { transform: scale(.98); }
.rz-pill.is-on {
  border-color: #eda13f;
  background: rgba(237,161,63,.14);
}

/* 输入控件 */
.rz-input {
  width: 100%;
  appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(242,230,216,.24);
  border-radius: 13px;
  color: #f7ecd9;
  font-size: 16.5px;
  font-family: "Noto Serif SC", serif;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s ease;
}
.rz-input:focus { border-color: #eda13f; }
.rz-input::placeholder { color: rgba(242,230,216,.32); }
.rz-row { display: flex; gap: 10px; margin-top: 4px; }
.rz-row .rz-pill { flex: 1; text-align: center; font-size: 14.5px; padding: 11px 8px; }
.rz-row .rz-pill.is-on {
  border-color: #eda13f;
  background: rgba(237,161,63,.14);
}
.rz-textarea {
  min-height: 96px;
  resize: none;
  line-height: 1.65;
}
.rz-next {
  margin-top: 22px;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 5px;
  color: #1a0800;
  background: linear-gradient(180deg, #ffcf7d, #eda13f 58%, #c97a1f);
  border-radius: 13px;
  padding: 14px 18px;
  transition: opacity .2s ease, transform .15s ease;
}
.rz-next[disabled] { opacity: .35; cursor: not-allowed; }
.rz-next:active { transform: scale(.98); }
.rz-skip {
  margin-top: 14px;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12.5px;
  color: rgba(242,230,216,.5);
  text-decoration: underline;
  text-underline-offset: 4px;
  align-self: center;
}

/* ---------- ③ 起局 ---------- */
.rz-load {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 30px;
  text-align: center;
}
.rz-orbit {
  position: relative;
  width: 108px; height: 108px;
  margin-bottom: 30px;
}
.rz-orbit i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}
.rz-orbit i:nth-child(1) { border-top-color: #ffcf7d; animation: rz-spin 1.1s linear infinite; }
.rz-orbit i:nth-child(2) { inset: 12px; border-bottom-color: rgba(237,161,63,.65); animation: rz-spin 1.7s linear infinite reverse; }
.rz-orbit i:nth-child(3) { inset: 24px; border-left-color: rgba(255,120,30,.5); animation: rz-spin 2.3s linear infinite; }
@keyframes rz-spin { to { transform: rotate(360deg); } }
.rz-l1, .rz-l2 {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  color: #f7ecd9;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.rz-l1 { font-size: 25px; }
.rz-l2 { font-size: 31px; letter-spacing: 6px; color: #ffcf7d; }
.rz-l1.is-on, .rz-l2.is-on { opacity: 1; transform: none; }
.rz-lsub {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(242,230,216,.5);
  min-height: 20px;
  transition: opacity .3s ease;
}
.rz-bar {
  width: 172px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  margin-top: 22px;
}
.rz-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c97a1f, #ffcf7d);
  transition: width .5s ease;
}

/* ---------- ④ 命书预告：长卷叙事（多卡） ---------- */
.rz-tz {
  min-height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 64px) 20px calc(env(safe-area-inset-bottom, 0px) + 26px);
  animation: rz-qin .6s ease both;
}
/* 命书卡：深漆底 + 噪点纸纹 + 双线金框 + 内晕 */
.tz-card {
  position: relative;
  display: block;
  border-radius: 12px;
  padding: 26px 22px 24px;
  margin-bottom: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 224, 178, .022) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 224, 178, .018) 0 1px, rgba(0, 0, 0, 0) 1px 4px),
    radial-gradient(120% 90% at 50% -10%, rgba(120, 34, 16, .55), rgba(120, 34, 16, 0) 55%),
    linear-gradient(180deg, #2b0c0c 0%, #1d0707 45%, #140404 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 206, 150, .5),
    inset 0 0 0 6px rgba(20, 4, 4, .55),
    inset 0 0 0 7px rgba(246, 198, 132, .34),
    inset 0 -18px 44px rgba(0, 0, 0, .68),
    inset 0 14px 30px rgba(255, 96, 40, .08),
    0 18px 44px rgba(0, 0, 0, .65);
}
/* 四角雕刻金饰 */
.tz-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
  opacity: .85;
  filter: drop-shadow(0 0 4px rgba(255, 190, 120, .4));
}
.tz-corner::before, .tz-corner::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #f6c684, #d9a257);
}
.tz-corner::before { width: 100%; height: 2px; }
.tz-corner::after  { width: 2px; height: 100%; }
.tz-corner.tl { top: 5px; left: 5px; }
.tz-corner.tr { top: 5px; right: 5px; transform: scaleX(-1); }
.tz-corner.bl { bottom: 5px; left: 5px; transform: scaleY(-1); }
.tz-corner.br { bottom: 5px; right: 5px; transform: scale(-1); }
.tz-corner .dot,
.tz-corner::before { border-radius: 2px 0 0 0; }

.rz-tz-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #eda13f;
  border: 1px solid rgba(237,161,63,.4);
  border-radius: 99px;
  padding: 4px 12px;
  font-family: "Noto Serif SC", serif;
}
.rz-tz-title {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  color: #f7ecd9;
  margin: 14px 0 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.tz-head-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: rgba(242,230,216,.5);
  letter-spacing: 1px;
}
.tz-divider { width: 220px; max-width: 80%; margin: 10px auto 4px; display: block; opacity: .9; }
.rz-tz-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rz-tz-body p {
  font-size: 14.5px;
  line-height: 1.9;
  color: #e8dcc8;
  margin: 0;
}
.rz-tz-body .tz-dim { color: rgba(242,230,216,.5); font-size: 13px; }
.rz-tz-body .tz-caret::after {
  content: "▍";
  color: #ffcf7d;
  animation: rz-blink 1s steps(1) infinite;
}
@keyframes rz-blink { 50% { opacity: 0; } }

/* ---- 模块通用小标题 ---- */
.tz-sec-t {
  margin: 0 0 4px;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 2px;
  color: #f7ecd9;
  text-align: center;
}
.tz-sec-sub {
  margin: 0 0 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 4px;
  color: rgba(237,161,63,.75);
}
.tz-chart-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(242,230,216,.5);
}

/* ---- Ⅱ 紫微命盘 4×4 ---- */
.tz-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246,198,132,.3);
  border: 1px solid rgba(246,198,132,.4);
  border-radius: 6px;
  overflow: hidden;
}
.tz-pal {
  background: linear-gradient(180deg, rgba(30,9,9,.96), rgba(20,5,5,.96));
  min-height: 74px;
  padding: 5px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tz-pal.is-soul {
  background: linear-gradient(180deg, rgba(237,161,63,.13), rgba(237,161,63,.05));
  box-shadow: inset 0 0 0 1px rgba(237,161,63,.55);
}
.tz-pal-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px;
}
.tz-pal-n {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #eda13f;
  white-space: nowrap;
}
.tz-pal-n .tg {
  font-style: normal;
  font-size: 7.5px;
  color: #ffcf7d;
  border: 1px solid rgba(255,207,125,.5);
  border-radius: 3px;
  padding: 0 2px;
  margin-left: 2px;
  vertical-align: 1px;
}
.tz-pal-hx { font-size: 8.5px; color: rgba(242,230,216,.4); white-space: nowrap; }
.tz-pal-stars { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.tz-pal-stars .st {
  font-size: 11px;
  font-weight: 700;
  color: #f2e6d8;
  line-height: 1.35;
  white-space: nowrap;
}
.tz-pal-stars .st i {
  font-style: normal;
  font-size: 7.5px;
  margin-left: 1px;
  vertical-align: 1.5px;
}
.tz-pal-stars .st .br { color: rgba(242,230,216,.45); }
.tz-pal-stars .st .mu { color: #ffcf7d; }
.tz-pal-stars .st.m-lu .mu,
.tz-pal-stars .st.m-quan .mu,
.tz-pal-stars .st.m-ke .mu { color: #ffcf7d; text-shadow: 0 0 6px rgba(255,207,125,.6); }
.tz-pal-stars .st.m-ji .mu { color: #e03622; text-shadow: 0 0 6px rgba(224,54,34,.6); }
.tz-pal-empty { font-size: 10px; color: rgba(242,230,216,.35); }
.tz-pal-empty em { font-style: normal; font-size: 8.5px; color: rgba(242,230,216,.28); }
.tz-pal-r { font-size: 8px; color: rgba(242,230,216,.35); text-align: right; }
.tz-center {
  background: radial-gradient(80% 80% at 50% 40%, rgba(70,20,12,.9), rgba(24,6,6,.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  text-align: center;
}
.tz-c-t { margin: 0; font-family: "Noto Serif SC", serif; font-weight: 900; font-size: 15px; color: #ffcf7d; letter-spacing: 2px; }
.tz-c-l { margin: 0; font-size: 9px; color: rgba(242,230,216,.55); }
.tz-c-m { margin: 0; font-size: 10.5px; color: rgba(242,230,216,.7); }
.tz-c-m b { color: #f7ecd9; font-weight: 700; }
.tz-c-mut { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; margin-top: 2px; }
.tz-c-mut span { font-size: 9px; line-height: 1.4; text-align: left; }
.tz-c-mut .m-lu, .tz-c-mut .m-quan, .tz-c-mut .m-ke { color: rgba(255,207,125,.85); }
.tz-c-mut .m-ji { color: rgba(224,54,34,.9); }

/* ---- Ⅲ 表裏对照 ---- */
.tz-mir {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}
.tz-mir::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(246,198,132,.4) 20%, rgba(246,198,132,.4) 80%, transparent);
}
.tz-mir-col { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 8px; }
.tz-mir-k {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 17px;
  color: #ffcf7d;
  border: 1px solid rgba(237,161,63,.55);
  border-radius: 50%;
  background: rgba(237,161,63,.08);
}
.tz-mir-col:last-child .tz-mir-k { color: #e8dcc8; border-color: rgba(246,198,132,.35); background: rgba(255,255,255,.03); }
.tz-mir-list { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tz-mir-line {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #e8dcc8;
  font-family: "Noto Serif SC", serif;
}
.tz-mir-foot {
  margin: 16px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: rgba(242,230,216,.5);
  letter-spacing: 1px;
}

/* ---- Ⅳ 命定之人 ---- */
.tz-fate { display: flex; flex-direction: column; gap: 0; margin-top: 10px; }
.tz-fate-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed rgba(246,198,132,.18);
  align-items: baseline;
}
.tz-fate-row:last-child { border-bottom: 0; }
.tz-fate-k {
  font-size: 11px;
  letter-spacing: 2px;
  color: #eda13f;
  font-weight: 700;
  white-space: nowrap;
}
.tz-fate-v { font-size: 13px; line-height: 1.7; color: #e8dcc8; }
.tz-fate-line { margin: 0; font-size: 13px; line-height: 1.7; color: #e8dcc8; }

/* ---- Ⅴ 关键年份 ---- */
.tz-year-num {
  margin: 16px 0 0;
  text-align: center;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: 6px;
  color: #ffcf7d;
  text-shadow: 0 0 24px rgba(255,207,125,.35), 0 2px 10px rgba(0,0,0,.6);
  line-height: 1.1;
}
.tz-year-sub {
  margin: 10px auto 0;
  max-width: 30em;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #e8dcc8;
}

/* ---- Ⅵ 试阅 ---- */
.tz-sample { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.tz-sample p { margin: 0; font-size: 14px; line-height: 1.95; color: #e8dcc8; }
.tz-onsheet {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(246,198,132,.22);
}
.tz-onsheet[hidden] { display: none; }
.tz-os-t {
  margin: 0 0 6px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 5px;
  color: rgba(237,161,63,.8);
  font-family: "Noto Serif SC", serif;
}
.tz-os-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 5px 2px;
  align-items: baseline;
}
.tz-os-k { font-size: 11px; color: #eda13f; letter-spacing: 2px; }
.tz-os-v { font-size: 12px; color: rgba(242,230,216,.75); letter-spacing: .5px; }

/* 结语 */
.tz-end {
  margin: 4px 6px 22px;
  text-align: center;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: rgba(255,207,125,.85);
  line-height: 1.8;
}

/* 朱砂印章：AI 写完「啪」盖下来 */
.tz-seal {
  position: absolute;
  right: 20px;
  top: 74px;
  width: 64px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  padding: 6px;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  color: rgba(224, 54, 34, .92);
  border: 2.5px solid rgba(224, 54, 34, .85);
  border-radius: 7px;
  background: rgba(224, 54, 34, .07);
  box-shadow: inset 0 0 8px rgba(224, 54, 34, .22);
  opacity: 0;
  transform: scale(1.9) rotate(-14deg);
  pointer-events: none;
  z-index: 3;
  text-shadow: 0 0 1px rgba(224,54,34,.4);
}
.tz-seal span { display: block; transform: rotate(0deg); }
.tz-seal span:nth-child(1) { transform: translate(1px, 1px); }
.tz-seal span:nth-child(2) { transform: translate(-1px, 2px); }
.tz-seal.is-stamped {
  animation: tz-stamp .42s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes tz-stamp {
  0% { opacity: 0; transform: scale(1.9) rotate(-14deg); }
  62% { opacity: .96; transform: scale(.94) rotate(-7deg); }
  100% { opacity: .88; transform: scale(1) rotate(-8deg); }
}

.rz-tz-lock { margin-top: 6px; }
.lock-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255,206,150,.28);
  padding: 18px 16px;
  overflow: hidden;
  filter: blur(4.2px);
  user-select: none;
  opacity: .92;
  background: rgba(255,255,255,.025);
}
.lock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,3,3,.18), rgba(11,3,3,.62));
}
.lock-line { font-size: 14px; line-height: 1.95; color: #ecdcbf; margin: 0; letter-spacing: .5px; }
.rz-tz-lock .rz-go {
  width: 100%;
  margin-top: 16px;
  animation: none;
}
.rz-tz-lock .rz-fine { margin-top: 12px; }
.rz-re {
  margin: 18px auto 0;
  display: block;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12.5px;
  color: rgba(242,230,216,.5);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 滚动进场动画（对照原站 scroll-reveal） ---------- */
.tz-card,
.rz-tz-lock {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22, 1, .36, 1);
}
.tz-card.is-in,
.rz-tz-lock.is-in { opacity: 1; transform: none; }

/* 命盘逐格点亮 */
.tz-pal, .tz-center {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--d, 0) * 55ms);
}
.tz-chart.is-in .tz-pal,
.tz-chart.is-in .tz-center { opacity: 1; transform: none; }

/* 表裏 / 命缘逐条浮现（finalize 后重播） */
@keyframes tz-fadeup {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.tz-anim .tz-mir-line,
.tz-anim .tz-fate-row,
.tz-anim .tz-fate-line {
  opacity: 0;
  animation: tz-fadeup .55s ease forwards;
  animation-delay: calc(var(--d, 0) * 80ms);
}

/* 年份大字浮现 */
.tz-year-card.is-in .tz-year-num {
  animation: tz-yearpop .85s cubic-bezier(.2, 1.3, .4, 1) both .15s;
}
@keyframes tz-yearpop {
  from { opacity: 0; transform: scale(.62); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Ⅶ 供养价格卡 ---------- */
.tz-pay-price {
  margin-top: 14px;
  text-align: center;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  line-height: 1;
}
.tz-pay-cur {
  font-size: 24px;
  color: #eda13f;
  vertical-align: 22px;
  margin-right: 2px;
}
.tz-pay-num {
  font-size: 58px;
  letter-spacing: 3px;
  color: #ffcf7d;
  text-shadow: 0 0 30px rgba(255, 207, 125, .35), 0 3px 12px rgba(0, 0, 0, .6);
}
.tz-pay-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 3px;
  color: rgba(237, 161, 63, .8);
}
.tz-pay-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.tz-pay-item { display: flex; gap: 13px; align-items: flex-start; }
.tz-pay-item i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-style: normal;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 15px;
  color: #ffcf7d;
  border: 1px solid rgba(237, 161, 63, .55);
  border-radius: 50%;
  background: rgba(237, 161, 63, .09);
}
.tz-pay-item span { font-size: 13px; line-height: 1.75; color: #e8dcc8; }
.tz-pay-btn { width: 100%; margin-top: 22px; animation: none; }
.tz-pay.is-hl { animation: tz-pulse 1.15s ease 2; }
@keyframes tz-pulse {
  0%, 100% { box-shadow: 0 18px 44px rgba(0, 0, 0, .65); }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 207, 125, .95),
      inset 0 0 0 7px rgba(246, 198, 132, .6),
      0 0 38px rgba(255, 180, 80, .4),
      0 18px 44px rgba(0, 0, 0, .65);
  }
}

/* ---------- ⑤ 命书全卷 ---------- */
.bk-open {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 1px;
  color: rgba(242, 230, 216, .7);
}
.bk-body { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.bk-body p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #e8dcc8;
}
.bk-body .tz-dim { color: rgba(242, 230, 216, .5); font-size: 13px; }
.bk-todo {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid rgba(246, 198, 132, .22);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  user-select: none;
}
.bk-item:active { transform: scale(.985); }
.bk-item i {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(237, 161, 63, .6);
  border-radius: 5px;
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.bk-item.done { background: rgba(237, 161, 63, .1); border-color: rgba(237, 161, 63, .45); }
.bk-item.done i { background: #eda13f; border-color: #eda13f; }
.bk-item.done i::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid #1a0800;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.bk-item.done span { color: rgba(242, 230, 216, .55); text-decoration: line-through; text-decoration-color: rgba(237, 161, 63, .5); }
.bk-item span { font-size: 13px; line-height: 1.7; color: #e8dcc8; }
.bk-line-wrap {
  margin-top: 18px;
  padding: 14px 14px 12px;
  border: 1px dashed rgba(224, 54, 34, .45);
  border-radius: 10px;
  background: rgba(224, 54, 34, .06);
}
.bk-line-k {
  margin: 0 0 4px;
  font-size: 10.5px;
  letter-spacing: 5px;
  color: rgba(224, 54, 34, .9);
  font-family: "Noto Serif SC", serif;
}
.bk-line-v { margin: 0; font-size: 13px; line-height: 1.8; color: #f2dfc0; }
.bk-tail { text-align: center; }

/* ---------- 余烬粒子层 ---------- */
.rz-embers {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

/* ---------- 无障碍：减少动效 ---------- */
@media not all { /* 动效照常播放：忽略系统「减少动态效果」（原 reduce 降级规则保留，改回此行即可恢复） */
  .rz-vbg video { transition-duration: .01s; }
  .rz-orbit i { animation-duration: 3s; }
  .rz-view { transition-duration: .01s; }
  .rz-qstep, .rz-pill { animation-duration: .01s; }
  .tz-card, .rz-tz-lock, .tz-pal, .tz-center { opacity: 1; transform: none; transition: none; }
  .tz-anim .tz-mir-line, .tz-anim .tz-fate-row, .tz-anim .tz-fate-line { opacity: 1; animation: none; }
  .tz-year-card.is-in .tz-year-num { animation: none; }
}
