/* 统一表单组件高度 */
        .form-component {
            min-height: 48px !important;
            display: flex;
            align-items: center;
        }
        .form-select.form-component {
            padding-top: 0.375rem;
            padding-bottom: 0.375rem;
        }
        .input-group.form-component .form-control,
        .input-group.form-component .input-group-text {
            height: 100%;
        }
        /* 未登录状态统一背景色 */
        .not-logged-in .form-control.d-flex.gap-3.align-items-center {
            background-color:  var(--bs-secondary-bg);
        }
        /* 自定义鼠标手型样式 */
        .cursor-pointer {
            cursor: pointer;
        }
        /* 鼠标划过背景色 */
        .cursor-pointer:hover:not(.vip-upgrade-btn) {
            background-color: #fff !important;
        }
        
        /* 错误提示容器动画 */
        .error-container {
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease-in-out;
        }
        .error-container.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* 按钮样式 */
        #generateBtn {
            min-height: 48px;
        }

        /* 摄像头模态框扫描线动画 */
        @keyframes scanLine {
            0% {
                top: 0;
                opacity: 1;
            }

            50% {
                top: calc(100% - 2px);
                opacity: 0.8;
            }

            100% {
                top: 0;
                opacity: 1;
            }
        }

        /* 摄像头模态框响应式设计 */
        @media (max-width: 576px) {
            #cameraModal .modal-dialog {
                max-width: 95% !important;
                margin: 1rem;
            }

            #cameraModal #cameraVideo {
                width: 100% !important;
                height: auto !important;
                max-width: 360px;
            }

            #cameraModal #cameraCanvas {
                width: 100% !important;
                height: auto !important;
                max-width: 360px;
            }
        }
        
        /* 主要布局样式 */
        .main-container {
            padding-bottom: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding-left: 2rem;
            padding-right: 2rem;
        }
        
        .main-content {
            padding-top: 2rem;
        }
        
        .sidebar {
            padding-top: 2rem;
        }
        
        /* 文章内容样式 */
        .article-container {
            margin-top: 2rem;
        }

        [data-bs-theme="light"] .main-content > .mb-4 .url-card,
        [data-bs-theme="light"] .article-container .url-card {
            border: 1px solid #e9ecef;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        }
        
        .main-content > .mb-4 .url-card,
        .article-container .url-card {
            margin-bottom: 20px !important;
        }
        
        .article-meta {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .article-meta .meta-item {
            margin-right: 1.5rem;
        }
        
        .article-content {
            line-height: 1.8;
            font-size: 1.1rem;
            color: #333;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .article-content p,
        .article-content li,
        .article-content blockquote,
        .article-content td,
        .article-content th,
        .article-content a,
        .article-content span {
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        
        /* Markdown内容样式 */
        .article-content h1,
        .article-content h2,
        .article-content h3,
        .article-content h4,
        .article-content h5,
        .article-content h6 {
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .article-content h1 { font-size: 2rem; }
        .article-content h2 { font-size: 1.75rem; }
        .article-content h3 { font-size: 1.5rem; }
        .article-content h4 { font-size: 1.25rem; }
        .article-content h5 { font-size: 1.1rem; }
        .article-content h6 { font-size: 1rem; }
        
        .article-content p {
            margin-bottom: 1rem;
            text-align: justify;
        }
        
        .article-content ul,
        .article-content ol {
            margin-bottom: 1rem;
            padding-left: 2rem;
        }
        
        .article-content li {
            margin-bottom: 0.5rem;
        }
        
        .article-content blockquote {
            border-left: 4px solid #007bff;
            padding-left: 1rem;
            margin: 1rem 0;
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 6px;
        }
        
        .article-content code {
            background-color: #f8f9fa;
            padding: 0.2rem 0.4rem;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            white-space: break-spaces;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        
        .article-content pre {
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            max-width: 100%;
            overflow-x: auto;
            margin: 1rem 0;
            white-space: pre-wrap;
            word-break: break-word;
        }
        
        .article-content pre code {
            background-color: transparent;
            padding: 0;
            white-space: inherit;
            overflow-wrap: inherit;
            word-break: inherit;
        }
        
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .article-content table {
            display: block;
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .article-content th,
        .article-content td {
            border: 1px solid #dee2e6;
            padding: 0.75rem;
            text-align: left;
        }
        
        .article-content th {
            background-color: #f8f9fa;
            font-weight: 600;
        }
        
        .article-content hr {
            margin: 2rem 0;
            border: none;
            border-top: 1px solid #dee2e6;
        }
        
        .article-content h1, .article-content h2, .article-content h3,
        .article-content h4, .article-content h5, .article-content h6 {
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: #2c3e50;
        }
        
        .article-content p {
            margin-bottom: 1.2rem;
        }
        
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    /* 居中显示图片 */
    display: block;
    margin: 1rem auto;
}
        
        .article-content blockquote {
            border-left: 4px solid #007bff;
            padding-left: 1rem;
            margin: 1.5rem 0;
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 0 10px 10px 0;
        }
        
        .article-content code {
            background-color: #f8f9fa;
            padding: 0.2rem 0.4rem;
            border-radius: 6px;
            font-size: 0.9em;
        }
        
        .article-content pre {
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            overflow-x: auto;
        }
        
        /* 侧边栏样式 */
        .sidebar-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            border: 1px solid #e9ecef;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        
        /* 文章导航样式 */
        .article-navigation {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e9ecef;
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .article-navigation .prev-article,
        .article-navigation .next-article {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.article-navigation .article-nav-item {
            width: 50%;
        }
        
        .article-navigation a {
            color: #6c757d;
            text-decoration: none;
        }
        
        .article-navigation a:hover {
            color: #495057;
            text-decoration: underline;
        }
        
        .sidebar-card-header {
            background: #ffffff;
            color: #495057;
            padding: 1rem 1.25rem;
            font-weight: 600;
            font-size: 1.1rem;
            border-bottom: 1px solid #dee2e6;
        }
        
        .sidebar-card-header i {
            color: #007bff;
        }
        
        .sidebar-card-body {
            padding: 0;
        }
        
        .article-item {
            height: 60px;
            padding: 0 1.25rem;
            border-bottom: 1px solid #f8f9fa;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        
        .article-item:last-child {
            border-bottom: none;
        }
        
        .article-item-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: #2c3e50;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
            width: 100%;
            transition: color 0.2s ease;
        }
        
        .article-item:hover .article-item-title {
            color: #007bff;
        }

        .login-modal-icon {
            font-size: 3rem;
            color: #3498db;
        }

        .login-modal-benefits {
            max-width: 300px;
        }

        .domain-data-hidden {
            display: none;
        }

        [data-bs-theme="dark"] .main-content > .mb-4 .url-card,
        [data-bs-theme="dark"] .article-container .url-card {
            background: #1f2733;
            border-color: #334155;
            box-shadow: 0 2px 12px rgba(0,0,0,0.35);
        }

        [data-bs-theme="dark"] .article-title,
        [data-bs-theme="dark"] .article-meta,
        [data-bs-theme="dark"] .article-navigation,
        [data-bs-theme="dark"] .article-navigation a {
            color: #cbd5e1;
        }

        [data-bs-theme="dark"] .article-navigation {
            border-top-color: #334155;
        }

        [data-bs-theme="dark"] .article-navigation a:hover {
            color: #93c5fd;
        }

        [data-bs-theme="dark"] .article-content,
        [data-bs-theme="dark"] .article-content p,
        [data-bs-theme="dark"] .article-content li,
        [data-bs-theme="dark"] .article-content td,
        [data-bs-theme="dark"] .article-content th {
            color: #d8e2ef;
        }

        [data-bs-theme="dark"] .article-content h1,
        [data-bs-theme="dark"] .article-content h2,
        [data-bs-theme="dark"] .article-content h3,
        [data-bs-theme="dark"] .article-content h4,
        [data-bs-theme="dark"] .article-content h5,
        [data-bs-theme="dark"] .article-content h6 {
            color: #f1f5f9;
        }

        [data-bs-theme="dark"] .article-content a {
            color: #93c5fd;
        }

        [data-bs-theme="dark"] .article-content blockquote {
            background-color: #263141;
            border-left-color: #60a5fa;
            color: #cbd5e1;
        }

        [data-bs-theme="dark"] .article-content code {
            background-color: #2b3545;
            color: #e2e8f0;
        }

        [data-bs-theme="dark"] .article-content pre {
            background-color: #2b3545;
        }

        [data-bs-theme="dark"] .article-content th,
        [data-bs-theme="dark"] .article-content td {
            border-color: #3a475b;
        }

        [data-bs-theme="dark"] .article-content th {
            background-color: #263141;
        }

        [data-bs-theme="dark"] .article-content hr {
            border-top-color: #3a475b;
        }

        [data-bs-theme="dark"] .sidebar-card {
            background: #1f2733;
            border-color: #334155;
            box-shadow: 0 2px 12px rgba(0,0,0,0.35);
        }

        [data-bs-theme="dark"] .sidebar-card-header {
            background: #263141;
            color: #e2e8f0;
            border-bottom-color: #334155;
        }

        [data-bs-theme="dark"] .sidebar-card-header i {
            color: #93c5fd;
        }

        [data-bs-theme="dark"] .article-item {
            border-bottom-color: #2b3545;
        }

        [data-bs-theme="dark"] .article-item-title {
            color: #cbd5e1;
        }

        [data-bs-theme="dark"] .article-item:hover .article-item-title {
            color: #93c5fd;
        }
        
        /* 响应式设计 */
        @media (max-width: 991.98px) {
            .main-content {
                padding-top: 1rem;
                margin-bottom: 2rem;
            }
            
            .sidebar {
                padding-top: 0;
            }
            
            .main-container {
                padding-left: 1rem;
                padding-right: 1rem;
                padding-top: 1rem;
            }
        }
