/* 快速感知五页：心怡人设终版 · 极简全屏（与 lumenfeel-nu-flow 深色一致） */
:root {
  --qs-max: min(100%, 480px);
  --qs-muted: rgba(255, 255, 255, 0.68);
  --qs-faint: rgba(255, 255, 255, 0.42);
  --qs-teal-a: #00ad8f;
  --qs-teal-b: #00a0af;
}

.qs-flow {
  max-width: var(--qs-max);
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(max(8px, env(safe-area-inset-top, 0px)) + 56px) 20px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.qs-flow--center {
  justify-content: center;
  text-align: center;
}

.qs-icon-wrap {
  margin: 0 auto 24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-icon-wrap svg {
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

.qs-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.qs-sub {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--qs-muted);
}

.qs-micro {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--qs-faint);
}

.qs-preview-wrap {
  margin: 8px auto 20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 0.5px solid rgba(0, 200, 175, 0.35);
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 420px) {
  .qs-preview-wrap {
    width: 120px;
    height: 120px;
  }
}

.qs-preview-wrap video,
.qs-preview-wrap .qs-preview-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qs-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--qs-faint);
  padding: 12px;
  text-align: center;
  line-height: 1.4;
}

.qs-countdown {
  font-size: 56px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  margin: 4px 0 0;
}

.qs-capture-status {
  width: 100%;
  max-width: 280px;
  margin: 18px auto 0;
  display: grid;
  gap: 10px;
}

.qs-capture-status__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.qs-capture-status__item.is-complete {
  border-color: rgba(0, 200, 175, 0.36);
  background: rgba(0, 173, 143, 0.1);
  color: rgba(225, 255, 246, 0.94);
}

.qs-capture-status__check {
  min-width: 18px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
}

.qs-capture-status__item.is-complete .qs-capture-status__check {
  color: #18d39b;
}

.qs-capture-tip {
  width: 100%;
  max-width: 280px;
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 0.5px solid rgba(255, 184, 77, 0.28);
  background: rgba(255, 184, 77, 0.08);
  color: rgba(255, 225, 178, 0.92);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.qs-loading-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 20px;
}

.qs-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 200, 175, 0.35);
  animation: qs-breathe 1.2s ease-in-out infinite;
}

.qs-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.qs-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes qs-breathe {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.qs-result-body {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.qs-result-next {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0.5px solid rgba(0, 200, 175, 0.28);
  background: rgba(0, 173, 143, 0.1);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(210, 255, 240, 0.92);
  text-align: left;
}

.qs-result-channels {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.qs-result-channels__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.qs-meta-line {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.qs-meta-line--faint {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.48);
}

.qs-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.qs-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

.qs-btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--qs-teal-a), var(--qs-teal-b));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.qs-btn--ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
}

.qs-link {
  appearance: none;
  background: none;
  border: none;
  padding: 6px 0 0;
  font-size: 13px;
  color: rgba(180, 240, 220, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
}

.qs-skip-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.qs-disclaimer {
  margin-top: 22px;
  font-size: 8px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

.qs-semi-wrap {
  width: 100%;
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.qs-semi-wrap h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(180, 240, 220, 0.95);
  text-transform: none;
}

.qs-semi-wrap ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.qs-semi-wrap p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.qs-model7 {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 10px;
}

.qs-raw-json {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 255, 245, 0.92);
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
