/* ===== app.css ===== */
/* ========== 基础重置 ========== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}
body { background: #fff; color: #333; }
img { border: 0; }
[hidden] { display: none !important; }
.pg { width: 100%; min-height: 100vh; }

/* ========== 全局工具类 ========== */
* {
  box-sizing: border-box;
  
}
*::before {
  box-sizing: border-box;
  
}
*::after {
  box-sizing: border-box;
  
}
.hide {
  display: none !important;
  
}

/* 每个页面各自的底色（原 body 背景） */
body[data-page="home"] { background: #fff; }
body[data-page="test"] { background: #e8e9fa; }
body[data-page="loading"] { background: #fbfbf9; }
body[data-page="report"] { background: #e9e2ff; }
body[data-page="center"] { background: #e9e2ff; }
body[data-page="paid"] { background: #e9e2ff; }

/* ========== home ========== */
#pg-home {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
  
}
#pg-home {
  background: #fff;
  color: #333;
  
}
#pg-home img {
  border: 0;
  
}
#pg-home div {
  box-sizing: content-box;
  
}
#pg-home .bigBox {
  margin-top: 0;
  min-height: 100vh;
  padding-bottom: 1.5625rem;
  background-image: url(img/shouBG2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  
}
#pg-home .topbox {
  background-size: 100% 100%;
  
}
#pg-home .titleBox {
  margin: auto;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  
}
#pg-home .title1 {
  width: 100%;
  display: flex;
  justify-content: center;
  
}
#pg-home .title1 img {
  width: 90%;
  height: auto;
  display: block;
  
}
#pg-home .title2 {
  display: flex;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
  
}
#pg-home .choseBox {
  display: flex;
  justify-content: center;
  
}
#pg-home .choseRow {
  display: flex;
  width: 90%;
  
}
#pg-home .zhongbox {
  display: flex;
  width: 50%;
  justify-content: center;
  align-items: center;
  
}
#pg-home .chosenBox {
  background: url(img/weiBG1.png);
  height: 205pt;
  width: 130pt;
  margin: 10% auto auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  cursor: pointer;
  transition: width .15s ease, height .15s ease;
  
}
#pg-home .chosenBox.active {
  background-image: url(img/zhongBG1.png);
  height: 215pt;
  width: 150pt;
  margin: 10px auto auto;
  
}
#pg-home .bookImg {
  width: 75px;
  height: 75px;
  margin: 15px auto auto;
  
}
#pg-home .ImgBox1 {
  margin-top: 15px;
  height: 100%;
  width: 100%;
  
}
#pg-home .chosenTitle {
  margin-top: 1.875rem;
  font-size: 20px;
  font-weight: 800;
  
}
#pg-home .chosenTitle1 {
  margin-top: 1px;
  font-size: 20px;
  font-weight: 800;
  
}
#pg-home .chosenBtn {
  font-size: 14px;
  border-radius: 11px;
  font-weight: 100;
  margin: 17px auto auto;
  padding-bottom: 5px;
  
}
#pg-home .contextBox {
  background-color: #5a3fd4;
  width: 90%;
  margin: 35px auto auto;
  color: #fff;
  font-size: 16px;
  border-radius: 15px;
  
}
#pg-home .contextBox2 {
  background-color: #5a3fd4;
  width: 90%;
  margin: auto;
  color: #fff;
  font-size: 16px;
  
}
#pg-home .contextTitle {
  display: flex;
  justify-content: center;
  
}
#pg-home .contextTitle1 {
  margin-top: 22.5pt;
  font-size: 13pt;
  font-weight: 700;
  
}
#pg-home .contextContent {
  margin-top: .625rem;
  font-size: 16px;
  line-height: 35px;
  
}
#pg-home .dibox {
  height: 20pt;
  
}
#pg-home .dibox1 {
  width: 100%;
  height: 80px;
  
}
#pg-home .actBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 75%;
  background: linear-gradient(#f99c7b, #ee7c53);
  padding: 10px;
  color: #fff;
  font-size: 16.67pt;
  border-radius: 26px;
  position: -webkit-sticky;
  position: sticky;
  bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .5);
  animation: scaleSize 2s infinite;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  
}
#pg-home .actBtn > span {
  display: flex;
  
}
#pg-home .toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 70%;
  padding: 10px 18px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 8px;
  text-align: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  
}
#pg-home .toast.show {
  opacity: 1;
  
}

/* ========== test ========== */
#pg-test {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  
}
#pg-test {
  color: #333;
  background: #e8e9fa;
  
}
#pg-test .page {
  min-height: 100vh;
  background: linear-gradient(0deg, #fdfcf8, #e8e9fa);
  padding-bottom: 30px;
  overflow-x: hidden;
  
}
#pg-test .nav {
  position: relative;
  height: 60px;
  font-size: 26px;
  line-height: 60px;
  text-align: center;
  color: #1a1a1a;
  
}
#pg-test .nav .back {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
}
#pg-test .nav .back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid #c9d2ef;
  border-bottom: 2px solid #c9d2ef;
  transform: rotate(45deg);
  margin-left: 3px;
  
}
#pg-test .steps {
  display: flex;
  position: relative;
  width: 100%;
  margin-top: 5px;
  padding: 0 8px;
  
}
#pg-test .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  flex-shrink: 0;
  
}
#pg-test .step-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 7px;
  
}
#pg-test .step-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid #c0c4cc;
  background: #fff;
  transition: all .3s ease;
  
}
#pg-test .step-icon.in-progress {
  border-color: #94b0f4;
  
}
#pg-test .step-icon.in-progress .progress-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #94b0f4;
  
}
#pg-test .step-icon.finished {
  border-color: #94b0f4;
  background: #94b0f4;
  
}
#pg-test .step-icon.finished .finished-icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  
}
#pg-test .step-connect {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 100%;
  background: #c0c4cc;
  z-index: 1;
  transform: translateY(-50%);
  
}
#pg-test .step-connect.finished {
  background: #94b0f4;
  
}
#pg-test .step-label {
  font-size: 13px;
  color: #000;
  text-align: center;
  padding: 0 5px;
  line-height: 1.4;
  
}
#pg-test .card {
  width: 348px;
  max-width: 92%;
  min-height: 340px;
  margin: 25px auto 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2), 0 6px 20px rgba(0, 0, 0, .19);
  padding: 25px 23px 30px;
  
}
#pg-test .card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}
#pg-test .card-head .cur {
  font-size: 19px;
  color: #333;
  
}
#pg-test .card-head .cur .no {
  color: #94b0f4;
  font-size: 21px;
  
}
#pg-test .card-head .bar {
  width: 200px;
  height: 11px;
  background: #ececec;
  border-radius: 6px;
  overflow: hidden;
  
}
#pg-test .card-head .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: #ececec;
  transition: width .25s;
  
}
#pg-test .q-title {
  width: 300px;
  max-width: 100%;
  margin: 15px auto;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: #333;
  text-align: left;
  
}
#pg-test .opts {
  display: flex;
  flex-direction: column;
  
}
#pg-test .opt {
  width: 274px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: #ececec;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: #333;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
  
}
#pg-test .opt:last-child {
  margin-bottom: 0;
  
}
#pg-test .opt.checked {
  background: #94b0f4;
  color: #fff;
  
}
#pg-test .btns {
  width: 85%;
  margin: 19px auto 0;
  display: flex;
  justify-content: space-around;
  
}
#pg-test .btns .btn {
  width: 150px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  
}
#pg-test .btns .btn.back {
  background: transparent;
  border: 1px solid #94b0f4;
  color: #94b0f4;
  
}
#pg-test .btns .btn.next {
  background: #94b0f4;
  color: #fff;
  
}
#pg-test .btns .btn:active {
  opacity: .85;
  
}
#pg-test .remind {
  text-align: center;
  color: #000;
  margin-top: 30px;
  
}
#pg-test .remind .title {
  font-size: 11px;
  font-weight: 700;
  
}
#pg-test .remind .content {
  font-size: 12px;
  margin-top: 7.5px;
  
}
#pg-test .footer {
  margin-top: 15px;
  font-size: 11px;
  color: #bbb;
  text-align: center;
  line-height: 1.6;
  
}
#pg-test .kefu {
  position: fixed;
  right: 0;
  top: 45%;
  width: 27px;
  height: 60px;
  background-image: url(img/kefu.png);
  background-size: 100% 100%;
  cursor: pointer;
  z-index: 20;
  
}
#pg-test .modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
  
}
#pg-test .modal.show {
  display: flex;
  
}
#pg-test .modal-box {
  width: 300px;
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
}
#pg-test .modal-box .m-title {
  text-align: center;
  font-size: 25px;
  
}
#pg-test .modal-box .m-content {
  text-indent: 16px;
  font-size: 16px;
  margin: 12px 0;
  color: #555;
  
}
#pg-test .modal-box .m-btns {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 16px;
  
}
#pg-test .modal-box .m-btns div {
  padding: 5px 25px;
  border-radius: 25px;
  cursor: pointer;
  
}
#pg-test .modal-box .m-btns .cancel {
  border: 1px solid #88abf4;
  color: #88abf4;
  
}
#pg-test .modal-box .m-btns .ok {
  background: #88abf4;
  color: #fff;
  
}
#pg-test .toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 18px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 14px;
  border-radius: 8px;
  z-index: 999;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  
}
#pg-test .toast.show {
  opacity: 1;
  
}

