.picker {
  display: none;
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  font-family:
    PingFang SC,
    STHeitiSC-Light,
    Helvetica-Light,
    arial,
    sans-serif;
  font-size: 14px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.picker .picker-mask {
  position: absolute;
  z-index: 500;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  background: transparent;
  opacity: 0;
}

.picker .picker-mask.show {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}

.picker .picker-panel {
  position: absolute;
  z-index: 600;
  bottom: 0;
  width: 100%;
  height: 243px;
  background: #fff;
  transform: translateY(243px);
  -webkit-transform: translateY(243px);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.picker .picker-panel.show {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

.picker .picker-panel .picker-choose {
  position: relative;
  height: 50px;
  color: #878787;
  font-size: 14px;
}

.picker .picker-panel .picker-choose .picker-title {
  line-height: 50px;
  font-size: 19px;
  text-align: center;
  color: #333;
}

.picker .picker-panel .picker-choose .cancel,
.picker .picker-panel .picker-choose .confirm {
  position: absolute;
  padding: 10px;
  top: 6px;
}

.picker .picker-panel .picker-choose .confirm {
  right: 10px;
  color: #fa8919;
}

.picker .picker-panel .picker-choose .cancel {
  left: 0;
}

.picker .picker-panel .picker-content {
  position: relative;
}

.picker .picker-panel .picker-content .mask-bottom,
.picker .picker-panel .picker-content .mask-top {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 68px;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.picker .picker-panel .picker-content .mask-top {
  top: 0;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(hsla(0, 0%, 100%, 0.4)),
    to(hsla(0, 0%, 100%, 0.8))
  );
  background: -o-linear-gradient(
    bottom,
    hsla(0, 0%, 100%, 0.4),
    hsla(0, 0%, 100%, 0.8)
  );
}

.picker .picker-panel .picker-content .mask-top:after,
.picker .picker-panel .picker-content .mask-top:before {
  display: block;
  position: absolute;
  border-top: 1px solid #ccc;
  left: 0;
  width: 100%;
  content: " ";
}

.picker .picker-panel .picker-content .mask-top:before {
  display: none;
  top: 0;
}

.picker .picker-panel .picker-content .mask-top:after {
  display: block;
  bottom: 0;
}

.picker .picker-panel .picker-content .mask-bottom {
  bottom: 0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(hsla(0, 0%, 100%, 0.4)),
    to(hsla(0, 0%, 100%, 0.8))
  );
  background: -o-linear-gradient(
    top,
    hsla(0, 0%, 100%, 0.4),
    hsla(0, 0%, 100%, 0.8)
  );
}

.picker .picker-panel .picker-content .mask-bottom:after,
.picker .picker-panel .picker-content .mask-bottom:before {
  display: block;
  position: absolute;
  border-top: 1px solid #ccc;
  left: 0;
  width: 100%;
  content: " ";
}

.picker .picker-panel .picker-content .mask-bottom:before {
  display: block;
  top: 0;
}

.picker .picker-panel .picker-content .mask-bottom:after {
  display: none;
  bottom: 0;
}

.picker .picker-panel .wheel-wrapper {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  padding: 0 10px;
}

.picker .picker-panel .wheel-wrapper .wheel {
  -ms-flex: 1 1 1e-9px;
  -webkit-box-flex: 1;
  flex: 1;
  flex-basis: 1e-9px;
  width: 1%;
  height: 173px;
  overflow: hidden;
  font-size: 21px;
}

.picker .picker-panel .wheel-wrapper .wheel .wheel-scroll {
  margin-top: 68px;
  line-height: 36px;
}

.picker .picker-panel .wheel-wrapper .wheel .wheel-scroll .wheel-item {
  height: 36px;
  overflow: hidden;
  white-space: nowrap;
  color: #333;
}

.picker .picker-footer {
  height: 20px;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) {
  .border-1px:after,
  .border-1px:before {
    -webkit-transform: scaleY(0.7);
    -webkit-transform-origin: 0 0;
    transform: scaleY(0.7);
  }

  .border-1px:after {
    -webkit-transform-origin: left bottom;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
  .border-1px:after,
  .border-1px:before {
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
}

.aui-list,
.aui-list-item-input,
.aui-list-item-input label,
.aui-switch,
.aui-radio,
.aui-btn {
  cursor: pointer;
}

.aui-list .aui-list-item-label,
.aui-list .aui-list-item-label-icon {
  min-width: 1rem;
  padding-right: 0rem;
}

.aui-list .aui-form-list .aui-list-item-btn {
  padding: 0;
}

.dwi {
  margin: 0;
}

.android-ics .dwwr {
  margin-top: 3px;
}

.android-ics .dwc {
  padding: 0;
}

.dwl {
  width: 0;
  top: 39px;
  left: 48px;
  font-size: 15px;
  color: #000;
}

.android-ics.light .dw {
  background: rgba(255, 255, 255, 0);
}

.dwwl0 .dwl {
  left: 50px;
}

.android-ics .dw .dwwol {
  border-top: 2px solid #778899;
  border-bottom: 2px solid #778899;
}

.aui-form-list {
  margin: 2% 4%;
  padding: 0.3rem;
  background: transparent;
  border-radius: 0.25rem;
}

.aui-list .aui-list-item {
  border: 1px solid #c5ad76;
  border-radius: 0.45rem;
  padding: 0.1rem 0.2rem;
  margin: 2% 0;
}
.aui-list .aui-list-item-label {
  color: #583d12;
  padding-right: 5%;
  font-weight: 600;
}
.aui-radio:checked,
.aui-radio.aui-checked,
.aui-checkbox:checked,
.aui-checkbox.aui-checked {
  background: #ba862f;
  border: solid 1px #ba862f;
  text-align: center;
  background-clip: padding-box;
}

/* new */
body {
  background-image: url(/assets/smts/page1_bg-5d1132058c26d70065be9ea21c2062fbc5942fb4abba002cd93a55432c3902f7.png) !important;
  background-size: cover !important;
  background-repeat: no-repeat;
}

.site-title.user_area.with_bg {
  background: unset !important;
}
.button {
  background-image: url(/assets/zwds/new_button-1f1695b57ad434d2d725a329b2e853088c1b8f32f32efb38e63ef278a8dfccd5.png) !important;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center;
}

.zwpp_new {
  margin-top: 15px;
  .info {
    background-color: white;
    border: 15px solid #31edac;
    border-radius: 10px;
    margin: 0px 15px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .element {
      display: flex;
      justify-content: space-between;
      margin: 0 10px;
      padding: 10px;
      border: 4px double #efecbb !important;
      margin-bottom: 10px;
      .title {
        color: #999999;
      }
      @media (max-width: 400px) {
        input {
          font-size: inherit;
        }
      }
    }
    .date-element {
      margin: 0 10px;
      padding: 10px;
      border: 4px double #efecbb !important;
      margin-bottom: 10px;
      .title {
        color: #999999;
        margin-bottom: 10px;
      }
    }
    div {
      span {
        display: inline-block;
        width: 30px;
        height: 30px;
        color: #999999;
        border: 1px solid #999999;
        border-radius: 50%;
      }
      @media (max-width: 400px) {
        span {
          width: 25px;
          height: 25px;
        }
      }

      input[type="radio"]:checked + span {
        background-color: #31edac;
        border: 1px solid #fbe079;
        border: unset;
        color: #000;
      }
      input[type="radio"]:checked + span.plus {
        background-color: #fbe079;
        border: 1px solid #fbe079;
        border: unset;
        color: #000;
      }
      .aui-radio:checked {
        background: #31edac;
      }
      .aui-radio.plus:checked {
        background: #fbe079;
      }
      .aui-radio:after {
        content: "";
        width: 0.2rem;
        height: 0.1rem;
        position: absolute;
        top: 90%;
        left: 90%;
        margin-left: -0.25rem;
        margin-top: -0.25rem;
        background: transparent;
        border: 1px solid #000;
        border-top: none;
        border-right: none;
        z-index: 2;
        -webkit-border-radius: 0;
        border-radius: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
      }
    }
  }
  ul {
    background-color: white;
    padding: unset;
    border: 10px solid #31edac;
    .new {
      border: 4px double #efecbb !important;
    }
    .new_big {
      border: 4px double #efecbb !important;
    }
  }
  .zwds_title {
    text-align: center;
    color: #583d12;
    font-size: 0.35rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    img {
      display: inline-block;
      margin-bottom: 10px;
    }
  }
}
@media (max-width: 400px) {
  .zwpp_new {
    font-size: 16px;
  }
}

/* 排盘历史页：玻璃卡片列表（参考 list.html） */
.zwds-history-page {
  --gold: #ffd700;
  --glass-border: rgba(255, 255, 255, 0.25);
  --card-bg: rgba(0, 0, 0, 0.35);
  --btn-grad: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.zwds-history-page .nav-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.zwds-history-page .nav-bar .back-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.8;
}

.zwds-history-page .nav-bar .page-title {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.zwds-history-page .list-container {
  flex: 1;
  padding: 15px 15px 100px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes borderPulse {
  0% {
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    border-color: rgba(255, 215, 0, 0.4);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.2);
  }
}

.zwds-history-page .history-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation:
    cardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both,
    borderPulse 4s infinite;
}

.zwds-history-page .history-card:nth-child(n + 2) {
  animation-delay: 0.15s;
}

.zwds-history-page .record-info {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  margin-bottom: 20px;
}

.zwds-history-page .info-item {
  font-size: 14px;
  line-height: 1.6;
}

.zwds-history-page .info-label {
  color: var(--gold);
  opacity: 0.85;
  margin-right: 8px;
  font-weight: 500;
}

.zwds-history-page .info-value {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.zwds-history-page .card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.zwds-history-page .action-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--btn-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.zwds-history-page .action-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.2);
}

.zwds-history-page .action-btn.delete {
  border-color: rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.zwds-history-page .action-btn.delete:active {
  background: rgba(255, 77, 77, 0.3);
  color: #fff;
}

.zwds-history-page .fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 0 calc(15px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  text-align: center;
  z-index: 50;
  pointer-events: none;
}

.zwds-history-page .copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.zwds-history-page .list-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.notice-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 215, 0, 0.95);
  border-bottom: 2px solid #ffd700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  .notice-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    .notice-text {
      flex: 1;
      text-align: center;
      font-weight: bold;
    }

    .notice-close {
      cursor: pointer;
      font-size: 20px;
      font-weight: bold;
      color: #666;
      padding: 0 5px;
      margin-left: 10px;
    }

    .notice-close:hover {
      color: #333;
    }
  }
}

