/* =========================================================
 * analyzing.css — AI 分析等待页
 * ========================================================= */

.view-analyzing {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.analyzing-cup {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 3rem;
  color: var(--color-gold);
}

.ac-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  opacity: 0.6;
}

.ac-ring-1 {
  border-style: dashed;
  animation: rotate 20s linear infinite;
}

.ac-ring-2 {
  inset: 20px;
  border-color: rgba(212, 175, 55, 0.35);
  border-style: dotted;
  animation: rotate 15s linear infinite reverse;
}

.ac-ring-3 {
  inset: 40px;
  border-color: var(--color-burgundy);
  border-style: dashed;
  border-width: 1px;
  animation: rotate 10s linear infinite;
  opacity: 0.4;
}

.ac-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-bright);
  animation: breathe 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.analyzing-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--color-gold-bright);
  letter-spacing: 0.35em;
  padding-left: 0.35em;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.analyzing-status {
  min-height: 1.5rem;
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-parchment-dim);
  letter-spacing: 0.15em;
  transition: opacity 0.4s ease;
}
.analyzing-status.is-fade { opacity: 0; }

.analyzing-progress {
  width: 70%;
  max-width: 260px;
  margin-bottom: 3rem;
}

.ap-track {
  height: 2px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.ap-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold-bright), var(--color-gold-dim));
  background-size: 200% 100%;
  transition: width 0.5s ease;
  animation: gradient-slide 2s linear infinite;
}

@keyframes gradient-slide {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.analyzing-tip {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
  letter-spacing: 0.1em;
}

@media (max-height: 700px) {
  .analyzing-cup { width: 160px; height: 160px; margin-bottom: 2rem; }
  .ac-ring-2 { inset: 18px; }
  .ac-ring-3 { inset: 35px; }
  .analyzing-title { font-size: 1.2rem; }
  .analyzing-progress { margin-bottom: 2rem; }
}
