/* 天机盘 · 玄学主题 — 天道流转，改天换命 */

:root {
  --tjp-night: #070b14;
  --tjp-deep: #0f1528;
  --tjp-purple: #1a1035;
  --tjp-gold: #d4af37;
  --tjp-gold-light: #f5e6a8;
  --tjp-gold-dim: rgba(212, 175, 55, 0.35);
  --tjp-jade: #5ec4b6;
  --tjp-card: rgba(18, 22, 40, 0.82);
  --tjp-card-border: rgba(212, 175, 55, 0.45);
  --tjp-text: #e8dcc8;
  --tjp-text-dim: rgba(232, 220, 200, 0.65);
  --tjp-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --tjp-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

/* ── 宇宙背景层 ── */
html {
  overflow-x: hidden;
}

body.tjp-cosmos {
  background: var(--tjp-night) !important;
  color: var(--tjp-text);
  font-family: var(--tjp-sans);
  position: relative;
  overflow-x: hidden !important;
  max-width: 100vw;
}

.tjp-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tjp-sky__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(80, 40, 140, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(30, 80, 120, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 10% 70%, rgba(100, 50, 80, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #070b14 0%, #0f1528 40%, #121828 70%, #0a0e1a 100%);
}

.tjp-sky__nebula {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(120, 60, 180, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(94, 196, 182, 0.06) 0%, transparent 35%);
  animation: tjp-nebula-shift 20s ease-in-out infinite alternate;
}

@keyframes tjp-nebula-shift {
  from { transform: scale(1) rotate(0deg); opacity: 0.7; }
  to { transform: scale(1.08) rotate(3deg); opacity: 1; }
}

.tjp-sky__stars,
.tjp-sky__dao {
  position: absolute;
  inset: 0;
}

.tjp-sky__dao {
  opacity: 0.85;
}

.tjp-sky__rings {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin-left: -2.1rem;
  pointer-events: none;
}

.tjp-sky__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.tjp-sky__ring--a {
  animation: tjp-ring-spin 80s linear infinite;
  border-style: dashed;
}

.tjp-sky__ring--b {
  inset: 0.25rem;
  animation: tjp-ring-spin 55s linear infinite reverse;
  border-color: rgba(94, 196, 182, 0.08);
}

.tjp-sky__ring--c {
  inset: 0.5rem;
  animation: tjp-ring-spin 35s linear infinite;
  border: 1px dotted rgba(212, 175, 55, 0.06);
}

.tjp-sky__ring--a::after,
.tjp-sky__ring--b::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--tjp-gold);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

.tjp-sky__ring--b::after {
  top: auto;
  bottom: -2px;
  background: var(--tjp-jade);
  box-shadow: 0 0 6px rgba(94, 196, 182, 0.8);
}

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

.tjp-meteor {
  position: absolute;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 230, 168, 0.9), transparent);
  transform: rotate(-35deg);
  animation: tjp-meteor-fly 1s ease-in forwards;
  opacity: 0;
}

@keyframes tjp-meteor-fly {
  0% { opacity: 0; transform: rotate(-35deg) translateX(0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-35deg) translateX(120px); }
}

.tjp-sky__mist {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 45%;
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  animation: tjp-mist-drift 12s ease-in-out infinite alternate;
}

.tjp-sky__flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), rgba(94, 196, 182, 0.2), transparent);
  animation: tjp-flow-line 8s linear infinite;
}

.tjp-sky__flow--2 {
  animation-delay: -4s;
  animation-duration: 12s;
  opacity: 0.5;
  background: linear-gradient(90deg, transparent, rgba(94, 196, 182, 0.15), rgba(212, 175, 55, 0.12), transparent);
}

@keyframes tjp-mist-drift {
  from { transform: translateX(-3%) scale(1); opacity: 0.6; }
  to { transform: translateX(3%) scale(1.05); opacity: 1; }
}

@keyframes tjp-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes tjp-flow-line {
  0% { transform: translateX(-50%) translateY(30vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(0%) translateY(70vh); opacity: 0; }
}

@keyframes tjp-compass-sweep {
  0% { top: 10%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

@keyframes tjp-compass-sweep-delay {
  0% { top: 18%; opacity: 0; }
  12% { opacity: 0.65; }
  88% { opacity: 0.65; }
  100% { top: 82%; opacity: 0; }
}

/* 浮动干支 · 风云式立体光柱 */
.tjp-sky__pillars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tjp-sky__pillar {
  position: absolute;
  bottom: -15%;
  width: var(--pillar-w, 36px);
  height: 130%;
  transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg));
  transform-origin: bottom center;
  background: linear-gradient(
    to top,
    transparent 0%,
    rgba(94, 196, 182, 0.04) 18%,
    rgba(212, 175, 55, 0.1) 38%,
    rgba(255, 248, 220, 0.18) 52%,
    rgba(212, 175, 55, 0.08) 68%,
    transparent 92%
  );
  filter: blur(3px);
  opacity: 0;
  animation: tjp-pillar-rise 8s ease-in-out infinite;
}

.tjp-sky__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.35) 45%,
    rgba(245, 230, 168, 0.55) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent
  );
  filter: blur(0.5px);
}

.tjp-sky__pillar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 168, 0.5) 0%, transparent 70%);
  filter: blur(2px);
}

@keyframes tjp-pillar-rise {
  0%, 100% { opacity: 0; transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg)) scaleY(0.85); }
  35%, 65% { opacity: 0.75; transform: translateX(-50%) rotate(var(--pillar-tilt, 0deg)) scaleY(1); }
}

.tjp-float-chars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 900px;
  perspective-origin: 50% 40%;
}

.tjp-float-char {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
  animation: tjp-char-orbit 22s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

.tjp-float-char__beam {
  position: absolute;
  left: 50%;
  top: -90%;
  width: 3px;
  height: 180%;
  margin-left: -1.5px;
  transform: translateZ(-30px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 15%,
    rgba(245, 230, 168, 0.22) 42%,
    rgba(212, 175, 55, 0.45) 50%,
    rgba(245, 230, 168, 0.22) 58%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%
  );
  filter: blur(1px);
  opacity: 0.85;
  animation: tjp-beam-pulse 4s ease-in-out infinite;
}

.tjp-float-char__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.4em;
  height: 2.4em;
  transform: translate(-50%, -50%) translateZ(-10px);
  background:
    radial-gradient(circle, rgba(255, 248, 220, 0.35) 0%, rgba(212, 175, 55, 0.15) 35%, transparent 72%);
  filter: blur(6px);
  animation: tjp-glow-breathe 5s ease-in-out infinite;
}

.tjp-float-char__glyph {
  position: relative;
  transform-style: preserve-3d;
  animation: tjp-glyph-spin 18s linear infinite;
}

.tjp-float-char__face {
  display: block;
  font-family: var(--tjp-serif);
  font-size: var(--glyph-size, 0.22rem);
  font-weight: 700;
  color: rgba(255, 248, 230, 0.92);
  text-shadow:
    0 0 0.08rem rgba(255, 255, 255, 0.9),
    0 0 0.18rem rgba(245, 230, 168, 0.85),
    0 0 0.36rem rgba(212, 175, 55, 0.55),
    0 0.02rem 0.06rem rgba(0, 0, 0, 0.85),
    0 -0.01rem 0 rgba(255, 255, 255, 0.45);
  backface-visibility: hidden;
  transform: translateZ(0.02rem);
}

.tjp-float-char__face--edge {
  position: absolute;
  inset: 0;
  color: rgba(212, 175, 55, 0.55);
  transform: translateZ(-0.02rem) scale(1.04);
  filter: blur(0.5px);
  opacity: 0.65;
}

.tjp-float-char__face--back {
  position: absolute;
  inset: 0;
  color: rgba(212, 175, 55, 0.35);
  transform: rotateY(180deg) translateZ(0.02rem);
  text-shadow:
    0 0 0.12rem rgba(212, 175, 55, 0.4),
    0 0 0.24rem rgba(212, 175, 55, 0.2);
}

@keyframes tjp-char-orbit {
  0%, 100% {
    transform: translate3d(0, 0, var(--z, 0)) rotateX(var(--rx, 0deg)) rotateY(0deg) rotateZ(var(--rz, 0deg)) scale(var(--scale, 1));
    opacity: 0.55;
  }
  25% {
    transform: translate3d(calc(var(--dx, 0) * 0.5), calc(var(--dy, 0) * 0.4), calc(var(--z, 0px) + 20px)) rotateX(calc(var(--rx, 0deg) + 8deg)) rotateY(90deg) rotateZ(calc(var(--rz, 0deg) + 6deg)) scale(calc(var(--scale, 1) * 1.06));
    opacity: 0.85;
  }
  50% {
    transform: translate3d(var(--dx, 0), var(--dy, 0), var(--z, 0)) rotateX(calc(var(--rx, 0deg) + 14deg)) rotateY(180deg) rotateZ(calc(var(--rz, 0deg) + 12deg)) scale(var(--scale, 1));
    opacity: 0.7;
  }
  75% {
    transform: translate3d(calc(var(--dx, 0) * 0.6), calc(var(--dy, 0) * 0.5), calc(var(--z, 0px) - 15px)) rotateX(calc(var(--rx, 0deg) + 6deg)) rotateY(270deg) rotateZ(calc(var(--rz, 0deg) - 8deg)) scale(calc(var(--scale, 1) * 0.96));
    opacity: 0.8;
  }
}

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

@keyframes tjp-beam-pulse {
  0%, 100% { opacity: 0.45; filter: blur(1px); }
  50% { opacity: 1; filter: blur(0.5px); }
}

@keyframes tjp-glow-breathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) translateZ(-10px) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) translateZ(-10px) scale(1.15); }
}

/* 列表/支付页：静态背景，避免 canvas 与 3D 飘字拖慢滚动 */
.tjp-sky__css-stars--lite .tjp-sky__css-star {
  animation-duration: 8s;
  opacity: 0.45;
}

.tjp-sky--lite .tjp-sky__nebula {
  animation: none;
  opacity: 0.35;
}

.tjp-sky--lite .tjp-sky__gradient {
  opacity: 1;
}

/* 手机首页：CSS 星点替代 Canvas，慢速呼吸不闪 */
.tjp-sky__css-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tjp-sky__css-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 230, 168, 0.55);
  box-shadow: 0 0 4px rgba(245, 230, 168, 0.35);
  animation: tjp-css-star-twinkle 6s ease-in-out infinite;
  will-change: opacity;
}

.tjp-sky__css-star--jade {
  background: rgba(94, 196, 182, 0.5);
  box-shadow: 0 0 4px rgba(94, 196, 182, 0.3);
}

@keyframes tjp-css-star-twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.62; }
}