/* 排盘表单页：玻璃面板（参考 index (1).html） */
.zwds-new-plus-page {
  --gold: #ffd700;
  --glass-border: rgba(255, 255, 255, 0.4);
  --input-bg: rgba(0, 0, 0, 0.4);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: 20px 0 80px;
  box-sizing: border-box;
}

.zwds-new-plus-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, transparent 10%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes borderFlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.6),
      inset 0 0 10px rgba(255, 255, 255, 0.05);
  }
  50% {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.6),
      inset 0 0 20px rgba(255, 215, 0, 0.1);
  }
}
.zwds-new-plus-page {
  .zwds-new-plus-form {
    display: flex;
    justify-content: center;
  }

  .glass-panel {
    position: relative;
    width: 88%;
    max-width: 350px;
    padding: 24px 20px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    z-index: 10;
    overflow: visible;
    animation:
      panelIn 1s cubic-bezier(0.16, 1, 0.3, 1) both,
      borderFlow 6s infinite;
  }
  .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }

  .back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
  }

  .panel-title {
    color: #fff;
    font-size: 20px;
    letter-spacing: 6px;
    font-weight: 600;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    margin: 0;
  }

  .query-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    min-width: 40px;
    text-align: right;
  }

  .input-wrap {
    margin-bottom: 24px;
  }

  .input-wrap label {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  }

  .input-field {
    width: 100%;
    height: 50px;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
  }

  .input-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }

  .input-field:focus {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  }

  .gender-selector {
    display: flex;
    background: var(--input-bg);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .gender-item {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
  }

  .gender-item.active {
    background: #fff;
    color: #8a6d3b;
    font-weight: bold;
  }

  @keyframes glow {
    0%,
    100% {
      box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    }
    50% {
      box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
    }
  }

  .submit-btn {
    width: 100%;
    height: 56px;
    margin-top: 16px;
    background: linear-gradient(90deg, #ffd700, #f2c94c);
    border: none;
    color: #5c4a26;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 6px;
    border-radius: 50px;
    animation: glow 3s infinite;
    cursor: pointer;
  }

  .submit-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
  }

  .history-btn-wrap {
    margin-top: 25px;
    z-index: 10;
  }

  .history-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
  }

  .history-btn:active {
    background: rgba(255, 255, 255, 0.2);
  }

  .history-btn svg {
    margin-right: 6px;
  }

  .copyright {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 2px;
    z-index: 5;
  }
}
