       * {margin: 0;padding: 0;box-sizing: border-box;}
        body { 
            font-family: "Microsoft Yahei", Arial, sans-serif; 
            margin: 0 auto; 
            color: #333; 
            line-height: 1.6;
            background-color: #f9f9f9;
            padding: 0;
        }
        
        /* 页头样式 */
        .header {
            background: #fff;
            border-bottom: 1px solid #eee;
            position: relative;
            z-index: 999;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }
        .octive{
            background: #2896F0;
            padding: 6px 10px; 
            border-radius: 5px;
        }
        .menu-btn {
            width: 30px;
            height: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            cursor: pointer;
            display: none;
        }
        .menu-btn span {
            width: 100%;
            height: 3px;
            background: #333;
            border-radius: 2px;
        }
        .header-title {
            font-size: 22px;
            color: #333;
            text-align: center;
            flex: 1;
            margin: 0 20px;
        }
        .nav-bar {
            background: #2175d9;
            padding: 12px 20px;
        }
        .nav-list {
            list-style: none;
            display: flex;
            gap: 5px;
            justify-content: flex-start;
            max-width: 939.9px;
            margin: 0 auto;
        }
        .nav-list li a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            padding: 6px 10px; 
        }
        .nav-list li a:hover {
           background: #2896F0;
           padding: 6px 10px; 
           border-radius: 5px; 
        }
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -280px;
            width: 280px;
            height: 100vh;
            background: #fff;
            box-shadow: 2px 0 10px rgba(0,0,0,0.2);
            padding-top: 70px;
            transition: left 0.3s ease;
            z-index: 9999;
        }
        .mobile-menu.active {
            left: 0;
        }
        .mobile-nav-list {
            list-style: none;
            padding: 0 20px;
        }
        .mobile-nav-list li {
            border-bottom: 1px solid #eee;
        }
        .mobile-nav-list li a {
            display: block;
            padding: 15px 0;
            color: #333;
            text-decoration: none;
            font-size: 16px;
        }
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 9998;
        }
        .overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
 
        #main_container {
            max-width: 940px;
            margin: 0 auto;
 
        }
        
 
        .password-generator {
            background: #fff;
            margin: 15px 0;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #eee;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .generator-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: #2175d9;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
 
        .options-section {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 25px;
            align-items: center;
        }
        .option-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .length-select {
            height: 38px;
            padding: 0 10px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            min-width: 60px;
        }
        .checkbox-label {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        .symbol-input {
            height: 31px;
            padding: 0 6px;
            border: 1px solid #ced4da;
            border-radius: 5px;
            flex: 1;
            width: 82px;
        }
        .symbol-input:disabled {
            background-color: #e9ecef;
            cursor: not-allowed;
        }
        /* 排除字符选项样式 */
        .exclude-chars-tip {
            color: #d9534f;
            font-size: 12px;
            margin-left: 5px;
        }
        
        /* 按钮样式 */
        .btn {
            display: inline-block;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 400;
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            cursor: pointer;
            background-image: none;
            border: 1px solid transparent;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .btn-primary {
            color: #fff;
            background-color: #2175d9;
            border-color: #1e69c3;
        }
        .btn-primary:hover {
            background-color: #1e69c3;
            border-color: #1a5cad;
        }
        .btn-normal {
            color: #fff;
            background-color: #337ab7;
            border-color: #2e6da4;
        }
        .btn-normal:hover {
            background-color: #286090;
            border-color: #204d74;
        }
        .btn-success {
            color: #fff;
            background-color: #5cb85c;
            border-color: #4cae4c;
        }
        .btn-success:hover {
            background-color: #449d44;
            border-color: #398439;
        }
        .btn-danger {
            color: #fff;
            background-color: #d9534f;
            border-color: #d43f3a;
        }
        .btn-danger:hover {
            background-color: #c9302c;
            border-color: #ac2925;
        }
        .btn-lg {
            padding: 12px 24px;
            font-size: 18px;
        }
        
        /* 结果展示区 */
        .result-box {
            margin-bottom: 25px;
        }
        .password-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 4px;
        }
        .password-index {
            min-width: 30px;
            height: 30px;
            background: #2175d9;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        /* 优化后的密码字体样式 */
        .password-input {
            flex: 1;
            min-width: 200px;
            height: 48px; /* 加高输入框 */
            padding: 0 15px;
            font-size: 18px; /* 增大字体 */
            font-weight: 600; /* 加粗字体 */
            letter-spacing: 1px; /* 增加字符间距，提升可读性 */
            border: 1px solid #ced4da;
            border-radius: 6px; /* 圆角优化 */
            font-family: "Consolas", "Monaco", "Courier New", monospace; /* 更优的等宽字体 */
            color: #2c3e50; /* 更深的文字颜色，提升对比度 */
            background-color: #ffffff; /* 纯白背景 */
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); /* 轻微内阴影 */
        }
        .password-input:focus {
            border-color: #2175d9;
            outline: none;
            box-shadow: 0 0 0 3px rgba(33, 117, 217, 0.2); /* 更明显的聚焦效果 */
        }
        
        /* 复制提示 */
        .copy-tip {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 8px 16px;
            background-color: rgba(0,0,0,0.7);
            color: #fff;
            border-radius: 4px;
            font-size: 14px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s;
            z-index: 9999;
        }
        .copy-tip.show {
            opacity: 1;
        }
        
        /* 本地化图标样式 */
        .icon {
            display: inline-block;
            width: 16px;
            height: 16px;
            position: relative;
            box-sizing: border-box;
            margin-right: 5px;
        }
        .copy-icon::before,
        .copy-icon::after {
            content: '';
            position: absolute;
            border: 1px solid currentColor;
            background: transparent;
        }
        .copy-icon::before {
            width: 10px;
            height: 10px;
            top: 0;
            left: 0;
            border-radius: 2px 0 0 0;
        }
        .copy-icon::after {
            width: 8px;
            height: 8px;
            bottom: 0;
            right: 0;
            border-radius: 0 0 2px 0;
        }
        .save-icon::before {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            top: 2px;
            left: 2px;
            border: 1px solid currentColor;
            border-radius: 2px;
        }
        .save-icon::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 2px;
            background: currentColor;
            bottom: 4px;
            left: 4px;
        }
        
        /* 已保存密码区域 */
        .saved-passwords {
            margin-top: 30px;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            border: 1px solid #eee;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .saved-title {
            font-size: 18px;
            margin-bottom: 15px;
            color: #5cb85c;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .saved-list {
            max-height: 300px;
            overflow-y: auto;
        }
        .saved-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border-bottom: 1px solid #f0f0f0;
        }
        .saved-item:last-child {
            border-bottom: none;
        }
        /* 已保存密码的字体也同步优化 */
        .saved-password {
            flex: 1;
            font-family: "Consolas", "Monaco", "Courier New", monospace;
            font-size: 17px;
            font-weight: 500;
            letter-spacing: 0.5px;
            word-break: break-all;
            color: #2c3e50;
        }
        .saved-time {
            color: #999;
            font-size: 12px;
            min-width: 120px;
            text-align: right;
        }
        
        /* 常见问题解答样式 */
        .faq-section {
            margin-top: 30px;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            border: 1px solid #eee;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .faq-title {
            font-size: 18px;
            margin-bottom: 20px;
            color: #2175d9;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .faq-item {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .faq-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .faq-question {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 10px;
            color: #337ab7;
        }
        .faq-answer {
            line-height: 1.8;
            margin-bottom: 10px;
        }
        .weak-passwords {
            padding-left: 20px;
            margin-top: 10px;
        }
        .weak-passwords li {
            margin-bottom: 5px;
            color: #d9534f;
        }
        
        /* 页脚样式 */
        .footer {
            text-align: center;
            padding: 20px;
            color: #666;
            font-size: 14px;
            background: #f8f9fa;
            margin-top: 30px;
            max-width: 940px;
            margin-left: auto;
            margin-right: auto;
            border-radius: 4px;
        }
        .footer a {
            color: #666;  
            text-decoration: none;
        }
        .footer a:hover {
            color: #ff0000;  
        }
        
        /* 返回顶部样式 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #4361ee;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 9999;
            line-height: 1;
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            background: #3a56d4;
        }
        
        /* 响应式样式 */
        @media (max-width: 1024px) {
            .menu-btn {
                display: flex;
            }
            .nav-bar {
                display: none;
            }
            .back-to-top {
                width: 45px;
                height: 45px;
                font-size: 18px;
                bottom: 20px;
                right: 20px;
            }
            .header, .footer {
                max-width: 100%;
                padding-left: 15px;
                padding-right: 15px;
            }
        }
        
        @media (max-width: 768px) {
            .options-section {
                flex-direction: column;
                align-items: stretch;
            }
            .option-item {
                width: 100%;
            }
            .password-item {
                flex-wrap: wrap;
            }
            .password-input {
                width: 100%;
                font-size: 16px;
                height: 44px;
            }
            .btn-group {
                width: 100%;
                display: flex;
                gap: 5px;
            }
            .btn {
                flex: 1;
                width: 100%;
            }
            .saved-item {
                flex-wrap: wrap;
            }
            .saved-password {
                font-size: 16px;
            }
            .saved-time {
                width: 100%;
                text-align: left;
                margin-top: 5px;
            }
            #main_container {
                padding: 16px 15px;
            }
        }