.wechat-login-body { text-align: center; }
.wechat-login-modal .wechat-login-intro { margin: 8px 0 14px; color: #69756e; font-size: 12px; line-height: 1.7; text-align: center; text-wrap: balance; }
.wechat-login-viewport { position: relative; width: 300px; max-width: 100%; height: 440px; margin: 0 auto; overflow: hidden; }
.wechat-login-viewport:has(> [hidden]) { display: none; }
.wechat-login-frame { display: block; width: 300px; max-width: none; height: 440px; margin: 0; border: 0; background: white; }
.wechat-login-viewport > .wechat-login-frame { position: absolute; top: 0; left: 0; transform-origin: top left; }
.wechat-login-state { margin: 13px 0; color: #526859; font-size: 12px; line-height: 1.7; text-align: center; }
.wechat-login-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0; }
.wechat-login-actions button, .wechat-login-actions a { border: 0; padding: 4px 0; background: none; color: #278344; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.wechat-login-legal { margin: 16px 0 0; color: #8a938d; font-size: 10px; line-height: 1.8; text-align: center; }
.wechat-login-legal a { color: inherit; }
.login-modal.wechat-login-modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.wechat-login-modal h2 { text-align: center; }
.wechat-login-modal .modal-symbol { margin-left: auto; margin-right: auto; color: #07a64a; background: #ecf9ef; }
.wechat-login-modal [hidden] { display: none !important; }
.phone-login-form { display: grid; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e4e9e6; text-align: left; }
.phone-login-form h3 { margin: 0; font-size: 16px; }
.phone-login-form label { display: grid; gap: 6px; margin: 0; font-size: 13px; }
.phone-login-form input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #d8e1dc; border-radius: 8px; padding: 10px; font: inherit; }
.phone-code-row { display: flex; gap: 8px; }
.phone-code-row input { flex: 1; width: 0; }
.phone-login-form button { flex-shrink: 0; border: 1px solid #d8e1dc; border-radius: 8px; background: #fff; padding: 10px; font: inherit; font-size: 12px; cursor: pointer; }
.phone-login-form .phone-login-submit { color: #fff; background: #278344; border-color: #278344; }
.phone-login-form button:disabled { opacity: .6; cursor: wait; }
.phone-login-form [data-phone-status], .phone-login-notice { margin: 0; color: #69756e; font-size: 12px; line-height: 1.7; }
.phone-login-form [data-phone-status]:empty { display: none; }
.reviewer-login { margin-top: 16px; text-align: left; color: #69756e; font-size: 12px; }
.reviewer-login summary { cursor: pointer; padding: 8px 0; }
.reviewer-login-form { margin-top: 4px; padding-top: 12px; }
.reviewer-login-form p { margin: 0; font-size: 12px; line-height: 1.7; }
.reviewer-login-form [data-reviewer-status]:empty { display: none; }
.wechat-login-modal[data-wechat-mode="quick"] .wechat-login-actions,
.wechat-login-modal[data-wechat-mode="quick"] .wechat-login-legal,
.wechat-login-modal[data-wechat-mode="quick"][data-wechat-status="waiting"] .wechat-login-state { display: none; }