/* ========== loading ========== */
#pg-loading {
  margin: 0;
  padding: 0;
  background: #fbfbf9;
  -webkit-tap-highlight-color: transparent;
  
}
#pg-loading .bigBox {
  height: 100%;
  width: 100%;
  min-height: 100vh;
  background-color: #fbfbf9;
  
}
#pg-loading .TopBox {
  height: 270px;
  background-color: #799df3;
  
}
#pg-loading .topTitle {
  display: flex;
  justify-content: center;
  height: 30px;
  
}
#pg-loading .topTitle-img {
  display: flex;
  margin-top: 15pt;
  justify-content: center;
  
}
#pg-loading .topTitle-img img {
  width: 93px;
  height: auto;
  display: block;
  
}
#pg-loading .topTitle-little {
  margin-top: 15pt;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  
}
#pg-loading .ball {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  
}
#pg-loading .ball i {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 100%;
  display: inline-block;
  animation: ballMove 1.4s infinite ease-in-out both;
  margin-right: 2px;
  
}
#pg-loading .ball .ball1 {
  animation-delay: .32s;
  
}
#pg-loading .ball .ball2 {
  animation-delay: .48s;
  
}
#pg-loading .ball .ball3 {
  animation-delay: .54s;
  
}
#pg-loading .ball .ball4 {
  animation-delay: .8s;
  
}
#pg-loading .bottombox {
  position: relative;
  background-color: #fbfbf9;
  width: 100%;
  height: 410px;
  display: flex;
  
}
#pg-loading .bottomboxsamll {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 410px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  
}
#pg-loading .samlltopbox {
  display: flex;
  height: 13%;
  margin-top: 6%;
  
}
#pg-loading .yang {
  width: 33%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
#pg-loading .yang1 {
  font-size: 15px;
  padding: 6px 0;
  color: #333;
  
}
#pg-loading .yang11 {
  border-bottom: 2px solid #4aabfc;
  color: #4aabfc;
  font-size: 15px;
  padding: 6px 0;
  
}
#pg-loading .samllbottombox {
  height: 80%;
  width: 100%;
  
}
#pg-loading .samllbox {
  margin-top: 10%;
  width: 100%;
  display: none;
  
}
#pg-loading .samllbox.on {
  display: block;
  
}
#pg-loading .loadData {
  width: 100%;
  height: 40px;
  margin-top: 35px;
  
}
#pg-loading .loadTitle {
  width: 100%;
  display: flex;
  margin-left: 8%;
  font-size: 13px;
  color: #333;
  
}
#pg-loading .loadImg {
  display: flex;
  justify-content: center;
  align-items: center;
  
}
#pg-loading .progress-container {
  width: 90%;
  height: 12px;
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  transform: translateZ(0);
  
}
#pg-loading .progress-bar {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: #94b0f4;
  transition-property: width;
  transition-timing-function: linear;
  transition-duration: 3000ms;
  
}
#pg-loading .progress-bar.no-transition {
  transition: none !important;
  
}
#pg-loading .page-pad {
  height: 120px;
  
}