.tjp-sky--mobile .tjp-sky__nebula {
  animation: tjp-nebula-shift-mobile 38s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes tjp-nebula-shift-mobile {
  from { transform: scale(1) rotate(0deg); opacity: 0.84; }
  to { transform: scale(1.04) rotate(1.5deg); opacity: 0.94; }
}

.tjp-sky--mobile .tjp-sky__stars--mobile {
  opacity: 0.88;
  contain: strict;
}

.tjp-sky--mobile .tjp-sky__rings {
  opacity: 0.22;
}

.tjp-sky--mobile .tjp-sky__ring--a {
  animation-duration: 100s;
}

.tjp-sky--mobile .tjp-sky__ring--b {
  animation-duration: 75s;
}

.tjp-sky--mobile .tjp-sky__ring--c {
  animation-duration: 55s;
}

.tjp-sky--mobile .tjp-sky__flow {
  opacity: 0.44;
  animation-duration: 16s;
}

.tjp-sky--mobile .tjp-sky__flow--2 {
  opacity: 0.3;
  animation-duration: 20s;
}

.tjp-sky--mobile .tjp-sky__mist {
  opacity: 0.72;
  animation-duration: 20s;
}

.tjp-sky--mobile .tjp-sky__pillar {
  animation-duration: 11s;
}

.tjp-sky--mobile .tjp-sky__css-star {
  will-change: auto;
}

.tjp-sky--mobile.is-paused .tjp-sky__css-stars,
.tjp-sky--mobile.is-paused .tjp-float-chars,
.tjp-sky--mobile.is-paused .tjp-sky__pillars,
.tjp-sky--mobile.is-paused .tjp-meteors {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tjp-sky--mobile.is-paused .tjp-sky__stars--mobile {
  opacity: 0;
}

.tjp-float-char--mobile {
  contain: layout style;
  will-change: auto;
  transform-style: flat;
  animation-name: tjp-char-orbit-lite;
}

.tjp-float-char--mobile .tjp-float-char__glyph {
  transform-style: flat;
  animation: tjp-glyph-spin-lite 16s linear infinite;
}

.tjp-float-char--mobile .tjp-float-char__beam {
  display: none;
}

.tjp-float-char--mobile .tjp-float-char__glow {
  animation: none;
  filter: none;
  opacity: 0.42;
}

.tjp-float-char--mobile .tjp-float-char__face {
  text-shadow:
    0 0 0.08rem rgba(255, 255, 255, 0.9),
    0 0 0.18rem rgba(245, 230, 168, 0.85),
    0 0 0.32rem rgba(212, 175, 55, 0.5),
    0 0.02rem 0.06rem rgba(0, 0, 0, 0.85);
}

@keyframes tjp-char-orbit-lite {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(var(--scale, 1));
    opacity: 0.52;
  }
  50% {
    transform: translate3d(var(--dx, 0), var(--dy, 0), 0) scale(calc(var(--scale, 1) * 1.05));
    opacity: 0.78;
  }
}

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

body.tjp-cosmos--mobile .tjp-sky__css-star {
  animation: none;
  opacity: 0.44;
}

body.tjp-cosmos--mobile .tjp-sky__flow--2,
body.tjp-cosmos--mobile .tjp-sky__ring--c {
  display: none;
}

body.tjp-cosmos--mobile .tjp-sky__pillar,
body.tjp-cosmos--mobile .tjp-sky__pillar::before,
body.tjp-cosmos--mobile .tjp-sky__pillar::after {
  filter: none !important;
}

.tjp-float-char--soft .tjp-float-char__beam {
  animation: none;
  opacity: 0.35;
}

.tjp-float-char--soft .tjp-float-char__glyph {
  animation: none;
}

.tjp-float-char--soft {
  animation-name: tjp-char-orbit-soft;
  animation-timing-function: ease-in-out;
}

@keyframes tjp-char-orbit-soft {
  0%, 100% {
    opacity: 0.42;
    transform: translate3d(0, 0, var(--z, 0)) rotateX(var(--rx, 0deg)) rotateZ(var(--rz, 0deg)) scale(var(--scale, 1));
  }
  50% {
    opacity: 0.68;
    transform: translate3d(var(--dx, 0), var(--dy, 0), var(--z, 0)) rotateX(calc(var(--rx, 0deg) + 6deg)) rotateZ(calc(var(--rz, 0deg) + 8deg)) scale(calc(var(--scale, 1) * 1.04));
  }
}

/* ── 页面内容层 ── */
.tjp-page {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

/* ── 顶部提示条 ── */
body.tjp-cosmos .m_top_tip {
  background: rgba(15, 21, 40, 0.92) !important;
  border-bottom: 1px solid var(--tjp-gold-dim);
  color: var(--tjp-text-dim);
  font-size: 0.11rem;
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0 0.1rem;
}

body.tjp-cosmos .m_top_tip span {
  white-space: nowrap;
  display: inline-block;
  height: 0.25rem;
  line-height: 0.25rem;
  animation: tjp-tip-marquee 18s linear infinite;
}

@keyframes tjp-tip-marquee {
  0% { transform: translateX(12%); }
  100% { transform: translateX(-105%); }
}

/* ── 品牌 Hero ── */
.tjp-hero {
  position: relative;
  text-align: center;
  padding: 0.28rem 0.2rem 0.04rem;
  overflow: hidden;
  margin-bottom: -0.06rem;
}

.tjp-hero__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(94, 196, 182, 0.04) 40%, transparent 70%);
  animation: tjp-hero-halo 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tjp-hero-halo {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.tjp-hero__brand {
  position: relative;
  font-family: var(--tjp-serif);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  background: linear-gradient(135deg, #fff8e0 0%, var(--tjp-gold) 40%, #fff8e0 50%, #a07820 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.5));
  margin-bottom: 0.08rem;
  animation: tjp-title-shimmer 5s linear infinite;
}

@keyframes tjp-title-shimmer {
  to { background-position: 200% center; }
}

.tjp-hero__tagline {
  font-family: var(--tjp-serif);
  font-size: 0.17rem;
  color: var(--tjp-gold-light);
  letter-spacing: 0.06rem;
  margin-bottom: 0.06rem;
}

.tjp-hero__tagline em {
  font-style: normal;
  color: var(--tjp-jade);
  opacity: 0.9;
  animation: tjp-jade-pulse 3s ease-in-out infinite;
}

@keyframes tjp-jade-pulse {
  0%, 100% { text-shadow: 0 0 4px rgba(94, 196, 182, 0.2); }
  50% { text-shadow: 0 0 12px rgba(94, 196, 182, 0.6); }
}

.tjp-hero__sub {
  font-size: 0.12rem;
  color: var(--tjp-text-dim);
  letter-spacing: 0.04rem;
}

.tjp-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin: 0.14rem auto 0;
  max-width: 2.8rem;
}

.tjp-hero__divider::before,
.tjp-hero__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tjp-gold-dim), transparent);
}

.tjp-hero__divider span {
  font-size: 0.1rem;
  color: var(--tjp-gold);
  opacity: 0.6;
}

/* ── 玄机轮盘区 ── */
body.tjp-cosmos .index-xuan,
body.tjp-cosmos .tjp-wheel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -0.06rem;
  padding: 0.12rem 0 0.18rem;
  overflow: visible;
  min-height: 3.35rem;
}

body.tjp-cosmos .tjp-wheel__stage {
  position: relative;
  width: 3.65rem;
  height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

body.tjp-cosmos .tjp-wheel__bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(26, 16, 53, 0.6) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.4) 100%);
  pointer-events: none;
}

/* 轨道环 */
.tjp-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.18);
  pointer-events: none;
}

.tjp-orbit--1 {
  width: 3.48rem;
  height: 3.48rem;
  animation: tjp-orbit-spin 18s linear infinite;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.08), inset 0 0 20px rgba(212, 175, 55, 0.04);
}

.tjp-orbit--2 {
  width: 4.02rem;
  height: 4.02rem;
  border-color: rgba(94, 196, 182, 0.12);
  animation: tjp-orbit-spin 28s linear infinite reverse;
}

.tjp-orbit--3 {
  width: 4.28rem;
  height: 4.28rem;
  border: 1px dashed rgba(212, 175, 55, 0.08);
  animation: tjp-orbit-spin 42s linear infinite;
}

.tjp-orbit i {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tjp-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.9);
}

.tjp-orbit--1 i {
  top: -2px;
  left: 50%;
  margin-left: -2px;
}

.tjp-orbit--2 i:first-child {
  top: 50%;
  right: -2px;
  margin-top: -2px;
  background: var(--tjp-jade);
  box-shadow: 0 0 8px rgba(94, 196, 182, 0.9);
}

.tjp-orbit--2 i:last-child {
  bottom: -2px;
  left: 30%;
  background: rgba(212, 175, 55, 0.7);
}

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

/* 天机光束 */
.tjp-wheel__beams {
  position: absolute;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(212, 175, 55, 0.06) 30deg,
    transparent 60deg,
    rgba(94, 196, 182, 0.04) 120deg,
    transparent 150deg,
    rgba(212, 175, 55, 0.05) 210deg,
    transparent 240deg,
    rgba(212, 175, 55, 0.04) 300deg,
    transparent 360deg
  );
  animation: tjp-beams-spin 24s linear infinite;
  pointer-events: none;
}

@keyframes tjp-beams-spin {
  to { transform: rotate(360deg); }
}

.tjp-wheel__aura {
  position: absolute;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
  animation: tjp-glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

body.tjp-cosmos .tjp-wheel__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.12rem;
  color: var(--tjp-text-dim);
  letter-spacing: 0.03rem;
  margin-top: 0.1rem;
  padding: 0 0.2rem;
  width: 100%;
  animation: tjp-caption-fade 4s ease-in-out infinite;
}

@keyframes tjp-caption-fade {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

body.tjp-cosmos .index-xuan::before {
  display: none;
}

@keyframes tjp-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.1); opacity: 1; }
}

body.tjp-cosmos .index-xuan__box,
body.tjp-cosmos .tjp-order-box {
  position: relative;
  top: auto;
  left: auto;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto;
  overflow: visible;
  z-index: 3;
  transform: scale(0.9);
  transform-origin: center center;
}

body.tjp-pivot-active .tjp-order-box,
body.tjp-pivot-active .index-xuan__box {
  transform: none !important;
}

