/* KIWI 子站通用登录/注册弹窗样式(配合 kiwi-auth.js,所有 class 均以 kiwi-auth- 开头,不污染子站样式) */ .kiwi-auth-overlay { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, 0.55); box-sizing: border-box; } .kiwi-auth-overlay.open { display: flex; } .kiwi-auth-modal { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; background: #fff; color: #111827; border-radius: 16px; padding: 24px 24px 20px; box-sizing: border-box; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); font-family: inherit; text-align: left; } .kiwi-auth-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: none; border-radius: 50%; background: #f3f4f6; color: #374151; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; } .kiwi-auth-close:hover { background: #e5e7eb; } .kiwi-auth-title { margin: 0 32px 6px 0; font-size: 20px; font-weight: 800; color: #111827; } .kiwi-auth-hint { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: #6b7280; } .kiwi-auth-tabs { display: flex; gap: 8px; margin-bottom: 16px; } .kiwi-auth-tabs button { flex: 1; padding: 9px 0; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; color: #374151; font-size: 14px; font-weight: 700; cursor: pointer; } .kiwi-auth-tabs button[aria-selected="true"] { background: #2563eb; border-color: #2563eb; color: #fff; } .kiwi-auth-field { margin-bottom: 12px; } .kiwi-auth-field label { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 700; color: #374151; } .kiwi-auth-field input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; color: #111827; background: #fff; box-sizing: border-box; outline: none; } .kiwi-auth-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); } .kiwi-auth-field input[aria-invalid="true"] { border-color: #dc2626; } .kiwi-auth-code-row { display: flex; gap: 8px; } .kiwi-auth-code-row input { flex: 1; min-width: 0; } .kiwi-auth-code-row button { flex: none; padding: 0 14px; border: 1px solid #2563eb; border-radius: 10px; background: #eff6ff; color: #2563eb; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; } .kiwi-auth-code-row button:disabled { opacity: 0.55; cursor: default; } .kiwi-auth-err { display: none; margin: 5px 0 0; font-size: 12.5px; line-height: 1.5; color: #dc2626; } .kiwi-auth-err.show { display: block; } .kiwi-auth-general { margin: 0 0 12px; } .kiwi-auth-submit { width: 100%; padding: 12px 0; border: none; border-radius: 10px; background: #2563eb; color: #fff; font-size: 15.5px; font-weight: 800; cursor: pointer; } .kiwi-auth-submit:disabled { opacity: 0.6; cursor: default; } .kiwi-auth-fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: #9ca3af; }