/* aishang.css (rpx->px) faithful port of birthday/index.wxss */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  background:
    radial-gradient(130% 60% at 50% -8%, #DCE8D8 0%, rgba(233,242,236,0) 55%),
    linear-gradient(180deg, #F1F4EE 0%, #E8EDE5 100%);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
}

/* 底部导航与内容同宽居中，避免桌面端横跨整个视口 */
.simple-nav {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 480px;
  max-width: 100%;
}

/* 让结果根容器撑满 480 容器宽度，避免白底只盖住中间 */
#triangleRoot,
#resultRoot {
  width: 100%;
  align-self: stretch;
}

/* VIP倒计时胶囊（顶部居中，低调） */
.vip-capsule {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.vip-capsule-text {
  font-size: 11px;
  color: #5F8A6A;
  background: rgba(78, 122, 99, 0.1);
  border-radius: 12px;
  padding: 4px 14px;
  font-weight: 400;
}

/* 标题容器样式 */
.title-container {
  padding: 10px;
  margin-bottom: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 主标题样式 - 绿色文本 */
.main-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
  color: #3D5A4C;
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  letter-spacing: .05em;
}

/* 9种颜色循环动画 */
@keyframes gradientCycle {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* 副标题样式 */
.subtitle {
  font-size: 12px;
  color: #8A9A8A;
  text-align: center;
  letter-spacing: 1px;
  font-weight: bold;
}

/* 免责声明（副标题下方，纯文字） */
.disclaimer-text {
  font-size: 10px;
  color: #A3B0A3;
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
}







/* 小火柴人行走动画容器 - 一行显示 */
.walking-matchstick-men {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 15px;
  margin-top: 10px;
  padding: 10px 5px;
  flex-wrap: nowrap; /* 强制一行显示 */
  overflow-x: auto;
  width: 100%;
  max-width: 400px;
}

/* 小火柴人基本样式 */
.matchstick-man {
  width: 35px;
  height: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 火柴人头部 */
.matchstick-man .head {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 2.5px;
  position: relative;
}

/* 火柴人身体 */
.matchstick-man .body {
  width: 2px;
  height: 20px;
  position: relative;
}

/* 火柴人手臂 */
.matchstick-man .arms {
  position: absolute;
  top: 15px;
  width: 40px;
  height: 15px;
}

.matchstick-man .arm {
  width: 1.5px;
  height: 12.5px;
  position: absolute;
  transform-origin: top center;
}

.matchstick-man .arm.left {
  left: 10px;
}

.matchstick-man .arm.right {
  right: 10px;
}

/* 火柴人腿部 */
.matchstick-man .legs {
  position: absolute;
  bottom: 7.5px;
  width: 30px;
  height: 15px;
}

.matchstick-man .leg {
  width: 1.5px;
  height: 15px;
  position: absolute;
  transform-origin: top center;
}

.matchstick-man .leg.left {
  left: 15px;
}

.matchstick-man .leg.right {
  right: 15px;
}

/* 火柴人数字 */
.matchstick-man .number {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  font-weight: bold;
}

/* 为每个火柴人设置对应的颜色 */
.matchstick-man.man-1 .head, 
.matchstick-man.man-1 .body, 
.matchstick-man.man-1 .arm, 
.matchstick-man.man-1 .leg {
  background-color: #AC301C; /* 数字1 - 红色 */
}

.matchstick-man.man-1 .number {
  color: #AC301C;
}

.matchstick-man.man-2 .head, 
.matchstick-man.man-2 .body, 
.matchstick-man.man-2 .arm, 
.matchstick-man.man-2 .leg {
  background-color: #EA5928; /* 数字2 - 橙色 */
}

.matchstick-man.man-2 .number {
  color: #EA5928;
}

.matchstick-man.man-3 .head, 
.matchstick-man.man-3 .body, 
.matchstick-man.man-3 .arm, 
.matchstick-man.man-3 .leg {
  background-color: #f4B808; /* 数字3 - 黄色 */
}

.matchstick-man.man-3 .number {
  color: #f4B808;
}

.matchstick-man.man-4 .head, 
.matchstick-man.man-4 .body, 
.matchstick-man.man-4 .arm, 
.matchstick-man.man-4 .leg {
  background-color: #1F4433; /* 数字4 - 绿色 */
}

.matchstick-man.man-4 .number {
  color: #1F4433;
}

.matchstick-man.man-5 .head, 
.matchstick-man.man-5 .body, 
.matchstick-man.man-5 .arm, 
.matchstick-man.man-5 .leg {
  background-color: #80D8CF; /* 数字5 - 青色 */
}

.matchstick-man.man-5 .number {
  color: #80D8CF;
}

.matchstick-man.man-6 .head, 
.matchstick-man.man-6 .body, 
.matchstick-man.man-6 .arm, 
.matchstick-man.man-6 .leg {
  background-color: #0174CD; /* 数字6 - 蓝色 */
}

.matchstick-man.man-6 .number {
  color: #0174CD;
}

.matchstick-man.man-7 .head, 
.matchstick-man.man-7 .body, 
.matchstick-man.man-7 .arm, 
.matchstick-man.man-7 .leg {
  background-color: #704175; /* 数字7 - 紫色 */
}

.matchstick-man.man-7 .number {
  color: #704175;
}

.matchstick-man.man-8 .head, 
.matchstick-man.man-8 .body, 
.matchstick-man.man-8 .arm, 
.matchstick-man.man-8 .leg {
  background-color: #A89563; /* 数字8 - 金色 */
}

.matchstick-man.man-8 .number {
  color: #A89563;
}

.matchstick-man.man-9 .head, 
.matchstick-man.man-9 .body, 
.matchstick-man.man-9 .arm, 
.matchstick-man.man-9 .leg {
  background-color: #050505; /* 数字9 - 黑色 */
}

.matchstick-man.man-9 .number {
  color: #050505;
}

/* 为每个火柴人设置不同的动作 */

/* 火柴人1 - 行走动作 */
.matchstick-man.man-1 {
  animation: walkCycle 1s ease-in-out infinite;
}

.matchstick-man.man-1 .arm.left {
  animation: armSwing1 1s ease-in-out infinite;
}

.matchstick-man.man-1 .arm.right {
  animation: armSwing2 1s ease-in-out infinite;
}

.matchstick-man.man-1 .leg.left {
  animation: legSwing1 1s ease-in-out infinite;
}

.matchstick-man.man-1 .leg.right {
  animation: legSwing2 1s ease-in-out infinite;
}

/* 火柴人2 - 挥手动作 */
.matchstick-man.man-2 {
  animation: waveCycle 1.5s ease-in-out infinite;
}

.matchstick-man.man-2 .arm.left {
  transform: rotate(-30deg);
}

.matchstick-man.man-2 .arm.right {
  animation: waveArm 1s ease-in-out infinite;
}

.matchstick-man.man-2 .leg.left,
.matchstick-man.man-2 .leg.right {
  transform: rotate(0deg);
}

/* 火柴人3 - 跳跃动作 */
.matchstick-man.man-3 {
  animation: jumpCycle 1.5s ease-in-out infinite;
}

.matchstick-man.man-3 .arm.left,
.matchstick-man.man-3 .arm.right {
  animation: jumpArm 1.5s ease-in-out infinite;
}

.matchstick-man.man-3 .leg.left,
.matchstick-man.man-3 .leg.right {
  animation: jumpLeg 1.5s ease-in-out infinite;
}

/* 火柴人4 - 跑步动作 */
.matchstick-man.man-4 {
  animation: runCycle 0.8s ease-in-out infinite;
}

.matchstick-man.man-4 .arm.left {
  animation: runArm1 0.8s ease-in-out infinite;
}

.matchstick-man.man-4 .arm.right {
  animation: runArm2 0.8s ease-in-out infinite;
}

.matchstick-man.man-4 .leg.left {
  animation: runLeg1 0.8s ease-in-out infinite;
}

.matchstick-man.man-4 .leg.right {
  animation: runLeg2 0.8s ease-in-out infinite;
}

/* 火柴人5 - 跳舞动作 */
.matchstick-man.man-5 {
  animation: danceCycle 1.2s ease-in-out infinite;
}

.matchstick-man.man-5 .arm.left {
  animation: danceArm1 1.2s ease-in-out infinite;
}

.matchstick-man.man-5 .arm.right {
  animation: danceArm2 1.2s ease-in-out infinite;
}

.matchstick-man.man-5 .leg.left {
  animation: danceLeg1 1.2s ease-in-out infinite;
}

.matchstick-man.man-5 .leg.right {
  animation: danceLeg2 1.2s ease-in-out infinite;
}

/* 火柴人6 - 挥手+点头 */
.matchstick-man.man-6 .head {
  animation: nodHead 1s ease-in-out infinite;
}

.matchstick-man.man-6 .arm.left {
  transform: rotate(-30deg);
}

.matchstick-man.man-6 .arm.right {
  animation: waveArm2 1s ease-in-out infinite;
}

.matchstick-man.man-6 .leg.left,
.matchstick-man.man-6 .leg.right {
  transform: rotate(0deg);
}

/* 火柴人7 - 摇摆动作 */
.matchstick-man.man-7 {
  animation: swingCycle 2s ease-in-out infinite;
}

.matchstick-man.man-7 .arm.left {
  animation: swingArm 2s ease-in-out infinite;
}

.matchstick-man.man-7 .arm.right {
  animation: swingArm 2s ease-in-out infinite reverse;
}

.matchstick-man.man-7 .leg.left,
.matchstick-man.man-7 .leg.right {
  transform: rotate(0deg);
}

/* 火柴人8 - 思考动作 */
.matchstick-man.man-8 .head {
  animation: thinkHead 2s ease-in-out infinite;
}

.matchstick-man.man-8 .arm.left {
  transform: rotate(90deg);
  animation: thinkArm 2s ease-in-out infinite;
}

.matchstick-man.man-8 .arm.right {
  transform: rotate(-30deg);
}

.matchstick-man.man-8 .leg.left,
.matchstick-man.man-8 .leg.right {
  transform: rotate(0deg);
}

/* 火柴人9 - 站立动作 */
.matchstick-man.man-9 {
  animation: standCycle 3s ease-in-out infinite;
}

.matchstick-man.man-9 .arm.left,
.matchstick-man.man-9 .arm.right {
  transform: rotate(0deg);
}

.matchstick-man.man-9 .leg.left,
.matchstick-man.man-9 .leg.right {
  transform: rotate(0deg);
}

/* 各种动画定义 */

/* 行走动画 */
@keyframes walkCycle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5px);
  }
}

