/* 天机启命 · 风云式仪式 */

body.tjp-ritual-active {
  overflow: hidden !important;
}

body.tjp-ritual-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 19990;
  background: #020304;
  pointer-events: none;
}

body.tjp-pivot-active .tjp-page {
  position: relative;
  z-index: 20000;
}

body.tjp-ritual-active .tjp-sky {
  visibility: hidden !important;
}

body.tjp-ritual-active .tjp-page > *:not(#tjpWheel) {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.tjp-ritual-active #tjpWheel {
  visibility: visible !important;
}

body.tjp-ritual-active .tjp-hero,
body.tjp-ritual-active .m-box,
body.tjp-ritual-active .public_test_fixed,
body.tjp-ritual-active .base-order-history,
body.tjp-ritual-active .m_top_tip,
body.tjp-ritual-active .m-order-history {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.tjp-pivot-active .tjp-open-hint {
  display: none !important;
}

/* ── 天机盘落地区（含营销模块） ── */
body.tjp-cosmos .tjp-landing-only {
  min-height: auto;
  padding-bottom: 0.08rem;
}

body.tjp-cosmos .tjp-form-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.tjp-cosmos .public_test_fixed {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(100%);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}

body.tjp-cosmos .public_test_fixed.is-scroll-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

body.tjp-cosmos.tjp-ritual-active .public_test_fixed,
body.tjp-cosmos.tjp-pivot-active .public_test_fixed,
body.tjp-cosmos.tjp-ritual-active #testFixedBtn,
body.tjp-cosmos.tjp-pivot-active #testFixedBtn,
body.tjp-cosmos.tjp-ritual-active #testFixedBtn.is-scroll-show,
body.tjp-cosmos.tjp-pivot-active #testFixedBtn.is-scroll-show {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(100%) !important;
}

body.tjp-cosmos.tjp-ritual-active .public_test_fixed span,
body.tjp-cosmos.tjp-pivot-active .public_test_fixed span {
  animation: none !important;
}

.tjp-open-hint {
  text-align: center;
  margin-top: 0.14rem;
  animation: tjp-hint-pulse 2.4s ease-in-out infinite;
}

.tjp-open-hint__main {
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.18rem;
  color: #f5e6a8;
  letter-spacing: 0.1rem;
  text-shadow: 0 0 0.1rem rgba(245, 230, 168, 0.38);
}

.tjp-open-hint__sub {
  font-size: 0.1rem;
  color: rgba(94, 196, 182, 0.75);
  margin-top: 0.06rem;
  letter-spacing: 0.06rem;
}

@keyframes tjp-hint-pulse {
  0%, 100% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -3px, 0);
  }
}

#tjpWheelTap {
  position: absolute;
  inset: 0;
  z-index: 12;
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

#tjpWheelTap.is-disabled {
  pointer-events: none;
  cursor: default;
}

.tjp-palm-layer {
  position: absolute;
  inset: 0;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.tjp-palm-layer.is-idle,
.tjp-palm-layer.is-visible {
  opacity: 1;
}

.tjp-palm-layer.is-idle .tjp-palm-layer__icon {
  animation: tjp-palm-beat 1.2s ease-in-out infinite;
}

.tjp-palm-layer.is-charging .tjp-palm-layer__icon {
  animation: tjp-palm-beat 0.35s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(94, 196, 182, 0.55);
}

.tjp-palm-layer__ring {
  position: absolute;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  animation: tjp-palm-pulse 1.6s ease-in-out infinite;
}

.tjp-palm-layer.is-charging .tjp-palm-layer__ring {
  border-color: rgba(94, 196, 182, 0.65);
  animation-duration: 0.45s;
}

.tjp-palm-layer__icon {
  width: 0.58rem;
  height: 0.58rem;
  line-height: 0.58rem;
  text-align: center;
  border-radius: 50%;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.27rem;
  color: #1a1035;
  background: radial-gradient(circle, #f5e6a8, #c9a227);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.58);
  animation: tjp-palm-beat 0.8s ease-in-out infinite;
}

@keyframes tjp-palm-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

#tjpWheel.is-frenzy .tjp-orbit--1 {
  animation-duration: 2.8s !important;
}

#tjpWheel.is-frenzy .tjp-orbit--2 {
  animation-duration: 3.6s !important;
}

#tjpWheel.is-frenzy .tjp-wheel__stage {
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

.tjp-palm-trigger {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
}

.tjp-palm-ring {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.25);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tjp-palm-trigger.is-charging .tjp-palm-ring {
  border-color: rgba(94, 196, 182, 0.7);
  box-shadow: 0 0 20px rgba(94, 196, 182, 0.35);
  animation: tjp-palm-pulse 0.6s ease-in-out infinite;
}

.tjp-palm-trigger.is-ready .tjp-palm-ring {
  border-color: #f5e6a8;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  transform: scale(1.15);
}

