/**
 * 知识问答 · 结算弹窗原型（对照设计稿 + 增「集卡次数×1」）
 */
.quiz-settle-screen {
  --qz-pink: #ff6b9d;
  --qz-pink-deep: #e84d82;
  background: #e8f6e8;
  position: relative;
}

.qz-bg {
  position: absolute;
  inset: 0;
  padding: 48px 16px 24px;
  filter: saturate(0.85);
  opacity: 0.55;
  pointer-events: none;
}

.qz-bg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #2a4a32;
}

.qz-bg__time {
  margin: 10px 0 8px;
  text-align: center;
  font-size: 13px;
  color: #5a7a62;
}

.qz-bg__progress {
  display: inline-block;
  margin: 0 auto 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #7ec98a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.qz-bg__q {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.qz-bg__q p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.45;
}

.qz-bg__q button {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: #f3f6f3;
  text-align: left;
  font-size: 14px;
  color: #444;
}

.qz-bg__q button.is-picked {
  background: #d8f0dc;
  color: #1a6b32;
}

.qz-bg__ad {
  margin-top: 16px;
  height: 56px;
  border-radius: 10px;
  background: #dce8dc;
  display: grid;
  place-items: center;
  color: #8aa090;
  font-size: 13px;
}

.qz-bg__home {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6a8a72;
}

.qz-dim {
  position: absolute;
  inset: 0;
  background: rgba(40, 60, 45, 0.28);
  z-index: 2;
}

.qz-modal-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 56px 20px 28px;
}

.qz-mascot {
  width: 88px;
  height: 72px;
  margin-bottom: -18px;
  z-index: 2;
  display: grid;
  place-items: end center;
}

.qz-mascot__face {
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 35% 30%, #ffb6d0, var(--qz-pink));
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(232, 77, 130, 0.35);
  border: 3px solid #fff;
}

.qz-badge-title {
  position: relative;
  z-index: 3;
  margin-bottom: -12px;
  padding: 6px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--qz-pink), var(--qz-pink-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(232, 77, 130, 0.35);
}

.qz-card {
  width: 100%;
  max-width: 300px;
  padding: 28px 20px 16px;
  border-radius: 18px;
  background: #fff;
  border: 4px solid #ff8fb3;
  box-shadow: 0 12px 32px rgba(180, 60, 100, 0.18);
  text-align: center;
}

.qz-score-row {
  margin: 0;
  font-size: 15px;
  color: #888;
}

.qz-score-row strong {
  margin-left: 6px;
  font-size: 28px;
  color: var(--qz-pink-deep);
  font-weight: 800;
}

.qz-phase-pill {
  margin: 14px auto 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe6ef;
  color: #c23d6e;
  font-size: 14px;
  font-weight: 600;
}

.qz-total {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.qz-total strong {
  color: var(--qz-pink-deep);
  font-size: 18px;
  font-weight: 800;
}

.qz-card-reward {
  margin: 14px 0 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff5e8, #ffe8f2);
  border: 1px dashed #f0a0b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qz-card-reward__label {
  font-size: 13px;
  color: #888;
}

.qz-card-reward__val {
  font-size: 15px;
  font-weight: 700;
  color: #c23d6e;
}

.qz-card-reward.is-zero .qz-card-reward__val {
  color: #999;
}

.qz-daily {
  margin: 10px 0 0;
  font-size: 13px;
  color: #666;
  text-align: center;
}

.qz-daily strong {
  color: var(--qz-pink-deep, #e85a8c);
  font-weight: 700;
}

.qz-exhausted {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #cf1322;
  text-align: center;
}

.qz-tip {
  margin: 8px 0 0;
  font-size: 11px;
  color: #aaa;
}

.qz-demo-reset {
  margin-top: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.qz-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  margin-top: 16px;
}

.qz-btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.qz-btn--ghost {
  background: #fff;
  color: #888;
  border: 1px solid #ddd;
}

.qz-btn--primary {
  background: linear-gradient(90deg, #ff8fb3, var(--qz-pink-deep));
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 77, 130, 0.3);
}

.qz-back-carnival {
  margin-top: 14px;
  font-size: 13px;
  color: #5a7a62;
  text-decoration: none;
}
