    :root {
            --primary: #4361ee;
            --primary-light: #e0e7ff;
            --secondary: #3f37c9;
            --success: #4cc9f0;
            --warning: #f8961e;
            --danger: #f72585;
            --dark: #212529;
            --light: #f8f9fa;
            --gray: #adb5bd;
            --gray-light: #e9ecef;
            --text-light: #6c757d;
            --radius: 16px;
            --radius-sm: 8px;
            --radius-lg: 24px;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--light);
            position: relative;
            min-height: 100vh;
            overflow-x: hidden;
        }

 /* 主背景层 - 使用更可靠的图片源 */
    .background-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://api.jiuykj.com/api/acg/');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -2;
    }
    
    /* 模糊效果层 */
    .background-blur {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: -1;
    }
    
    /* 半透明覆盖层 */
    .background-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.45);
        z-index: -1;
    }

        .api-doc-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }

        /* 装饰元素 */
        .decoration {
            position: absolute;
            z-index: -1;
        }

        .decoration-circle {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-light) 0%, rgba(67, 97, 238, 0) 70%);
            opacity: 0.6;
        }

        .decoration-triangle {
            width: 0;
            height: 0;
            border-left: 150px solid transparent;
            border-right: 150px solid transparent;
            border-bottom: 260px solid var(--primary-light);
            opacity: 0.4;
            transform: rotate(45deg);
        }

      .api-header {
    position: relative;
    padding: 40px 30px;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.45); /* 白色半透明 */
    backdrop-filter: blur(12px); /* 高斯模糊 */
    -webkit-backdrop-filter: blur(12px); /* Safari 兼容 */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    z-index: 1; /* 确保模糊层在内容之上 */
}

/* 顶部渐变装饰条（保持不变） */
.api-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #7ec4ff, #ff9bd3);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: -1; /* 确保在模糊层下方 */
}