@keyframes tjp-palm-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.tjp-palm-icon {
  width: 0.52rem;
  height: 0.52rem;
  line-height: 0.52rem;
  text-align: center;
  border-radius: 50%;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.22rem;
  color: #1a1035;
  background: radial-gradient(circle at 35% 35%, #f5e6a8, #c9a227);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
  position: relative;
  z-index: 2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tjp-palm-trigger:active .tjp-palm-icon,
.tjp-palm-trigger.is-charging .tjp-palm-icon {
  transform: scale(0.92);
  box-shadow: 0 0 24px rgba(94, 196, 182, 0.55);
}

.tjp-palm-hint {
  margin-top: 0.08rem;
  font-size: 0.1rem;
  color: rgba(245, 230, 168, 0.75);
  letter-spacing: 0.06rem;
  animation: tjp-hint-blink 2.5s ease-in-out infinite;
}

@keyframes tjp-hint-blink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.tjp-form-zone__step {
  text-align: center;
  font-size: 0.1rem;
  color: rgba(212, 175, 55, 0.7);
  letter-spacing: 0.1rem;
  margin-bottom: 0.08rem;
}

.tjp-form-ritual-hint {
  text-align: center;
  font-size: 0.1rem;
  color: rgba(94, 196, 182, 0.65);
  margin-top: 0.08rem;
  line-height: 1.5;
}

.tjp-btn-ritual {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
}

.tjp-btn-ritual__pulse {
  display: inline-block;
  width: 0.08rem;
  height: 0.08rem;
  border-radius: 50%;
  background: #5ec4b6;
  box-shadow: 0 0 8px #5ec4b6;
  animation: tjp-hint-blink 1.2s infinite;
}

/* ── 全屏仪式层 ── */
.tjp-ritual {
  position: fixed;
  inset: 0;
  z-index: 19910000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

.tjp-ritual.is-visible {
  opacity: 1;
}

.tjp-ritual__veil {
  position: absolute;
  inset: 0;
  background: #020304;
  opacity: 1;
}

.tjp-ritual__pillar {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 0.8rem;
  height: 0;
  margin-left: -0.4rem;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.15), rgba(94, 196, 182, 0.35), rgba(212, 175, 55, 0.1), transparent);
  filter: blur(8px);
  opacity: 0;
  transition: height 1s ease, opacity 0.5s;
}

.tjp-ritual__pillar.is-active {
  height: 120vh;
  opacity: 1;
}

.tjp-ritual__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, transform 0.8s;
}

.tjp-ritual.is-rise .tjp-ritual__stage {
  transform: translateY(-18vh);
}

.tjp-ritual__stage.is-faded {
  opacity: 0;
  transform: translateY(-28vh) scale(0.6);
}

.tjp-ritual__wheel {
  position: relative;
  width: 3rem;
  height: 3rem;
  transition: transform 1.2s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.tjp-ritual.is-rise .tjp-ritual__wheel {
  transform: scale(1.35) translateY(-0.4rem);
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5));
}

.tjp-ritual__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  pointer-events: none;
}

.tjp-ritual__orbit--1 {
  inset: 0.1rem;
  animation: tjp-ritual-orbit 4s linear infinite;
}

.tjp-ritual__orbit--2 {
  inset: -0.08rem;
  border-color: rgba(94, 196, 182, 0.15);
  animation: tjp-ritual-orbit 6s linear infinite reverse;
}

.tjp-ritual.is-spin .tjp-ritual__orbit--1 {
  animation-duration: 0.8s;
}

.tjp-ritual.is-spin .tjp-ritual__orbit--2 {
  animation-duration: 1.1s;
}

@keyframes tjp-ritual-orbit {
  to { transform: rotate(360deg); }
}

.tjp-ritual__disk {
  position: absolute;
  inset: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tjp-ritual__ring {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tjp-ritual__ring--outer {
  animation: tjp-ritual-orbit 12s linear infinite;
}

.tjp-ritual__ring--inner {
  width: 78%;
  height: 78%;
  animation: tjp-ritual-orbit 9s linear infinite reverse;
}

.tjp-ritual__disk.is-spinning .tjp-ritual__ring--outer {
  animation: tjp-ritual-orbit 0.55s linear infinite;
}

.tjp-ritual__disk.is-spinning .tjp-ritual__ring--inner {
  animation: tjp-ritual-orbit 0.7s linear infinite reverse;
}

.tjp-ritual__core {
  width: 38%;
  height: 38%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  z-index: 2;
}

.tjp-ritual__palm {
  position: absolute;
  z-index: 3;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 168, 0.9), rgba(201, 162, 39, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.2rem;
  color: #1a1035;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.7);
  transition: opacity 0.4s, transform 0.4s;
}

.tjp-ritual.is-charge .tjp-ritual__palm {
  animation: tjp-palm-pulse 0.5s ease-in-out infinite;
}

.tjp-ritual.is-spin .tjp-ritual__palm,
.tjp-ritual.is-rise .tjp-ritual__palm {
  opacity: 0;
  transform: scale(2);
}

/* 命盘 */
.tjp-ritual__mingpan {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0.75);
  opacity: 0;
  text-align: center;
  width: 94%;
  max-width: 3.8rem;
  transition: opacity 0.6s, transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1);
  z-index: 3;
}

.tjp-ritual--reveal.is-mingpan .tjp-ritual__mingpan {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
}

