/* =========================================================
   公共页：投诉反馈 / 用户服务协议 / 隐私政策
   样式取自原 public_page，保持原有尺寸与版式
   ========================================================= */

@font-face {
  font-family: "public-iconfont";
  src: url("../fonts/public-iconfont.woff2") format("woff2");
  font-display: swap;
}

body[data-route="complain"] {
  background: #eee;
}
body[data-route="serviceTerm"],
body[data-route="privacyTerm"] {
  background: #fff;
}
body[data-route="complain"] #sxystfa {
  background: #eee;
  box-shadow: none;
}
body[data-route="serviceTerm"] #sxystfa,
body[data-route="privacyTerm"] #sxystfa {
  background: #fff;
  box-shadow: none;
}

/* =========================================================
   用户服务协议 / 隐私政策
   ========================================================= */
#term {
  font-size: .4rem;
  letter-spacing: .01333rem;
  text-align: justify;
  background: #fff;
  min-height: 100vh;
  color: #333;
  font-family: MicrosoftYaHei, Arial, Helvetica, sans-serif;
}
#term .term_cont {
  padding: .4rem .26667rem;
}
#term .term_cont .term_tl {
  font-size: .48rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .4rem;
}
#term .term_cont .yinyan {
  font-weight: 700;
}
#term .term_cont .yinyan p {
  margin-bottom: .13333rem;
}
#term .term_cont .item {
  margin-top: .26667rem;
}
#term .term_cont .item img {
  width: 100%;
}
#term .term_cont .item .item_tl {
  font-weight: 700;
  line-height: .8rem;
}
#term .term_cont .item p {
  margin-bottom: .13333rem;
}
#term .term_cont .item a {
  color: #00f;
  text-decoration: underline;
}
#term .term_cont .item .sub_item span {
  display: block;
  margin-bottom: .13333rem;
}

/* =========================================================
   投诉反馈 - 原因列表
   ========================================================= */
#complain {
  font-size: .4rem;
  letter-spacing: .01333rem;
  background: #eee;
  width: 100%;
  min-height: 100vh;
  font-family: MicrosoftYaHei, Arial, Helvetica, sans-serif;
}
#complain .complain_cont {
  background: #fff;
}
#complain .complain_cont .tl {
  line-height: 1.18667rem;
  color: #666;
  background: #eee;
  padding-left: .24rem;
}
#complain .complain_cont .complainWhy {
  padding: 0 .26667rem;
}
#complain .complain_cont .complainWhy li {
  border-bottom: .02667rem solid #cecece;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.33333rem;
  color: #000;
  font-size: .4rem;
  cursor: pointer;
}
#complain .complain_cont .complainWhy li:first-child {
  border-top: none;
}
#complain .complain_cont .complainWhy li:last-child {
  border-bottom: none;
}
#complain .complain_cont .complainWhy li .complain-chevron {
  font-family: public-iconfont;
  font-style: normal;
  font-size: .34667rem;
  line-height: inherit;
  color: #b2b2b2;
  flex: 0 0 auto;
}
#complain .complain_cont .complainWhy li .complain-chevron::before {
  content: "\e501";
}

/* =========================================================
   投诉反馈 - 表单
   ========================================================= */
