@charset "utf-8";
/* H5 登录弹窗与协议阅读样式（20261201 新版 UI） */

.pg26-auth-mask {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(25, 31, 41, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pg26-auth-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.pg26-auth-mask *,
.pg26-legal-mask * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.pg26-auth-sheet {
  width: 100%;
  max-width: 500px;
  max-height: 92dvh;
  background: #ffffff;
  color: #292c32;
  border-radius: 18px 18px 0 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 24px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(20px);
  transition: transform 0.22s ease;
}

.pg26-auth-mask.is-open .pg26-auth-sheet {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .pg26-auth-mask {
    align-items: center;
    padding: 20px;
  }
  .pg26-auth-sheet {
    border-radius: 16px;
    max-width: 420px;
    padding: 16px 28px 28px;
  }
}

.pg26-auth-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 -10px 4px;
}

.pg26-auth-close {
  border: 0;
  background: none;
  color: #7c8491;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pg26-auth-title {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 6px;
  color: #292c32;
}

.pg26-auth-intro {
  font-size: 13px;
  line-height: 1.55;
  color: #7c8491;
  margin: 0 0 20px;
}

.pg26-auth-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f2f5;
}

.pg26-auth-tabs button {
  position: relative;
  min-height: 44px;
  border: 0;
  background: none;
  padding: 0 0 10px;
  font-size: 16px;
  color: #7c8491;
  cursor: pointer;
  font-family: inherit;
}

.pg26-auth-tabs button[aria-selected="true"] {
  color: var(--brand-primary, #f36b21);
  font-weight: 500;
}

.pg26-auth-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-primary, #f36b21);
  border-radius: 2px;
}

.pg26-auth-label {
  display: block;
  font-size: 13px;
  color: #626b78;
  margin: 0 0 6px;
}

.pg26-auth-field {
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8ebef;
  margin-bottom: 16px;
  gap: 10px;
}

.pg26-auth-field:focus-within {
  border-bottom-color: var(--brand-primary, #f36b21);
}

.pg26-auth-prefix {
  font-size: 15px;
  color: #292c32;
  padding-right: 10px;
  border-right: 1px solid #e8ebef;
  flex: none;
}

.pg26-auth-field input {
  width: 0;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 10px 0;
  font-size: 16px;
  color: #292c32;
  background: transparent;
  font-family: inherit;
}

.pg26-auth-field input::placeholder {
  color: #a1a7b0;
  font-size: 15px;
}

.pg26-auth-field-btn {
  border: 0;
  background: none;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  color: var(--brand-primary, #f36b21);
  cursor: pointer;
  flex: none;
  font-family: inherit;
}

.pg26-auth-field-btn:disabled {
  color: #9ba2ab;
  cursor: default;
}

.pg26-auth-clear {
  color: #9ba2ab;
  font-size: 22px;
  min-width: 36px;
}

.pg26-auth-field-tip {
  font-size: 12px;
  line-height: 1.5;
  margin: -10px 0 12px;
  min-height: 0;
}

.pg26-auth-field-tip.is-err {
  color: #c44028;
}

.pg26-auth-field-tip.is-ok {
  color: #1f8b4c;
}

.pg26-auth-recover-row {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 10px;
}

.pg26-auth-recover {
  font-size: 13px;
  color: #7c8491;
  text-decoration: none;
  padding: 4px 0;
}

.pg26-auth-error {
  color: #c44028;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
  min-height: 18px;
}

.pg26-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
}

.pg26-auth-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--brand-primary, #f36b21);
  cursor: pointer;
}

.pg26-auth-consent p {
  font-size: 12px;
  line-height: 1.75;
  color: #7c8491;
  margin: 0;
}

.pg26-auth-consent a {
  color: #ac4915;
  text-decoration: none;
}

.pg26-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-primary, #f36b21);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.pg26-auth-submit:active {
  background: var(--brand-primary-pressed, #d95712);
}

.pg26-auth-submit:disabled,
.pg26-auth-submit.is-loading {
  opacity: 0.6;
  cursor: default;
}

.pg26-auth-sms-help {
  text-align: center;
  color: #8c949f;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.pg26-auth-third {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f2f5;
}

.pg26-auth-third p {
  color: #8c949f;
  font-size: 12px;
  margin: 0 0 10px;
}

.pg26-auth-wx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  color: #56616d;
  font-size: 14px;
  text-decoration: none;
}

.pg26-auth-wx svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  stroke: #389b60;
  stroke-width: 1.5;
}

.pg26-auth-wx svg circle {
  fill: #389b60;
  stroke: none;
}

.pg26-auth-back-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #7c8491;
  background: none;
  border: 0;
  width: 100%;
  min-height: 36px;
  cursor: pointer;
  font-family: inherit;
}

/* 协议阅读弹窗 */
.pg26-legal-mask {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(25, 31, 41, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

.pg26-legal-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.pg26-legal-sheet {
  width: 100%;
  max-width: 750px;
  height: 88dvh;
  background: #ffffff;
  color: #292c32;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pg26-legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #e8ebef;
  flex: none;
}

.pg26-legal-head strong {
  font-size: 16px;
  font-weight: 600;
  color: #292c32;
}

.pg26-legal-close {
  border: 0;
  background: none;
  font-size: 28px;
  min-width: 44px;
  min-height: 44px;
  color: #7c8491;
  cursor: pointer;
}

.pg26-legal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
  font-size: 14px;
  line-height: 1.85;
  color: #292c32;
  overflow-wrap: anywhere;
}

.pg26-legal-body h1,
.pg26-legal-body h2,
.pg26-legal-body h3,
.pg26-legal-body h4 {
  font-size: 16px;
  line-height: 1.5;
  margin: 1.2em 0 0.6em;
  color: #292c32;
}

.pg26-legal-body p {
  margin: 0 0 0.9em;
}

.pg26-legal-source {
  font-size: 12px;
  color: #7c8491;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}

.pg26-legal-source a {
  color: #ac4915;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pg26-legal-loading {
  text-align: center;
  color: #7c8491;
  padding: 40px 0;
}

/* Toast 提示 */
.pg26-auth-toast {
  position: fixed;
  bottom: calc(36px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 42, 49, 0.94);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 8px;
  max-width: 88vw;
  width: max-content;
  font-size: 14px;
  line-height: 1.5;
  z-index: 9800;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

.pg26-auth-toast.is-success {
  top: 45%;
  bottom: auto;
  transform: translate(-50%, -50%);
  font-size: 15px;
  padding: 14px 22px;
}
