/* ===== v2.1.0 新版结果页（亲子养育五力） ===== */
.rb-page {
  padding-bottom: 168px;
  background: linear-gradient(180deg, #FCE9EE 0%, #FDF2F4 240px, #FDF7F8 100%);
}
.rb-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 22px 12px 0;
}
.rb-header-title { font-size: 15px; font-weight: 600; color: #6E3C4C; letter-spacing: 1px; }
.rb-header-right { display: flex; align-items: center; gap: 4px; }
.rb-header-share {
  width: 26px; height: 26px;
  background: url('../assets/source/icon/shareIcon.png') center / 100% no-repeat;
  filter: brightness(0) saturate(100%) invert(28%) sepia(18%) saturate(1200%) hue-rotate(290deg);
}
.rb-hero { padding: 10px 20px 22px; }
.rb-hero-title {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #A6283E;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .8);
}
.rb-hero-date { margin-top: 8px; font-size: 12px; color: #8A8285; letter-spacing: .5px; }

.rb-card {
  box-sizing: border-box;
  width: 92%;
  margin: 0 auto 12px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(190, 120, 140, .10);
}
.rb-card-title { font-size: 17px; font-weight: 700; color: #2E2A2B; letter-spacing: .5px; }
.rb-result { padding-bottom: 22px; }
.rb-total { margin-top: 14px; font-size: 15px; color: #4B4548; }
.rb-total b { font-size: 26px; font-weight: 800; color: #2E2A2B; }
.rb-radar-wrap { height: 300px; margin: 6px auto 4px; }
.rb-radar { width: 100%; height: 100%; }
.rb-conclusion { margin-top: 6px; font-size: 14px; color: #4B4548; line-height: 1.9; }
.rb-conclusion-line { font-size: 14px; color: #4B4548; line-height: 1.9; }

/* 核心卡点：粉红渐变卡 */
.rb-pain {
  box-sizing: border-box;
  width: 92%;
  margin: 0 auto 12px;
  padding: 20px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #F98AA0 0%, #F37490 45%, #EE6C8C 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(238, 108, 140, .28);
}
.rb-pain-title { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.rb-pain-line { margin-top: 10px; font-size: 14px; line-height: 1.95; }
.rb-risk-text { margin-top: 12px; font-size: 14px; line-height: 1.95; color: #4B4548; }
.rb-risk { border-left: 3px solid #F37490; }

.rb-deep-text { margin-top: 12px; font-size: 14px; line-height: 1.95; color: #4B4548; }
.rb-deep-sub { margin-top: 12px; font-size: 13px; color: #8A8285; line-height: 1.8; }
.rb-goods { margin-top: 14px; border-top: 1px dashed #F0DDE2; padding-top: 10px; }
.rb-goods-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 13px; color: #4B4548;
}
.rb-goods-row b { color: #EF6B78; font-weight: 700; }

.rb-stars { display: flex; align-items: center; gap: 6px; margin: 14px 0 12px; }
.rb-stars button {
  padding: 0; border: 0; background: none;
  font-size: 26px; line-height: 1; color: #E7DDE0; cursor: pointer;
}
.rb-stars button.is-on { color: #FFC44D; }
.rb-star-score { margin-left: 6px; font-size: 13px; color: #8A8285; }
.rb-feedback-text {
  box-sizing: border-box; width: 100%; height: 84px;
  padding: 10px 12px; border: 1px solid #F2E4E8; border-radius: 10px;
  background: #FDF7F8; color: #4B4548; font-size: 13px; line-height: 1.7;
  outline: none; resize: none;
}
.rb-feedback-btn {
  margin-top: 12px; height: 42px; border-radius: 21px;
  background: #E7DDE0; color: #fff; font-size: 14px; font-weight: 600;
  line-height: 42px; text-align: center; letter-spacing: 1px; cursor: pointer;
  transition: background .2s;
}
.rb-feedback-btn.is-on { background: linear-gradient(135deg, #F98AA0, #EE6C8C); }
.rb-end { padding: 18px 0 8px; text-align: center; font-size: 12px; color: #C7B9BD; letter-spacing: 2px; }

/* 底部三层 CTA */
.rb-bottom {
  position: fixed; left: 50%; bottom: 0; z-index: 60;
  width: 100%; max-width: 430px; transform: translateX(-50%);
  box-sizing: border-box;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, rgba(253,247,248,0) 0%, rgba(253,247,248,.94) 26%, #FDF7F8 60%);
}
.rb-cta {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 50px; margin-bottom: 10px;
  border: 0; border-radius: 25px;
  background: linear-gradient(135deg, #2B3E6B 0%, #3C4E86 100%);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px;
  cursor: pointer;
  overflow: hidden;
  animation: rbBreath 1.9s ease-in-out infinite;
}
.rb-cta-glow {
  position: absolute; inset: -2px;
  border-radius: 25px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 214, 168, .55), transparent 62%);
  opacity: .9;
  animation: rbGlow 1.9s ease-in-out infinite;
  pointer-events: none;
}
.rb-cta-text, .rb-cta-arrow { position: relative; z-index: 1; }
.rb-cta-arrow { font-size: 20px; line-height: 1; animation: rbArrow 1.5s ease-in-out infinite; }
@keyframes rbBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(43, 62, 107, .26); }
  50% { transform: scale(1.022); box-shadow: 0 12px 28px rgba(43, 62, 107, .42); }
}
@keyframes rbGlow {
  0%, 100% { opacity: .35; }
  50% { opacity: .95; }
}
@keyframes rbArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.rb-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rb-btn {
  flex: 1; height: 46px;
  border: 0; border-radius: 23px;
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer;
}
.rb-btn--history { background: linear-gradient(135deg, #6E7FB8 0%, #8E9AD1 100%); }
.rb-btn--again { background: linear-gradient(135deg, #F37490 0%, #EE6C8C 100%); }

/* 班主任二维码抽屉 */
.rb-qr-mask {
  position: fixed; inset: 0; z-index: 160;
  display: none; align-items: flex-end; justify-content: center;
  background: rgba(20, 10, 14, .48);
}
.rb-qr-mask.is-open { display: flex; }
.rb-qr {
  box-sizing: border-box;
  width: 100%; max-width: 430px;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0));
  border-radius: 20px 20px 0 0;
  background: #fff;
  text-align: center;
  animation: rbSlideUp .24s ease;
}
@keyframes rbSlideUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.rb-qr-title { font-size: 16px; font-weight: 700; color: #2E2A2B; }
.rb-qr-img {
  width: 200px; height: 200px; margin: 16px auto 12px;
  padding: 8px; border: 1px solid #F2E4E8; border-radius: 12px; background: #fff;
}
.rb-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.rb-qr-note { font-size: 12px; color: #8A8285; line-height: 1.8; }
.rb-qr-close {
  margin-top: 16px; width: 100%; height: 42px;
  border: 1px solid #F2E4E8; border-radius: 21px;
  background: #FDF7F8; color: #6E3C4C; font-size: 14px; cursor: pointer;
}

@media (max-width: 430px) {
  .rb-bottom { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-cta, .rb-cta-glow, .rb-cta-arrow { animation: none; }
}

/* ===== v2.1.0 海报：深绿金 9:16 ===== */
.src-poster-img.v2 { height: 489px; background: #0E1F1B; }
.v2p {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  padding: 14px 16px 12px;
  background: linear-gradient(165deg, #0E1F1B 0%, #122A24 55%, #0A1714 100%);
  color: #F3EEDF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.v2p-brand {
  font-size: 8px;
  letter-spacing: 1px;
  color: rgba(234, 223, 182, .72);
}
.v2p-avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(216, 182, 90, .8);
  border-radius: 50%;
  background: #1D3A32;
  color: #EADFB6;
  font-size: 18px;
  font-weight: 700;
}
.v2p-name { margin-top: 8px; font-size: 10px; color: rgba(243, 238, 223, .85); }
.v2p-badge {
  margin-top: 12px;
  padding: 0 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #EADFB6;
  letter-spacing: .5px;
}
.v2p-quote {
  margin-top: 6px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 1.75;
  color: rgba(243, 238, 223, .84);
}
.v2p-radar { width: 100%; height: 172px; margin-top: 2px; }
.v2p-percent { font-size: 14px; font-weight: 800; color: #EADFB6; letter-spacing: .5px; }
.v2p-credit {
  margin-top: 8px;
  padding: 0 6px;
  font-size: 8px;
  line-height: 1.7;
  color: rgba(243, 238, 223, .6);
}
.v2p-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 162, 39, .24);
  text-align: left;
}
.v2p-qr { width: 56px; height: 56px; border-radius: 6px; background: #fff; padding: 3px; }
.v2p-foot-text { font-size: 8px; line-height: 1.7; color: rgba(243, 238, 223, .62); }