.tjp-ritual--reveal.is-ascend .tjp-ritual__mingpan {
  opacity: 0;
  transform: translate(-50%, -58%) scale(0.85);
  transition-duration: 0.8s;
}

.tjp-ritual__name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.32rem;
  color: #f5e6a8;
  letter-spacing: 0.12rem;
  margin-bottom: 0.1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.tjp-ritual__birth {
  font-size: 0.13rem;
  color: rgba(94, 196, 182, 0.9);
  margin-bottom: 0.22rem;
}

.tjp-ritual__pillars {
  display: flex;
  justify-content: center;
  gap: 0.12rem;
  margin-bottom: 0.18rem;
}

.tjp-ritual__col {
  width: 0.72rem;
  padding: 0.14rem 0.06rem;
  border-radius: 0.1rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
  animation: tjp-pillar-in 0.6s ease backwards;
}

.tjp-ritual__col em {
  display: block;
  font-style: normal;
  font-size: 0.11rem;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 0.06rem;
}

.tjp-ritual__col strong {
  display: block;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.26rem;
  color: #f5e6a8;
  font-weight: 700;
  animation: tjp-pillar-glow 1.2s ease-in-out infinite alternate;
}

@keyframes tjp-pillar-in {
  from { opacity: 0; transform: translateY(20px) rotateY(90deg); }
  to { opacity: 1; transform: none; }
}

@keyframes tjp-pillar-glow {
  from { text-shadow: 0 0 4px rgba(212, 175, 55, 0.3); }
  to { text-shadow: 0 0 12px rgba(212, 175, 55, 0.8), 0 0 20px rgba(94, 196, 182, 0.3); }
}

.tjp-ritual__status {
  font-size: 0.14rem;
  color: rgba(232, 220, 200, 0.7);
  letter-spacing: 0.1rem;
  animation: tjp-hint-blink 1.5s infinite;
}

.tjp-ritual__flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(245, 230, 168, 0.5), transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.tjp-ritual__flash.is-active {
  animation: tjp-ritual-flash 0.92s ease-out forwards;
}

@keyframes tjp-ritual-flash {
  0% { opacity: 0; }
  10% { opacity: 1; }
  22% { opacity: 0.98; }
  38% { opacity: 0.55; }
  100% { opacity: 0; }
}

.tjp-ritual__ambience {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tjp-ritual__ambience-glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 120%;
  height: 55%;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0;
  animation: tjp-ritual-ambience-breathe 8s ease-in-out infinite;
}

.tjp-ritual__ambience-glow--a {
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.16) 0%, transparent 68%);
}

.tjp-ritual__ambience-glow--b {
  width: 90%;
  height: 42%;
  background: radial-gradient(ellipse at 50% 100%, rgba(94, 196, 182, 0.1) 0%, transparent 72%);
  animation-delay: -3.5s;
}

.tjp-ritual__ambience-mist {
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  height: 38%;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.42) 0%, transparent 100%);
  opacity: 0.75;
}

@keyframes tjp-ritual-ambience-breathe {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(0.96); }
  50% { opacity: 0.82; transform: translateX(-50%) scale(1.02); }
}

/* 冲天漂浮文字 · 风云式立体光柱 */
.tjp-ritual__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
  perspective-origin: 50% 75%;
}

.tjp-ritual__pillars-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tjp-ritual__pillar {
  position: absolute;
  bottom: -10%;
  width: var(--pillar-w, 40px);
  height: 125%;
  transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg));
  transform-origin: bottom center;
  background: linear-gradient(
    to top,
    transparent 0%,
    rgba(94, 196, 182, 0.05) 20%,
    rgba(212, 175, 55, 0.14) 42%,
    rgba(255, 248, 220, 0.24) 52%,
    rgba(212, 175, 55, 0.1) 70%,
    transparent 94%
  );
  filter: blur(3px);
  opacity: 0;
  animation: tjp-ritual-pillar-rise 7s ease-in-out infinite;
}

.tjp-ritual__pillar::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: linear-gradient(
    to top,
    transparent,
    rgba(255, 255, 255, 0.4) 46%,
    rgba(245, 230, 168, 0.65) 50%,
    rgba(255, 255, 255, 0.4) 54%,
    transparent
  );
}

.tjp-ritual__pillar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 168, 0.55) 0%, transparent 72%);
  filter: blur(2px);
}

@keyframes tjp-ritual-pillar-rise {
  0%, 100% { opacity: 0; transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg)) scaleY(0.8); }
  30%, 70% { opacity: 0.85; transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg)) scaleY(1); }
}

.tjp-ritual__float {
  position: absolute;
  bottom: -5%;
  transform-style: preserve-3d;
  animation: tjp-ritual-rise-stereo var(--dur, 7s) ease-in-out forwards;
  opacity: 0;
  will-change: transform, opacity;
}

.tjp-ritual__float-beam {
  position: absolute;
  left: 50%;
  top: -70%;
  width: 3px;
  height: 160%;
  margin-left: -1.5px;
  transform: translateZ(-20px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(245, 230, 168, 0.28) 44%,
    rgba(212, 175, 55, 0.55) 50%,
    rgba(245, 230, 168, 0.28) 56%,
    rgba(255, 255, 255, 0.08) 82%,
    transparent 100%
  );
  filter: blur(1px);
  animation: tjp-ritual-beam-pulse 2.8s ease-in-out infinite;
}

