

html, body {
    background: #ffffff;
    color: #333;
}

article.content {
    background: #ffffff;
    color: #333;
}
article.content > div {
    background: #ffffff !important;
    color: #333 !important;
}

.header {
    background: #ffffff;
    color: #333;
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.license-alert-banner {
    background: #fff3cd;
    border-top: 1px solid #e5e5e5;
    border-bottom: 2px solid #ffc107;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    z-index: 998;
    margin-top: 0;
}
.license-alert-banner-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.license-alert-banner-icon {
    font-size: 18px;
}
.license-alert-banner-text {
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}
.license-alert-banner-link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 2px;
    transition: background 0.2s;
}
.license-alert-banner-link:hover {
    background: rgba(33, 150, 243, 0.1);
}
.license-alert-banner-divider {
    color: #856404;
    margin: 0 10px;
}
@media (max-width: 768px) {
    .license-alert-banner-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 8px;
    }
    .license-alert-banner-text {
        font-size: 13px;
    }
    .license-alert-banner-divider {
        display: none;
    }
}
.header-container {
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
}
.logo {
    font-size: 26px;
    font-weight: 600;
    cursor: pointer;
    color: #2196F3;
    margin-right: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}
.nav-menu > li {
    position: relative;
}
.nav-menu a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 6px 12px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}
.nav-menu a:hover {
    color: #2196F3;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}
.nav-menu li.active > a {
    color: #2196F3;
    background: transparent;
    font-weight: 500;
    border-bottom: 2px solid #2196F3;
    border: none;
    outline: none;
    box-shadow: none;
}

.dropdown-arrow-icon {
    font-size: 10px;
    transition: transform 0.2s;
}
.has-dropdown:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    list-style: none;
    padding: 4px 0;
    margin: 4px 0 0 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 1000;
    border: 1px solid #e5e5e5;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}
.dropdown-menu a {
    padding: 8px 16px;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 0;
}
.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #2196F3;
    border: none;
    outline: none;
    box-shadow: none;
}
.dropdown-menu li.active a {
    color: #2196F3;
    background: transparent;
    font-weight: 500;
    border: none;
    outline: none;
    box-shadow: none;
}
.login-btn {
    background: #2196F3;
    color: white;
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-btn:hover {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}

.user-info-container {
    position: relative;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 2px;
    transition: background 0.2s;
    border: 1px solid transparent;
    height: 36px;
}
.user-info:hover {
    background: #f5f5f5;
    border-color: #e5e5e5;
}
.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    transition: border-color 0.2s;
    overflow: hidden;
}
.user-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}
.user-info:hover .user-avatar {
    border-color: #2196F3;
}
.user-name {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-text-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.user-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 1002;
    border: 1px solid #e5e5e5;
}
.user-info-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    font-size: 14px;
}
.dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.dropdown-icon svg {
    width: 100%;
    height: 100%;
    fill: #666;
    transition: fill 0.2s;
}
.dropdown-icon svg path {
    fill: currentColor;
}
.dropdown-item:hover .dropdown-icon svg {
    fill: #2196F3;
}
.dropdown-item:hover {
    background: #f5f5f5;
}
.dropdown-item.logout {
    border-top: 1px solid #e5e5e5;
}
.dropdown-item.logout:hover {
    background: #f5f5f5;
}
.dropdown-arrow {
    margin-left: 4px;
    font-size: 11px;
    transition: transform 0.2s;
}
.user-info-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}
.mobile-menu-btn:hover {
    background: #f5f5f5;
}

.auth-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.auth-modal.active {
    opacity: 1;
    visibility: visible;
}
.auth-modal-content {
    background: white;
    padding: 35px;
    border-radius: 4px;
    width: 90%;
    max-width: 420px;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.close-btn:hover {
    color: #333;
}
.auth-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 6px;
    text-align: center;
    font-weight: 500;
}
.auth-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    font-size: 13px;
}
.auth-modal .form-group {
    margin-bottom: 18px;
}
.auth-modal .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 400;
    font-size: 13px;
}
.password-input-wrapper {
    position: relative;
}
.auth-modal .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.password-input-wrapper input {
    padding-right: 40px;
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-toggle svg {
    width: 100%;
    height: 100%;
    transition: fill 0.2s;
}
.password-toggle svg path {
    fill: #999;
    transition: fill 0.2s;
}
.password-toggle:hover svg path {
    fill: #2196F3;
}
.auth-modal .form-group input:focus {
    outline: none;
    border-color: #2196F3;
}
.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}
.remember-me > div {
    display: flex;
    align-items: center;
    gap: 6px;
}
.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #2196F3;
}
.remember-me label {
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1.5;
}
#forgotPasswordLink {
    color: #2196F3;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    outline: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}