/* 悬停效果（保持不变） */
.api-header:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

        .api-title h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .api-title h1::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        .subtitle {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 25px;
            line-height: 1.7;
        }

        .api-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 25px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .meta-item i {
            color: var(--primary);
        }

        .status-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 5px;
        }

        .dot-active {
            background-color: var(--success);
            box-shadow: 0 0 10px var(--success);
        }

        .dot-inactive {
            background-color: var(--danger);
            box-shadow: 0 0 10px var(--danger);
        }

        /* 主要内容布局 */
        .api-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        @media (min-width: 992px) {
            .api-content {
                flex-direction: row;
            }
            
            .main-content {
                flex: 1;
            }
            
            .sidebar {
                width: 350px;
            }
        }

        /* 卡片样式 */
      .info-card {
    background-color: rgba(255, 255, 255, 0.45); /* 白色半透明 */
    backdrop-filter: blur(12px); /* 高斯模糊 */
    -webkit-backdrop-filter: blur(12px); /* Safari 兼容 */
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1; /* 确保内容在模糊层上方 */
}

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #a6d8ff, #ffb6e1);
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .card-title i {
            color: var(--primary);
        }

        /* 段落标题 */
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 30px 0 20px;
            color: var(--dark);
            position: relative;
            padding-left: 15px;
        }

        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            height: 70%;
            width: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* 信息项样式 */
        .info-item {
            display: flex;
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .info-label {
            font-weight: 500;
            color: var(--dark);
            min-width: 100px;
        }

        .info-value {
            color: var(--text-light);
            flex: 1;
        }

        /* 徽章样式 */
        .badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            color: white;
            margin-right: 5px;
        }

        .bg-primary {
            background-color: var(--primary);
        }

        .bg-secondary {
            background-color: var(--gray);
        }

        .bg-success {
            background-color: var(--success);
        }

        .bg-warning {
            background-color: var(--warning);
        }

        .bg-danger {
            background-color: var(--danger);
        }

        .bg-info {
            background-color: #3a86ff;
        }

        .bg-post {
            background-color: #4895ef;
        }

        /* 表格样式 */
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .api-table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            font-size: 0.9rem;
        }

        .api-table th {
            background-color: var(--primary-light);
            color: var(--primary);
            font-weight: 600;
            padding: 12px 15px;
            text-align: left;
            border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        }

        .api-table td {
            padding: 12px 15px;
            border-bottom: 1px solid var(--gray-light);
            color: var(--text-light);
        }

        .api-table tr:last-child td {
            border-bottom: none;
        }

        .api-table tr:hover td {
            background-color: rgba(67, 97, 238, 0.05);
        }

        /* 代码块样式 */
        .code-block {
            position: relative;
            background-color: #f8f9fa;
            border-radius: var(--radius-sm);
            margin: 20px 0;
            overflow: hidden;
        }

        .code-block pre {
            padding: 20px;
            overflow-x: auto;
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.9rem;
            line-height: 1.5;
            color: #495057;
            margin: 0;
        }

        .copy-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .copy-btn:hover {
            background-color: var(--secondary);
            transform: translateY(-2px);
        }

        /* API地址样式 */
        .api-address {
            background-color: var(--gray-light);
            padding: 12px 15px;
            border-radius: var(--radius-sm);
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.9rem;
            word-break: break-all;
            margin-bottom: 15px;
            position: relative;
        }

     

        /* 测试按钮样式 */
        .test-api-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
        }

        .test-api-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
        }

        .test-api-btn:active {
            transform: translateY(0);
        }

        /* 认证信息样式 */
        .auth-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .auth-info-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .auth-icon {
            font-size: 1.2rem;
            color: var(--primary);
            width: 40px;
            height: 40px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 响应状态码样式 */
        .response-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-right: 8px;
        }

        .response-success {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .response-error {
            background-color: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }

        /* 连通性测试弹窗 */
        .connectivity-test {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 350px;
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            z-index: 1000;
            overflow: hidden;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .connectivity-test.show {
            transform: translateY(0);
            opacity: 1;
        }

        .connectivity-header {
            padding: 15px 20px;
            background-color: var(--primary);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .connectivity-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
        }

        .connectivity-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
        }

        .connectivity-body {
            padding: 20px;
        }

        .connectivity-status {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .connectivity-details {
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        .connectivity-details pre {
            background-color: var(--gray-light);
            padding: 10px;
            border-radius: var(--radius-sm);
            margin-top: 10px;
            overflow-x: auto;
        }

        .connectivity-footer {
            padding: 10px 20px;
            background-color: var(--gray-light);
            font-size: 0.8rem;
            color: var(--text-light);
            text-align: right;
        }

        .status-success {
            color: var(--success);
        }

        .status-error {
            color: var(--danger);
        }

        /* 测试模态框样式 */
        .test-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .test-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .test-modal-content {
            background-color: white;
            border-radius: var(--radius-lg);
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 30px;
            position: relative;
            box-shadow: var(--shadow-lg);
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .test-modal.show .test-modal-content {
            transform: translateY(0);
        }

        .test-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
        }

        .test-modal-close:hover {
            color: var(--danger);
            transform: rotate(90deg);
        }

        .test-modal-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 25px;
            color: var(--dark);
        }

        .test-form-group {
            margin-bottom: 20px;
        }

        .test-form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
        }

        .test-form-input, .test-form-textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--gray-light);
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .test-form-input:focus, .test-form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }

        .test-form-textarea {
            min-height: 150px;
            resize: vertical;
        }

        .test-form-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
            margin-top: 20px;
        }

        .test-form-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
        }

        .test-form-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .test-result {
            margin-top: 25px;
            padding: 20px;
            border-radius: var(--radius-sm);
            background-color: var(--gray-light);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .test-result pre {
            margin-top: 10px;
            padding: 10px;
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: var(--radius-sm);
            overflow-x: auto;
        }

        .test-status {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .test-status-success {
            color: var(--success);
        }

        .test-status-error {
            color: var(--danger);
        }

        .test-result-success {
            border-left: 4px solid var(--success);
        }

        .test-result-error {
            border-left: 4px solid var(--danger);
        }

        /* Markdown样式 */
        .markdown-body {
            font-size: 1rem;
            line-height: 1.7;
            color: var(--text-light);
        }

        .markdown-body h1, 
        .markdown-body h2, 
        .markdown-body h3, 
        .markdown-body h4, 
        .markdown-body h5, 
        .markdown-body h6 {
            color: var(--dark);
            margin: 1.5em 0 1em;
            font-weight: 600;
        }

        .markdown-body h1 {
            font-size: 1.8rem;
            border-bottom: 1px solid var(--gray-light);
            padding-bottom: 0.3em;
        }

        .markdown-body h2 {
            font-size: 1.5rem;
            border-bottom: 1px solid var(--gray-light);
            padding-bottom: 0.3em;
        }

        .markdown-body h3 {
            font-size: 1.3rem;
        }

        .markdown-body p {
            margin-bottom: 1em;
        }

        .markdown-body a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        .markdown-body a:hover {
            text-decoration: underline;
        }

        .markdown-body code {
            font-family: 'Courier New', Courier, monospace;
            background-color: var(--gray-light);
            padding: 0.2em 0.4em;
            border-radius: var(--radius-sm);
            font-size: 0.9em;
            color: var(--danger);
        }

        .markdown-body pre {
            background-color: var(--gray-light);
            padding: 16px;
            border-radius: var(--radius-sm);
            overflow-x: auto;
            margin: 1em 0;
            line-height: 1.45;
        }

        .markdown-body pre code {
            background-color: transparent;
            padding: 0;
            border-radius: 0;
            color: inherit;
        }

        .markdown-body blockquote {
            border-left: 4px solid var(--primary);
            padding-left: 16px;
            margin: 1em 0;
            color: var(--text-light);
        }

        .markdown-body ul, 
        .markdown-body ol {
            margin-bottom: 1em;
            padding-left: 2em;
        }

        .markdown-body li {
            margin-bottom: 0.5em;
        }

        .markdown-body table {
            border-collapse: collapse;
            width: 100%;
            margin: 1em 0;
            font-size: 0.9em;
        }

        .markdown-body th, 
        .markdown-body td {
            border: 1px solid var(--gray-light);
            padding: 8px 12px;
            text-align: left;
        }

        .markdown-body th {
            background-color: var(--primary-light);
            color: var(--primary);
            font-weight: 600;
        }

        .markdown-body tr:nth-child(even) {
            background-color: var(--gray-light);
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .api-header {
                padding: 30px 20px;
                margin-bottom: 30px;
            }
            
            .api-title h1 {
                font-size: 2rem;
            }
            
            .api-meta {
                flex-direction: column;
                gap: 12px;
            }
            
            .info-card {
                padding: 20px;
            }
            
            .section-title {
                font-size: 1.3rem;
            }
            
            .connectivity-test {
                width: calc(100% - 40px);
                right: 20px;
                bottom: 20px;
            }
        }

        @media (max-width: 576px) {
            .api-doc-container {
                padding: 15px;
            }
            
            .api-title h1 {
                font-size: 1.8rem;
            }
            
            .subtitle {
                font-size: 1rem;
            }
            
            .info-item {
                flex-direction: column;
                gap: 5px;
            }
            
            .info-label {
                min-width: auto;
            }
            
            .card-title {
                font-size: 1.1rem;
            }
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }

        .slide-in {
            animation: slideIn 0.5s ease-out;
        }

        /* 浮动装饰元素 */
        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(90deg, rgba(230, 255, 252, 0.7), rgba(231, 221, 255, 0.7));
            z-index: -1;
            opacity: 0.6;
        }

        /* 伪元素装饰 */
        .decorative-element {
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: var(--radius);
            background: linear-gradient(135deg, var(--primary-light), var(--success-light));
            filter: blur(40px);
            z-index: -1;
            opacity: 0.3;
        }