.tjp-ritual__float-beam--word {
  top: -50%;
  height: 130%;
}

.tjp-ritual__float-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.6em;
  height: 2.6em;
  transform: translate(-50%, -50%) translateZ(-8px);
  background: radial-gradient(circle, rgba(255, 248, 220, 0.4) 0%, rgba(212, 175, 55, 0.18) 40%, transparent 72%);
  filter: blur(7px);
  animation: tjp-ritual-glow-breathe 3.2s ease-in-out infinite;
}

.tjp-ritual__float-glow--word {
  width: 4em;
  height: 1.6em;
}

.tjp-ritual__float-glyph {
  position: relative;
  transform-style: preserve-3d;
  animation: tjp-ritual-glyph-spin 4s linear infinite;
}

.tjp-ritual__float-glyph--word {
  animation-duration: 3.6s;
}

.tjp-ritual__float-face {
  display: block;
  font-family: "Songti SC", "STSong", serif;
  font-weight: 700;
  color: rgba(255, 248, 230, 0.95);
  text-shadow:
    0 0 0.08rem rgba(255, 255, 255, 0.95),
    0 0 0.2rem rgba(245, 230, 168, 0.9),
    0 0 0.4rem rgba(212, 175, 55, 0.6),
    0 0.02rem 0.06rem rgba(0, 0, 0, 0.85);
  backface-visibility: hidden;
  transform: translateZ(0.03rem);
  white-space: nowrap;
}

.tjp-ritual__float-face--edge {
  position: absolute;
  inset: 0;
  color: rgba(212, 175, 55, 0.5);
  transform: translateZ(-0.03rem) scale(1.05);
  filter: blur(0.5px);
  opacity: 0.6;
}

.tjp-ritual__float-face--back {
  position: absolute;
  inset: 0;
  color: rgba(212, 175, 55, 0.32);
  transform: rotateY(180deg) translateZ(0.03rem);
  text-shadow: 0 0 0.16rem rgba(212, 175, 55, 0.45);
}

.tjp-ritual__float-face--word {
  font-size: 0.15rem;
  letter-spacing: 0.1rem;
  color: rgba(245, 230, 168, 0.82);
}

.tjp-ritual__float--lg .tjp-ritual__float-face:not(.tjp-ritual__float-face--word) {
  font-size: 0.3rem;
}

.tjp-ritual__float--md .tjp-ritual__float-face:not(.tjp-ritual__float-face--word) {
  font-size: 0.2rem;
}

.tjp-ritual__float--sm .tjp-ritual__float-face:not(.tjp-ritual__float-face--word) {
  font-size: 0.14rem;
  color: rgba(200, 245, 238, 0.92);
  text-shadow:
    0 0 0.08rem rgba(255, 255, 255, 0.8),
    0 0 0.2rem rgba(94, 196, 182, 0.75),
    0 0 0.36rem rgba(94, 196, 182, 0.4);
}

.tjp-ritual__word--phrase {
  z-index: 2;
}

.tjp-ritual__word--phrase .tjp-ritual__float-face--word {
  font-size: 0.18rem;
  letter-spacing: 0.08rem;
  color: rgba(255, 248, 230, 0.92);
  text-shadow:
    0 0 0.1rem rgba(255, 255, 255, 0.85),
    0 0 0.24rem rgba(245, 230, 168, 0.75),
    0 0 0.42rem rgba(212, 175, 55, 0.45);
}

.tjp-ritual__word {
  position: absolute;
  bottom: -8%;
  transform-style: preserve-3d;
  animation: tjp-ritual-word-rise 8s ease-in-out forwards;
  opacity: 0;
}

.tjp-ritual__spark {
  position: absolute;
  bottom: 0;
  width: var(--spark-w, 3px);
  height: var(--spark-h, 0.55rem);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(245, 230, 168, 0.82) 35%,
    rgba(212, 175, 55, 0.45) 70%,
    transparent 100%
  );
  border-radius: 2px;
  filter: blur(0.5px);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.95), 0 0 22px rgba(245, 230, 168, 0.45);
  animation: tjp-ritual-spark-rise 3s ease-out forwards;
  opacity: 0;
}

.tjp-ritual__spark--center {
  bottom: 28%;
  height: var(--spark-h, 0.78rem);
  opacity: 0;
  box-shadow:
    0 0 14px rgba(255, 248, 220, 0.95),
    0 0 28px rgba(212, 175, 55, 0.75),
    0 0 40px rgba(94, 196, 182, 0.25);
  animation: tjp-ritual-spark-center 4.2s ease-out forwards;
}

@keyframes tjp-ritual-rise-stereo {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, var(--z-start, -40px)) rotateX(28deg) rotateZ(0deg) scale(0.45);
  }
  12% { opacity: 1; }
  72% { opacity: 0.88; }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 0), -115vh, var(--z-end, 80px)) rotateX(-12deg) rotateZ(var(--rot, 0deg)) scale(1.25);
  }
}