#forgotPasswordLink:hover {
    color: #1976D2;
}
#forgotPasswordLink:focus {
    outline: none;
    box-shadow: none;
}
#forgotPasswordLink:active {
    outline: none;
    box-shadow: none;
}

.forgot-password-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s;
}
.forgot-password-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
.forgot-password-content {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.forgot-password-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0 0 18px 0;
    text-align: center;
}
.forgot-password-alert {
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 2px;
    font-size: 13px;
    display: none;
}
.forgot-password-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.forgot-password-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.forgot-password-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
}
.forgot-tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}
.forgot-tab-btn:hover {
    color: #2196F3;
}
.forgot-tab-btn.active {
    color: #2196F3;
    border-bottom-color: #2196F3;
    font-weight: 500;
}
.forgot-tab-content {
    display: none;
}
.forgot-tab-content.active {
    display: block;
}
.forgot-verify-group {
    display: flex;
    gap: 8px;
    align-items: center;
}
.forgot-verify-group input {
    flex: 1;
}
.forgot-verify-group .send-code-btn {
    white-space: nowrap;
    padding: 10px 16px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 100px;
}
.forgot-verify-group .send-code-btn:hover {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}
.forgot-verify-group .send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.forgot-password-content .form-group {
    margin-bottom: 18px;
}
.forgot-password-content .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 400;
    font-size: 13px;
}
.forgot-password-content .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.forgot-password-content .form-group input:focus {
    outline: none;
    border-color: #2196F3;
}
.forgot-password-content .form-group input::placeholder {
    color: #999;
}
.forgot-password-content .password-input-wrapper {
    position: relative;
}
.forgot-password-content .password-input-wrapper input {
    padding-right: 40px;
}
.forgot-password-content .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.forgot-password-content .password-toggle:hover {
    opacity: 1;
}
.forgot-password-content .password-toggle .icon {
    width: 16px;
    height: 16px;
    fill: #666;
}
.forgot-password-content .submit-btn {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.forgot-password-content .submit-btn:hover {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}
.forgot-password-content .submit-btn:active {
    background: #1565C0;
}
.forgot-password-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.forgot-password-content .close-btn:hover {
    color: #333;
    background: #f5f5f5;
}
.captcha-group {
    display: flex;
    gap: 8px;
    align-items: center;
}
.captcha-group input {
    flex: 1;
}
.captcha-code {
    padding: 10px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #2196F3;
    text-align: center;
    min-width: 90px;
    transition: border-color 0.2s;
}
.captcha-code:hover {
    border-color: #2196F3;
    background: #ffffff;
}
.send-code-btn {
    padding: 10px 16px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
    min-width: 90px;
    font-size: 13px;
}
.send-code-btn:hover:not(:disabled) {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}
.send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    position: relative;
}
.submit-btn:hover:not(:disabled) {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.submit-btn.loading {
    color: transparent;
}
.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}
.auth-divider::before {
    left: 0;
}
.auth-divider::after {
    right: 0;
}
.auth-social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.social-login-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background: white;
    color: #333;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s;
}
.social-login-btn:hover {
    border-color: #2196F3;
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}
.phone-login-btn:hover {
    border-color: #2196F3;
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}
.qq-login-btn:hover {
    border-color: #12B7F5;
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}
.social-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}
.auth-link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
}
.auth-link:hover {
    color: #1976D2;
    text-decoration: none;
}
.auth-alert {
    padding: 10px 12px;
    border-radius: 2px;
    margin-bottom: 18px;
    font-size: 13px;
    animation: fadeInAlert 0.2s;
    display: none;
}
@keyframes fadeInAlert {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.auth-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.auth-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.auth-alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
.form-container {
    display: none;
}
.form-container.active {
    display: block;
}

.terms-text {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    line-height: 1.5;
    text-align: center;
}
.terms-link {
    color: #2196F3;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.terms-link:hover {
    color: #1976D2;
    text-decoration: none;
}

.terms-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.terms-modal.active {
    opacity: 1;
    visibility: visible;
}
.terms-modal-content {
    background: white;
    padding: 25px;
    border-radius: 4px;
    width: 90%;
    max-width: 750px;
    max-height: 80vh;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}
.terms-modal-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 500;
}
.terms-modal-body {
    flex: 1;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.terms-modal-body::-webkit-scrollbar {
    width: 6px;
}
.terms-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.terms-modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.phone-register-success-content {
    background: white;
    padding: 25px;
    border-radius: 4px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.phone-register-success-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.phone-register-success-content .close-btn:hover {
    background: #f5f5f5;
    color: #333;
}
.phone-register-success-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
    padding-right: 35px;
}
.phone-register-success-body {
    padding: 0;
}
.login-info-section {
    margin-bottom: 18px;
}
.info-title {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: 400;
}
.login-info-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 12px;
}
.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    font-size: 13px;
    color: #666;
    min-width: 70px;
}
.info-value-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.5px;
}
.info-value-text.password-text {
    color: #f44336;
}
.warning-section {
    background: #fff9e6;
    border: 1px solid #ffd700;
    border-radius: 2px;
    padding: 12px;
    margin-bottom: 20px;
}
.warning-title {
    font-size: 13px;
    font-weight: 500;
    color: #856404;
    margin: 0 0 8px 0;
}
.warning-list {
    margin: 0;
    padding-left: 18px;
    color: #856404;
    line-height: 1.6;
    font-size: 12px;
}
.warning-list li {
    margin-bottom: 6px;
}
.warning-list li:last-child {
    margin-bottom: 0;
}
.highlight-text {
    color: #f44336;
    font-weight: 500;
}
.phone-register-success-btn {
    width: 100%;
    background: #2196F3;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.phone-register-success-btn:hover {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}

.floating-service {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(20px);
    z-index: 9998;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    position: relative;
    border: 1px solid #e5e5e5;
}
.service-icon svg {
    width: 100%;
    height: 100%;
}
.service-icon:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.service-qrcode {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 12px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    border: 1px solid #e5e5e5;
}
.floating-service:hover .service-qrcode {
    opacity: 1;
    visibility: visible;
    right: 70px;
    pointer-events: auto;
}
.qrcode-content {
    text-align: center;
    min-width: 180px;
}
.qrcode-content img {
    width: 160px;
    height: 160px;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
}
.qrcode-tip {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.license-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    animation: fadeIn 0.2s;
    justify-content: center;
    align-items: center;
}
.license-alert-modal.active {
    display: flex;
}
.license-alert-content {
    background: white;
    padding: 35px;
    border-radius: 4px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideDown 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.license-alert-icon {
    font-size: 50px;
    margin-bottom: 18px;
}
.license-alert-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}
.license-alert-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}
.license-alert-wechat {
    font-size: 16px;
    color: #07C160;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px;
    background: #f0f9ff;
    border-radius: 2px;
    display: inline-block;
}

