/**
 * 6Q拼图 · 结算页原型样式（对照设计稿 + 增「集卡次数×1」）
 */
.puzzle-settle-screen {
  --pz-bg: #1a1040;
  background: var(--pz-bg);
  color: #fff;
}

.pz-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 48px 16px 8px;
  z-index: 2;
}

.pz-back {
  position: absolute;
  left: 12px;
  top: 44px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  line-height: 1;
}

.pz-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.pz-timer-bar {
  margin: 0 20px 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  position: relative;
}

.pz-board {
  position: absolute;
  inset: 100px 16px 120px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(120, 90, 200, 0.35), rgba(40, 30, 90, 0.5)),
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,0.06) 48px, rgba(255,255,255,0.06) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,0.06) 48px, rgba(255,255,255,0.06) 49px);
  filter: blur(1px);
  opacity: 0.55;
}

.pz-settle {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 20px 28px;
  flex: 1;
}

.pz-settle__card {
  width: 100%;
  max-width: 320px;
  margin-top: 12px;
  padding: 22px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #6b5cff 0%, #4a3ad4 42%, #3a2bb0 100%);
  box-shadow: 0 16px 40px rgba(20, 10, 60, 0.45);
  text-align: center;
}

.pz-success {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.pz-star {
  color: #ffe566;
  font-size: 16px;
  vertical-align: middle;
}

.pz-time {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.95;
}

.pz-badge {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 18px auto 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #fff 0%, #f0e8ff 45%, #d4c4ff 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pz-badge__art {
  font-size: 64px;
  line-height: 1;
}

.pz-badge__ribbon {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ff9a3c, #ff7a1a);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pz-rewards {
  margin-top: 10px;
}

.pz-rewards__title {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.pz-reward-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 10px;
  max-width: 240px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(40, 20, 100, 0.55);
  font-size: 15px;
  font-weight: 600;
}

.pz-reward-pill--card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 220, 120, 0.45);
}

.pz-reward-pill__icon {
  font-size: 18px;
}

.pz-reward-pill.is-zero {
  opacity: 0.55;
}

.pz-daily {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 0.92;
}

.pz-daily strong {
  font-weight: 700;
  color: #ffe08a;
}

.pz-exhausted {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #ff8a8a;
}

.pz-beat {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

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

.pz-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin-top: 18px;
}

.pz-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;
}

.pz-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.pz-btn--primary {
  background: linear-gradient(90deg, #7b6cff, #5a48e8);
  color: #fff;
  box-shadow: 0 6px 16px rgba(80, 60, 220, 0.4);
}

.pz-home-link {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
