@charset "utf-8";
/* ============================================================================
   名字打分 · 新版首页（?ac=yt_bazixmjq）
   参考 https://t1.15xd.com/ 的版式与动效重做，只负责「投诉条 / 头部走马灯 /
   主视觉 / 表单 / 按钮 / 协议行」，页面下方的隐私弹窗、页脚、侧边订单查询
   仍沿用 /statics/ffsm_lg 的公共样式。

   尺寸口径：参考站按 750 设计宽用 vw；本站 public/wap 的 rem 是
   1rem = 100px @375（即 26.6666vw），所以 rem 值 = 参考站 vw 值 × 0.0375。
   例如 6vw → .225rem，84vw → 3.15rem。断点与 rem 由 xmfx/style.min.css 提供。
   ========================================================================== */

body.nz-body {
  background: #ffbd69;
}

.nz-page {
  position: relative;
  background: #ffbd69 url(banner-bg.png) top center / 100% auto no-repeat;
  color: #b83c13;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

.nz-page *,
.nz-page *::before,
.nz-page *::after {
  box-sizing: border-box;
}

/* ===== 头部：正版标识 + 走马灯 ===== */
.nz-header {
  display: flex;
  align-items: center;
  height: 0.3rem;
  background: #333;
  overflow: hidden;
}

.nz-header-left {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.38rem;
  height: 0.3rem;
  padding: 0 0.07rem;
}

.nz-header-icon {
  display: block;
  width: 0.22rem;
  height: 0.22rem;
  object-fit: contain;
}

.nz-header-right {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 0.3rem;
  overflow: hidden;
}

.nz-marquee {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  font-size: 0.14rem;
  line-height: 0.3rem;
  color: #fff;
  white-space: nowrap;
  animation: nzMarquee 18s linear infinite;
  will-change: transform;
}

.nz-marquee > span {
  padding-right: 1.2rem;
}

@keyframes nzMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== 主视觉 ===== */
.nz-art {
  position: relative;
  height: 3.15rem;
  overflow: hidden;
}

.nz-art-book {
  position: absolute;
  top: 0;
  left: 0.375rem;
  display: block;
  width: 3rem;
  height: auto;
}

.nz-art-title {
  position: absolute;
  top: 0.39rem;
  left: 1.65rem;
  display: block;
  width: 0.4rem;
  height: auto;
}

.nz-tag-group {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  animation: nzTagRise 16s linear infinite both;
  will-change: transform, opacity;
}

.nz-tag {
  position: absolute;
  top: 1.01rem;
  display: block;
  width: 0.38rem;
  height: auto;
}

.nz-tag.is-left {
  left: 0.5rem;
}

.nz-tag.is-right {
  right: 0.49rem;
}

@keyframes nzTagRise {
  0% {
    opacity: 0;
    transform: translateY(0.48rem);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(-0.12rem);
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(-0.56rem);
  }
}

/* ===== 表单（卷轴） ===== */
.nz-form-area {
  padding: 0 0.08rem 0.12rem;
}

.nz-form {
  margin: 0;
}

.nz-fields {
  padding: 0.32rem 0.37rem 0.16rem;
  background: url(form-bg.png) center / 100% 100% no-repeat;
}

.nz-row {
  display: flex;
  align-items: center;
  min-height: 0.44rem;
  padding: 0.04rem 0;
  border-bottom: 1px solid #efb7a1;
}

.nz-row:last-of-type {
  border-bottom: 0;
}

.nz-row > label {
  flex: none;
  width: 0.76rem;
  font-size: 0.16rem;
  font-weight: 700;
  line-height: 1.2;
  color: #c72608;
}

.nz-row .nz-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 0.36rem;
  margin: 0;
  padding: 0 0 0 0.08rem;
  font-size: 0.16rem;
  line-height: 1.4;
  color: #d13e20;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.nz-row .nz-input::placeholder {
  color: #dc735d;
  opacity: 1;
}

.nz-row .nz-date {
  cursor: pointer;
}

/* 性别：沿用 J_sex 的 data-value/cur 机制，只换成红圈单选观感 */
.nz-sex {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  padding-left: 0.08rem;
}

.nz-sex > span {
  display: flex;
  align-items: center;
  min-height: 0.36rem;
  margin-right: 0.2rem;
  font-size: 0.16rem;
  color: #d13e20;
  cursor: pointer;
}

.nz-sex > span:last-of-type {
  margin-right: 0;
}

.nz-sex i {
  position: relative;
  display: inline-block;
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.04rem;
  border: 1px solid #c72608;
  border-radius: 50%;
}

.nz-sex > span.cur i::after {
  content: "";
  position: absolute;
  top: 0.03rem;
  right: 0.03rem;
  bottom: 0.03rem;
  left: 0.03rem;
  background: #c72608;
  border-radius: 50%;
}

.nz-sex font {
  font-size: 0.16rem;
}

/* ===== 提交按钮（呼吸动效） ===== */
.nz-submit {
  display: block;
  width: 100%;
  margin: 0.14rem auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.nz-submit img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: nzBtnBreathe 1.8s ease-in-out infinite;
}

.nz-submit:active img {
  animation: none;
  transform: scale(0.97);
}

@keyframes nzBtnBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
}

/* ===== 协议勾选 ===== */
.nz-agree {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 0.12rem;
  line-height: 1.5;
  color: #9e451d;
}

/* 自绘复选框：公共样式把 input 的 appearance 清空且无边框，原生框不可见 */
.nz-check {
  display: inline-flex;
  align-items: center;
  color: #9e451d;
  cursor: pointer;
}

.nz-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  opacity: 0;
}

.nz-check-box {
  position: relative;
  flex: none;
  display: inline-block;
  width: 0.15rem;
  height: 0.15rem;
  margin-right: 0.04rem;
  background: #fff8e9;
  border: 1px solid #ba300e;
  border-radius: 0.03rem;
}

.nz-check input:checked + .nz-check-box {
  background: #ba300e;
}

.nz-check input:checked + .nz-check-box::after {
  content: "";
  position: absolute;
  top: 0.015rem;
  left: 0.045rem;
  width: 0.05rem;
  height: 0.085rem;
  border: solid #fff;
  border-width: 0 0.02rem 0.02rem 0;
  transform: rotate(45deg);
}

.nz-check input:focus-visible + .nz-check-box {
  outline: 2px solid rgba(186, 48, 14, 0.45);
  outline-offset: 1px;
}

.nz-agree a {
  color: inherit;
  text-decoration: underline;
  word-break: break-all;
}

/* ===== 价格说明（保留原文案） ===== */
.nz-note {
  margin: 0.08rem 0 0;
  font-size: 0.12rem;
  line-height: 1.6;
  text-align: center;
  color: #a33319;
}

/* ===== 保留区：旧版页脚/侧边按钮在橙色底上的可读性微调 ===== */
.nz-page .public_footer_servers,
.nz-page .public_footer_servers a {
  color: #8a3b12;
}

.nz-page .public_footer_servers {
  padding-bottom: 0.28rem;
}

/* 侧边订单查询沿用旧组件，只在本页下移，避免压在新版主按钮上 */
.nz-body .m-order-history {
  top: 82%;
}

/* ===== 降低动态效果偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .nz-marquee,
  .nz-tag-group,
  .nz-submit img {
    animation: none;
  }
  .nz-tag-group:first-of-type {
    opacity: 1;
  }
}