body.tjp-cosmos .tjp-order-wheel-wrap {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.tjp-cosmos .tjp-order-wheel-wrap .order-wheel {
  width: 3.2rem !important;
  height: 3.2rem !important;
  margin: 0 !important;
}

body.tjp-cosmos .tjp-order-wheel-wrap .order-wheel__center {
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin-left: -0.75rem !important;
  margin-top: -0.75rem !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Songti SC", "STSong", serif;
  font-size: 0.1rem;
  color: #f5e6a8;
  letter-spacing: 0.04rem;
  text-align: center;
  line-height: 1.3;
  padding: 0.04rem;
  box-sizing: border-box;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
  z-index: 7;
  border-radius: 50%;
  border: 1px solid #ce7f54 !important;
  background: url("ffsm/app/bzzsy/1/images/m_xuan_center.png") no-repeat center center !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
}

body.tjp-cosmos .tjp-order-wheel-wrap .order-wheel__center::after {
  content: "";
  position: absolute;
  inset: 0.05rem;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.28);
  pointer-events: none;
  z-index: 1;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .order-wheel__center::after {
  animation: tjp-ow-idle-center 52s linear infinite;
}

body.tjp-cosmos .tjp-order-wheel-wrap .order-wheel__inner,
body.tjp-cosmos .tjp-order-wheel-wrap .order-wheel__outer {
  transition: transform 1.1s cubic-bezier(0.22, 0.8, 0.3, 1);
}

body.tjp-pivot-active #tjpWheel .tjp-order-wheel-wrap .order-wheel__inner,
body.tjp-pivot-active #tjpWheel .tjp-order-wheel-wrap .order-wheel__outer {
  transition: all 1.5s linear !important;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .order-wheel__outer {
  animation: tjp-ow-idle-outer 64s linear infinite;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .order-wheel__inner {
  animation: tjp-ow-idle-inner 84s linear infinite reverse;
}

@keyframes tjp-ow-idle-outer {
  to { transform: rotate(360deg); }
}

@keyframes tjp-ow-idle-inner {
  to { transform: rotate(360deg); }
}

@keyframes tjp-ow-idle-center {
  to { transform: rotate(360deg); }
}

#tjpWheel.is-pivot-mode .order-wheel__outer,
#tjpWheel.is-pivot-mode .order-wheel__inner,
#tjpWheel.is-pivot-mode .order-wheel__center::after,
#tjpWheel.is-pivoting .order-wheel__outer,
#tjpWheel.is-pivoting .order-wheel__inner,
#tjpWheel.is-pivoting .order-wheel__center::after {
  animation: none !important;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .tjp-palm-layer {
  z-index: 8;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .tjp-palm-layer__icon {
  width: 0.58rem;
  height: 0.58rem;
  line-height: 0.58rem;
  font-size: 0.27rem;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.58);
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) .tjp-palm-layer__ring {
  display: none;
}

body.tjp-cosmos #tjpWheel:not(.is-pivoting):not(.is-frenzy):not(.is-pivot-mode) #tjpWheelTap {
  z-index: 9;
}

#tjpWheel.is-frenzy .tjp-palm-layer,
body.tjp-pivot-active #tjpWheel.is-pivoting .tjp-palm-layer {
  opacity: 0 !important;
  pointer-events: none;
}

#tjpWheel.is-frenzy .order-wheel__outer {
  animation: tjp-ow-spin 1.85s linear infinite !important;
}

#tjpWheel.is-frenzy .order-wheel__inner {
  animation: tjp-ow-spin-rev 2.45s linear infinite !important;
}

@keyframes tjp-ow-spin {
  to { transform: rotate(360deg); }
}

@keyframes tjp-ow-spin-rev {
  to { transform: rotate(-360deg); }
}

body.tjp-cosmos .tjp-hero {
  padding: 0.2rem 0.16rem 0.08rem;
}

body.tjp-cosmos .tjp-landing-only {
  margin-top: 0;
  padding-top: 0.06rem;
  padding-bottom: 0.04rem;
}

body.tjp-cosmos .tjp-open-hint {
  margin-top: 0.06rem;
}

body.tjp-cosmos .tjp-open-hint__sub {
  display: none;
}

@keyframes tjp-wheel-3d {
  0%, 100% { transform: rotateX(10deg) rotateY(-6deg) translateZ(0); }
  50% { transform: rotateX(14deg) rotateY(6deg) translateZ(12px); }
}

/* 首页紧凑模式禁用 3D 倾斜：方形 stage 底衬倾斜后会露出深色方块，且与 scale 冲突导致层错位 */
body.tjp-cosmos:not(.tjp-landing-compact) .tjp-wheel__stage {
  animation: tjp-wheel-3d 7s ease-in-out infinite;
  filter: drop-shadow(0 0.08rem 0.3rem rgba(212, 175, 55, 0.35)) drop-shadow(0 0.2rem 0.5rem rgba(0, 0, 0, 0.5));
}

body.tjp-cosmos .tjp-wheel__stage {
  transition: transform 0.15s ease-out;
}

.tjp-wheel__shine {
  position: absolute;
  inset: -0.08rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent, rgba(255, 248, 224, 0.15), transparent, rgba(212, 175, 55, 0.1), transparent);
  animation: tjp-shine-spin 6s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes tjp-shine-spin {
  to { transform: rotate(360deg); }
}

body.tjp-cosmos .order-wheel__outer > span.active {
  color: #f5e6a8 !important;
}

body.tjp-cosmos .order-wheel__inner > span.selected,
body.tjp-cosmos .order-wheel__outer > span.selected {
  color: #5ec4b6 !important;
  text-shadow: 0 0 8px rgba(94, 196, 182, 0.65);
}

/* ── 内容区块（CSS 替换旧模板图） ── */
body.tjp-cosmos .tjp-feature {
  padding: 0.12rem 0.12rem 0.12rem !important;
}

body.tjp-cosmos .tjp-feature .m-img {
  display: none;
}

/* 运势曲线图 */
.tjp-chart {
  padding: 0.02rem 0.04rem 0;
}

.tjp-chart__legend {
  display: flex;
  justify-content: center;
  gap: 0.24rem;
  margin-bottom: 0.1rem;
  font-size: 0.11rem;
}

.tjp-chart__legend-up {
  color: var(--tjp-gold);
}

.tjp-chart__legend-down {
  color: #8b7355;
}

.tjp-chart__grid {
  display: flex;
  gap: 0.06rem;
}

.tjp-chart__y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.1rem;
  color: var(--tjp-text-dim);
  padding: 0.04rem 0;
  font-family: var(--tjp-serif);
}

