        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", Arial, sans-serif;
        }
        body {
            max-width: 900px;
            margin: 0 auto;
            padding: 1.5rem 1rem;
            background: #f8f9fa;
            color: #333;
        }
        /* 语义化头部 - SEO友好 */
        header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }
        h1 {
            color: #2d3748;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
        .header-desc {
            color: #666;
            font-size: 1rem;
            max-width: 700px;
            margin: 0 auto;
        }
        /* 主内容区 - 语义化结构 */
        main {
            background: #fff;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        .settings {
            display: grid;
            gap: 1.2rem;
            margin-bottom: 1.8rem;
        }
        .setting-group {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        label {
            font-weight: 600;
            color: #4a5568;
            font-size: 0.95rem;
        }
        input, select, textarea {
            padding: 0.8rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        input:focus, textarea:focus {
            outline: none;
            border-color: #4299e1;
        }
        .char-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 0.5rem;
        }
        .char-option {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: #555;
            font-size: 0.9rem;
        }
        #generate-btn {
            padding: 0.9rem 1.6rem;
            border: none;
            border-radius: 6px;
            background: #2b6cb0;
            color: #fff;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        #generate-btn:hover {
            background: #2c5282;
        }
        /* 密码结果区 */
        .password-result {
            margin: 1.8rem 0;
            padding-top: 1.2rem;
            border-top: 1px dashed #eee;
        }
        .password-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.9rem;
            background: #f7fafc;
            border: 1px solid #edf2f7;
            border-radius: 6px;
            margin-bottom: 0.7rem;
        }
        .password-item span {
            word-break: break-all;
            color: #2d3748;
        }
        .copy-btn {
            padding: 0.5rem 1rem;
            background: #3182ce;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.3s;
        }
        .copy-btn:hover {
            background: #2b6cb0;
        }
        .copy-notify {
            color: #22c55e;
            font-size: 0.85rem;
            margin-left: 0.8rem;
            display: none;
        }
        /* 历史记录区 - 语义化标题 */
        .history-section {
            margin-top: 2.2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #eee;
        }
        .history-section h2 {
            font-size: 1.3rem;
            color: #2d3748;
            margin-bottom: 1rem;
        }
        .history-list {
            max-height: 220px;
            overflow-y: auto;
            border: 1px solid #edf2f7;
            border-radius: 6px;
            background: #fff;
        }
        .history-item {
            padding: 0.8rem 1rem;
            border-bottom: 1px solid #f7fafc;
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
        }
        .history-item:last-child {
            border-bottom: none;
        }
        .history-time {
            color: #718096;
            white-space: nowrap;
            margin-right: 1rem;
        }
        .history-passwords {
            color: #4a5568;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        #empty-history {
            padding: 2rem;
            text-align: center;
            color: #a0aec0;
            font-size: 0.95rem;
        }
        /* 友情链接区 - SEO友好，语义化footer */
        footer {
            background: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
        }
        .friend-link {
            margin-bottom: 1rem;
        }
        .friend-link h2 {
            font-size: 1.2rem;
            color: #2d3748;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #eee;
        }
        .link-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .link-list a {
            color: #3182ce;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
        }
        .link-list a:hover {
            color: #2b6cb0;
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            color: #718096;
            font-size: 0.9rem;
            padding-top: 1rem;
            border-top: 1px solid #f7fafc;
        }
        /* 响应式适配 - 移动端SEO友好 */
        @media (max-width: 600px) {
            main, footer {
                padding: 1.5rem 1rem;
            }
            .password-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }
            .history-item {
                flex-direction: column;
                gap: 0.5rem;
            }
            .history-time {
                margin-right: 0;
                margin-bottom: 0.3rem;
            }
        }