/* ===== Email Auth Modal - 统一深色主题 ===== */
.gsxq-auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    padding: 20px;
}
.gsxq-auth-modal.show { display: flex; }
.gsxq-auth-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: gsxqAuthSlideIn 0.3s ease;
}
@keyframes gsxqAuthSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.gsxq-auth-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.gsxq-auth-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.gsxq-auth-header {
    padding: 24px 24px 0;
    text-align: center;
}
.gsxq-auth-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}
.gsxq-auth-body { padding: 20px 24px 24px; }
.gsxq-auth-group { margin-bottom: 16px; }
.gsxq-auth-group label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gsxq-auth-input {
    width: 100%;
    padding: 12px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s;
}
.gsxq-auth-input:focus {
    outline: none;
    border-color: #4f94d4;
    background: #1e1e1e;
}
.gsxq-auth-input::placeholder { color: #666; }
.gsxq-auth-code-row {
    display: flex;
    gap: 10px;
}
.gsxq-auth-code-row .gsxq-auth-input { flex: 1; }
.gsxq-auth-code-btn {
    padding: 0 16px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.gsxq-auth-code-btn:hover:not(:disabled) { background: #333; border-color: #4f94d4; }
.gsxq-auth-code-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.gsxq-auth-remember {
    margin-bottom: 16px;
}
.gsxq-auth-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
}
.gsxq-auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4f94d4;
}
.gsxq-auth-msg {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
}
.gsxq-auth-msg.show { display: block; }
.gsxq-auth-msg.error {
    background: rgba(239,83,80,0.1);
    color: #ef5350;
    border: 1px solid rgba(239,83,80,0.2);
}
.gsxq-auth-msg.success {
    background: rgba(76,175,80,0.1);
    color: #66bb6a;
    border: 1px solid rgba(76,175,80,0.2);
}
.gsxq-auth-submit {
    width: 100%;
    padding: 14px;
    background: #4f94d4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.gsxq-auth-submit:hover:not(:disabled) { background: #3d7bc0; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,148,212,0.25); }
.gsxq-auth-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.gsxq-auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #333;
}
.gsxq-auth-links a {
    color: #4f94d4;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.gsxq-auth-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
    .gsxq-auth-box { max-width: 100%; }
    .gsxq-auth-body { padding: 16px 20px 20px; }
}