/* ========== report ========== */
#pg-report {
  margin: 0;
  padding: 0;
  background: #e9e2ff;
  color: #333;
  -webkit-tap-highlight-color: transparent;
  
}
#pg-report .report {
  padding-bottom: 96px;
  
}
#pg-report .head-card {
  background: #fff;
  margin: 8px 8px 0;
  border-radius: 6px;
  padding: 18px 16px 0;
  text-align: center;
  overflow: hidden;
  
}
#pg-report .head-card .no {
  font-size: 14px;
  color: #333;
  letter-spacing: .5px;
  
}
#pg-report .head-card h1 {
  margin: 8px 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: #1b1b1b;
  letter-spacing: .5px;
  
}
#pg-report .head-card .time {
  font-size: 13px;
  color: #444;
  
}
#pg-report .head-card .dots {
  display: flex;
  justify-content: space-between;
  padding: 14px 6px 10px;
  
}
#pg-report .head-card .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9b2ea;
  display: block;
  
}
#pg-report .head-card .bar {
  height: 10px;
  margin: 0 -16px;
  background: linear-gradient(90deg, #8f7bf0 0%, #b3a6f5 60%, #cfc7fb 100%);
  
}
#pg-report .type-card {
  position: relative;
  margin: 10px 8px 0;
  background: #fff url(img/xinggeBG.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 6px;
  padding-bottom: 18px;
  overflow: hidden;
  
}
#pg-report .hero-clip {
  height: 0;
  overflow: hidden;
  position: relative;
  
}
#pg-report .hero-clip img {
  width: 100%;
  display: block;
  
}
#pg-report .hero-clip.has-img {
  height: auto;
  max-height: 320px;
  
}
#pg-report .dim-list {
  padding: 10px 16px 0;
  
}
#pg-report .dim-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  
}
#pg-report .dim-row .side {
  width: 92px;
  font-size: 10.5px;
  color: #4b4b57;
  flex: 0 0 auto;
  white-space: nowrap;
  
}
#pg-report .dim-row .side.r {
  text-align: right;
  
}
#pg-report .dim-track {
  flex: 1;
  height: 12px;
  background: #dcdce4;
  position: relative;
  overflow: hidden;
  
}
#pg-report .dim-track .fill {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  transition: width .8s ease;
  
}
#pg-report .dim-track .fill.left {
  left: 0;
  border-radius: 0;
  
}
#pg-report .dim-track .fill.right {
  right: 0;
  
}
#pg-report .dim-row.c1 .fill {
  background: #8b5cf0;
  
}
#pg-report .dim-row.c2 .fill {
  background: #4f6ef7;
  
}
#pg-report .dim-row.c3 .fill {
  background: #e04b4b;
  
}
#pg-report .dim-row.c4 .fill {
  background: #2f9e44;
  
}
#pg-report .unlock-btn {
  margin: 16px 16px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff5f2e, #ff8b2e);
  color: #fff;
  text-align: center;
  padding: 10px 0 12px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(255, 95, 46, .28);
  position: relative;
  overflow: hidden;
  
}
#pg-report .unlock-btn .u1 {
  font-size: 11px;
  opacity: .92;
  
}
#pg-report .unlock-btn .u2 {
  font-size: 19px;
  font-weight: 800;
  margin-top: 3px;
  letter-spacing: 1px;
  
}
#pg-report .unlock-btn .u3 {
  font-size: 11px;
  opacity: .92;
  margin-top: 3px;
  
}
#pg-report .unlock-btn:active {
  transform: scale(.99);
  
}
#pg-report .unlock-btn .finger {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  
}
#pg-report .unlock-btn.done {
  background: linear-gradient(90deg, #6b5ce7, #8f7bf0);
  box-shadow: none;
  
}
#pg-report .rc-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 16px 0;
  padding: 11px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(120, 102, 220, .22);
  color: #4b3fb5;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(76, 60, 160, .06);
  
}
#pg-report .rc-entry:active {
  transform: scale(.995);
  
}
#pg-report .rc-entry-ico {
  flex: 0 0 auto;
  opacity: .85;
  
}
#pg-report .rc-entry-name {
  flex: 0 0 auto;
  letter-spacing: .5px;
  
}
#pg-report .rc-entry-count {
  flex: 1;
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  color: #8b84b8;
  
}
#pg-report .rc-entry-arrow {
  flex: 0 0 auto;
  color: #b3abd8;
  font-size: 19px;
  line-height: 1;
  margin-top: -2px;
  
}
#pg-report .motto {
  margin: 12px 8px 0;
  border-radius: 6px;
  padding: 18px 18px 18px 74px;
  position: relative;
  background: linear-gradient(120deg, #4f43b8, #7a6ae0);
  color: #fff;
  min-height: 76px;
  
}
#pg-report .motto::before {
  content: "✎";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  
}
#pg-report .motto .m1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .5px;
  
}
#pg-report .motto .m2 {
  font-size: 12px;
  opacity: .8;
  margin-top: 4px;
  
}
#pg-report .block {
  margin: 14px 8px 0;
  
}
#pg-report .block .title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  height: 38px;
  padding-left: 16px;
  
}
#pg-report .block .title.orange {
  background: #f27b50;
  width: 90%;
  margin: 0 auto;
  justify-content: center;
  padding-left: 0;
  letter-spacing: 3px;
  font-size: 14px;
  height: 34px;
  
}
#pg-report .block .title.purple {
  background: #4b3fb5;
  width: 46%;
  border-radius: 0 19px 19px 0;
  
}
#pg-report .block .body {
  background: #fff;
  border-radius: 4px;
  padding: 16px 16px 18px;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.95;
  color: #333;
  text-align: justify;
  
}
#pg-report .locked .blur {
  filter: blur(5px);
  opacity: .9;
  user-select: none;
  pointer-events: none;
  
}
#pg-report .locked .unlock-hint {
  display: block;
  text-align: center;
  color: #a9a3d6;
  font-size: 12px;
  margin-top: 10px;
  
}
#pg-report .unlock-hint {
  display: none;
  
}
#pg-report .not-locked .blur {
  filter: none;
  opacity: 1;
  
}
#pg-report .radar-wrap {
  display: flex;
  justify-content: center;
  
}
#pg-report .radar-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: #333;
  
}
#pg-report .radar-note b {
  color: #e02020;
  font-weight: 400;
  
}
#pg-report .letter-item {
  margin-bottom: 14px;
  
}
#pg-report .letter-item:last-child {
  margin-bottom: 0;
  
}
#pg-report .letter-item .lt {
  font-weight: 700;
  color: #4b3fb5;
  font-size: 14px;
  margin-bottom: 2px;
  
}
#pg-report .letter-item .ld {
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  
}
#pg-report .ul {
  margin: 0;
  padding: 0;
  list-style: none;
  
}
#pg-report .ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 9px;
  font-size: 13.5px;
  line-height: 1.8;
  
}
#pg-report .ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8f7bf0;
  
}
#pg-report .ul.warn li::before {
  background: #f0a35e;
  
}
#pg-report .bottom-actions {
  margin: 18px 8px 0;
  
}
#pg-report .btn-retest {
  height: 50px;
  line-height: 50px;
  border-radius: 23px;
  background: #463db2;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  
}
/* 隐私说明 */
#pg-report .privacy-note,
#pg-center .privacy-note {
  margin: 26px 16px 0;
  font-size: 11.5px;
  line-height: 1.85;
  color: #B9A697;
  text-align: left;
}

#pg-report .privacy-note strong,
#pg-center .privacy-note strong {
  color: #8C7A6B;
  font-weight: 700;
}

#pg-center .privacy-note { margin: 18px 4px 12px; text-align: center; }

#pg-center .legal--center {
  margin: 14px 4px 8px;
  font-size: 11.5px;
  line-height: 1.9;
  color: #B9A697;
  text-align: center;
}

#pg-report .legal {
  margin: 18px 16px 0;
  font-size: 11.5px;
  line-height: 1.9;
  color: #B9A697;
  text-align: center;
}

#pg-report .foot-note {
  margin: 16px 12px 0;
  font-size: 11px;
  color: #8e88b8;
  text-align: center;
  line-height: 1.8;
  
}
#pg-report .unlock-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -4px 14px rgba(60, 40, 140, .12);
  display: flex;
  align-items: center;
  gap: 10px;
  
}
#pg-report .unlock-bar .ub-price {
  color: #ff5f2e;
  font-size: 20px;
  font-weight: 900;
  flex: 0 0 auto;
  
}
#pg-report .unlock-bar .ub-price small {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  display: block;
  margin-top: -2px;
  
}
#pg-report .unlock-bar .ub-btn {
  flex: 1;
  height: 44px;
  line-height: 44px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ff5f2e, #ff8b2e);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  
}
#pg-report .unlock-bar.hide {
  display: none;
  
}
#pg-report .pay-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: flex-end;
  
}
#pg-report .pay-modal.show {
  display: flex;
  
}
#pg-report .pay-sheet {
  width: 100%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  animation: sheetUp .22s ease;
  
}
#pg-report .pay-sheet h3 {
  margin: 0 0 4px;
  font-size: 17px;
  text-align: center;
  
}
#pg-report .pay-sheet .p-sub {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
  
}
#pg-report .pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px;
  border-top: 1px solid #f0f0f5;
  font-size: 15px;
  
}
#pg-report .pay-row .cost {
  color: #ff5f2e;
  font-weight: 700;
  
}
#pg-report .pay-row .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  
}
#pg-report .pay-row.on .radio {
  border-color: #ff5f2e;
  background: radial-gradient(#ff5f2e 45%, #fff 47%);
  
}
#pg-report .pay-submit {
  margin-top: 16px;
  height: 48px;
  line-height: 48px;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  
}
#pg-report .pay-cancel {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #999;
  cursor: pointer;
  
}
#pg-report .paying {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 120;
  display: none;
  justify-content: center;
  align-items: center;
  
}
#pg-report .paying.show {
  display: flex;
  
}
#pg-report .paying .box {
  width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  font-size: 15px;
  
}
#pg-report .paying .spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border: 3px solid #eee;
  border-top-color: #07c160;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  
}
#pg-report .tip-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 130;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  
}
#pg-report .tip-modal.show {
  display: flex;
  
}
#pg-report .tip-box {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  text-align: center;
  
}
#pg-report .tip-box h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #1c1c1c;
  
}
#pg-report .tip-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #666;
  word-break: break-word;
  text-align: left;
  white-space: pre-line;
  
}
#pg-report .tip-box .tip-ok {
  margin-top: 18px;
  height: 44px;
  line-height: 44px;
  border-radius: 22px;
  background: #463db2;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  
}
#pg-report .toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  
}
#pg-report .toast.show {
  opacity: 1;
  
}