@keyframes tjp-ritual-word-rise {
  0% { opacity: 0; transform: translate3d(0, 0, -30px) rotateX(20deg) scale(0.7); }
  14% { opacity: 0.85; }
  70% { opacity: 0.75; }
  100% { opacity: 0; transform: translate3d(var(--drift, 0), -100vh, 60px) rotateX(-8deg) scale(1.1); }
}

@keyframes tjp-ritual-spark-rise {
  0% { opacity: 0; transform: translateY(0) scaleY(0.2); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-105vh) scaleY(2.2); }
}

@keyframes tjp-ritual-spark-center {
  0% {
    opacity: 0;
    transform: translateY(0) scaleY(0.15) scaleX(0.7);
  }
  12% { opacity: 1; }
  55% { opacity: 0.92; }
  100% {
    opacity: 0;
    transform: translateY(-72vh) scaleY(2.6) scaleX(1.15);
  }
}

@keyframes tjp-ritual-glyph-spin {
  0% { transform: rotateY(0deg) rotateX(22deg); }
  100% { transform: rotateY(360deg) rotateX(22deg); }
}

@keyframes tjp-ritual-beam-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes tjp-ritual-glow-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) translateZ(-8px) scale(0.88); }
  50% { opacity: 1; transform: translate(-50%, -50%) translateZ(-8px) scale(1.18); }
}

.tjp-ritual__ascend {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.tjp-ritual--reveal.is-ascend .tjp-ritual__ascend {
  animation: tjp-name-rise 5s ease forwards;
}

.tjp-ritual--reveal.is-floating .tjp-ritual__particles {
  opacity: 1;
}

.tjp-ritual--reveal .tjp-ritual__particles {
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 2;
}

.tjp-ritual--reveal .tjp-ritual__pillar {
  z-index: 1;
}

@keyframes tjp-name-rise {
  0% { opacity: 0; transform: translate(-50%, 45vh) scale(0.5); filter: blur(4px); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); filter: blur(0); }
  55% { opacity: 1; transform: translate(-50%, -65%) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -140vh) scale(1.15); filter: blur(2px); }
}

.tjp-ritual__name-rise {
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.28rem;
  color: #f5e6a8;
  letter-spacing: 0.14rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.75), 0 0 36px rgba(212, 175, 55, 0.25);
}

.tjp-ritual__meta-rise {
  font-size: 0.14rem;
  color: rgba(94, 196, 182, 0.9);
  margin-top: 0.12rem;
}

.tjp-ritual__line {
  font-size: 0.11rem;
  color: rgba(232, 220, 200, 0.55);
  margin-top: 0.14rem;
  letter-spacing: 0.08rem;
}

@media (prefers-reduced-motion: reduce) {
  .tjp-palm-hint,
  .tjp-ritual__col strong,
  .tjp-ritual__status,
  .tjp-ritual__float-glyph,
  .tjp-ritual__float-beam,
  .tjp-ritual__float-glow,
  .tjp-ritual__pillar {
    animation: none !important;
  }
}

/* ── 仪式全流程：上浮狂转 → 四柱 → 命盘漂浮 → 闪光 ── */
body.tjp-pivot-active #tjpWheel {
  position: fixed;
  z-index: 20001;
  left: 50%;
  top: 38%;
  width: auto;
  max-width: 3.5rem;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.4s;
}

body.tjp-pivot-active #tjpWheel .tjp-wheel__stage {
  width: 3.5rem;
  height: 3.5rem;
  animation: none !important;
  filter: drop-shadow(0 0 0.2rem rgba(212, 175, 55, 0.45));
}

body.tjp-pivot-active #tjpWheel .tjp-orbit--1 {
  width: 3.35rem;
  height: 3.35rem;
}

body.tjp-pivot-active #tjpWheel .tjp-orbit--2 {
  width: 3.75rem;
  height: 3.75rem;
}

body.tjp-pivot-active #tjpWheel .tjp-orbit--3 {
  width: 3.95rem;
  height: 3.95rem;
}

body.tjp-pivot-active #tjpWheel.is-ritual-rise {
  animation: tjp-wheel-rise 1.15s cubic-bezier(0.22, 0.85, 0.28, 1) forwards;
}

body.tjp-pivot-active #tjpWheel.is-ritual-rise,
body.tjp-pivot-active #tjpWheel.is-pivoting {
  opacity: 1 !important;
}

body.tjp-pivot-active #tjpWheel.is-ritual-float {
  animation: tjp-wheel-float 4.2s ease-in-out infinite;
  top: 28%;
}

body.tjp-pivot-active #tjpWheel.is-ritual-dim {
  opacity: 0.35;
  filter: blur(1px) brightness(0.7);
  transition: opacity 0.8s, filter 0.8s;
}

@keyframes tjp-wheel-rise {
  0% {
    transform: translate(-50%, 42vh) scale(0.82);
    opacity: 0.25;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes tjp-wheel-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-0.12rem); }
}

body.tjp-pivot-active #tjpWheel.is-pivot-mode .tjp-palm-layer,
body.tjp-pivot-active #tjpWheel.is-pivot-mode #tjpWheelTap,
body.tjp-pivot-active #tjpWheel.is-pivot-mode .tjp-open-hint {
  opacity: 0 !important;
  pointer-events: none;
}