#complain_table {
  background: #eee;
  width: 100%;
  min-height: 100vh;
  font-size: .4rem;
  letter-spacing: .01333rem;
  font-family: MicrosoftYaHei, Arial, Helvetica, sans-serif;
}
#complain_table .complain_why .title {
  line-height: 1.18667rem;
  padding: 0 .26667rem;
  background: #eee;
}
#complain_table .complain_why .cont li {
  position: relative;
  background: #fff;
}
#complain_table .complain_why .cont li:last-child {
  margin-bottom: 0;
  padding: 0 .26667rem;
}
#complain_table .complain_why .cont li:first-child {
  line-height: 1.33333rem;
  font-size: .4rem;
  color: #000;
  padding: 0 .26667rem;
}
#complain_table .complain_why .cont .textInput {
  width: 100%;
  min-height: 4.66667rem;
  padding: .13333rem .26667rem .26667rem;
  font-size: .4rem;
  border: none;
}
#complain_table .complain_why .cont .zishu {
  position: absolute;
  right: .13333rem;
  bottom: .06667rem;
  color: #999;
}
#complain_table .complain_why .cont .zishu span {
  color: #000;
}
#complain_table .complain_why .cont .lxfs {
  height: 1.33333rem;
  display: flex;
  align-items: center;
  color: #000;
  border-bottom: .02667rem solid #cecece;
}
#complain_table .complain_why .cont .phoneInp {
  width: 100%;
  height: 1.33333rem;
  line-height: 1.33333rem;
  padding: 0 .13333rem;
  border: none;
  margin-top: .13333rem;
  font-size: .4rem;
  font-family: Arial, Helvetica, sans-serif;
}
#complain_table .btn {
  padding: 0 .26667rem;
  margin-top: .66667rem;
}
#complain_table .btn p {
  width: 100%;
  font-size: .53333rem;
  color: #fff;
  border: 1px solid #ccc;
  background: #2aa339;
  text-align: center;
  line-height: 1.06667rem;
  border-radius: .13333rem;
  cursor: pointer;
}

/* =========================================================
   姻缘测试信息登记页
   ========================================================= */
body[data-route="marriage"] {
  background: #f3e5d0;
}
body[data-route="marriage"] #sxystfa {
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 67, 35, .1), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(246, 201, 107, .18), transparent 30%),
    linear-gradient(180deg, #fff8ee 0%, #f7ead7 48%, #f2dfc7 100%);
  box-shadow: none;
  min-height: 100vh;
}

.marriage-page {
  min-height: 100vh;
  box-sizing: border-box;
  padding: .3rem .4rem calc(.5rem + var(--safe-bottom));
  color: var(--ink);
  overflow: hidden;
}

.marriage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .2rem;
  padding: .12rem 0 .2rem;
}
.marriage-brand {
  display: flex;
  align-items: center;
  gap: .18rem;
}
.marriage-brand-seal {
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b64323, #8d1f12);
  color: var(--gold);
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .4rem;
  border: 1px solid rgba(255, 237, 176, .7);
  box-shadow: 0 .06rem .14rem rgba(141, 31, 18, .2);
}
.marriage-brand-eyebrow {
  margin: 0 0 .03rem;
  font-size: .22rem;
  letter-spacing: .08em;
  color: #a6784e;
  white-space: nowrap;
}
.marriage-brand strong {
  display: block;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .4rem;
  color: var(--brand-red-dark);
  letter-spacing: .06em;
}
.marriage-header-tag {
  flex: 0 0 auto;
  font-size: .24rem;
  color: #9a5e3a;
  border: 1px solid rgba(182, 67, 35, .25);
  background: rgba(255, 248, 233, .72);
  padding: .08rem .14rem;
  border-radius: 99px;
  white-space: nowrap;
}

.marriage-hero {
  position: relative;
  text-align: center;
  padding: .16rem .1rem .12rem;
}
.marriage-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: .2rem;
  left: 50%;
  width: 5.6rem;
  height: 2.7rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(246, 201, 107, .22), transparent 68%);
  pointer-events: none;
}
.marriage-doll-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .1rem;
  min-height: 2.75rem;
}
.marriage-doll {
  width: 2.25rem;
  height: auto;
  display: block;
  filter: drop-shadow(0 .12rem .18rem rgba(69, 22, 8, .16));
  animation: marriageFloat 4s ease-in-out infinite;
}
.marriage-doll-groom {
  animation-delay: .8s;
}
.marriage-seal {
  align-self: center;
  width: .68rem;
  height: .68rem;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b64323, #8d1f12);
  color: var(--gold);
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .42rem;
  border: 2px solid rgba(255, 237, 176, .78);
  box-shadow: 0 .06rem .12rem rgba(141, 31, 18, .25);
  margin-bottom: .5rem;
}
@keyframes marriageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-.06rem); }
}
.marriage-kicker {
  position: relative;
  z-index: 1;
  margin: .14rem 0 .06rem;
  font-size: .26rem;
  letter-spacing: .14em;
  color: #a06a48;
}
.marriage-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--brand-red-dark);
  text-shadow: 0 .02rem 0 #fff;
}
.marriage-subtitle {
  position: relative;
  z-index: 1;
  margin: .12rem auto 0;
  max-width: 7.2rem;
  font-size: .32rem;
  line-height: .56rem;
  color: #7b5845;
}