/* ========== center ========== */
#pg-center {
  margin: 0;
  padding: 0;
  background: #e9e2ff;
  color: #333;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  
}
#pg-center {
  min-height: 100vh;
  
}
#pg-center .rc-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 6px 8px calc(28px + env(safe-area-inset-bottom));
  min-height: 100vh;
  
}
#pg-center .rc-head {
  position: relative;
  padding: 20px 16px 14px;
  text-align: center;
  
}
#pg-center .rc-back {
  position: absolute;
  left: 4px;
  top: 14px;
  width: 38px;
  height: 38px;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  color: #4b3fb5;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  
}
#pg-center .rc-head h1 {
  margin: 0;
  font-size: 20px;
  color: #2b2350;
  letter-spacing: 1px;
  
}
#pg-center .rc-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #8b84b8;
  
}
#pg-center .rc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  
}
#pg-center .rc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(76, 60, 160, .07);
  cursor: pointer;
  
}
#pg-center .rc-card:active {
  transform: scale(.995);
  
}
#pg-center .rc-badge {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6b5ce7, #9a8bf5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  
}
#pg-center .rc-body {
  flex: 1;
  min-width: 0;
  
}
#pg-center .rc-name {
  font-size: 15px;
  font-weight: 700;
  color: #2b2350;
  
}
#pg-center .rc-meta {
  margin-top: 3px;
  font-size: 11.5px;
  color: #8b84b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}
#pg-center .rc-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  
}
#pg-center .rc-tag {
  font-size: 10.5px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 9px;
  
}
#pg-center .rc-tag.on {
  background: #e8f7ee;
  color: #12925a;
  
}
#pg-center .rc-tag.off {
  background: #f1effa;
  color: #8b84b8;
  
}
#pg-center .rc-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  
}
#pg-center .rc-open {
  font-size: 12px;
  color: #6b5ce7;
  white-space: nowrap;
  
}
#pg-center .rc-open.lock {
  color: #f27b50;
  
}
#pg-center .rc-del {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #f3f1fb;
  color: #a9a1d0;
  font-size: 15px;
  line-height: 1;
  padding: 0 0 2px;
  cursor: pointer;
  
}
#pg-center .rc-del:active {
  background: #e8e4f8;
  
}
#pg-center .rc-empty {
  display: none;
  padding: 54px 20px 30px;
  text-align: center;
  
}
#pg-center .rc-empty.show {
  display: block;
  
}
#pg-center .rc-empty-art {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #f4f1ff;
  border: 1px solid #e4dffb;
  position: relative;
  
}
#pg-center .rc-empty-art::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 30px;
  height: 38px;
  border: 1.5px solid #b9aef2;
  border-radius: 4px;
  background: #fff;
  
}
#pg-center .rc-empty-art i {
  position: absolute;
  left: 25px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #cfc7fb;
  
}
#pg-center .rc-empty-art i:nth-child(1) {
  top: 24px;
  
}
#pg-center .rc-empty-art i:nth-child(2) {
  top: 31px;
  
}
#pg-center .rc-empty-art i:nth-child(3) {
  top: 38px;
  width: 10px;
  
}
#pg-center .rc-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #2b2350;
  
}
#pg-center .rc-empty-desc {
  margin-top: 6px;
  font-size: 12.5px;
  color: #8b84b8;
  
}
#pg-center .rc-empty-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 0 26px;
  height: 42px;
  line-height: 42px;
  border-radius: 21px;
  background: #463db2;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  
}
#pg-center .rc-foot {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
}
#pg-center .rc-new {
  display: block;
  height: 48px;
  line-height: 48px;
  border-radius: 24px;
  background: #463db2;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  
}
#pg-center .rc-clear {
  height: 44px;
  border: 1px solid #d8d2f2;
  border-radius: 22px;
  background: #fff;
  color: #8b84b8;
  font-size: 14px;
  cursor: pointer;
  
}
#pg-center .rc-tip {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: #a49dc8;
  text-align: center;
  
}
#pg-center .toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  white-space: nowrap;
  
}
#pg-center .toast.show {
  opacity: 1;
  
}

/* ========== paid ========== */
#pg-paid {
  margin: 0;
  padding: 0;
  background: #e9e2ff;
  color: #333;
  -webkit-tap-highlight-color: transparent;
  
}
#pg-paid .wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  
}
#pg-paid .card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 14px;
  padding: 34px 24px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(70, 61, 178, .12);
  
}
#pg-paid .icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, #7a6ae0, #463db2);
  
}
#pg-paid .icon.ok {
  background: linear-gradient(135deg, #3ecf8e, #07c160);
  
}
#pg-paid .icon.fail {
  background: linear-gradient(135deg, #ff9f6b, #ff5f2e);
  
}
#pg-paid .icon.loading {
  background: #eee;
  color: #999;
  
}
#pg-paid .icon.loading::after {
  content: "";
  width: 26px;
  height: 26px;
  border: 3px solid #d9d9e6;
  border-top-color: #7a6ae0;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  
}
#pg-paid h1 {
  margin: 0 0 8px;
  font-size: 19px;
  
}
#pg-paid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  
}
#pg-paid .order {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e6e3f5;
  font-size: 12px;
  color: #999;
  word-break: break-all;
  
}
#pg-paid .btns {
  margin-top: 22px;
  
}
#pg-paid .btn {
  height: 46px;
  line-height: 46px;
  border-radius: 23px;
  font-size: 15px;
  cursor: pointer;
  
}
#pg-paid .btn.primary {
  background: #463db2;
  color: #fff;
  
}
#pg-paid .btn.ghost {
  margin-top: 10px;
  border: 1px solid #cfc9f0;
  color: #5b52b8;
  
}

/* ========== 动画 ========== */
@keyframes scaleSize {
0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  to   { transform: scale(1); }
}
@keyframes ballMove {
0% { transform: scale(0); }
  to { transform: scale(1); }
}
@keyframes sheetUp {
from { transform: translateY(30%); opacity: .6; } to { transform: none; opacity: 1; }
}
@keyframes spin {
to { transform: rotate(360deg); }
}

/* ===== home.css ===== */
/* ==========================================================================
   MBTI 首页 · 沿用 HCL / SCL 的橙色设计系统
   作用域限定在 #pg-home，不影响其他页面
   ========================================================================== */

#pg-home {
  --o: #FF7507;
  --o-deep: #E96100;
  --o-soft: #FFB463;
  --ink: #2E2118;
  --ink2: #574539;
  --muted: #8C7A6B;
  --faint: #B9A697;
  --line: #F6E7D8;
  --bg: #FFF9F4;
  --card: #FFFFFF;

  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

#pg-home *,
#pg-home *::before,
#pg-home *::after { box-sizing: border-box; }

/* ---------------------------- Hero ---------------------------- */

#pg-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(20px + env(safe-area-inset-top)) 20px 30px;
  background: linear-gradient(158deg, #FFB463 0%, #FF8A2B 48%, #F06305 100%);
  border-radius: 0 0 26px 26px;
  color: #fff;
}

#pg-home .hero__deco {
  position: absolute;
  top: -28px;
  right: -34px;
  width: 232px;
  height: 232px;
  opacity: .95;
  pointer-events: none;
}

#pg-home .hero__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#pg-home .brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
}

#pg-home .brand__mark {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
}

#pg-home .hero__tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(2px);
}

#pg-home .hero__title {
  position: relative;
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(180, 86, 0, .2);
}