.tjp-chart__plot {
  flex: 1;
  position: relative;
  height: 1.4rem;
  background:
    repeating-linear-gradient(0deg, transparent, transparent calc(25% - 1px), rgba(212, 175, 55, 0.08) calc(25% - 1px), rgba(212, 175, 55, 0.08) 25%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 0.06rem;
  overflow: hidden;
}

.tjp-chart__plot svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tjp-chart__line {
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tjp-chart__tag {
  position: absolute;
  font-size: 0.09rem;
  padding: 0.02rem 0.06rem;
  border-radius: 0.1rem;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.tjp-chart__tag--good {
  color: var(--tjp-gold-light);
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.tjp-chart__tag--bad {
  color: #c4a882;
  background: rgba(107, 90, 62, 0.25);
  border: 1px solid rgba(107, 90, 62, 0.4);
}

.tjp-chart__x {
  display: flex;
  justify-content: space-between;
  margin-top: 0.08rem;
  padding-left: 0.2rem;
  font-size: 0.1rem;
  color: var(--tjp-text-dim);
  text-align: center;
}

.tjp-chart__x b {
  display: block;
  font-family: var(--tjp-serif);
  color: var(--tjp-gold-light);
  font-size: 0.11rem;
  font-weight: 400;
}

/* 双峰卡片 */
.tjp-duo {
  display: flex;
  gap: 0.1rem;
}

.tjp-duo__card {
  flex: 1;
  text-align: center;
  padding: 0.18rem 0.1rem 0.16rem;
  border-radius: 0.08rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tjp-duo__card--rise:hover,
.tjp-duo__card--fall:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tjp-duo__card--rise {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tjp-duo__card--fall {
  background: linear-gradient(160deg, rgba(107, 90, 62, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tjp-duo__icon {
  width: 0.44rem;
  height: 0.44rem;
  line-height: 0.44rem;
  margin: 0 auto 0.08rem;
  border-radius: 50%;
  font-size: 0.2rem;
  font-weight: 700;
}

.tjp-duo__card--rise .tjp-duo__icon {
  color: var(--tjp-gold);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.tjp-duo__card--fall .tjp-duo__icon {
  color: #a89070;
  background: rgba(107, 90, 62, 0.2);
  border: 1px solid rgba(107, 90, 62, 0.35);
}

.tjp-duo__label {
  font-family: var(--tjp-serif);
  font-size: 0.14rem;
  color: var(--tjp-gold-light);
  margin-bottom: 0.06rem;
}

.tjp-duo__desc {
  font-size: 0.11rem;
  color: var(--tjp-text-dim);
  line-height: 1.5;
}

.tjp-duo__desc span {
  color: var(--tjp-gold);
}

/* 六维收益列表 */
.tjp-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tjp-benefits li {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.1rem 0.06rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.13rem;
  color: var(--tjp-text-dim);
  line-height: 1.4;
}

.tjp-benefits li:last-child {
  border-bottom: none;
}

.tjp-benefits__icon {
  flex-shrink: 0;
  width: 0.28rem;
  height: 0.28rem;
  line-height: 0.28rem;
  text-align: center;
  border-radius: 50%;
  font-family: var(--tjp-serif);
  font-size: 0.13rem;
  color: var(--tjp-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ── 首页紧凑：保留品牌标题，缩小罗盘并裁剪溢出，表单首屏可见 ── */
body.tjp-cosmos.tjp-landing-compact .tjp-hero {
  display: block !important;
  padding: 0.1rem 0.16rem 0.02rem;
  margin-bottom: -0.04rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-hero__halo {
  width: 2.4rem;
  height: 2.4rem;
  margin: -1.2rem 0 0 -1.2rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-hero__brand {
  font-size: 0.34rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.04rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-hero__tagline {
  font-size: 0.14rem;
  letter-spacing: 0.04rem;
  margin-bottom: 0;
}

body.tjp-cosmos.tjp-landing-compact:not(.tjp-ritual-active):not(.tjp-pivot-active) .tjp-float-chars,
body.tjp-cosmos.tjp-landing-compact:not(.tjp-ritual-active):not(.tjp-pivot-active) .tjp-sky__pillars {
  display: none !important;
}

body.tjp-cosmos.tjp-landing-compact .tjp-landing-only {
  min-height: 0 !important;
  height: 3.38rem;
  max-height: 3.38rem;
  margin-top: 0.04rem;
  margin-bottom: 0.04rem;
  padding: 0.06rem 0 0;
  overflow: hidden !important;
  position: relative;
  z-index: 1;
}

body.tjp-cosmos.tjp-landing-compact #tjpWheel:not(.is-pivot-mode):not(.is-pivoting):not(.is-frenzy):not(.is-ritual-rise) {
  min-height: 0 !important;
  height: 3.32rem;
  max-height: 3.32rem;
  width: 100%;
  margin-top: 0;
  padding: 0;
  overflow: hidden !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 整体等比缩放，避免逐层改尺寸导致罗盘错位 */
body.tjp-cosmos.tjp-landing-compact #tjpWheel:not(.is-pivot-mode):not(.is-pivoting):not(.is-frenzy):not(.is-ritual-rise) .tjp-wheel__stage {
  width: 3.65rem;
  height: 3.65rem;
  flex-shrink: 0;
  margin: 0 auto;
  overflow: visible;
  animation: none !important;
  transform: scale(0.9) !important;
  transform-origin: center center;
  transform-style: flat !important;
  perspective: none !important;
  filter: drop-shadow(0 0.06rem 0.22rem rgba(212, 175, 55, 0.28)) drop-shadow(0 0.14rem 0.36rem rgba(0, 0, 0, 0.35));
}

/* 避免 stage 与 core 双重 scale 叠加导致层错位 */
body.tjp-cosmos.tjp-landing-compact #tjpWheel:not(.is-pivot-mode):not(.is-pivoting):not(.is-frenzy):not(.is-ritual-rise) .index-xuan__box,
body.tjp-cosmos.tjp-landing-compact #tjpWheel:not(.is-pivot-mode):not(.is-pivoting):not(.is-frenzy):not(.is-ritual-rise) .tjp-order-box {
  transform: none !important;
}

/* 平扫线限定在罗盘区，不再横穿表单/营销区 */
body.tjp-cosmos.tjp-landing-compact:not(.tjp-ritual-active):not(.tjp-pivot-active) .tjp-sky__flow,
body.tjp-cosmos.tjp-landing-compact:not(.tjp-ritual-active):not(.tjp-pivot-active) .tjp-sky__flow--2 {
  display: none !important;
}

body.tjp-cosmos.tjp-landing-compact:not(.tjp-ritual-active):not(.tjp-pivot-active) .tjp-landing-only::before {
  content: "";
  position: absolute;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 196, 182, 0.22), rgba(212, 175, 55, 0.18), transparent);
  z-index: 12;
  pointer-events: none;
  animation: tjp-compass-sweep-delay 9s linear infinite;
}

body.tjp-cosmos.tjp-landing-compact #tjpWheel:not(.is-pivot-mode):not(.is-pivoting):not(.is-frenzy):not(.is-ritual-rise)::after {
  content: "";
  position: absolute;
  left: 6%;
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.42), rgba(94, 196, 182, 0.28), transparent);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.22);
  z-index: 12;
  pointer-events: none;
  animation: tjp-compass-sweep 6.5s linear infinite;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form {
  margin: 0.06rem 0.12rem 0;
  padding: 0.12rem 0.12rem 0.1rem !important;
  position: relative;
  z-index: 10;
  isolation: isolate;
  background: rgba(12, 16, 32, 0.97) !important;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form::before {
  font-size: 0.15rem;
  letter-spacing: 0.04rem;
  padding-bottom: 0.08rem;
  margin-bottom: 0.08rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__li {
  padding: 0.08rem 0.12rem !important;
  margin-bottom: 0.08rem;
  min-height: 0.4rem;
  gap: 0.1rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__words {
  width: 0.48rem;
  font-size: 0.14rem;
  line-height: 1.35;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__input {
  height: 0.32rem;
  line-height: 0.32rem;
  font-size: 0.15rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__sex {
  gap: 0.12rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__sex span {
  width: 0.28rem;
  height: 0.28rem;
  line-height: 0.28rem;
  font-size: 0.14rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__li--date {
  padding-top: 0.08rem !important;
  padding-bottom: 0.08rem !important;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .tjp-date-field__value {
  font-size: 0.15rem;
  line-height: 0.32rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__btn {
  margin-top: 0.1rem;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__btn a {
  height: 0.46rem !important;
  line-height: 0.46rem !important;
  font-size: 0.16rem !important;
}

body.tjp-cosmos.tjp-landing-compact .tjp-inline-form .index-form__test {
  margin: 0.08rem 0 0;
  font-size: 0.11rem;
  line-height: 1.45;
}

body.tjp-pivot-active.tjp-landing-compact .tjp-hero,
body.tjp-ritual-active.tjp-landing-compact .tjp-hero {
  display: none !important;
}

body.tjp-pivot-active.tjp-landing-compact .tjp-landing-only,
body.tjp-ritual-active.tjp-landing-compact .tjp-landing-only {
  max-height: none !important;
  overflow: visible !important;
}

body.tjp-pivot-active.tjp-landing-compact #tjpWheel,
body.tjp-ritual-active.tjp-landing-compact #tjpWheel {
  max-height: none !important;
  height: auto !important;
  min-height: 3.35rem !important;
  overflow: visible !important;
  display: block;
}

/* ── 首页内联表单 ── */
body.tjp-cosmos .tjp-inline-form {
  margin: 0.1rem 0.1rem 0;
  padding: 0.18rem 0.12rem 0.14rem;
  position: relative;
  z-index: 2;
}

body.tjp-cosmos .tjp-inline-form .index-form__ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.tjp-cosmos .tjp-inline-form .index-form__li {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.1rem 0.12rem !important;
  margin-bottom: 0.1rem;
  min-height: 0.44rem;
  box-sizing: border-box;
}

body.tjp-cosmos .tjp-inline-form .index-form__li:last-child {
  margin-bottom: 0;
}

body.tjp-cosmos .tjp-inline-form .index-form__words {
  position: static !important;
  transform: none !important;
  width: 0.52rem;
  flex-shrink: 0;
  text-align: left;
  height: auto;
  line-height: 1.4;
}

body.tjp-cosmos .tjp-inline-form .index-form__r,
body.tjp-cosmos .tjp-inline-form .index-form__input {
  flex: 1;
  min-width: 0;
  width: auto !important;
}

body.tjp-cosmos .tjp-inline-form .index-form__input {
  height: 0.32rem;
  line-height: 0.32rem;
}

body.tjp-cosmos .tjp-inline-form .index-form__sex {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  height: auto;
}

body.tjp-cosmos .tjp-inline-form .index-form__sex span {
  margin-right: 0 !important;
  flex-shrink: 0;
}

body.tjp-cosmos .tjp-inline-form .index-form__btn {
  margin-top: 0.14rem;
}

body.tjp-cosmos .tjp-inline-form .index-form__test {
  margin: 0.12rem 0 0;
  text-align: center;
  font-size: 0.11rem;
  line-height: 1.5;
}

body.tjp-cosmos .tjp-inline-form .index-form__li--date {
  align-items: center;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

body.tjp-cosmos .tjp-inline-form .index-form__li--date .index-form__words {
  top: auto;
  transform: none;
}

body.tjp-cosmos .tjp-inline-form .tjp-date-field__card {
  padding: 0;
  border: none;
  background: transparent;
  gap: 0;
}

body.tjp-cosmos .tjp-inline-form .tjp-date-field__icon,
body.tjp-cosmos .tjp-inline-form .tjp-date-field__title,
body.tjp-cosmos .tjp-inline-form .tjp-date-field__action {
  display: none;
}

body.tjp-cosmos .tjp-inline-form .tjp-date-field__value {
  font-size: 0.16rem;
  line-height: 0.32rem;
  color: rgba(232, 220, 200, 0.35);
}

body.tjp-cosmos .tjp-inline-form .tjp-date-field--filled .tjp-date-field__value {
  color: #f5e6a8;
}

/* 生辰字段（点击打开罗盘择时） */
.tjp-date-field {
  position: relative;
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.tjp-date-field__card {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.1rem 0.12rem;
  border-radius: 0.08rem;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(94, 196, 182, 0.04) 100%);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.tjp-date-field__card:active {
  transform: scale(0.98);
}

.tjp-date-field--filled .tjp-date-field__card {
  border-style: solid;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.tjp-date-field__icon {
  flex-shrink: 0;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.18rem;
  color: #1a1035;
  background: linear-gradient(135deg, #f5e6a8, #c9a227);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.tjp-date-field__body {
  flex: 1;
  min-width: 0;
}

.tjp-date-field__title {
  font-size: 0.1rem;
  color: rgba(212, 175, 55, 0.75);
  letter-spacing: 0.04rem;
  margin-bottom: 0.02rem;
}

.tjp-date-field__value {
  font-size: 0.14rem;
  color: rgba(232, 220, 200, 0.55);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tjp-date-field--filled .tjp-date-field__value {
  color: #f5e6a8;
  font-family: "Songti SC", "STSong", serif;
}

.tjp-date-field__action {
  flex-shrink: 0;
  font-size: 0.11rem;
  color: #1a1035;
  background: linear-gradient(135deg, #c9a227, #f5e6a8);
  padding: 0.04rem 0.1rem;
  border-radius: 0.12rem;
  font-weight: 700;
}

/* ── 表单卡片 ── */
body.tjp-cosmos .index-form {
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border);
  border-radius: 0.1rem !important;
  box-shadow:
    0 0.08rem 0.32rem rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 175, 55, 0.1),
    0 0 24px rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(12px);
  position: relative;
  animation: tjp-form-glow 4s ease-in-out infinite;
}

@keyframes tjp-form-glow {
  0%, 100% { box-shadow: 0 0.08rem 0.32rem rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 175, 55, 0.1), 0 0 20px rgba(212, 175, 55, 0.04); }
  50% { box-shadow: 0 0.1rem 0.36rem rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(212, 175, 55, 0.15), 0 0 32px rgba(212, 175, 55, 0.1); }
}

body.tjp-cosmos .index-form::before {
  content: "录入生辰 · 窥探天机";
  display: block;
  text-align: center;
  font-family: var(--tjp-serif);
  font-size: 0.16rem;
  color: var(--tjp-gold-light);
  letter-spacing: 0.04rem;
  padding-bottom: 0.12rem;
  margin-bottom: 0.08rem;
  border-bottom: 1px solid var(--tjp-gold-dim);
}

body.tjp-cosmos .index-form__li {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
  color: var(--tjp-text);
}

body.tjp-cosmos .index-form__words {
  color: var(--tjp-gold-light);
  font-family: var(--tjp-serif);
}

body.tjp-cosmos .index-form__input {
  color: var(--tjp-text) !important;
  background-color: transparent !important;
}

body.tjp-cosmos .index-form__input::placeholder {
  color: rgba(232, 220, 200, 0.35);
}

body.tjp-cosmos .index-form__li--date .index-form__r {
  display: block;
}

body.tjp-cosmos .index-form__sex span {
  color: var(--tjp-text-dim);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

body.tjp-cosmos .index-form__sex .cur {
  background: linear-gradient(135deg, #a07820, var(--tjp-gold)) !important;
  color: #1a1035 !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
}

body.tjp-cosmos .index-form__agreement {
  color: var(--tjp-text-dim) !important;
}

body.tjp-cosmos .index-form__agreement a {
  color: var(--tjp-gold) !important;
}

body.tjp-cosmos .index-form__test {
  color: var(--tjp-text-dim) !important;
}

body.tjp-cosmos .index-form__test > span {
  color: var(--tjp-gold) !important;
}

/* 测算按钮 */
body.tjp-cosmos .index-form__btn a,
body.tjp-cosmos .public_pay_bottom > span {
  text-indent: 0 !important;
  background: linear-gradient(135deg, #c9a227 0%, #f5e6a8 40%, #a07820 100%) !important;
  background-size: auto !important;
  color: #1a1035 !important;
  font-family: var(--tjp-serif);
  font-size: 0.18rem !important;
  font-weight: 700;
  letter-spacing: 0.06rem;
  text-align: center;
  line-height: 0.5rem !important;
  height: 0.5rem !important;
  border-radius: 0.25rem;
  box-shadow: 0 0.04rem 0.16rem rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: tjp-btn-glow 2s ease-in-out infinite !important;
}

body.tjp-cosmos .public_test_fixed span {
  text-indent: 0 !important;
  background: linear-gradient(135deg, #c9a227 0%, #f5e6a8 40%, #a07820 100%) !important;
  background-size: auto !important;
  color: #1a1035 !important;
  font-family: var(--tjp-serif);
  font-weight: 700;
  letter-spacing: 0.06rem;
  text-align: center;
  border-radius: 0.25rem;
  box-shadow: 0 0.04rem 0.16rem rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: none !important;
}

body.tjp-cosmos .public_test_fixed.is-scroll-show span {
  animation: tjp-fixed-btn-pulse 1.45s ease-in-out infinite !important;
}

body.tjp-cosmos .public_test_fixed span {
  line-height: 0.36rem !important;
  height: 0.36rem !important;
  font-size: 0.16rem !important;
  margin: 0.05rem 0.1rem 0 !important;
}

@keyframes tjp-btn-glow {
  0%, 100% { box-shadow: 0 0.04rem 0.16rem rgba(212, 175, 55, 0.35); transform: scale(0.96); }
  50% { box-shadow: 0 0.06rem 0.24rem rgba(212, 175, 55, 0.55); transform: scale(1); }
}

@keyframes tjp-fixed-btn-pulse {
  0%, 100% {
    box-shadow:
      0 0.04rem 0.14rem rgba(212, 175, 55, 0.42),
      0 0 0 0 rgba(245, 230, 168, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    filter: brightness(1);
  }
  45% {
    box-shadow:
      0 0.1rem 0.32rem rgba(212, 175, 55, 0.72),
      0 0 0.18rem rgba(245, 230, 168, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
    filter: brightness(1.1);
  }
  55% {
    box-shadow:
      0 0.08rem 0.26rem rgba(212, 175, 55, 0.62),
      0 0 0.12rem rgba(245, 230, 168, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.36);
    filter: brightness(1.06);
  }
}

/* ── 内容区块 ── */
body.tjp-cosmos .m-box {
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border);
  box-shadow:
    0 0.06rem 0.24rem rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(8px);
  transform: translateZ(0);
  padding: 0.14rem 0.12rem 0.12rem !important;
}

body.tjp-cosmos .m-box__title {
  background: none !important;
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
  letter-spacing: 0.04rem;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.45 !important;
  margin-bottom: 0.08rem;
  font-size: 0.16rem;
  font-weight: 700;
}

body.tjp-cosmos .m-box__title::before,
body.tjp-cosmos .m-box__title::after {
  content: "◆";
  font-size: 0.08rem;
  color: var(--tjp-gold);
  opacity: 0.5;
  margin: 0 0.08rem;
}

body.tjp-cosmos .m-box .m-img {
  border-radius: 0.06rem;
}

/* 用户评价 */
body.tjp-cosmos .uf_ul li {
  border-bottom-color: rgba(212, 175, 55, 0.15) !important;
}

body.tjp-cosmos .uf_ul strong,
body.tjp-cosmos .uf_ul span {
  color: var(--tjp-gold) !important;
}

body.tjp-cosmos .uf_ul p {
  color: var(--tjp-text-dim);
}

/* ── 订单查询（右侧悬浮，不占文档流） ── */
body.tjp-cosmos .m-order-history {
  position: fixed !important;
  top: 70% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 99;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 0.28rem !important;
  min-width: 0.28rem;
  padding: 0.1rem 0.05rem 0.08rem !important;
  text-align: center;
  color: var(--tjp-gold-light) !important;
  font-size: 0.12rem;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: break-all;
  background-color: rgba(15, 21, 40, 0.92) !important;
  background-image: none !important;
  border: 1px solid var(--tjp-gold-dim);
  border-right: none;
  border-top-left-radius: 0.05rem;
  border-bottom-left-radius: 0.05rem;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
  transform: none !important;
  margin: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

body.tjp-cosmos .m-order-history::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  margin: 0 auto 0.05rem;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAY1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+aRQ2gAAAAIHRSTlMADPZFxvCuWktmBuK6tKWXMSLq5n9sURvMhHpzYDooGHZ4aRMAAADNSURBVCjPbc5ZjsMgEADRBgMG73vWydT9T5kIOxa28r5QF7SQlZrrEayZekkVk+arucjucgV01bZuAGy2z0sYg4rnzAB+23MFp+TrAfoVT3dwkghg4n8so5KUA79eCHLQrytqtJKjCl2IlFRy8oBOBNpzWCD7GXwMFncOIa4yDOfQgBKZ4ruUspj11+YYbvDcHt7T+R+UhXz8DzAnc7vvzgDXb/tvALlsRYOuZ+9DYyEtL8Ou9EtSZKmIzLMQydMiqvNZp+QjFi0/5bp+A7VGE8kkFY15AAAAAElFTkSuQmCC") no-repeat center / contain;
  opacity: 0.92;
}

body.tjp-cosmos .tjp-footer-order,
body.tjp-cosmos .tjp-footer-sep {
  display: none;
}

body.tjp-cosmos .base-order-history {
  background: rgba(26, 16, 53, 0.95) !important;
  border: 1px solid var(--tjp-gold-dim);
  color: var(--tjp-text);
}

/* ── 页脚 ── */
body.tjp-cosmos .public_footer_servers {
  background: transparent;
  padding-bottom: 0.2rem;
}

body.tjp-cosmos .public_footer_help .words,
body.tjp-cosmos .public_footer_servers a {
  color: var(--tjp-text-dim) !important;
}

body.tjp-cosmos .public_foot_xin,
body.tjp-cosmos .public_foot_al {
  opacity: 0.5;
  filter: grayscale(0.3);
}

/* ── 支付页 / 结果页 ── */
body.tjp-cosmos #pay .main {
  background: linear-gradient(180deg, rgba(26, 16, 53, 0.95) 0%, rgba(15, 21, 40, 0.8) 100%) !important;
  border-bottom: 1px solid var(--tjp-gold-dim);
}

body.tjp-cosmos #pay .main-title {
  font-family: var(--tjp-serif);
  letter-spacing: 0.06rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

body.tjp-cosmos .order-wheel__outer {
  background-color: rgba(212, 175, 55, 0.15) !important;
  border-color: var(--tjp-gold) !important;
  box-shadow: 0 0 0.3rem rgba(212, 175, 55, 0.25), inset 0 0 0.15rem rgba(212, 175, 55, 0.1) !important;
}

body.tjp-cosmos .order-wheel__inner {
  background-color: rgba(15, 21, 40, 0.9) !important;
  border-color: var(--tjp-gold-dim) !important;
}

body.tjp-cosmos .order-wheel__inner > span {
  color: var(--tjp-gold-light) !important;
}

body.tjp-cosmos .order-pay,
body.tjp-cosmos .order-lock {
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border);
  backdrop-filter: blur(8px);
}

/* 订单详情页：直接进入支付，无罗盘/四柱过渡 */
body.tjp-pay-direct .tjp-sky__rings {
  opacity: 0.12;
}

body.tjp-pay-direct #pay {
  min-height: auto;
  padding: 0.12rem 0 0.24rem;
}

body.tjp-pay-direct #pay .main,
body.tjp-pay-direct #orderLoading,
body.tjp-pay-direct .order-wheel__wrap {
  display: none !important;
}

body.tjp-pay-direct #orderStep2 {
  display: block !important;
}

body.tjp-pay-direct #publicPayBottom {
  left: 50% !important;
  right: auto !important;
  width: 100% !important;
  max-width: 640px !important;
  display: none !important;
  transform: translate(-50%, 110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  box-sizing: border-box;
  padding: 0 0.1rem;
}

body.tjp-pay-direct #publicPayBottom.is-scroll-show {
  display: block !important;
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

body.tjp-pay-direct .order-wrap {
  margin-top: 0 !important;
  position: relative;
  z-index: 2;
}

body.tjp-pay-direct .order-pay {
  margin: 0 0.12rem 0.14rem !important;
  padding: 0.16rem 0.12rem 0.18rem !important;
  border-radius: 0.1rem !important;
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border) !important;
  box-shadow: 0 0.08rem 0.28rem rgba(0, 0, 0, 0.35) !important;
}

body.tjp-pay-direct .tjp-pay-lock.order-lock {
  margin: 0 0.12rem 0.14rem !important;
  padding: 0.16rem 0.12rem 0.18rem !important;
  border-radius: 0.1rem !important;
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border) !important;
  box-shadow: 0 0.08rem 0.28rem rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(8px);
}

body.tjp-pay-direct .tjp-pay-lock .order-lock__title > span {
  display: inline-block;
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
  font-size: 0.17rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.06rem 0.18rem !important;
  border-radius: 0.04rem !important;
  background: rgba(94, 196, 182, 0.08) !important;
  border: 1px solid rgba(94, 196, 182, 0.28) !important;
  letter-spacing: 0.04rem;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box {
  position: relative;
  margin-top: 0.16rem !important;
  padding-top: 0 !important;
  background: none !important;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__title {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 0.08rem;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 0.08rem !important;
  padding: 0 0 0 0.1rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  background: none !important;
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
  font-size: 0.15rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-left: 2px solid var(--tjp-jade) !important;
  text-align: left;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__title::before {
  content: "";
  width: 0.05rem;
  height: 0.05rem;
  border-radius: 50%;
  background: var(--tjp-jade);
  box-shadow: 0 0 0.06rem var(--tjp-jade);
  flex-shrink: 0;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__con {
  margin: 0 !important;
  padding: 0.12rem 0.12rem 0.1rem !important;
  background: rgba(7, 11, 20, 0.55) !important;
  border: 1px solid rgba(94, 196, 182, 0.12) !important;
  border-radius: 0.08rem !important;
  box-shadow: inset 0 0 0.2rem rgba(0, 0, 0, 0.35) !important;
  color: var(--tjp-text-dim) !important;
  line-height: 1.65 !important;
  font-size: 0.14rem !important;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__preview {
  filter: blur(2.5px);
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__con .hl {
  color: var(--tjp-jade) !important;
  font-weight: 600;
}

body.tjp-pay-direct .tjp-pay-lock .ol-box__chart-tip {
  margin-top: 0.08rem;
  text-align: center;
  font-size: 0.11rem;
  color: rgba(94, 196, 182, 0.65);
  line-height: 1.5;
}

body.tjp-pay-direct .tjp-pay-unlock {
  display: block;
  margin-top: 0.1rem;
  padding: 0.09rem 0;
  text-align: center;
  font-size: 0.13rem;
  letter-spacing: 0.05rem;
  color: var(--tjp-jade) !important;
  border-top: 1px solid rgba(94, 196, 182, 0.18);
  background: none !important;
  width: auto !important;
  height: auto !important;
  text-indent: 0 !important;
  overflow: visible;
}

body.tjp-pay-direct .tjp-pay-unlock::before {
  content: "◈ ";
  color: var(--tjp-gold);
  opacity: 0.85;
}

body.tjp-pay-direct .tjp-chart--pay {
  margin: 0;
  padding: 0;
  filter: none;
  opacity: 1;
}

body.tjp-pay-direct .tjp-chart--pay .tjp-chart__plot {
  background:
    repeating-linear-gradient(0deg, transparent, transparent calc(25% - 1px), rgba(94, 196, 182, 0.06) calc(25% - 1px), rgba(94, 196, 182, 0.06) 25%);
  border: 1px solid rgba(94, 196, 182, 0.15);
}

body.tjp-pay-direct .tjp-chart--pay .tjp-chart__y span,
body.tjp-pay-direct .tjp-chart--pay .tjp-chart__x span {
  color: var(--tjp-text-dim);
}

body.tjp-pay-direct .public_pay_bottom {
  background: rgba(7, 11, 20, 0.94) !important;
  border-top: 1px solid rgba(94, 196, 182, 0.22) !important;
  box-shadow: 0 -0.04rem 0.2rem rgba(0, 0, 0, 0.45);
}

body.tjp-pay-direct .public_pay_bottom > span {
  margin: 0.05rem 0.1rem 0 !important;
  width: auto !important;
  max-width: none !important;
  background: rgba(15, 21, 40, 0.92) !important;
  background-size: auto !important;
  border: 1px solid rgba(94, 196, 182, 0.45) !important;
  border-radius: 0.22rem !important;
  color: var(--tjp-jade) !important;
  font-family: var(--tjp-serif);
  font-size: 0.16rem !important;
  letter-spacing: 0.06rem;
  box-shadow: 0 0 0.12rem rgba(94, 196, 182, 0.15), inset 0 0 0.12rem rgba(94, 196, 182, 0.06) !important;
  animation: tjp-pay-bar-pulse 2.4s ease-in-out infinite !important;
}

body.tjp-pay-direct .public_pay_bottom > span i {
  display: none;
}

@keyframes tjp-pay-bar-pulse {
  0%, 100% { box-shadow: 0 0 0.12rem rgba(94, 196, 182, 0.15); }
  50% { box-shadow: 0 0 0.2rem rgba(94, 196, 182, 0.35); }
}

body.tjp-pay-direct .order-pay__badge {
  text-align: center;
  font-size: 0.12rem;
  letter-spacing: 0.08rem;
  color: var(--tjp-jade);
  opacity: 0.85;
  margin-bottom: 0.06rem;
}

body.tjp-pay-direct .order-pay__title {
  margin: 0 0.08rem !important;
}

body.tjp-pay-direct .order-pay__user {
  text-align: center;
  font-size: 0.13rem;
  color: var(--tjp-text-dim);
  margin: 0.06rem 0 0.12rem;
}

body.tjp-pay-direct .order-pay__con {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 0.08rem !important;
}

body.tjp-pay-direct .money,
body.tjp-pay-direct .money-num {
  color: var(--tjp-gold-light) !important;
}

body.tjp-pay-direct .monery-xsyh,
body.tjp-pay-direct .opc__right,
body.tjp-pay-direct .opc__bottom,
body.tjp-pay-direct del {
  color: var(--tjp-text-dim) !important;
}

body.tjp-pay-direct .opc__bottom span {
  color: var(--tjp-gold) !important;
}

body.tjp-pay-direct .public_pay_tip {
  color: rgba(94, 196, 182, 0.65) !important;
}

body.tjp-cosmos .order-pay__con {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--tjp-gold-dim) !important;
}

body.tjp-cosmos .ol-box__con {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--tjp-text-dim);
  box-shadow: none;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

body.tjp-cosmos .ol-box__title {
  color: var(--tjp-gold-light) !important;
}

body.tjp-cosmos .order-lock__title > span {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: var(--tjp-gold-dim) !important;
  color: var(--tjp-gold) !important;
  font-family: var(--tjp-serif);
}

body.tjp-cosmos .result-panel {
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border) !important;
}

body.tjp-cosmos .result-status h2 {
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
}

body.tjp-cosmos .result-status p {
  color: var(--tjp-text-dim) !important;
}

body.tjp-cosmos .result-status__spinner {
  border-color: rgba(212, 175, 55, 0.15) !important;
  border-top-color: var(--tjp-gold) !important;
}

body.tjp-cosmos .result-wuxing {
  color: var(--tjp-gold) !important;
}

body.tjp-cosmos .result-page .result-nav a {
  color: var(--tjp-gold) !important;
}

body.tjp-cosmos .result-page .ol-box__con .report-txt {
  color: var(--tjp-text) !important;
}

/* ── 结果报告页 ── */
html.tjp-cosmos-html body.tjp-result {
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.tjp-result .tjp-result-body {
  position: relative;
  z-index: 2;
  padding: 0 0.12rem 0.24rem;
}

body.tjp-result .tjp-result-stack {
  max-width: 6.4rem;
  margin: 0 auto;
}

body.tjp-result .tjp-result-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0.48rem;
  margin-bottom: 0.1rem;
}

body.tjp-result .tjp-result-nav__title {
  margin: 0;
  font-family: var(--tjp-serif);
  font-size: 0.17rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--tjp-gold-light);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

body.tjp-result .tjp-result-nav__home,
body.tjp-result .tjp-result-nav__orders {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.36rem;
  height: 0.36rem;
  padding: 0 0.08rem;
  font-size: 0.13rem;
  color: rgba(232, 220, 200, 0.78);
  text-decoration: none;
  border-radius: 0.06rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(15, 21, 40, 0.55);
}

body.tjp-result .tjp-result-nav__home {
  left: 0;
  font-size: 0.22rem;
  line-height: 1;
}

body.tjp-result .tjp-result-nav__home span {
  display: block;
  margin-top: -0.02rem;
}

body.tjp-result .tjp-result-nav__orders {
  right: 0;
  letter-spacing: 0.04rem;
}

body.tjp-result #pay {
  min-height: auto !important;
  background: none !important;
}

body.tjp-result:not(.tjp-result--unpaid) #pay .order-lock {
  display: none !important;
}

body.tjp-result--unpaid #pay .order-lock {
  display: block !important;
}

body.tjp-result--unpaid .tjp-result-unpaid-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.12rem;
  padding: 0.14rem 0.12rem;
  margin-bottom: 0.12rem;
  border-radius: 0.1rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(165deg, rgba(26, 16, 53, 0.88) 0%, rgba(15, 21, 40, 0.72) 100%);
}

body.tjp-result--unpaid .tjp-result-unpaid-bar__price {
  font-size: 0.16rem;
  color: #f5e6c8;
}

body.tjp-result--unpaid .tjp-result-unpaid-bar__price .money-num {
  font-size: 0.22rem;
  font-weight: 700;
  color: #ffd76a;
}

body.tjp-result--unpaid .tjp-result-unpaid-bar__hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.12rem;
  color: rgba(245, 230, 200, 0.72);
}

body.tjp-result--unpaid .tjp-result-unpaid-bar__btn {
  margin-left: auto;
  padding: 0.06rem 0.14rem;
  font-size: 0.13rem;
}

body.tjp-result--unpaid #publicPayBottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 120;
  width: 100%;
  max-width: 640px;
}

body.tjp-result--unpaid .public_paybottom_height {
  height: 0.6rem;
}

body.tjp-result #pay .main,
body.tjp-result #pay .order-wrap,
body.tjp-result #pay .result-panel,
body.tjp-result:not(.tjp-result--unpaid) #pay .order-lock {
  display: none !important;
}

body.tjp-result .tjp-result-hero {
  padding: 0.16rem 0.14rem 0.18rem;
  margin-bottom: 0.14rem;
  border-radius: 0.12rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(165deg, rgba(26, 16, 53, 0.92) 0%, rgba(15, 21, 40, 0.78) 100%);
  box-shadow: 0 0.1rem 0.32rem rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(212, 175, 55, 0.08);
}

body.tjp-result .tjp-result-hero__badge {
  margin: 0 0 0.08rem;
  text-align: center;
  font-size: 0.11rem;
  letter-spacing: 0.14rem;
  color: rgba(94, 196, 182, 0.75);
}

body.tjp-result .tjp-result-hero__title {
  margin: 0 0 0.1rem;
  text-align: center;
  font-family: var(--tjp-serif);
  font-size: 0.21rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  line-height: 1.45;
  color: var(--tjp-gold-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.28);
}

body.tjp-result .tjp-result-hero__meta {
  margin: 0 0 0.16rem;
  text-align: center;
  font-size: 0.14rem;
  line-height: 1.5;
  color: rgba(232, 220, 200, 0.82);
}

body.tjp-result .tjp-result-hero__meta span {
  margin-left: 0.14rem;
}

body.tjp-result .tjp-result-pillars {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
}

body.tjp-result .tjp-result-pillar {
  flex: 1;
  max-width: 0.72rem;
  text-align: center;
}

body.tjp-result .tjp-result-pillar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0 auto 0.08rem;
  border-radius: 50%;
  font-size: 0.12rem;
  font-weight: 600;
  color: #1a1035;
  background: linear-gradient(135deg, #c9a227 0%, #f5e6a8 50%, #a07820 100%);
  box-shadow: 0 0 0.12rem rgba(212, 175, 55, 0.45);
}

body.tjp-result .tjp-result-pillar__gz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.04rem;
  min-height: 0.72rem;
  padding: 0.1rem 0.06rem;
  border-radius: 0.1rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(7, 11, 20, 0.72);
  box-shadow: inset 0 0 0.16rem rgba(212, 175, 55, 0.06);
}

body.tjp-result .tjp-result-pillar__gz i {
  display: block;
  font-style: normal;
  font-family: "Songti SC", "STSong", var(--tjp-serif), serif;
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--tjp-gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

body.tjp-result .tjp-result-wuxing {
  margin: 0.14rem 0 0;
  text-align: center;
  font-size: 0.13rem;
  letter-spacing: 0.06rem;
  color: var(--tjp-gold);
}

body.tjp-result .tjp-result-report {
  position: relative;
}

body.tjp-result .tjp-result-report__inner {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

body.tjp-result .tjp-result-report .ol-box {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

body.tjp-result .tjp-result-report .ol-box__title {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 0.08rem;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 0.08rem !important;
  padding: 0 0 0 0.1rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  background: none !important;
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
  font-size: 0.15rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-left: 2px solid var(--tjp-jade) !important;
  text-align: left;
}

body.tjp-result .tjp-result-report .ol-box__title::before {
  content: "";
  width: 0.05rem;
  height: 0.05rem;
  border-radius: 50%;
  background: var(--tjp-jade);
  box-shadow: 0 0 0.06rem var(--tjp-jade);
  flex-shrink: 0;
}

body.tjp-result .tjp-result-report .ol-box__con {
  margin: 0 !important;
  padding: 0.14rem 0.12rem 0.12rem !important;
  background: rgba(7, 11, 20, 0.58) !important;
  border: 1px solid rgba(212, 175, 55, 0.14) !important;
  border-radius: 0.1rem !important;
  box-shadow: inset 0 0 0.22rem rgba(0, 0, 0, 0.32) !important;
  color: var(--tjp-text-dim) !important;
  line-height: 1.68 !important;
  font-size: 0.14rem !important;
}

body.tjp-result .tjp-result-report .ol-box__con .report-txt {
  color: rgba(232, 220, 200, 0.88) !important;
  font-size: 0.14rem !important;
  line-height: 1.68 !important;
  text-align: justify;
  word-break: break-word;
}

body.tjp-result .tjp-result-report .ol-box__con .red,
body.tjp-result .tjp-result-report .ol-box__con .hl {
  color: var(--tjp-jade) !important;
  font-weight: 600;
}

body.tjp-result .tjp-result-status {
  padding: 0.36rem 0.2rem 0.28rem;
  text-align: center;
  border-radius: 0.1rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(15, 21, 40, 0.72);
}

body.tjp-result .tjp-result-pay-cta {
  margin-top: 0.18rem;
}

body.tjp-result .tjp-result-status__ring {
  position: relative;
  width: 0.56rem;
  height: 0.56rem;
  margin: 0 auto 0.14rem;
}

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

body.tjp-result .tjp-result-status__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-result-orbit 1.6s linear infinite;
}

body.tjp-result .tjp-result-status__ring i:nth-child(2) {
  inset: 0.08rem;
  border-bottom-color: rgba(94, 196, 182, 0.75);
  animation: tjp-result-orbit 2.1s linear infinite reverse;
}

body.tjp-result .tjp-result-status__ring i:nth-child(3) {
  inset: 0.16rem;
  border-top-color: rgba(212, 175, 55, 0.65);
  animation: tjp-result-orbit 1.2s linear infinite;
}

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

body.tjp-result .tjp-result-status h2 {
  margin: 0 0 0.08rem;
  font-family: var(--tjp-serif);
  font-size: 0.19rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  color: var(--tjp-gold-light);
}

body.tjp-result .tjp-result-status p {
  margin: 0;
  font-size: 0.13rem;
  line-height: 1.65;
  letter-spacing: 0.04rem;
  color: rgba(232, 220, 200, 0.68);
}

body.tjp-result .tjp-result-status--fail h2 {
  color: rgba(240, 140, 120, 0.95);
}

body.tjp-result .tjp-result-foot {
  text-align: center;
  padding: 0.18rem 0 0.06rem;
}

body.tjp-result .tjp-result-foot a {
  display: inline-block;
  padding: 0.08rem 0.22rem;
  font-size: 0.13rem;
  letter-spacing: 0.06rem;
  color: var(--tjp-gold-light) !important;
  text-decoration: none;
  border-radius: 0.2rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
}

body.tjp-result .public_footer_servers {
  position: relative;
  z-index: 2;
  padding-bottom: 0.2rem;
}

/* 协议弹窗 */
body.tjp-cosmos .protocol_pop_box .ppb_content {
  background: var(--tjp-deep);
  color: var(--tjp-text);
  border: 1px solid var(--tjp-gold-dim);
}

body.tjp-cosmos .ppb_tab_title {
  background: rgba(15, 21, 40, 0.9);
}

body.tjp-cosmos .ppb_tab_title li {
  color: var(--tjp-text-dim);
  border-color: var(--tjp-gold-dim) !important;
}

body.tjp-cosmos .ppb_tab_title .active {
  background: var(--tjp-card);
  color: var(--tjp-gold);
}

/* 隐藏原 banner 图（保留 SEO alt），用 hero 替代 */
body.tjp-cosmos .tjp-hide-banner {
  display: none !important;
}

/* ── 订单查询 / 个人中心（通用 cosmos 兜底） ── */
body.tjp-cosmos .public_header {
  background: rgba(15, 21, 40, 0.95) !important;
  border-bottom: 1px solid var(--tjp-gold-dim);
}

body.tjp-cosmos .public_h_con {
  color: var(--tjp-gold-light) !important;
  font-family: var(--tjp-serif);
}

body.tjp-cosmos .public_ddxx,
body.tjp-cosmos .public_ddxx_search {
  background: var(--tjp-card) !important;
  border: 1px solid var(--tjp-card-border);
  color: var(--tjp-text);
}

body.tjp-cosmos .public_des,
body.tjp-cosmos .public_pyzt_ddxx,
body.tjp-cosmos .public_pyzt_ddxx2 {
  color: var(--tjp-text-dim) !important;
}

body.tjp-cosmos .ddztxz a.on {
  color: var(--tjp-gold) !important;
  border-bottom-color: var(--tjp-gold) !important;
}

body.tjp-cosmos .public_ddxx_form .input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tjp-gold-dim);
  color: var(--tjp-text);
}

body.tjp-cosmos .public_ddxx_form .btn {
  background: linear-gradient(135deg, #a07820, var(--tjp-gold));
  color: #1a1035;
  border: none;
}

body.tjp-cosmos .public_os_info {
  color: var(--tjp-text-dim);
}

/* ── 订单查询页 · 与结果页一致壳层 ── */
html.tjp-cosmos-html body.tjp-history {
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.tjp-history .tjp-result-body,
body.tjp-history .tjp-history-body {
  position: relative;
  z-index: 2;
  padding: 0 0.12rem 0.24rem;
}

body.tjp-history .tjp-result-stack,
body.tjp-history .tjp-history-stack {
  max-width: 6.4rem;
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.tjp-history .tjp-result-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0.48rem;
  margin-bottom: 0.1rem;
}

body.tjp-history .tjp-result-nav__title {
  margin: 0;
  font-family: var(--tjp-serif);
  font-size: 0.17rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--tjp-gold-light);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

body.tjp-history .tjp-result-nav__home,
body.tjp-history .tjp-result-nav__orders {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.36rem;
  height: 0.36rem;
  padding: 0 0.08rem;
  font-size: 0.13rem;
  color: rgba(232, 220, 200, 0.78);
  text-decoration: none;
  border-radius: 0.06rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(15, 21, 40, 0.55);
}

body.tjp-history .tjp-result-nav__home {
  left: 0;
  font-size: 0.22rem;
  line-height: 1;
}

body.tjp-history .tjp-result-nav__home span {
  display: block;
  margin-top: -0.02rem;
}

body.tjp-history .tjp-result-nav__orders {
  right: 0;
  letter-spacing: 0.04rem;
}

body.tjp-history .public_footer_servers {
  position: relative;
  z-index: 2;
  padding-bottom: 0.2rem;
}

body.tjp-history .tjp-history-tabs.ddztxz {
  display: flex !important;
  gap: 0.08rem;
  margin: 0 0 0.12rem !important;
  padding: 0.06rem !important;
  list-style: none;
  background: rgba(15, 21, 40, 0.72) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 0.12rem !important;
  box-sizing: border-box;
}

body.tjp-history .ddztxz li {
  flex: 1;
  min-width: 0;
  width: auto;
}

body.tjp-history .ddztxz li a {
  display: block;
  padding: 0.08rem 0.04rem !important;
  height: auto !important;
  line-height: 1.35 !important;
  font-size: 0.115rem !important;
  letter-spacing: 0.02rem;
  text-align: center;
  color: var(--tjp-text-dim) !important;
  border: 1px solid transparent;
  border-radius: 0.1rem;
  border-bottom: none !important;
  box-sizing: border-box;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body.tjp-history .ddztxz li a.on {
  color: #071018 !important;
  background: linear-gradient(135deg, #4db8aa, var(--tjp-jade)) !important;
  border-color: transparent !important;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 0 0.1rem rgba(94, 196, 182, 0.3);
}

body.tjp-history .tjp-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

body.tjp-history #tjp-browser-orders-wrap,
body.tjp-history #tjp-browser-orders,
body.tjp-history #tjp-mp-orders {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

body.tjp-history #tjp-browser-orders-wrap[hidden],
body.tjp-history #tjp-mp-orders[hidden] {
  display: none !important;
}

body.tjp-history .tjp-history-list .public_ddxx {
  width: auto !important;
  margin: 0 !important;
  padding: 0.02rem 0;
  overflow: hidden;
  background: rgba(9, 14, 28, 0.96) !important;
  border: 1px solid rgba(94, 196, 182, 0.22) !important;
  border-radius: 0.1rem !important;
  box-shadow:
    0 0.04rem 0.14rem rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body.tjp-history .tjp-history-list .public_ddxx + .public_ddxx {
  margin-top: 0 !important;
}

body.tjp-history .tjp-history-card[data-detail-href] {
  cursor: pointer;
}

body.tjp-history .tjp-history-card[data-detail-href]:active {
  opacity: 0.92;
}

body.tjp-history .tjp-history-card__action {
  display: inline-block;
}

body.tjp-history .public_k {
  padding: 0 0.14rem !important;
}

body.tjp-history .tjp-history-card__head {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.1rem;
  padding-top: 0.14rem !important;
  padding-bottom: 0.06rem !important;
  border-bottom: 1px solid rgba(94, 196, 182, 0.08);
}

body.tjp-history .public_des {
  float: none !important;
  flex: 1;
  min-width: 0;
  display: block;
  margin-top: 0 !important;
  line-height: 1.45 !important;
  font-size: 0.14rem !important;
  font-weight: 600;
  color: var(--tjp-text) !important;
  word-break: break-all;
}

body.tjp-history .public_pyzt {
  float: none !important;
  flex-shrink: 0;
  display: block;
  margin-top: 0 !important;
  line-height: 1.45 !important;
  font-size: 0.12rem !important;
  white-space: nowrap;
}

body.tjp-history .tjp-history-status--paid {
  color: var(--tjp-jade) !important;
}

body.tjp-history .tjp-history-status--unpaid,
body.tjp-history .public_red {
  color: #f0a070 !important;
}

body.tjp-history .public_pyzt_ddxx,
body.tjp-history .public_pyzt_ddxx2 {
  display: block;
  font-size: 0.12rem !important;
  line-height: 1.55 !important;
  padding-top: 0.06rem !important;
  padding-bottom: 0.04rem !important;
  color: var(--tjp-text-dim) !important;
  word-break: break-all;
}

body.tjp-history .public_pyzt_ddxx2 {
  padding-bottom: 0.1rem !important;
}

body.tjp-history .public_bddd {
  margin-top: 0.04rem;
  border-top: 1px solid rgba(94, 196, 182, 0.14) !important;
  background: rgba(94, 196, 182, 0.04);
}

body.tjp-history .public_pyzt__look {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.12rem 0 !important;
  font-size: 0.14rem !important;
  color: var(--tjp-jade) !important;
  background: none !important;
}

body.tjp-history .public_pyzt__look::after {
  content: "›";
  font-size: 0.2rem;
  line-height: 1;
  color: rgba(94, 196, 182, 0.7);
}

body.tjp-history .tjp-history-empty {
  margin: 0;
  padding: 0.36rem 0.2rem;
  text-align: center;
  font-size: 0.14rem;
  color: var(--tjp-text-dim);
  background: rgba(9, 14, 28, 0.72);
  border: 1px dashed rgba(94, 196, 182, 0.18);
  border-radius: 0.1rem;
}

body.tjp-history .tjp-history-loading {
  margin: 0;
  padding: 0.36rem 0.2rem;
  text-align: center;
  font-size: 0.14rem;
  color: rgba(212, 175, 55, 0.55);
  letter-spacing: 0.06rem;
  background: rgba(9, 14, 28, 0.72);
  border: 1px dashed rgba(212, 175, 55, 0.12);
  border-radius: 0.1rem;
}

body.tjp-history .tjp-history-search.public_ddxx_search {
  margin: 0 !important;
  padding: 0.16rem 0.14rem 0.18rem !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
}

body.tjp-history .tjp-history-search__hint {
  margin: 0 0 0.12rem;
  padding: 0.08rem 0.1rem;
  font-size: 0.12rem;
  color: var(--tjp-text-dim);
  line-height: 1.5;
  text-align: center;
  background: rgba(94, 196, 182, 0.06);
  border-radius: 0.06rem;
  border: 1px solid rgba(94, 196, 182, 0.1);
}

body.tjp-history .public_ddxx_form form {
  display: flex;
  gap: 0.08rem;
  align-items: stretch;
}

body.tjp-history .public_ddxx_form .input {
  float: none !important;
  flex: 1;
  width: auto !important;
  height: 0.44rem !important;
  line-height: 0.44rem !important;
  padding: 0 0.12rem !important;
  font-size: 0.13rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01rem;
  color: var(--tjp-text) !important;
  background: rgba(7, 11, 20, 0.65) !important;
  border: 1px solid rgba(94, 196, 182, 0.28) !important;
  border-radius: 0.08rem !important;
  box-shadow: inset 0 0 0.12rem rgba(0, 0, 0, 0.35);
}

body.tjp-history .public_ddxx_form .input::placeholder {
  color: rgba(232, 220, 200, 0.35);
}

body.tjp-history .public_ddxx_form .btn,
body.tjp-history .public_ddxx_form .J_ajax_submit_btn {
  float: none !important;
  flex-shrink: 0;
  width: 0.72rem !important;
  height: 0.44rem !important;
  line-height: 0.44rem !important;
  font-size: 0.14rem !important;
  color: #071018 !important;
  font-weight: 600;
  text-align: center;
  border: none !important;
  border-radius: 0.08rem !important;
  background: linear-gradient(135deg, #4db8aa, var(--tjp-jade)) !important;
  box-shadow: 0 0 0.12rem rgba(94, 196, 182, 0.35);
}

body.tjp-history .public_no_search {
  width: 100% !important;
  margin: 0.1rem 0 0 !important;
  padding: 0 0.12rem !important;
  height: auto !important;
  min-height: 0.44rem;
  line-height: 0.44rem !important;
  font-size: 0.13rem !important;
  color: #f0a070 !important;
  background: rgba(240, 160, 112, 0.08) !important;
  border: 1px solid rgba(240, 160, 112, 0.35) !important;
  border-radius: 0.08rem !important;
  box-sizing: border-box;
}

body.tjp-history .tjp-history-guide {
  margin: 0.12rem 0 0;
  padding: 0;
}

body.tjp-history .tjp-history-tip {
  padding: 0.12rem 0.14rem;
  margin-bottom: 0.12rem;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid rgba(94, 196, 182, 0.12);
  border-radius: 0.1rem;
  box-shadow: inset 0 0 0.16rem rgba(0, 0, 0, 0.28);
}

body.tjp-history .tjp-history-tip__label {
  margin: 0 0 0.06rem;
  padding-left: 0.1rem;
  border-left: 2px solid var(--tjp-jade);
  font-family: var(--tjp-serif);
  font-size: 0.13rem;
  color: var(--tjp-gold-light);
  letter-spacing: 0.04rem;
}

body.tjp-history .tjp-history-tip__text {
  margin: 0;
  font-size: 0.12rem;
  line-height: 1.65;
  color: var(--tjp-text-dim);
}

body.tjp-history .tjp-history-tip__text span {
  color: var(--tjp-jade);
  font-weight: 600;
}

body.tjp-cosmos .tjp-chat-link,
body.tjp-history .tjp-history-tip__text .tjp-chat-link {
  color: var(--tjp-jade) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.04rem;
}

body.tjp-history .tjp-history-guide-card {
  padding: 0.14rem;
  margin-bottom: 0.12rem;
  border-radius: 0.12rem;
  background: rgba(15, 21, 40, 0.82);
  border: 1px solid rgba(94, 196, 182, 0.18);
  box-shadow: 0 0.06rem 0.24rem rgba(0, 0, 0, 0.28);
}

body.tjp-history .tjp-history-guide-card__head {
  margin-bottom: 0.1rem;
}

body.tjp-history .tjp-history-guide-card__title {
  margin: 0;
  font-family: var(--tjp-serif);
  font-size: 0.15rem;
  color: var(--tjp-gold-light);
  letter-spacing: 0.06rem;
}

body.tjp-history .tjp-history-guide-card__sub {
  margin: 0.04rem 0 0;
  font-size: 0.11rem;
  color: rgba(94, 196, 182, 0.75);
  letter-spacing: 0.02rem;
}

body.tjp-history .tjp-history-guide-card__frame {
  padding: 0.08rem;
  border-radius: 0.08rem;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid rgba(94, 196, 182, 0.12);
  box-shadow: inset 0 0 0.12rem rgba(0, 0, 0, 0.2);
}

body.tjp-history .tjp-history-guide-card__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.04rem;
}

body.tjp-cosmos .index-form__li input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px rgba(18, 22, 40, 0.95) inset !important;
  -webkit-text-fill-color: var(--tjp-text) !important;
}

/* ── 生辰日期选择器（深色玄学主题） ── */
/* 旧 rui-datepicker 已被 tjp-birth-picker 替代，保留兜底样式 */
.gearDate .date_ctrl {
  background: #121828 !important;
}

/* ── 移动端：只关「闪眼」项，保留星空氛围 ── */
body.tjp-cosmos--mobile .tjp-hero__brand,
body.tjp-cosmos--mobile .public_pay_bottom > span {
  animation: none !important;
  transform: none !important;
}

body.tjp-cosmos--mobile .public_test_fixed.is-scroll-show span {
  animation: tjp-fixed-btn-pulse 1.45s ease-in-out infinite !important;
  transform: none !important;
}

body.tjp-cosmos--mobile .tjp-hero__halo {
  animation: tjp-hero-halo 8s ease-in-out infinite !important;
}

body.tjp-cosmos--mobile .m_top_tip,
body.tjp-cosmos--mobile .index-xuan__box,
body.tjp-cosmos--mobile .tjp-order-box,
body.tjp-cosmos--mobile .tjp-compass-overlay,
body.tjp-cosmos--mobile .index-form {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

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

body.tjp-cosmos--mobile #testFixedBtn.is-scroll-show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.tjp-cosmos--mobile.tjp-ritual-active .tjp-sky__flow,
body.tjp-cosmos--mobile.tjp-ritual-active .tjp-sky__mist,
body.tjp-cosmos--mobile.tjp-pivot-active .tjp-sky__flow,
body.tjp-cosmos--mobile.tjp-pivot-active .tjp-sky__mist {
  animation-play-state: paused;
}

body.tjp-cosmos--mobile #tjpWheel.is-frenzy .tjp-orbit--1 {
  animation-duration: 5.2s !important;
}

body.tjp-cosmos--mobile #tjpWheel.is-frenzy .tjp-orbit--2 {
  animation-duration: 6.8s !important;
}

body.tjp-cosmos--reduce .tjp-sky__nebula,
body.tjp-cosmos--reduce .tjp-sky__ring,
body.tjp-cosmos--reduce .tjp-sky__flow,
body.tjp-cosmos--reduce .tjp-sky__mist,
body.tjp-cosmos--reduce .tjp-sky__pillar,
body.tjp-cosmos--reduce .tjp-float-char,
body.tjp-cosmos--reduce .tjp-sky__css-star {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .tjp-sky__nebula,
  .tjp-sky__ring,
  .tjp-sky__flow,
  .tjp-sky__mist,
  .tjp-sky__pillar,
  .tjp-float-char,
  .tjp-float-char__glyph,
  .tjp-float-char__beam,
  .tjp-float-char__glow,
  .tjp-meteor,
  .tjp-orbit,
  .tjp-wheel__beams,
  .tjp-wheel__aura,
  .tjp-wheel__shine,
  body.tjp-cosmos .index-xuan__box,
  .tjp-hero__halo,
  .tjp-hero__brand,
  body.tjp-cosmos .index-form {
    animation: none !important;
  }
}
