/* 用户登录弹窗 + 用户中心 */

.pc-member-auth {
  position: relative;
}

.pc-member-auth__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 28, 0.45);
  z-index: 10040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pc-member-auth__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pc-member-auth__dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(21.88vw, calc(100vw - 2.5vw));
  max-height: min(90vh, 32.29vw);
  overflow: auto;
  background: #fff;
  color: #0d0d0d;
  border-radius: 16px;
  box-shadow: 0 1.25vw 2.5vw rgba(0, 0, 0, 0.18);
  z-index: 10050;
  padding: 1.25vw 1.25vw 1.13vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pc-member-auth__dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1236px) {
  .pc-member-auth__dialog.is-open {
    width: 80vw;
  }
}

.pc-member-auth__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.13vw;
  gap: 12.00px;
}

.pc-member-auth__title {
  margin: 0;
  font-size: clamp(1.13vw, 3.5vw, 1.35vw);
  font-weight: 600;
  font-family: Exo, system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0d0d0d;
}

.pc-member-auth__close {
  border: 0;
  background: transparent;
  padding: 3.20px;
  margin: -3.20px -3.20px 0 0;
  cursor: pointer;
  line-height: 0;
  color: #9ca3af;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.pc-member-auth__close:hover {
  color: #6b7280;
  background: rgba(0, 0, 0, 0.04);
}

.pc-member-auth__field {
  margin-bottom: 1.25vw;
}

.pc-member-auth__input {
  width: 100%;
  box-sizing: border-box;
  padding: 11.20px 13.60px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15.00px;
  font-family: Exo, system-ui, sans-serif;
  color: #0d0d0d;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pc-member-auth__input::placeholder {
  color: #9ca3af;
}

.pc-member-auth__input:hover {
  border-color: #d1d5db;
}

.pc-member-auth__input:focus {
  outline: none;
  border-color: #424558;
  box-shadow: 0 0 0 3px rgba(66, 69, 88, 0.12);
}

.pc-member-auth__agree-wrap {
  margin-bottom: 1.25vw;
}

.pc-member-auth__agree {
  display: flex;
  align-items: flex-start;
  gap: 8.00px;
  cursor: pointer;
  font-size: 13.00px;
  line-height: 1.45;
  color: #4b5563;
}

.pc-member-auth__agree input {
  margin-top: 2.40px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--g-color-primary, #f5a200);
}

.pc-member-auth__agree-text {
  display: inline;
}

.pc-member-auth__agree-prefix {
  margin-right: 4.00px;
}

.pc-member-auth__agree-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.pc-member-auth__agree-link:hover {
  color: var(--g-color-primary, #f5a200);
}

.pc-member-auth__err {
  color: #b42318;
  font-size: 13.00px;
  margin: 0 0 12.00px;
  min-height: 1.67vw;
}

.pc-member-auth__submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12.48px 1.25vw;
  margin-top: 2.40px;
  background: #424558;
  color: #fff;
  font-weight: 600;
  font-size: 1.04vw;
  cursor: pointer;
  font-family: Exo, system-ui, sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.pc-member-auth__submit:hover:not(:disabled) {
  background: #424558;
}

.pc-member-auth__submit--secondary {
  background: #424558;
  color: #fff;
}



.pc-member-auth__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pc-member-auth__footer {
  margin: 1.25vw 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.pc-member-auth__footer-muted {
  color: #6b7280;
  margin-right: 6px;
}

.pc-member-auth__footer-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--g-color-primary, #f5a200);
  cursor: pointer;
  text-decoration: none;
}

.pc-member-auth__footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-member-main {
  padding-top: 2.5vw;

}

.g-member-layout {
  max-width: 50vw;
}

.g-member-page-head {
  margin-bottom: 2.5vw;
}

.g-member-page-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25vw;
}

.g-member-logout {
  border: 1px solid #cfd6e4;
  background: #fff;
  color: #111;
  padding: 7.20px 13.60px;
  border-radius: 8px;
  font-size: 13.00px;
  cursor: pointer;
}

.g-member-logout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.g-member-title {
  font-family: Exo, system-ui, sans-serif;
  font-size: clamp(1.25vw, 3vw, 2.5vw);
  margin: 0 0 6px;
}

.g-member-sub {
  margin: 0;
  color: #5c6478;
  font-size: 15.00px;
}

.g-member-section {
  margin-bottom: 2.5vw;
}

.g-member-section-title {
  font-family: Exo, system-ui, sans-serif;
  font-size: 0.94vw;
  margin: 0 0 1.25vw;
  padding-bottom: 8.00px;
  border-bottom: 1px solid #e8ebf2;
}

.g-member-table-wrap {
  border: 1px solid #e8ebf2;
  border-radius: 10px;
}

.g-member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.g-member-table th,
.g-member-table td {
  padding: 9.60px 12.00px;
  text-align: left;
  border-bottom: 1px solid #eef1f7;
}

.g-member-table th {
  background: #f8f9fc;
  font-weight: 600;
}

.g-member-table tr:last-child td {
  border-bottom: 0;
}

.g-member-empty {
  color: #6b7289;
  margin: 0;
  font-size: 15.00px;
}

.g-member-msg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25vw;
}

.g-member-msg-card {
  border: 1px solid #e8ebf2;
  border-radius: 10px;
  padding: 16.00px 0.92vw;
  background: #fff;
}

.g-member-msg-meta {
  font-size: 12.00px;
  color: #8b92a8;
  margin-bottom: 8.00px;
}

.g-member-msg-body {
  font-size: 15.00px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.g-member-msg-reply {
  margin-top: 13.60px;
  padding-top: 13.60px;
  border-top: 1px dashed #dde1ea;
}

.g-member-msg-reply-label {
  font-size: 12.00px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
}

.g-member-msg-reply-text {
  margin: 6px 0 0;
  font-size: 15.00px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.g-member-msg-reply-meta {
  margin-top: 6px;
  font-size: 11.52px;
  color: #8b92a8;
}