#pg-home .hero__title small {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  opacity: .88;
  text-shadow: none;
}

#pg-home .hero__slogan {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

#pg-home .hero__meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .92);
}

#pg-home .hero__meta b {
  font-size: 15px;
  font-weight: 800;
  margin-right: 2px;
}

#pg-home .hero__meta i {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, .38);
}

/* ---------------------------- 主体 ---------------------------- */

#pg-home .home {
  padding: 20px 16px 0;
}

#pg-home .sec { margin-bottom: 22px; }
#pg-home .sec--first { margin-top: -34px; }

#pg-home .sec__head {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

#pg-home .badge {
  position: relative;
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  box-shadow: 0 6px 16px rgba(240, 99, 5, .28);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
}

#pg-home .badge::before,
#pg-home .badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #FFC48A;
}
#pg-home .badge::before { left: 9px; }
#pg-home .badge::after { right: 9px; }

#pg-home .card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 4px 20px rgba(180, 120, 60, .08);
}

#pg-home .card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink2);
}

#pg-home .card p:last-child { margin-bottom: 0; }

/* ---------------------------- 两个版本 ---------------------------- */

#pg-home .model-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#pg-home .chosenBox.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  /* 覆盖旧样式里写死的尺寸与背景图 */
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  background: #fff;
  background-image: none;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;

  padding: 22px 10px 18px;
  border: 2px solid transparent;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(180, 120, 60, .08);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-home .chosenBox.model-card.active {
  width: auto;
  height: auto;
  background: #fff;
  background-image: none;
  border-color: var(--o);
  box-shadow: 0 8px 24px rgba(255, 117, 7, .2);
}

#pg-home .chosenBox.model-card.active::after {
  content: "已选";
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 10px;
  border-radius: 0 16px 0 12px;
  background: var(--o);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

#pg-home .model-card__num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--o-deep);
  letter-spacing: .5px;
}

#pg-home .model-card__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

#pg-home .model-card__desc {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

#pg-home .model-card__count {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--faint);
  text-align: center;
}

#pg-home .model-card__count b {
  color: var(--o-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------- 底部按钮 ---------------------------- */

#pg-home .cta-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 249, 244, 0), rgba(255, 249, 244, .94) 34%, #FFF9F4 68%);
  backdrop-filter: blur(6px);
}

#pg-home .cta-bar .btn--primary {
  flex: 1;
  width: auto;
}

#pg-home .cta-bar__ghost {
  flex: none;
  width: 58px;
  height: 50px;
  border-radius: 16px;
  border: 1.5px solid #F0DCC9;
  background: #fff;
  color: var(--o-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}

#pg-home .cta-bar__ghost:active { background: #FFF6EC; }

#pg-home .btn {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-home .btn--primary {
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
  box-shadow: 0 8px 22px rgba(240, 99, 5, .32);
}

#pg-home .btn--primary:active { transform: translateY(1px); }

/* ---------------------------- 其他 ---------------------------- */

#pg-home .legal {
  margin: 26px 4px 8px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--faint);
  text-align: center;
}

#pg-home .toast {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 120px;
  width: auto;
  max-width: 78vw;
  transform: translateX(-50%) translateY(10px);
  z-index: 60;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(46, 33, 24, .9);
  font-size: 13px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}

#pg-home .toast.show,
#pg-home .toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== test.css ===== */
/* ==========================================================================
   MBTI 答题页 · 沿用同一套橙色设计系统
   作用域：#pg-test
   ========================================================================== */

#pg-test {
  --o: #FF7507;
  --o-deep: #E96100;
  --ink: #2E2118;
  --ink2: #574539;
  --muted: #8C7A6B;
  --faint: #B9A697;
  --line: #F6E7D8;
  --bg: #FFF9F4;

  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

#pg-test *,
#pg-test *::before,
#pg-test *::after { box-sizing: border-box; }

/* 旧的 .page 容器不再使用，避免旧样式干扰 */
#pg-test .page { display: contents; }

/* ---------------------------- 顶部 ---------------------------- */

#pg-test .qhead {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: calc(14px + env(safe-area-inset-top)) 18px 0;
  background: linear-gradient(180deg, #FFB463 0%, #FF8A2B 62%, #FF8A2B 100%);
  border-radius: 0 0 20px 20px;
  color: #fff;
}

#pg-test .qhead__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}

#pg-test .qhead__back {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-test .qhead__title {
  flex: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .3px;
}

#pg-test .qhead__idx {
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#pg-test .qhead__idx b { font-size: 14px; }

/* 进度条 */
#pg-test .qhead__bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

#pg-test .qhead__bar > i {
  display: block;
  height: 100%;
  width: 3%;
  border-radius: 99px;
  background: #fff !important;   /* 覆盖 JS 写的内联色 */
  transition: width .28s ease;
}

/* 步骤条 */
#pg-test .qhead__steps {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px 10px;
}

#pg-test .step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

#pg-test .step-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16px;
}

#pg-test .step-connect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, .32);
}

#pg-test .step-connect.finished { background: rgba(255, 255, 255, .9); }

#pg-test .step-icon {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  display: grid;
  place-items: center;
}

#pg-test .step-icon.in-progress {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .3);
}

#pg-test .step-icon.finished { background: #fff; }

#pg-test .progress-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--o);
}

#pg-test .finished-icon {
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--o);
  border-bottom: 2px solid var(--o);
  transform: rotate(-45deg) translateY(-1px);
}

#pg-test .step-label {
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: -.2px;
  max-width: 100%;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------- 题卡 ---------------------------- */

#pg-test .qbody {
  padding: 18px 16px 0;
}

#pg-test .qcard {
  width: 100%;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(180, 120, 60, .1);
}

#pg-test .qcard__kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #E0A46A;
  text-transform: uppercase;
}

#pg-test .qcard__text {
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 700;
  color: var(--ink);
}

/* 选项（JS 渲染成 .opt） */
/* 答题时禁止选中文字：否则长按/拖拽会变成蓝色选区，点击事件失效 */
#pg-test .qcard,
#pg-test .qcard__text,
#pg-test .opt,
#pg-test .qbtn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#pg-test .opt { touch-action: manipulation; }

#pg-test .qopts { display: flex; flex-direction: column; gap: 11px; }

#pg-test .opt {
  position: relative;
  width: 100%;              /* 覆盖旧样式的 274px 固定宽 */
  max-width: none;
  margin-bottom: 0;
  padding: 15px 16px 15px 44px;
  border: 1.5px solid #F2E4D5;
  border-radius: 14px;
  background: #FFFCF9;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.62;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
}

#pg-test .opt::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 15px;
  height: 15px;
  border: 1.8px solid #E2CBB2;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

#pg-test .opt.checked {
  border-color: var(--o);
  background: #FFF3E6;
  color: #8A4A0C;
  font-weight: 600;
}

#pg-test .opt.checked::before {
  border-color: var(--o);
  background: var(--o);
  box-shadow: inset 0 0 0 3px #fff;
}

/* 底部说明 */
#pg-test .qremind {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #FFF6EC;
  border: 1px dashed #F3DDC7;
}

#pg-test .qremind__title {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--o-deep) !important;
  text-align: center;
}

#pg-test .qremind p {
  margin: 0 0 8px !important;
  font-size: 11.5px !important;
  line-height: 1.8 !important;
  color: var(--muted) !important;
  text-align: center;
}

#pg-test .qremind p:last-child { margin-bottom: 0 !important; }

/* ---------------------------- 底部按钮 ---------------------------- */

#pg-test .qfoot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 249, 244, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

