/* 设置全局字体 */
body {
  font-family: "Smiley Sans Oblique", sans-serif;
}

/* 响应式设计调整 */
@media (max-width: 600px) {
  .container {
    padding: 0 10px;
  }

  .text-sm {
    font-size: 14px;
  }

  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .mb-4,
  .my-4 {
    margin-bottom: 1rem;
  }

  table {
    font-size: 14px;
  }

  .tooltip .tooltip-text {
    width: 150px;
    margin-left: -75px;
  }
}

.disabled-button {
  background-color: #cccccc;
  /* 灰色背景 */
  color: #666666;
  /* 深灰色文本 */
  cursor: not-allowed;
  /* 更改鼠标光标，显示禁止符号 */
}

.disabled-button:hover {
  background-color: #cccccc;
  /* 鼠标悬停时保持灰色背景 */
  color: #666666;
  /* 鼠标悬停时保持深灰色文本 */
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px 10px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -75px;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
}

.question-mark-icon {
  height: 1em;
  width: 1em;
  margin-left: 4px;
}

@keyframes fall {
  0% {
    top: -200%;
  }

  100% {
    top: 200%;
  }
}

.money {
  position: absolute;
  top: -200%;
  /* 设置初始位置在顶部之外 */
  font-size: 3rem;
  animation: fall linear forwards;
}

.main {
  position: relative;
  overflow: hidden;
  /* 防止 emoji 溢出 div 区域 */
}