/* 手臂摆动动画 */
@keyframes armSwing1 {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
}

@keyframes armSwing2 {
  0%, 100% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}

/* 腿部摆动动画 */
@keyframes legSwing1 {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
}

@keyframes legSwing2 {
  0%, 100% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}

/* 挥手动画 */
@keyframes waveCycle {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes waveArm {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(60deg);
  }
}

/* 跳跃动画 */
@keyframes jumpCycle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes jumpArm {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
}

@keyframes jumpLeg {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(20deg);
  }
}

/* 跑步动画 */
@keyframes runCycle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes runArm1 {
  0%, 100% {
    transform: rotate(-60deg);
  }
  50% {
    transform: rotate(60deg);
  }
}

@keyframes runArm2 {
  0%, 100% {
    transform: rotate(60deg);
  }
  50% {
    transform: rotate(-60deg);
  }
}

@keyframes runLeg1 {
  0%, 100% {
    transform: rotate(-45deg);
  }
  50% {
    transform: rotate(45deg);
  }
}

@keyframes runLeg2 {
  0%, 100% {
    transform: rotate(45deg);
  }
  50% {
    transform: rotate(-45deg);
  }
}

/* 跳舞动画 */
@keyframes danceCycle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(5deg);
  }
  75% {
    transform: translateY(-5px) rotate(-5deg);
  }
}