#pg-test .qbtn {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-test .qbtn--ghost {
  flex: 0 0 34%;
  background: #fff;
  color: var(--ink2);
  border: 1.5px solid #F0E0CF;
}

#pg-test .qbtn--primary {
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
}

/* ---------------------------- 客服 / 弹窗 / toast ---------------------------- */

#pg-test .kefu {
  position: fixed;
  right: 12px;
  top: auto;                       /* 覆盖旧的 top: 45% */
  bottom: calc(78px + env(safe-area-inset-bottom));
  background-image: url(../../img/kefu.png);
  background-size: 62% auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 35;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url(../../img/kefu.png) center/62% no-repeat;
  box-shadow: 0 6px 16px rgba(180, 120, 60, .22);
  cursor: pointer;
}

#pg-test .modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  background: rgba(30, 20, 12, .45);
}

#pg-test .modal.show { display: flex; }

#pg-test .modal-box {
  width: 100%;
  max-width: 300px;
  padding: 24px 20px 18px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

#pg-test .m-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

#pg-test .m-content {
  margin: 12px 0 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

#pg-test .m-btns { display: flex; gap: 10px; }

#pg-test .m-btns > div {
  flex: 1;
  height: 42px;
  line-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#pg-test .m-btns .cancel {
  background: #FFF6EC;
  color: var(--o-deep);
  border: 1.5px solid #F3DDC7;
}

#pg-test .m-btns .ok {
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
}

#pg-test .toast {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 130px;
  width: auto;
  max-width: 78vw;
  transform: translateX(-50%) translateY(10px);
  z-index: 90;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(46, 33, 24, .9);
  font-size: 13px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}

#pg-test .toast.show,
#pg-test .toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 旧的 footer/remind 样式不再使用 */
#pg-test .footer { display: none; }

/* ===== pages.css ===== */
/* ==========================================================================
   MBTI · 生成页（#pg-loading）+ 支付确认页（#pg-paid）
   同一套橙色设计系统
   ========================================================================== */

/* ---------------------------- 生成中 ---------------------------- */

#pg-loading {
  --o: #FF7507;
  --o-deep: #E96100;
  --ink: #2E2118;
  --ink2: #574539;
  --muted: #8C7A6B;
  --faint: #B9A697;
  --line: #F6E7D8;
  --bg: #FFF9F4;

  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: 30px;
}

#pg-loading *,
#pg-loading *::before,
#pg-loading *::after { box-sizing: border-box; }

#pg-loading .lhead {
  padding: calc(40px + env(safe-area-inset-top)) 24px 86px;
  text-align: center;
  background: linear-gradient(180deg, #FFBE82 0%, #FF8A2B 100%);
  border-radius: 0 0 24px 24px;
  color: #fff;
}

#pg-loading .lhead__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}

#pg-loading .lhead__icon svg { width: 100%; height: 100%; display: block; }

#pg-loading .lhead__title {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
}

#pg-loading .ldots { display: inline-flex; gap: 3px; margin-left: 6px; }

#pg-loading .ldots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: ldot 1.15s ease-in-out infinite;
}

#pg-loading .ldots i:nth-child(2) { animation-delay: .14s; }
#pg-loading .ldots i:nth-child(3) { animation-delay: .28s; }
#pg-loading .ldots i:nth-child(4) { animation-delay: .42s; }

@keyframes ldot {
  0%, 70%, 100% { opacity: .35; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

#pg-loading .lcard {
  position: relative;
  margin: -62px 16px 0;
  padding: 4px 18px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(168, 105, 48, .16);
}

#pg-loading .ltabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

#pg-loading .yang1,
#pg-loading .yang11 {
  flex: 1;
  position: relative;
  border-bottom: 0;   /* 覆盖旧的蓝色下划线 */
  padding: 15px 0 13px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #B9A697;
  transition: color .25s;
}

#pg-loading .yang11 {
  color: var(--o);
  font-weight: 800;
}

#pg-loading .yang11::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--o);
}

#pg-loading .samllbox { display: none; margin-top: 0; }
#pg-loading .samllbox.on { display: block; }

#pg-loading .loadData {
  /* 覆盖旧样式写死的 40px 高度，否则第三行会溢出卡片 */
  height: auto;
  margin-top: 18px;
  padding: 0;
}

#pg-loading .loadData:first-child { margin-top: 20px; }

#pg-loading .loadTitle {
  margin: 0 0 9px;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5C4A3D;
}

#pg-loading .progress-container {
  width: 100%;
  margin: 0;
  height: 7px;
  border-radius: 99px;
  background: #FFF2E4;
  overflow: hidden;
}

#pg-loading .progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #FFC48A, #FF8A2B);
  transition: width 2.8s linear;
}

#pg-loading .progress-bar.no-transition { transition: none !important; }

#pg-loading .lhint {
  margin: 20px 24px 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--faint);
}

/* ---------------------------- 支付确认 ---------------------------- */

#pg-paid {
  --o: #FF7507;
  --o-deep: #E96100;
  --ink: #2E2118;
  --ink2: #574539;
  --muted: #8C7A6B;
  --faint: #B9A697;

  min-height: 100vh;
  margin: 0;
  display: block;
  background: #FFF9F4;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

#pg-paid *,
#pg-paid *::before,
#pg-paid *::after { box-sizing: border-box; }

#pg-paid .hide { display: none !important; }

#pg-paid .wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
}

#pg-paid .card {
  width: 100%;
  max-width: 320px;
  padding: 30px 22px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(168, 105, 48, .14);
  text-align: center;
}

/* 状态图标 */
#pg-paid .icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

#pg-paid .icon.loading {
  background: #FFF2E4;
  position: relative;
}

#pg-paid .icon.loading::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #FFD5AE;
  border-top-color: var(--o);
  animation: pspin .9s linear infinite;
}

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

#pg-paid .icon.ok {
  background: #E8F6ED;
  color: #2F9E74;
}

#pg-paid .icon.fail {
  background: #FDECEA;
  color: #C9432A;
}

#pg-paid h1 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

#pg-paid p#desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

#pg-paid .order {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #FFF6EC;
  font-size: 11.5px;
  color: #8A5A22;
  word-break: break-all;
}

#pg-paid .order span { font-weight: 700; }

#pg-paid .btns { display: flex; flex-direction: column; gap: 10px; }

#pg-paid .btn {
  height: 46px;
  line-height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-paid .btn.primary {
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
}

#pg-paid .btn.ghost {
  background: #fff;
  color: var(--ink2);
  border: 1.5px solid #F0E0CF;
}

/* ===== report.css ===== */
/* ==========================================================================
   MBTI · 报告页（#pg-report）+ 报告中心（#pg-center）
   把原来的紫底换成同一套米橙底；结构不动，只换视觉
   ========================================================================== */

/* ---------------------------- 报告页整体 ---------------------------- */

#pg-report {
  background: #FFF9F4;
  color: #2E2118;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

#pg-report .report { padding-bottom: 108px; }

/* 报告头 */
#pg-report .head-card {
  margin: 12px 12px 0;
  padding: 22px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFF3E4 0%, #FFFFFF 58%);
  box-shadow: 0 6px 22px rgba(180, 120, 60, .09);
}

#pg-report .head-card .no {
  font-size: 12px;
  color: #B4650F;
  letter-spacing: .5px;
}

#pg-report .head-card .no span { font-weight: 700; }

#pg-report .head-card h1 {
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #2E2118;
  letter-spacing: .3px;
}

#pg-report .head-card .time { font-size: 12px; color: #B9A697; }

#pg-report .head-card .dots i {
  background: #FFD5AE;
}

#pg-report .head-card .bar {
  background: linear-gradient(90deg, #FFC48A, #FF8A2B);
}