.mobile-user-info {
    display: none;
}
.mobile-controls {
    display: none;
}
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
        position: fixed;
        width: 100%;
    }
    body {
        padding-top: 60px;
    }
    .header-container {
        padding: 0 5%;
        gap: 6px;
    }
    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 4px;
    }
    .mobile-user-info {
        display: block !important;
    }
    .logo {
        font-size: 22px;
    }
    .logo img {
        max-height: 50px !important;
        max-width: 120px !important;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-top: none;
        flex-direction: column;
        padding: 15px;
        gap: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 4px 0 0 12px;
        padding: 4px 0;
        background: #f5f5f5;
        border-radius: 2px;
        display: none;
    }
    .dropdown-menu {
        display: block !important;
    }
    .dropdown-arrow-icon {
        margin-left: auto;
    }
    .has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
    .mobile-menu-btn {
        display: block;
        font-size: 22px;
        padding: 6px 8px;
        background: none;
        border: none;
        color: #333;
        cursor: pointer;
        transition: background 0.2s;
    }
    .mobile-menu-btn:hover {
        background: #f5f5f5;
    }
    .mobile-login-btn {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
        margin-left: 0;
    }
    .login-btn {
        display: none;
    }
    .mobile-login-btn {
        display: block;
    }
    .desktop-user-info {
        display: none;
    }
    .mobile-user-info {
        position: relative;
    }
    .mobile-user-info .user-info {
        padding: 4px 8px;
        height: 32px;
        gap: 6px;
    }
    .mobile-user-info .user-avatar {
        width: 22px;
        height: 22px;
    }
    .mobile-user-info .user-name {
        font-size: 12px;
        max-width: 55px;
    }
    .mobile-user-info .user-badge {
        font-size: 9px;
        padding: 1px 4px;
        line-height: 1.2;
    }
    .mobile-user-info .dropdown-arrow {
        font-size: 9px;
        margin-left: 3px;
    }
    .mobile-user-info .user-text-info {
        gap: 1px;
    }
    
    .mobile-user-info .user-dropdown {
        right: 0;
        min-width: 130px;
        top: calc(100% + 6px);
    }
    .mobile-user-info .dropdown-item {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .auth-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        margin: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .auth-title {
        font-size: 20px;
    }
    .auth-modal .form-group input {
        padding: 12px;
        font-size: 16px;
    }
    .password-input-wrapper input {
        padding-right: 45px;
    }
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .forgot-password-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        margin: 15px;
    }
    .forgot-password-title {
        font-size: 18px;
    }
    .forgot-password-tabs {
        margin-bottom: 12px;
    }
    .forgot-tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    .forgot-verify-group {
        flex-direction: column;
        gap: 8px;
    }
    .forgot-verify-group .send-code-btn {
        width: 100%;
    }
    .captcha-group {
        flex-direction: column;
        gap: 10px;
    }
    .captcha-code {
        width: 100%;
        text-align: center;
    }
    
    .floating-service {
        position: fixed;
        right: 12px;
        bottom: 70px;
        top: auto;
        transform: none;
    }
    .service-icon {
        width: 45px;
        height: 45px;
    }
    .service-qrcode {
        right: 55px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }
    .floating-service:hover .service-qrcode {
        right: 60px;
    }
    .qrcode-content {
        min-width: 150px;
    }
    .qrcode-content img {
        width: 140px;
        height: 140px;
    }
    
    .license-alert-content {
        width: 95%;
        max-width: 95%;
        padding: 25px 15px;
        margin: 15px;
    }
    .license-alert-title {
        font-size: 18px;
    }
    .license-alert-message {
        font-size: 13px;
    }
    .license-alert-wechat {
        font-size: 14px;
    }
}