.marriage-form-card {
  margin-top: .22rem;
  padding: .34rem .34rem .32rem;
  background: rgba(255, 252, 245, .94);
  border: 1px solid rgba(182, 67, 35, .16);
  border-radius: .32rem;
  box-shadow: 0 .14rem .36rem rgba(109, 57, 30, .09), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.marriage-form {
  display: flex;
  flex-direction: column;
  gap: .24rem;
}
.marriage-field label {
  display: flex;
  align-items: center;
  gap: .08rem;
  margin-bottom: .09rem;
  font-size: .32rem;
  font-weight: 600;
  color: #6d3920;
}
.marriage-field label em {
  font-style: normal;
  font-size: .22rem;
  font-weight: 400;
  color: var(--brand-red);
  background: rgba(182, 67, 35, .08);
  padding: .02rem .08rem;
  border-radius: 99px;
}
.marriage-field label span {
  font-size: .22rem;
  font-weight: 400;
  color: #a18066;
}
.marriage-input {
  width: 100%;
  height: 1.02rem;
  box-sizing: border-box;
  border: 1px solid #e5c9ab;
  border-radius: .16rem;
  background: #fffdf9;
  padding: 0 .24rem;
  font-size: max(16px, .42rem);
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s, box-shadow .18s;
}
.marriage-input::placeholder {
  color: #bca48e;
  font-size: .36rem;
}
.marriage-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 .04rem rgba(182, 67, 35, .12);
}
.marriage-hint {
  margin: .08rem 0 0;
  font-size: .24rem;
  line-height: .4rem;
  color: #a58b77;
}
.marriage-consent {
  display: flex;
  align-items: flex-start;
  gap: .12rem;
  padding-top: .04rem;
}
.marriage-consent input {
  flex: 0 0 auto;
  position: relative;
  width: .32rem;
  height: .32rem;
  margin: .04rem 0 0;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #cba887;
  border-radius: .06rem;
  background: #fffdf9;
  accent-color: var(--brand-red);
  cursor: pointer;
}
.marriage-consent input:checked {
  border-color: var(--brand-red);
  background: var(--brand-red);
}
.marriage-consent input:checked::after {
  content: "";
  position: absolute;
  left: .1rem;
  top: .03rem;
  width: .08rem;
  height: .16rem;
  border: solid #fff8e9;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.marriage-consent-copy {
  font-size: .26rem;
  line-height: .46rem;
  color: #7d5b47;
}
.marriage-consent-copy label {
  color: inherit;
  cursor: pointer;
}
.marriage-consent-copy a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: .04rem;
}
.marriage-form-note {
  margin: 0;
  padding: .12rem .16rem;
  border-radius: .12rem;
  background: rgba(246, 201, 107, .12);
  font-size: .24rem;
  line-height: .42rem;
  color: #9c775e;
}
.marriage-form-error {
  margin: 0;
  color: #a82012;
  font-size: .28rem;
  line-height: .46rem;
}
.marriage-submit {
  width: 100%;
  height: 1.08rem;
  border: 0;
  border-radius: .54rem;
  background: linear-gradient(135deg, #c85031, #9f2c18 70%);
  color: #fff8e9;
  font-size: .42rem;
  font-weight: 600;
  letter-spacing: .1em;
  box-shadow: 0 .12rem .24rem rgba(141, 31, 18, .24), inset 0 1px 0 rgba(255, 237, 176, .35);
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, opacity .16s;
}
.marriage-submit:active {
  transform: translateY(1px) scale(.995);
  box-shadow: 0 .06rem .14rem rgba(141, 31, 18, .2);
}
.marriage-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.marriage-submit.is-loading::after {
  content: "";
  display: inline-block;
  width: .24rem;
  height: .24rem;
  margin-left: .12rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 248, 233, .4);
  border-top-color: #fff;
  vertical-align: -.03rem;
  animation: marriageSpin .8s linear infinite;
}
@keyframes marriageSpin {
  to { transform: rotate(360deg); }
}

