.ai-observe-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 183, 194, 0.25);
  border-radius: 12px;
  max-width: 620px;
  margin: 0 auto 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  font-family: "Noto Sans JP", "DotGothic16", monospace;
}

/* ===== テキスト全体 ===== */
#ai-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #004a55;
  will-change: transform, opacity;
  letter-spacing: 0.4px;
}

/* ===== 金額（赤） ===== */
.ai-strong {
  color: #e53935;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

/* ===== コスト変動（プロラボカラー） ===== */
.ai-detect {
  color: #00b7c2;
  font-weight: 700;
}

/* ===== フェードアニメーション ===== */
.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}
.fade-out {
  animation: fadeOutUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20%);
  }
}

/* ===== スマホ調整 ===== */
@media (max-width: 600px) {
  #ai-text {
    font-size: 0.8rem;
    line-height: 1.7;
  }
}