/* 类型卡 */
/* 类型卡：本身不再是一张卡，改成容器，里面的每块各自一张卡 */
#pg-report .type-card {
  margin: 14px 12px 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

/* 1) 插画卡 */
#pg-report .hero-clip {
  margin-bottom: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(180, 120, 60, .09);
  overflow: hidden;
}

/* 2) 四维卡 */
#pg-report .dim-list {
  margin-bottom: 12px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(180, 120, 60, .09);
}

#pg-report .hero-clip { border-radius: 18px 18px 0 0; }

#pg-report .dim-list { padding: 6px 16px 0; }

/* 解锁按钮 */
#pg-report .unlock-btn {
  margin: 0 0 12px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid #F6E3D0;
  box-shadow: 0 8px 24px rgba(180, 120, 60, .1);
  text-align: center;
  color: #2E2118;
  cursor: pointer;
}

#pg-report .unlock-btn .ub-lock {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #FFF3E6;
  color: #E96100;
}

#pg-report .unlock-btn .u2 {
  font-size: 17px;
  font-weight: 800;
  color: #2E2118;
}

#pg-report .unlock-btn .u3 {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.7;
  color: #8C7A6B;
}

#pg-report .unlock-btn .ub-price {
  margin: 16px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

#pg-report .unlock-btn .ub-price b {
  font-size: 30px;
  font-weight: 800;
  color: #E96100;
  letter-spacing: -.5px;
}

#pg-report .unlock-btn .ub-price span {
  font-size: 11.5px;
  color: #B9A697;
}

#pg-report .unlock-btn .ub-cta {
  height: 46px;
  line-height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

#pg-report .unlock-btn .u1 {
  margin-top: 12px;
  font-size: 11px;
  color: #B9A697;
}

#pg-report .unlock-btn .finger { display: none; }

#pg-report .ub-kefu {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: #B4650F;
  text-decoration: none;
}

#pg-report .unlock-btn.done .ub-kefu { display: none; }

/* 解锁后：只留一句话 */
#pg-report .unlock-btn.done .ub-lock,
#pg-report .unlock-btn.done .ub-price,
#pg-report .unlock-btn.done .ub-cta,
#pg-report .unlock-btn.done .u3 { display: none; }

#pg-report .unlock-btn.done {
  padding: 16px 14px;
  background: #FFF6EC;
  border-color: #F7E3CD;
  box-shadow: none;
}

#pg-report .unlock-btn.done .u2 { font-size: 15px; color: #B4650F; }
#pg-report .unlock-btn.done .u1 { margin-top: 4px; }

#pg-report .unlock-btn .u1 { font-size: 12px; opacity: .92; }
#pg-report .unlock-btn .u2 { font-size: 17px; font-weight: 800; margin-top: 3px; }
#pg-report .unlock-btn .u3 { font-size: 11.5px; opacity: .85; margin-top: 4px; }

/* 报告中心入口 */
#pg-report .rc-entry {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFF6EC;
  color: #B4650F;
  border: 1px solid #F7E3CD;
}

#pg-report .rc-entry-count { color: #C08A55; }

/* 座右铭 */
#pg-report .motto {
  margin: 22px 16px 0;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFB463, #F06305);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(240, 99, 5, .22);
}

#pg-report .motto::before { display: none; }

#pg-report .motto .m1 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

#pg-report .motto .m2 {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .82);
}

/* 内容块：标题做成居中徽标 */
#pg-report .block {
  margin: 22px 12px 0;
  text-align: center;
}

#pg-report .block .title,
#pg-report .block .title.orange,
#pg-report .block .title.purple {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  box-shadow: 0 6px 16px rgba(240, 99, 5, .26);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
  border: 0;
}

#pg-report .block .body {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(180, 120, 60, .08);
  text-align: left;
  font-size: 13.5px;
  line-height: 1.85;
  color: #574539;
}

/* 未解锁时：整块正文都不显示（连标题一起） */
#pg-report .report.locked-view .block:not(.free-block),
#pg-report .report.locked-view .motto,
#pg-report .report.locked-view .report-save {
  display: none !important;
}

/* 干净锁定块 */
#pg-report .lock-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 16px;
  border-radius: 14px;
  background: #FFF9F3;
  border: 1px dashed #F3DDC7;
  color: #B9A697;
  font-size: 12.5px;
}

#pg-report .lock-box svg { color: #E0A46A; }

/* 免费预览卡片（付费卡上方） */
#pg-report .free-preview {
  margin: 0 0 12px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFF6EC, #FFFFFF 62%);
  border: 1.5px solid #F7E3CD;
}

#pg-report .free-preview__more {
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px dashed #F3DDC7;
  font-size: 11px !important;
  color: #B9A697 !important;
  text-align: center;
}

#pg-report .free-preview__tag {
  margin: 0 0 8px !important;
  font-size: 12px;
  font-weight: 700;
  color: #B4650F;
  letter-spacing: .3px;
}

#pg-report .free-preview__lead {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  color: #2E2118 !important;
}

#pg-report .free-preview__text {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
  color: #574539 !important;
}

/* 锁定态 */
#pg-report .locked .blur {
  background: linear-gradient(180deg, rgba(255, 249, 244, 0), rgba(255, 249, 244, .92) 42%, #FFF9F4);
}

#pg-report .locked .unlock-hint {
  border-radius: 12px;
  background: #FFF6EC;
  color: #B4650F;
  border: 1px dashed #F3DDC7;
}

/* 四个字母 */
#pg-report .letter-item {
  border-radius: 12px;
  background: #FFF9F3;
  border: 1px solid #FBEBDA;
}

#pg-report .letter-item .lt { color: #E96100; font-weight: 800; }
#pg-report .letter-item .ld { color: #574539; }

/* 底部操作 */
#pg-report .report-save {
  margin: 24px 12px 0;
}

#pg-report .btn-save {
  height: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(240, 99, 5, .26);
  cursor: pointer;
}

#pg-report .report-save__hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #B9A697;
  text-align: center;
}

#pg-report .bottom-actions {
  margin: 22px 12px 0;
}

#pg-report .bottom-actions .btn-retest.primary {
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
  cursor: pointer;
}

#pg-report .result-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#pg-report .btn-ghost {
  flex: 1;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #F0DCC9;
  color: #8C7A6B;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#pg-report .btn-ghost:active { background: #FFF6EC; }

#pg-report .btn-retest {
  border-radius: 999px;
  background: #fff;
  color: #B4650F;
  border: 1.5px solid #F3DDC7;
  font-weight: 700;
}

#pg-report .foot-note {
  margin: 20px 16px 0;
  font-size: 11px;
  line-height: 1.8;
  color: #B9A697;
}

/* 底部固定解锁条：按需求隐藏，改由类型卡里的解锁按钮承担 */
#pg-report .unlock-bar { display: none !important; }

#pg-report .unlock-bar {
  background: rgba(255, 249, 244, .97);
  box-shadow: 0 -4px 14px rgba(180, 120, 60, .12);
  backdrop-filter: blur(8px);
}

#pg-report .unlock-bar .ub-price { color: #E96100; }
#pg-report .unlock-bar .ub-price small { color: #B9A697; }

#pg-report .unlock-bar .ub-btn {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
}

/* 支付弹窗 */
#pg-report .pay-sheet {
  border-radius: 22px 22px 0 0;
  padding-top: 20px;
}

#pg-report .pay-sheet h3 { color: #2E2118; font-weight: 800; }
#pg-report .pay-sheet .p-sub { color: #B9A697; }

#pg-report .pay-row {
  border-radius: 14px;
  background: #FFFCF9;
  border: 1.5px solid #F2E4D5;
  margin-top: 10px;
}