.marriage-success {
  padding: .34rem .1rem .24rem;
  text-align: center;
}
.marriage-success:focus {
  outline: none;
}
.marriage-success-mark {
  width: .9rem;
  height: .9rem;
  margin: 0 auto .18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c85031, #9f2c18);
  color: #fff8e9;
  font-size: .48rem;
  box-shadow: 0 .1rem .22rem rgba(141, 31, 18, .2);
}
.marriage-success h2 {
  margin: 0;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .52rem;
  color: var(--brand-red-dark);
}
.marriage-success p {
  margin: .1rem 0 0;
  color: #6d4c39;
  font-size: .32rem;
  line-height: .52rem;
}
.marriage-success-note {
  color: #a3836c !important;
  font-size: .26rem !important;
}
.marriage-reset {
  margin-top: .24rem;
  min-width: 2.6rem;
  height: .86rem;
  border: 1px solid #d9b18d;
  border-radius: .43rem;
  background: #fffdf9;
  color: var(--brand-red);
  font-size: .32rem;
  cursor: pointer;
}

.marriage-company {
  margin-top: .36rem;
  padding: .32rem .06rem .2rem;
  border-top: 1px solid rgba(182, 67, 35, .14);
}
.marriage-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  color: var(--brand-red-dark);
}
.marriage-section-head span {
  color: var(--gold-deep);
  font-size: .26rem;
}
.marriage-section-head h2 {
  margin: 0;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: .42rem;
  letter-spacing: .08em;
}
.marriage-company > p {
  margin: .16rem 0 0;
  font-size: .28rem;
  line-height: .56rem;
  color: #806150;
  text-align: justify;
}
.marriage-company-meta {
  margin: .18rem 0 0;
  padding: .18rem .2rem;
  background: rgba(255, 252, 245, .72);
  border: 1px solid rgba(182, 67, 35, .12);
  border-radius: .16rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.marriage-company-meta div {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .14rem;
  font-size: .25rem;
  line-height: .42rem;
}
.marriage-company-meta dt {
  color: #a17d63;
  white-space: nowrap;
}
.marriage-company-meta dd {
  margin: 0;
  color: #6d4b38;
  overflow-wrap: anywhere;
}

.marriage-footer {
  padding: .24rem .2rem .4rem;
  text-align: center;
  color: #987966;
}
.marriage-disclaimer {
  margin: 0;
  font-size: .24rem;
  line-height: .44rem;
  text-align: justify;
  color: #9a7a64;
}
.marriage-footer-company {
  margin: .16rem 0 0;
  font-size: .26rem;
  color: #7c5843;
  overflow-wrap: anywhere;
}
.marriage-footer-links {
  margin-top: .12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .12rem;
  font-size: .24rem;
}
.marriage-footer-links a {
  color: #9b5d3d;
  text-decoration: none;
}
.marriage-icp {
  margin: .12rem 0 0;
  font-size: .22rem;
}
.marriage-icp a {
  color: #a48570;
  text-decoration: none;
}

@media (max-width: 340px) {
  .marriage-page { padding-left: .26rem; padding-right: .26rem; }
  .marriage-doll { width: 2rem; }
  .marriage-form-card { padding: .26rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marriage-doll { animation: none !important; }
  .marriage-submit.is-loading::after { animation: none !important; }
}