@keyframes danceArm1 {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(60deg);
  }
}

@keyframes danceArm2 {
  0%, 100% {
    transform: rotate(60deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}

@keyframes danceLeg1 {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(20deg);
  }
}

@keyframes danceLeg2 {
  0%, 100% {
    transform: rotate(20deg);
  }
  50% {
    transform: rotate(-10deg);
  }
}

/* 点头动画 */
@keyframes nodHead {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-15deg);
  }
}

@keyframes waveArm2 {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(60deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(60deg);
  }
}

/* 摇摆动画 */
@keyframes swingCycle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

@keyframes swingArm {
  0%, 100% {
    transform: rotate(-20deg);
  }
  50% {
    transform: rotate(20deg);
  }
}

/* 思考动画 */
@keyframes thinkHead {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

@keyframes thinkArm {
  0%, 100% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(120deg);
  }
}

/* 站立动画 */
@keyframes standCycle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5px);
  }
}

/* 响应式调整 */
@media (max-width: 384px) {
  .title {
    font-size: 16px;
    gap: 3px;
  }
  
  .walking-matchstick-men {
    gap: 10px;
  }
  
  .matchstick-man {
    width: 30px;
    height: 50px;
  }
}

/* 简化版火柴人序列容器 */
.matchstick-sequence {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 5px;
  flex-wrap: nowrap; /* 强制一行显示 */
  overflow-x: auto;
  width: 100%;
  max-width: 400px;
}

/* 简化版火柴人基础样式 */
.simple-matchstick {
  width: 30px;
  height: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 简化火柴人 - 单线条 */


/* 火柴人数字 - 增强版果冻质感 */
.simple-matchstick .number {
  position: absolute;
  bottom: 0;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 9px;
  border-radius: 17.5px;
  /* 增强的果冻渐变背景 */
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.4) 0%, 
    rgba(255,255,255,0.2) 30%, 
    rgba(0,0,0,0.1) 100%);
  /* 多层阴影增强立体感 */
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.15),
    0 1.5px 4px rgba(0,0,0,0.1),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
  /* 增强的果冻弹跳动画 */
  animation: jellyBounce 1.8s ease-in-out infinite;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  opacity: 0.95;
  /* 半透明边框增强通透感 */
  border: 0.5px solid rgba(255,255,255,0.4);
  /* 添加光晕效果 */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 增强的果冻弹跳动画 */
@keyframes jellyBounce {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  25% {
    transform: scale(1.08, 0.95) translateY(-1.5px);
  }
  50% {
    transform: scale(0.98, 1.05) translateY(1px);
  }
  75% {
    transform: scale(1.05, 0.98) translateY(-0.5px);
  }
}