.header-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.header-search-btn svg {
    width: 16px;
    height: 16px;
    color: #666;
    fill: none;
    stroke: currentColor;
}
.header-search-btn:hover {
    background: #f0f7ff;
    border-color: #2196F3;
    box-shadow: none;
    transform: none;
}
.header-search-btn:hover svg {
    color: #2196F3;
}

.global-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    backdrop-filter: none;
}
.global-search-modal.active {
    display: flex;
}
.global-search-content {
    width: 96%;
    max-width: 720px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 25px;
    box-sizing: border-box;
    animation: slideDown 0.2s;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}
.global-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.global-search-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}
.global-search-close {
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.global-search-close:hover {
    background: #f5f5f5;
    color: #333;
}
.global-search-input-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}
.global-search-input {
    flex: 1;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
    color: #333;
}
.global-search-input:focus {
    border-color: #2196F3;
    box-shadow: none;
}
.global-search-input::placeholder {
    color: #999;
}
.global-search-btn {
    border: none;
    border-radius: 2px;
    padding: 10px 20px;
    background: #2196F3;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    transition: background 0.2s;
    align-self: center;
}
.global-search-btn:hover {
    background: #1976D2;
    transform: none;
    box-shadow: none;
}
.global-search-btn svg {
    width: 16px;
    height: 16px;
}
.global-search-notice {
    margin-top: 12px;
    font-size: 12px;
    color: #999;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 768px) {
    .header-search-btn {
        width: 28px;
        height: 28px;
    }
    .header-search-btn svg {
        width: 14px;
        height: 14px;
    }
    .global-search-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 18px;
    }
    .global-search-title {
        font-size: 16px;
    }
    .global-search-input {
        padding: 12px;
        font-size: 16px;
    }
    .global-search-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

.my-authorized-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.my-authorized-modal.active {
    display: flex;
}
.my-authorized-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
}
.my-authorized-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    animation: fadeInScale 0.2s ease;
    z-index: 10001;
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.my-authorized-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.my-authorized-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}
.my-authorized-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    border-radius: 2px;
}
.my-authorized-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}
.my-authorized-modal-tip {
    padding: 12px 25px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.my-authorized-modal-tip-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}
.my-authorized-modal-tip-text::before {
    content: '💡';
    font-size: 14px;
    flex-shrink: 0;
}
.my-authorized-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.my-authorized-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.my-authorized-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    background: #ffffff;
    transition: border-color 0.2s, background 0.2s;
}
.my-authorized-item:hover {
    border-color: #2196F3;
    background: #f9fbff;
}
.my-authorized-item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.my-authorized-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my-authorized-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.my-authorized-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}
.my-authorized-item-description {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.my-authorized-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.my-authorized-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #f44336;
}
.my-authorized-download-btn {
    padding: 8px 18px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}
.my-authorized-download-btn:hover {
    background: #1976D2;
}
.my-authorized-no-download {
    font-size: 13px;
    color: #999;
    padding: 8px 18px;
}
@media (max-width: 768px) {
    .my-authorized-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    .my-authorized-modal-header {
        padding: 18px 20px;
    }
    .my-authorized-modal-body {
        padding: 18px 20px;
    }
    .my-authorized-item {
        flex-direction: column;
    }
    .my-authorized-item-image {
        width: 100%;
        height: 200px;
    }
}