body.tjp-pivot-active #tjpWheel.is-ritual-hidden {
  display: none !important;
}


/* 四柱测算 · 紧挨首页罗盘下方 */
.tjp-wheel__pivot {
  display: none;
  width: 100%;
  max-width: 3.35rem;
  margin-top: 0.1rem;
  text-align: center;
  z-index: 20002;
}

body.tjp-pivot-active #tjpWheel.is-pivoting .tjp-wheel__pivot {
  display: block;
  animation: tjp-pivot-in 0.45s ease forwards;
}

@keyframes tjp-pivot-in {
  from { opacity: 0; transform: translateY(0.12rem); }
  to { opacity: 1; transform: none; }
}

.tjp-wheel__calc-sub {
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.12rem;
  color: rgba(94, 196, 182, 0.92);
  letter-spacing: 0.1rem;
  min-height: 0.18rem;
  margin-bottom: 0.12rem;
  text-shadow: 0 0 0.1rem rgba(94, 196, 182, 0.35);
}

.tjp-wheel__bz-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.2rem;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.26rem 0.08rem 0;
  min-height: 1.12rem;
  box-sizing: border-box;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .order-bz,
#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz {
  flex: 0 0 0.34rem !important;
  width: 0.34rem !important;
  min-width: 0.34rem !important;
  max-width: 0.34rem !important;
  text-align: center;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .order-bz__sub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 0.34rem !important;
  min-width: 0.34rem !important;
  min-height: 0.96rem;
  margin: 0 auto;
  padding: 0.32rem 0 0.14rem;
  border-radius: 0.03rem;
  box-sizing: border-box;
  overflow: visible;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--slot .order-bz__sub {
  background: linear-gradient(
    to bottom,
    rgba(94, 196, 182, 0.1) 0%,
    rgba(212, 175, 55, 0.08) 45%,
    transparent 100%
  ) !important;
  border: 1px solid rgba(94, 196, 182, 0.14) !important;
  box-shadow: inset 0 0 0.14rem rgba(94, 196, 182, 0.06) !important;
  opacity: 0.55;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--slot .tjp-order-bz__label,
#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--slot .tjp-order-bz__gz {
  visibility: hidden !important;
  opacity: 0 !important;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--revealed .order-bz__sub {
  opacity: 1;
  background: linear-gradient(
    to bottom,
    rgba(94, 196, 182, 0.18) 0%,
    rgba(212, 175, 55, 0.42) 22%,
    rgba(212, 175, 55, 0.1) 58%,
    transparent 100%
  ) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  box-shadow:
    0 0 0.14rem rgba(94, 196, 182, 0.12),
    inset 0 0 0.18rem rgba(212, 175, 55, 0.1) !important;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--revealed .order-bz__sub::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.08rem;
  bottom: 0.06rem;
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(245, 230, 168, 0.35) 40%,
    transparent 100%
  );
  opacity: 0.65;
  pointer-events: none;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--revealed .tjp-order-bz__label {
  position: absolute;
  top: -0.14rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.34rem;
  height: 0.34rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.92) !important;
  color: rgba(94, 196, 182, 0.95) !important;
  font-size: 0.15rem;
  font-weight: 700;
  font-family: "Songti SC", "STSong", serif;
  z-index: 2;
  margin: 0;
  padding: 0;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px solid rgba(94, 196, 182, 0.45);
  box-shadow: 0 0 0.1rem rgba(94, 196, 182, 0.35);
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--revealed .tjp-order-bz__gz {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.03rem;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.21rem;
  font-weight: 600;
  color: rgba(255, 248, 235, 0.96) !important;
  line-height: 1.12;
  text-align: center;
  min-height: 0.48rem;
  visibility: visible !important;
  opacity: 1 !important;
  text-shadow:
    0 0 0.06rem rgba(255, 255, 255, 0.55),
    0 0 0.12rem rgba(94, 196, 182, 0.3);
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--revealed .tjp-order-bz__gz i {
  display: block;
  width: 100%;
  font-style: normal;
  text-align: center;
}

#tjpWheelPivot.item-bazi #tjpPivotSlots .tjp-order-bz--active .order-bz__sub {
  opacity: 0.85;
  border-color: rgba(94, 196, 182, 0.45) !important;
  box-shadow:
    0 0 0.16rem rgba(94, 196, 182, 0.28),
    inset 0 0 0.2rem rgba(94, 196, 182, 0.12) !important;
}

.tjp-order-bz--enter {
  animation: tjp-bz-enter 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.tjp-order-bz--enter .order-bz__sub {
  animation: tjp-bz-beam-in 0.55s ease-out both;
}

@keyframes tjp-bz-beam-in {
  0% {
    opacity: 0;
    transform: scaleY(0.35);
    filter: brightness(2);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    filter: brightness(1);
  }
}

.tjp-order-bz--locked .tjp-order-bz__gz i {
  animation: tjp-bz-lock 0.35s ease both;
}

@keyframes tjp-bz-enter {
  0% {
    opacity: 0;
    transform: translateY(0.1rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tjp-bz-lock {
  0% { opacity: 0.25; letter-spacing: 0.2rem; }
  100% { opacity: 1; letter-spacing: 0.08rem; }
}

.tjp-ritual__mingpan-float {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 20vh) scale(0.88);
  width: 92%;
  max-width: 3.4rem;
  text-align: center;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.tjp-ritual--flow.is-mingpan-float .tjp-ritual__mingpan-float {
  animation: tjp-mingpan-rise 3.2s ease-in-out forwards;
}

@keyframes tjp-mingpan-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 22vh) scale(0.88);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -6vh) scale(1);
  }
  52% {
    opacity: 1;
    transform: translate(-50%, -22vh) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -38vh) scale(1.02);
  }
}