#pg-report .pay-row.on {
  border-color: #FF7507;
  background: #FFF3E6;
}

#pg-report .pay-row .cost { color: #E96100; font-weight: 800; }

#pg-report .pay-row.on .radio {
  border-color: #FF7507;
  background: #FF7507;
  box-shadow: inset 0 0 0 3px #fff;
}

#pg-report .pay-submit {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  box-shadow: 0 8px 20px rgba(240, 99, 5, .28);
}

#pg-report .pay-cancel { color: #8C7A6B; }

/* 支付中 / 提示弹窗 */
#pg-report .paying { background: rgba(30, 20, 12, .45); }
#pg-report .paying .box {
  border-radius: 18px;
  background: #fff;
  color: #2E2118;
}

#pg-report .paying .spinner {
  border-color: #FFD5AE;
  border-top-color: #FF7507;
}

#pg-report .tip-box {
  border-radius: 18px;
  background: #fff;
}

#pg-report .tip-box h3 { color: #2E2118; font-weight: 800; }
#pg-report .tip-box p { color: #8C7A6B; }

#pg-report .tip-ok {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
}

/* ---------------------------- 报告中心 ---------------------------- */

#pg-center {
  background: #FFF9F4;
  color: #2E2118;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

#pg-center .rc-head {
  background: linear-gradient(158deg, #FFB463 0%, #FF8A2B 55%, #F06305 100%);
  color: #fff;
  padding: calc(18px + env(safe-area-inset-top)) 18px 22px;
  border-radius: 0 0 22px 22px;
}

#pg-center .rc-head h1 { font-size: 19px; font-weight: 800; color: #fff; }
#pg-center .rc-head p { font-size: 12px; color: rgba(255, 255, 255, .85); }

#pg-center .rc-back {
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

#pg-center .rc-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(180, 120, 60, .08);
}

#pg-center .rc-name { color: #2E2118; font-weight: 700; }
#pg-center .rc-meta { color: #B9A697; }
#pg-center .rc-badge { background: #FFF6EC; color: #B4650F; }

#pg-center .rc-open {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
}

#pg-center .rc-open.lock {
  background: #FFF6EC;
  color: #B4650F;
  border: 1px solid #F3DDC7;
}

#pg-center .rc-new {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
}

#pg-center .rc-clear { color: #8C7A6B; }

#pg-center .rc-empty-title { color: #2E2118; font-weight: 800; }
#pg-center .rc-empty-desc { color: #B9A697; }
#pg-center .rc-empty-btn {
  border-radius: 999px;
  background: linear-gradient(180deg, #FF8A2B, #F06305);
  color: #fff;
}

#pg-center .rc-empty-art {
  background: #FFF6EC;
  border-color: #F7E3CD;
}

#pg-center .rc-empty-art i { background: #FFD5AE; }

#pg-center .rc-empty-art::before {
  background: #fff;
  border-color: #F3DDC7;
}

#pg-center .rc-empty-art::after {
  background: #FFD5AE;
}

#pg-center .rc-tip { color: #B9A697; }

/* ===== desktop.css ===== */
/* ==========================================================================
   MBTI · 桌面端约束
   手机上整屏铺满；桌面上收成 480px 一列，和 SCL / HCL 一致
   ========================================================================== */

@media (min-width: 481px) {
  html { background: #EFE4D9; }

  body {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background:
      radial-gradient(900px 520px at 50% -8%, #FFE2C4 0%, rgba(255, 226, 196, 0) 62%),
      #EFE4D9;
  }

  /* 每个视图都收成一列 */
  .pg {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: #FFF9F4;
    box-shadow: 0 0 0 1px rgba(120, 80, 40, .05), 0 24px 70px rgba(120, 80, 40, .14);
    overflow-x: hidden;
  }

  /* 固定定位的元素也要跟到这一列里 */
  #pg-home .cta-bar,
  #pg-test .qfoot,
  .unlock-bar {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 480px !important;
  }

  #pg-test .kefu {
    left: auto !important;
    right: calc(50% - 240px + 14px) !important;
  }

  #pg-test .toast,
  #pg-home .toast,
  #pg-center .toast,
  #pg-report .toast {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
  }

  #pg-test .toast.show,
  #pg-test .toast.on,
  #pg-home .toast.show,
  #pg-home .toast.on {
    transform: translateX(-50%) translateY(0);
  }

  /* 弹层居中不变，但宽度限制一下 */
  #pg-test .modal-box,
  #pg-report .pay-sheet,
  #pg-report .tip-box {
    max-width: 340px;
    margin: 0 auto;
  }

  /* 报告页底部解锁条 */
  .unlock-bar { border-radius: 16px 16px 0 0; }
}


/* ==========================================================================
   报告中心：对齐 SCL 的订单列表样式
   ========================================================================== */

#pg-center .rc-page {
  background: #FFF9F4;
  min-height: 100vh;
}

#pg-center .rc-head {
  position: relative;
  padding: calc(30px + env(safe-area-inset-top)) 20px 18px;
  background: transparent;
  border-radius: 0;
  text-align: center;
  color: #2E2118;
}

#pg-center .rc-head .eyebrow {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: #E0A46A;
}

#pg-center .rc-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #2E2118;
}

#pg-center .rc-head .rc-head__sub {
  margin: 8px 0 0;
  font-size: 12px;
  color: #B9A697;
}

#pg-center .rc-back {
  position: absolute;
  left: 14px;
  top: calc(18px + env(safe-area-inset-top));
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #FFF3E6;
  color: #E96100;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

#pg-center .rc-list { padding: 4px 16px 0; }

/* 卡片：左色条 + 主标题 + 副行 + 右侧状态 */
#pg-center .rc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
  padding: 16px 16px 16px 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(180, 120, 60, .08);
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
}

#pg-center .order-card__bar {
  flex: none;
  width: 4px;
  height: 34px;
  margin-left: 0;
  border-radius: 0 4px 4px 0;
  background: #FF7507;
}

#pg-center .order-card__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 2px;
}

#pg-center .order-card__main b {
  font-size: 15px;
  font-weight: 800;
  color: #2E2118;
}

#pg-center .order-card__main i {
  font-style: normal;
  font-size: 11.5px;
  color: #B9A697;
}

#pg-center .order-card__state {
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  background: #F6EFE8;
  font-size: 11px;
  font-weight: 700;
  color: #8C7A6B;
}

#pg-center .order-card__state.is-on {
  background: #FFF3E6;
  color: #E96100;
}

/* 底部按钮：SCL 是白底描边 */
#pg-center .rc-new {
  display: block;
  margin: 14px 16px 0;
  height: 48px;
  line-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #F0DCC9;
  color: #8C7A6B;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

#pg-center .rc-clear {
  display: block;
  margin: 12px 16px 0;
  height: 44px;
  line-height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #F0DCC9;
  color: #8C7A6B;
  font-size: 13px;
  width: calc(100% - 32px);
  cursor: pointer;
}


/* ==========================================================================
   统一页面底色（覆盖旧的分页颜色：#e9e2ff / #e8e9fa 等紫色）
   ========================================================================== */

body,
body[data-page="home"],
body[data-page="test"],
body[data-page="loading"],
body[data-page="report"],
body[data-page="center"],
body[data-page="paid"] {
  background: #FFF9F4;
}

@media (min-width: 481px) {
  body,
  body[data-page="home"],
  body[data-page="test"],
  body[data-page="loading"],
  body[data-page="report"],
  body[data-page="center"],
  body[data-page="paid"] {
    background:
      radial-gradient(900px 520px at 50% -8%, #FFE2C4 0%, rgba(255, 226, 196, 0) 62%),
      #EFE4D9;
  }
}