/* 为每个火柴人设置对应的鲜艳果冻颜色 */
.simple-matchstick.man-1 .number {
  background: linear-gradient(135deg, 
    rgba(255, 71, 87, 0.9) 0%, 
    rgba(235, 59, 72, 0.8) 100%);
  color: white;
  /* 增强的红色光晕 */
  box-shadow: 
    0 4px 10px rgba(255, 71, 87, 0.2),
    0 1.5px 4px rgba(255, 71, 87, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-2 .number {
  background: linear-gradient(135deg, 
    rgba(255, 165, 2, 0.9) 0%, 
    rgba(235, 152, 2, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(255, 165, 2, 0.2),
    0 1.5px 4px rgba(255, 165, 2, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-3 .number {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.9) 0%, 
    rgba(235, 199, 0, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(255, 215, 0, 0.2),
    0 1.5px 4px rgba(255, 215, 0, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-4 .number {
  background: linear-gradient(135deg, 
    rgba(46, 213, 115, 0.9) 0%, 
    rgba(42, 194, 105, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(46, 213, 115, 0.2),
    0 1.5px 4px rgba(46, 213, 115, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-5 .number {
  background: linear-gradient(135deg, 
    rgba(18, 203, 196, 0.9) 0%, 
    rgba(16, 185, 179, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(18, 203, 196, 0.2),
    0 1.5px 4px rgba(18, 203, 196, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-6 .number {
  background: linear-gradient(135deg, 
    rgba(55, 66, 250, 0.9) 0%, 
    rgba(50, 60, 230, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(55, 66, 250, 0.2),
    0 1.5px 4px rgba(55, 66, 250, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-7 .stick {
  background-color: #A55EEA; /* 数字7 - 亮紫色 */
}

.simple-matchstick.man-7 .number {
  background: linear-gradient(135deg, 
    rgba(165, 94, 234, 0.9) 0%, 
    rgba(150, 86, 215, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(165, 94, 234, 0.2),
    0 1.5px 4px rgba(165, 94, 234, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-8 .stick {
  background-color: #FFA07A; /* 数字8 - 珊瑚色 */
}

.simple-matchstick.man-8 .number {
  background: linear-gradient(135deg, 
    rgba(255, 160, 122, 0.9) 0%, 
    rgba(235, 148, 113, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(255, 160, 122, 0.2),
    0 1.5px 4px rgba(255, 160, 122, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

.simple-matchstick.man-9 .stick {
  background-color: #2F3542; /* 数字9 - 深灰色 */
}

.simple-matchstick.man-9 .number {
  background: linear-gradient(135deg, 
    rgba(47, 53, 66, 0.9) 0%, 
    rgba(42, 47, 58, 0.8) 100%);
  color: white;
  box-shadow: 
    0 4px 10px rgba(47, 53, 66, 0.2),
    0 1.5px 4px rgba(47, 53, 66, 0.15),
    inset 0 1.5px 4px rgba(255,255,255,0.6),
    inset 0 -1.5px 4px rgba(0,0,0,0.15);
}

/* 连贯的波浪动画 - 为每个火柴人设置不同的动画延迟 */
.simple-matchstick.man-1 .stick {
  animation-delay: 0s;
}

.simple-matchstick.man-2 .stick {
  animation-delay: 0.1s;
}

.simple-matchstick.man-3 .stick {
  animation-delay: 0.2s;
}

.simple-matchstick.man-4 .stick {
  animation-delay: 0.3s;
}

.simple-matchstick.man-5 .stick {
  animation-delay: 0.4s;
}

.simple-matchstick.man-6 .stick {
  animation-delay: 0.5s;
}

.simple-matchstick.man-7 .stick {
  animation-delay: 0.6s;
}

.simple-matchstick.man-8 .stick {
  animation-delay: 0.7s;
}

.simple-matchstick.man-9 .stick {
  animation-delay: 0.8s;
}

/* 火柴人摇摆动画 - 连贯的波浪效果 */
@keyframes stickWave {
  0%, 100% {
    transform: rotate(-5deg);
    height: 35px;
  }
  25% {
    transform: rotate(0deg);
    height: 40px;
  }
  50% {
    transform: rotate(5deg);
    height: 45px;
  }
  75% {
    transform: rotate(0deg);
    height: 40px;
  }
}

/* 彩虹边框旋转动画 */
@keyframes rainbowRotate {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.label {
  display: block;
  font-size: 16px; /* 加大一号字体 */
  color: #666666; /* 灰色字体 */
  font-weight: normal; /* 细体 */
  margin-bottom: 7.5px; /* 增加与选择器之间的行高 */
}

.input {
  width: 100% !important;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(45,55,45,.12);
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  display: block;
  line-height: 40px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: #7A9E7E; box-shadow: 0 0 0 3px rgba(110,140,118,.16); }

/* 设置input placeholder颜色 */
.input::placeholder {
  color: #b0a89c;
}

.label {
  margin-bottom: 10px; /* 增加行高，避免拥挤 */
}
.label {
  display: block;
  font-size: 14px;
  color: #8A9A8A;
  margin-bottom: 7.5px;
  text-align: center;
  font-weight: normal;
}

.result-label {
  font-size: 18px; /* 加大字体 */
  font-weight: normal; /* 修改为细体不加粗 */
  color: #3A4A3A;
  margin-right: 5px;
}

.result-value {
  font-size: 20px; /* 加大字体 */
  font-weight: bold; /* 加粗 */
  color: #3A4A3A; /* 修改为黑色字体 */
}

.age-value {
  font-size: 22px;
  color: #8A9A8A;
}

.vs-cell {
  font-size: 18px;
  color: #9E8774;
  font-weight: bold;
  font-size: 18px; /* 加大一号字体 */
  color: #9E8774; /* 匹配出生日期输入框颜色 */
}

/* 五行中的土字单独加粗 */
.result-value .earth-element {
  font-weight: bold;
  font-size: 21px; /* 比其他五行字略大 */
}
.btn {
  width: 40%;
  margin: 15px auto 0 auto;
  height: 42px;
  line-height: 42px;
  background: linear-gradient(135deg, #7A9E7E, #5F8A6A);
  color: #FFFFFF;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  border: none;
  box-sizing: border-box;
  padding: 0 10px;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(78,122,99,.28);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { box-shadow: 0 10px 22px rgba(78,122,99,.36); } }

.btn-light {
  background-color: #BCADA8;
  color: white;
}

/* 统一设置结果标签样式 */
.result-label {
  font-size: 18px;
  font-weight: normal; /* 细体不加粗 */
  color: #3A4A3A; /* 黑色字体 */
  margin-right: 5px;
}

/* 统一设置结果值样式 */
.result-value {
  font-size: 20px;
  font-weight: bold;
  color: #3A4A3A; /* 黑色字体 */
}

/* 五行中的土字单独加粗 */
.result-value .earth-element {
  font-weight: bold;
  font-size: 21px; /* 比其他五行字略大 */
}
.btn {
  width: 40%;
  margin: 15px auto 0 auto;
  height: 42px;
  line-height: 42px;
  background: linear-gradient(135deg, #7A9E7E, #5F8A6A);
  color: #FFFFFF;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  border: none;
  box-sizing: border-box;
  padding: 0 10px;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(78,122,99,.28);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { box-shadow: 0 10px 22px rgba(78,122,99,.36); } }

/* 开始计算主按钮专属样式（ID 优先级最高，避免被 .btn-group .btn 覆盖） */
#calcBtn {
  width: 40%;
  height: 42px;
  line-height: 42px;
  background: linear-gradient(135deg, #7A9E7E, #5F8A6A);
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(78,122,99,.28);
}

.result-label {
  font-size: 16px; /* 字体小一号 */
  font-weight: lighter; /* 改为更细的字体 */
}

/* 对话客服按钮样式 */
.consultation-btn-container {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.consultation-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #7A9E7E;
  border-radius: 10px;
  padding: 7.5px;
  font-size: 9px;
  border: 0.5px solid #7A9E7E;
}

.btn-icon {
  margin-bottom: 4px;
  font-size: 12px;
}

.btn-text {
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 3px;
  font-size: 10px;
}

.result-section {
  padding: 14px;
  border: none;
  border-bottom: 1px solid #e8e3d8;
  padding-bottom: 15px;
  margin: 0;
  background-color: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 22px rgba(45,55,45,.06);
  width: 100%;
  box-sizing: border-box;
  margin-top: -1px;
}

.result-section > view {
  margin-bottom: 0;
}

.three-columns-container {
  margin-bottom: 5px;
}
.disclaimer {
  font-size: 12px;
  color: #9E8774; /* 更新文字颜色 */
  text-align: center;
  margin-top: 40px;
  line-height: 1.5;
  font-weight: bold;
}

.two-column-layout {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 450px; /* 添加最大宽度限制 */
  margin: 0 auto; /* 水平居中 */
  padding: 7.5px 0;
  gap: 20px;
}

.column {
  flex: 0 0 42%; /* 进一步减小宽度 */
  padding: 10px;
  background-color: #FFFFFF;
  border-radius: 7.5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.column:first-child {
  margin-right: 5px;
}

.column:last-child {
  margin-left: 5px;
}

.vertical-divider {
  width: 1px;
  background-color: #EEEEEE;
  align-self: stretch;
}
.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12.5px;
  padding: 7.5px;
  width: 100%;
  gap: 2.5px;
  flex-wrap: nowrap;
}

.stage-name {
  flex: 0 0 35%;
  text-align: left;
}

.stage-number {
  flex: 0 0 30%;
  text-align: center;
  font-size: 22px;
}

.stage-age {
  flex: 0 0 35%;
  text-align: right;
}
.card {
  width: 100%;
  background-color: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(45,55,45,.06);
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-number {
  font-size: 20px; /* 微调数字大小 */
  font-weight: bold;
  margin: 0 4px; /* 调整间距 */
  white-space: nowrap;
}

.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12.5px;
  padding: 0 5px;
  width: 100%;
  gap: 4px;
  flex-wrap: nowrap;
}

.stage-name {
  font-size: 18px;
  color: #8A9A8A;
  margin-bottom: 2.5px;
  font-weight: bold;
}

.stage-number {
  font-size: 14px;
  font-weight: bold;
  margin: 2.5px 0;
}

.number-cell {
  font-size: 18px !important;
}

.stage-age {
  font-size: 11px;
  color: #9E8774;
  font-weight: bold;
}

.three-columns-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  padding: 0;
}

.results-wrapper {
  border: 0.5px solid #e5e5e5;
  padding: 7.5px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.result-item {
  flex: 1; /* 平均分配空间 */
  display: flex;
  align-items: center;
  justify-content: center; /* 居中对齐内容 */
  margin: 0 5px;
  white-space: nowrap; /* 防止换行 */

}

.color-swatch {
  width: 15px;
  height: 15px;
  border-radius: 2px;
  margin-bottom: 4px;
}
.disclaimer {
  font-size: 12px;
  color: #9E8774; /* 更新文字颜色 */
  text-align: center;
  margin-top: 40px;
  line-height: 1.5;
  font-weight: bold;
}

.two-column-layout {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 450px; /* 添加最大宽度限制 */
  margin: 0 auto; /* 水平居中 */
  padding: 7.5px 0;
  gap: 20px;
}

.column {
  flex: 0 0 42%; /* 进一步减小宽度 */
  padding: 10px;
  background-color: #FFFFFF;
  border-radius: 7.5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.column:first-child {
  margin-right: 5px;
}

.column:last-child {
  margin-left: 5px;
}

.vertical-divider {
  width: 1px;
  background-color: #EEEEEE;
  align-self: stretch;
}
.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12.5px;
  padding: 7.5px;
  width: 100%;
  gap: 2.5px;
  flex-wrap: nowrap;
}

.stage-name {
  flex: 0 0 35%;
  text-align: left;
}

.stage-number {
  flex: 0 0 30%;
  text-align: center;
  font-size: 22px;
}

.stage-age {
  flex: 0 0 35%;
  text-align: right;
}
.card {
  max-width: 450px !important;
  margin: 0 auto 15px !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background-color: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 15px; /* 减少卡片内边距 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.stage-number {
  font-size: 20px; /* 微调数字大小 */
  font-weight: bold;
  margin: 0 4px; /* 调整间距 */
  white-space: nowrap;
}

.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12.5px;
  padding: 0 5px;
  width: 100%;
  gap: 4px;
  flex-wrap: nowrap;
}

.stage-name {
  font-size: 13px;
  color: #9E8774;
  margin-bottom: 2.5px;
  font-weight: bold;
}

.stage-number {
  font-size: 22px;
  font-weight: bold;
  margin: 2.5px 0;
}

.stage-age {
  font-size: 11px;
  color: #9E8774;
  font-weight: bold;
}

.three-columns-container {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.result-item.inline {
  flex: 1;
  text-align: center;
  margin: 0 5px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.table-row {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  position: relative;
}

.table-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 37.5px;
  right: 37.5px;
  height: 0;
  border-bottom: 0.5px dashed #ccc;
}

.table-row:first-child::after {
  display: none;
}

.table-cell {
  flex: 1;
  text-align: center;
  padding: 5px;
}

.table-cell.vs-cell {
  font-size: 14px;
  color: #9E8774;
  font-weight: normal;
  text-align: center;
}

.period-cell {
  border: none;
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5px 0;
  gap: 1px;
}

.number-cell {
  flex: 1;
  font-weight: bold;
  font-size: 13px;
  margin: 0.5px 0;
}

.vs-cell {
  border: none;
  flex: 2;
  white-space: nowrap;
  font-size: 16px; /* 加大一个字号 */
  padding: 0 10px; /* 增加左右内边距，让四大高峰和四大挑战往旁边移 */
  font-weight: lighter;
  color: #000000; /* 改成黑色 */
}

.table-row.header-row .period-cell {
  color: #9E8774; /* 与数字年等文字颜色相同 */
  font-weight: bold;
}

.peak-header {
  /* 四大高峰（三列对称布局，不再偏移） */
}

.challenge-header {
  /* 四大挑战（三列对称布局，不再偏移） */
}

.table-row.first-row .period-cell {
  font-size: 12px; /* 缩小字号 */
  white-space: nowrap; /* 防止换行 */
  color: #9E8774; /* 与数字年等文字颜色相同 */
  font-weight: lighter;
  padding: 0 10px; /* 增加内边距，让四大高峰和四大挑战往旁边移 */
}

.table-row.first-row .number-cell {
  /* 数字单元格样式 */

  
  margin: 0 7.5px; /* 增加间距使数字往两边移动 */
}

.table-row.first-row .number-cell {
  font-size: 14px; /* 减小字体大小 */
  font-weight: bold;
  color: #A9A2CC;
  margin-right: 2.5px;
}
.result-value {
  font-size: 16px; /* 减小字体大小 */
  font-weight: bold;
  color: #9E8774;
}
/* 年龄行样式 */
.table-row.age-row {
  height: 30px;

}

.table-row.age-row .age-cell {
  font-size: 12px;
  color: #666666;
  text-align: center;
  flex: 1;
}

/* 移除表头和内容行之间的边框 */
.table-row.header-row {
  font-size: 18px;
  font-weight: bold;
  border-bottom: none;
  background-color: #f5f5f5;
}

.stage-name-text {
  font-size: 18px;
  color: #9E8774;
  font-weight: bold;
}

/* 为内容行添加底部边框 - 已改为虚线 */
.table-row:not(.header-row):not(.age-row) {
  border-bottom: none;
}
.btn {
  width: 80%;
  height: 45px;
  line-height: 45px;
  margin: 10px auto 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  text-align: center;
  background-color: #B2A191;
  color: black;
}

.input-group {
  width: 100%;
  margin-bottom: 10px;
}

.date-input-container {
  margin-bottom: 7.5px;
}

.picker-container {
  margin-bottom: 7.5px;
}

.picker-btn {
  background-color: #f5f5f5;
  text-align: center;
  cursor: pointer;
}

.input {
  text-align: center; /* 确保日期居中 */
}
.table-cell.vs-cell {
  font-size: 13px;
  padding: 0 5px;
  white-space: normal;
  line-height: 1.35;
  color: #9E8774;
  text-align: center;
}

.vs-cell .age-range {
  font-size: 11px;
  color: #b0a596;
  font-weight: normal;
}

.table-cell.number-cell {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}
.section-title {
  font-size: 25px;
  font-weight: bold;
  color: #A9A2CC;
  margin-bottom: 10px;
  text-align: center;
}

/* 人生四大阶段容器样式 */
.four-stages-container {
  max-width: 425px;
  padding: 0 7.5px;
  margin: 26.5px auto 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
  max-width: 425px;
  box-sizing: border-box;
  padding: 0 7.5px; /* 添加左右内边距 */
}
.table-cell.number-cell {
  padding: 5px;
  border-radius: 2.5px;
  margin: 0 7.5px; /* 增加间距使数字往两边移动 */
}
.result-item {
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.result-label {
  margin-right: 2.5px;
}

/* 按钮组样式 */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

/* 计算生日按钮样式（仅作用于按钮组内的小按钮，避免污染开始计算主按钮） */
.btn-group .btn {
  flex: 0 0 33.33%; /* 缩小为原来的三分之一 */
  height: 30px; /* 高度缩小三分之一 */
  line-height: 30px; /* 行高缩小三分之一 */
  padding: 0;
  border: none;
  border-radius: 15px; /* 圆角缩小三分之一 */
  font-size: 12px; /* 字体大小缩小三分之一 */
  text-align: center;
  background-color: #5F8A6A !important;
  color: #FFFFFF !important;
  font-weight: bold !important;
}

/* 计算姓名按钮样式 */
.btn.btn-light {
  background-color: #FFFFFF !important;
  color: #7A9E7E !important;
  border: 1px solid #7A9E7E !important;
  border-radius: 22.5px !important;
}

/* 分享按钮样式 */
.share-btn {
  flex: 1;
  height: 45px;
  line-height: 45px;
  padding: 0;
  border: none;
  border-radius: 22.5px;
  font-size: 16px;
  text-align: center;
  background-color: #4CAF50 !important;
  color: #FFFFFF !important;
  font-weight: bold !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 分享按钮文本样式 */
.share-text {
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
}

/* 版权信息样式 */
.copyright {
  font-size: 12px;
  color: #9E8F84;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

/* 密码解析模态框样式 */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  width: 85%;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-in-out;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
  border: 0.5px solid #E8E8E8;
}

/* 上滑动画 */
@keyframes slideUp {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 自定义滚动条样式 */
.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: #F0F0F0;
  border-radius: 2px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 2px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #A0A0A0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12.5px 17.5px;
  border-bottom: 0.5px solid #F0F0F0;
  background: linear-gradient(90deg, #E8EDE5 0%, #FFFFFF 100%);
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #3D5A4C;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.close-btn {
  font-size: 22px;
  color: #9E8F84;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: #E8EDE5;
}

.close-btn:hover {
  background-color: #E7EDE9;
  color: #7A9E7E;
  transform: rotate(90deg);
}

.modal-body {
  padding: 17.5px;
  background-color: #FCFBF7;
  border-radius: 0 0 10px 10px;
}

.modal-description {
  font-size: 15px;
  color: #3A4A3A;
  line-height: 1.8;
  text-align: justify;
  letter-spacing: 0.5px;
  padding: 5px 0;
  background-color: #FCFBF7;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.02);
}

/* 为长文本添加段落间距 */
.modal-description::before {
  content: "";
  display: block;
  height: 5px;
}

.modal-description::after {
  content: "";
  display: block;
  height: 5px;
}

/* 为描述文本添加首行缩进 */
.modal-description {
  text-indent: 30px;
}

/* 为描述文本添加换行间距 */
.modal-description br {
  line-height: 2;
}

/* 日期输入布局 */
.date-input-row {
  width: 100%;
  box-sizing: border-box;
}

/* 日期输入框样式 */
.date-input {
  width: 100% !important;
  border-radius: 4px;
  text-align: center;
}

/* 为年龄弹窗添加特殊样式 */
.age-modal .modal-content {
  background: linear-gradient(135deg, #E8EDE5 0%, #E7EDE9 100%);
  border: 1px solid #D4C8BE;
}

.age-modal .modal-title {
  color: #7A9E7E;
}

.age-modal .modal-description {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #7A9E7E;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-indent: 0;
}

/* 三角形相关样式 */
.triangle-section {
  width: 100%;
  background-color: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 16px 16px 0 0;
  padding: 15px;
  box-shadow: 0 8px 22px rgba(45,55,45,.06);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.triangle-with-external {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  position: relative;
}

.triangle-container {
  display: flex;
  justify-content: center;
  position: relative;
  width: 240px;
  height: auto;
  align-items: center;
  margin: 10px auto;
}

/* 灰色三角形线框样式 - 使用空心边框 */
.triangle-outline {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 1px solid #ccc;
  clip-path: polygon(50% 10%, 10% 90%, 90% 90%);
  z-index: -1;
}

.middle-top-left {
  position: absolute;
  top: 50%;
  left: -72px;
  transform: translateY(-50%);
}

.middle-top-left .triangle-cell {
  background-color: transparent;
  color: black;
  border: none;
  width: 90px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* 右侧外部密码样式 */
.middle-top-right {
  position: absolute;
  top: 50%;
  right: -72px;
  transform: translateY(-50%);
}

.middle-top-right .triangle-cell {
  background-color: transparent;
  color: black;
  border: none;
  width: 90px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* 顶部外部密码样式 */
.top-external {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.top-external .triangle-cell {
  background-color: transparent;
  color: black;
  border: none;
  width: 90px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* 外部密码数字样式 */
.external-number {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: transparent;
  color: black;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 16px;
  font-weight: bold;
}

/* 温馨提示样式 */
.tips-info {
  margin-top: 10px;
  text-align: center;
  padding: 5px;
  width: 100%;
}

.tips-text {
  font-size: 12px;
  color: #9E8F84;
  letter-spacing: 0.5px;
}

/* 咨询信息容器样式 */
.consultation-container {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #7A9E7E;
  border-radius: 5px;
  overflow: hidden;
  background-color: #E8EDE5;
}

/* 咨询信息样式 */
.consultation-info {
  margin: 0;
  text-align: center;
  padding: 7.5px 10px;
  width: 100%;
  box-sizing: border-box;
}

/* 咨询滚动文字样式 */
.consultation-text {
  font-size: 14px;
  color: #8B5A2B;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
  display: inline-block;
  padding: 0 10px;
}

.triangle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px; /* 整体下移10px */
}

.triangle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.triangle-cell {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #ccc;
  border-radius: 50%;
  font-size: 16px;
  margin: 0 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-circle {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 计算结果标题样式 */
.result-title {
  font-size: 16px;
  font-weight: bold;
  color: #9E8F84; /* 沉香色 */
  text-align: center;
  margin: -30px 0 30px 0; /* 调整与上方线条的距离，增加空隙；保持下方间距 (1cm≈37.5px) */
}

/* 密码结果样式 */
.passwords-section {
  margin: 10px;
  padding: 10px;
  background-color: #F2EFE8;
  border-radius: 8px;
  z-index: 1;
  display: block;
}

.passwords-container {
  display: block;
  width: 100%;
}

.passwords-column {
  flex: 1;
  padding: 0 7.5px;
}

.passwords-column:first-child {
  border-right: 0.5px solid #e5e5e5;
}

.password-item {
  display: flex;
  margin-bottom: 7.5px;
  font-size: 14px;
  text-align: left !important;
  padding-bottom: 5px;
  border-bottom: 0.5px dashed #ccc;
}

.passwords-column {
  width: 100%;
  padding: 0 7.5px;
  text-align: left;
}

.password-label {
  color: #666;
  width: 100px;
}

.password-value {
  color: #333;
  font-weight: 500;
}