.tjp-ritual--flow.is-mingpan-shatter .tjp-ritual__mingpan-float {
  animation: none;
  opacity: 1;
  transform: translate(-50%, -38vh) scale(1.02);
}

.tjp-ritual--flow.is-mingpan-shatter .tjp-ritual__name,
.tjp-ritual--flow.is-mingpan-shatter .tjp-ritual__birth,
.tjp-ritual--flow.is-mingpan-shatter .tjp-ritual__col {
  animation: tjp-shatter-piece 0.78s ease-out forwards;
}

@keyframes tjp-shatter-piece {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: blur(0);
  }
  35% {
    opacity: 1;
    transform: translate(calc(var(--sx, 12px) * 0.35), calc(var(--sy, -20px) * 0.35)) scale(1.08) rotate(calc(var(--rot, 12deg) * 0.4));
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx, 24px), var(--sy, -48px)) scale(0.25) rotate(var(--rot, 24deg));
    filter: blur(5px);
  }
}

.tjp-ritual--flow.is-text-float .tjp-ritual__particles {
  opacity: 1;
  transition: opacity 0.15s ease;
}

.tjp-ritual--flow .tjp-ritual__particles {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.tjp-ritual--flow.is-mingpan-float.is-text-float .tjp-ritual__mingpan-float {
  z-index: 3;
}

.tjp-ritual--flow.is-mingpan-float.is-text-float .tjp-ritual__particles {
  opacity: 0.95;
}

.tjp-ritual--flow.is-flash .tjp-ritual__particles,
.tjp-ritual--flow .tjp-ritual__particles.is-fading {
  opacity: 0;
  transition: opacity 0.75s ease;
}

.tjp-ritual--flow .tjp-ritual__particles.is-settling {
  opacity: 0.72;
  transition: opacity 0.5s ease;
}

.tjp-ritual--flow.is-flash .tjp-ritual__veil {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tjp-ritual--flow.is-flash .tjp-ritual__flash {
  z-index: 12;
}

.tjp-ritual--flow.is-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 13;
  pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(255, 252, 240, 0.98) 0%, rgba(245, 230, 168, 0.55) 28%, transparent 62%);
  opacity: 0;
  animation: tjp-ritual-white-burst 0.92s ease-out forwards;
}

@keyframes tjp-ritual-white-burst {
  0% { opacity: 0; transform: scale(0.92); }
  14% { opacity: 1; transform: scale(1); }
  32% { opacity: 0.72; }
  100% { opacity: 0; transform: scale(1.04); }
}

.tjp-ritual__flash.is-active {
  background: radial-gradient(circle at 50% 46%, rgba(255, 252, 235, 0.95), rgba(245, 230, 168, 0.72) 32%, rgba(94, 196, 182, 0.18) 52%, transparent 74%);
}

.tjp-ritual__loading {
  position: absolute;
  inset: 0;
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  padding: 0 0.28rem;
  opacity: 0;
  pointer-events: none;
  text-align: center;
}

.tjp-ritual--flow.is-loading .tjp-ritual__loading {
  opacity: 1;
  animation: tjp-loading-in 0.55s ease forwards;
}

.tjp-ritual--flow.is-loading .tjp-ritual__veil {
  opacity: 0.88;
  transition: opacity 0.45s ease;
}

.tjp-ritual--flow.is-loading .tjp-ritual__particles,
.tjp-ritual--flow.is-loading .tjp-ritual__mingpan-float {
  opacity: 0 !important;
  visibility: hidden;
}

@keyframes tjp-loading-in {
  from { opacity: 0; transform: translateY(0.12rem); }
  to { opacity: 1; transform: none; }
}

.tjp-ritual__loading-ring {
  position: relative;
  width: 0.72rem;
  height: 0.72rem;
  margin-bottom: 0.06rem;
}

.tjp-ritual__loading-ring i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.tjp-ritual__loading-ring i:nth-child(1) {
  border-top-color: rgba(245, 230, 168, 0.95);
  border-right-color: rgba(212, 175, 55, 0.35);
  animation: tjp-loading-orbit 1.6s linear infinite;
}

.tjp-ritual__loading-ring i:nth-child(2) {
  inset: 0.1rem;
  border-bottom-color: rgba(94, 196, 182, 0.75);
  border-left-color: rgba(212, 175, 55, 0.25);
  animation: tjp-loading-orbit 2.1s linear infinite reverse;
}

.tjp-ritual__loading-ring i:nth-child(3) {
  inset: 0.2rem;
  border-top-color: rgba(212, 175, 55, 0.65);
  animation: tjp-loading-orbit 1.2s linear infinite;
}

@keyframes tjp-loading-orbit {
  to { transform: rotate(360deg); }
}

.tjp-ritual__loading-main {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.22rem;
  letter-spacing: 0.12rem;
  color: #f5e6a8;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.55), 0 0 28px rgba(94, 196, 182, 0.2);
  animation: tjp-loading-text-pulse 2.4s ease-in-out infinite;
}

.tjp-ritual__loading-sub {
  margin: 0;
  font-size: 0.13rem;
  letter-spacing: 0.08rem;
  color: rgba(232, 220, 200, 0.72);
}

.tjp-ritual__loading-dots {
  display: flex;
  gap: 0.08rem;
  margin-top: 0.04rem;
}

.tjp-ritual__loading-dots span {
  width: 0.06rem;
  height: 0.06rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.85);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.65);
  animation: tjp-loading-dot 1.2s ease-in-out infinite;
}

.tjp-ritual__loading-dots span:nth-child(2) { animation-delay: 0.18s; }
.tjp-ritual__loading-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes tjp-loading-dot {
  0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1.15); }
}

@keyframes tjp-loading-text-pulse {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

.tjp-ritual__slots {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  width: 100%;
  max-width: 3.8rem;
}

.tjp-ritual__slot {
  flex: 1;
  min-width: 0;
  padding: 0.11rem 0.05rem;
  border-radius: 0.08rem;
  border: 1px dashed rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.06);
  text-align: center;
  transition: border-color 0.35s, background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.tjp-ritual__slot-label {
  display: block;
  font-size: 0.1rem;
  color: rgba(212, 175, 55, 0.7);
  margin-bottom: 0.05rem;
}

.tjp-ritual__slot-gz {
  display: block;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.17rem;
  color: rgba(245, 230, 168, 0.45);
  letter-spacing: 0.04rem;
  transition: color 0.35s, text-shadow 0.35s;
}

.tjp-ritual__slot.is-locked {
  border-color: rgba(212, 175, 55, 0.58);
  background: rgba(212, 175, 55, 0.14);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
}

.tjp-ritual__slot.is-locked .tjp-ritual__slot-gz {
  color: #f5e6a8;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

.tjp-ritual__mingpan-float .tjp-ritual__name {
  font-size: 0.22rem;
  margin-bottom: 0.08rem;
}

.tjp-ritual__mingpan-float .tjp-ritual__birth {
  font-size: 0.11rem;
  margin-bottom: 0.16rem;
}

.tjp-ritual__mingpan-float .tjp-ritual__pillars {
  gap: 0.1rem;
  margin-bottom: 0;
}

.tjp-ritual__mingpan-float .tjp-ritual__col {
  width: 0.68rem;
  padding: 0.12rem 0.05rem;
}

.tjp-ritual__mingpan-float .tjp-ritual__col strong {
  font-size: 0.2rem;
}

.tjp-ritual--flow .tjp-ritual__veil {
  z-index: 0;
}

/* ── 手机仪式：保留旋转飘字，去掉 blur / 多层 3D ── */
.tjp-ritual--mobile .tjp-ritual__particles {
  contain: strict;
}

.tjp-ritual--mobile .tjp-ritual__float,
.tjp-ritual--mobile .tjp-ritual__word {
  will-change: auto;
  contain: layout style;
  transform-style: flat;
}

.tjp-ritual--mobile .tjp-ritual__float-beam {
  display: none;
}

.tjp-ritual--mobile .tjp-ritual__float-glow {
  filter: none;
  animation: none;
  opacity: 0.48;
}

.tjp-ritual--mobile .tjp-ritual__float-glyph {
  transform-style: flat;
  animation: tjp-ritual-glyph-spin-mobile 10s linear infinite;
}

.tjp-ritual--mobile .tjp-ritual__float-glyph--word {
  animation-duration: 9s;
}

.tjp-ritual--mobile .tjp-ritual__word--phrase .tjp-ritual__float-face--word {
  font-size: 0.17rem;
  letter-spacing: 0.06rem;
}

.tjp-ritual--mobile .tjp-ritual__pillar,
.tjp-ritual--mobile .tjp-ritual__pillar::before,
.tjp-ritual--mobile .tjp-ritual__pillar::after {
  filter: none;
}

.tjp-ritual--mobile .tjp-ritual__spark {
  filter: none;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.72), 0 0 18px rgba(245, 230, 168, 0.35);
}

.tjp-ritual--mobile .tjp-ritual__spark--center {
  box-shadow:
    0 0 12px rgba(255, 248, 220, 0.9),
    0 0 24px rgba(212, 175, 55, 0.68);
}

.tjp-ritual--mobile .tjp-ritual__loading-main {
  font-size: 0.2rem;
  letter-spacing: 0.1rem;
}

@keyframes tjp-ritual-glyph-spin-mobile {
  0% { transform: rotateY(0deg) rotateX(14deg); }
  100% { transform: rotateY(360deg) rotateX(14deg); }
}
