* { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
            background: #f5f7fa; 
            color: #333; 
            line-height: 1.6; 
        }
        .layout { display: flex; min-height: 100vh; }
        
        /* 左侧边栏 */
        .sidebar { 
            width: 280px; 
            background: #fff; 
            border-right: 1px solid #e1e4e8; 
            position: fixed; 
            height: 100vh; 
            overflow-y: auto;
            z-index: 100;
        }
        .sidebar-header { 
            padding: 24px 20px; 
            border-bottom: 1px solid #e1e4e8;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .sidebar-title { 
            font-size: 18px; 
            font-weight: 600; 
            color: #fff; 
            text-decoration: none;
            display: block;
            cursor: pointer;
        }
        .sidebar-title:hover {
            opacity: 0.9;
        }
        .sidebar-subtitle {
            font-size: 12px;
            color: rgba(255,255,255,0.8);
            margin-top: 4px;
        }
        .nav { padding: 12px 0; }
        .nav-item { 
            display: block; 
            padding: 12px 20px; 
            color: #586069; 
            text-decoration: none; 
            font-size: 14px; 
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }
        .nav-item:hover { 
            background: #f6f8fa; 
            color: #0366d6; 
        }
        .nav-item.active { 
            color: #0366d6; 
            background: #f1f8ff; 
            border-left-color: #0366d6;
            font-weight: 500;
        }
        .nav-icon { 
            display: inline-block; 
            width: 24px; 
            margin-right: 8px;
            text-align: center;
        }
        
        /* 右侧内容 */
        .main { 
            flex: 1; 
            margin-left: 280px; 
            padding: 40px 48px;
            max-width: calc(100% - 280px);
        }
        .header { 
            margin-bottom: 48px;
            padding-bottom: 24px;
            border-bottom: 1px solid #e1e4e8;
        }
        .header h1 { 
            font-size: 36px; 
            color: #24292e; 
            margin-bottom: 12px;
            font-weight: 600;
        }
        .header p { 
            color: #586069;
            font-size: 16px;
        }
        
        /* API 卡片 */
        .api-section { 
            margin-bottom: 64px;
            background: #fff;
            border-radius: 12px;
            padding: 32px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04);
            border: 1px solid #e1e4e8;
        }
        .api-header { 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            margin-bottom: 16px; 
        }
        .api-icon { 
            font-size: 28px; 
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f1f8ff;
            border-radius: 10px;
        }
        .api-title { 
            font-size: 24px; 
            font-weight: 600; 
            color: #24292e; 
        }
        .api-desc { 
            color: #586069; 
            margin-bottom: 24px; 
            font-size: 15px;
            line-height: 1.6;
        }
        
        /* 方法标签 */
        .method-group { 
            display: flex; 
            gap: 8px; 
            margin-bottom: 16px; 
        }
        .method-tag { 
            padding: 6px 14px; 
            border-radius: 6px; 
            font-size: 13px; 
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .method-get { 
            background: #dbedff; 
            color: #0366d6; 
        }
        .method-post { 
            background: #dcffe4; 
            color: #28a745; 
        }
        
        /* 端点 */
        .endpoint { 
            background: #f6f8fa; 
            padding: 16px 20px; 
            border-radius: 8px; 
            font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; 
            font-size: 14px; 
            margin-bottom: 28px; 
            border: 1px solid #e1e4e8;
            color: #24292e;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .endpoint::before {
            content: "🔗";
            font-size: 16px;
        }
        
        /* 参数表格 */
        .params-table { 
            width: 100%; 
            border-collapse: collapse; 
            margin: 24px 0; 
            background: #fff; 
            border-radius: 8px; 
            overflow: hidden; 
            border: 1px solid #e1e4e8;
        }
        .params-table th { 
            background: #f6f8fa; 
            padding: 14px 18px; 
            text-align: left; 
            font-weight: 600; 
            font-size: 14px; 
            border-bottom: 1px solid #e1e4e8;
            color: #24292e;
        }
        .params-table td { 
            padding: 14px 18px; 
            border-bottom: 1px solid #e1e4e8; 
            font-size: 14px;
            color: #24292e;
        }
        .params-table tr:last-child td { 
            border-bottom: none; 
        }
        .params-table tr:hover td {
            background: #f6f8fa;
        }
        .required { 
            color: #d73a49; 
            font-weight: 500; 
            background: #ffeef0;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        .optional { 
            color: #6a737d;
            background: #f6f8fa;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        .param-type {
            font-family: 'SF Mono', Monaco, monospace;
            color: #005cc5;
            font-size: 13px;
        }
        
        /* 代码示例 */
        .code-section { 
            margin-top: 32px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e1e4e8;
        }
        .code-header { 
            display: flex; 
            background: #f6f8fa;
            border-bottom: 1px solid #e1e4e8;
        }
        .code-tab { 
            padding: 12px 24px; 
            cursor: pointer; 
            border: none; 
            background: transparent; 
            font-size: 14px; 
            color: #586069;
            font-weight: 500;
            transition: all 0.2s;
        }
        .code-tab:hover {
            color: #24292e;
            background: rgba(0,0,0,0.02);
        }
        .code-tab.active { 
            background: #fff;
            color: #24292e;
            border-bottom: 2px solid #0366d6;
            margin-bottom: -1px;
        }
        .code-content { 
            display: none; 
            background: #fff;
        }
        .code-content.active { 
            display: block; 
        }
        .code-block { 
            background: #fafbfc; 
            color: #24292e; 
            padding: 24px; 
            overflow-x: auto; 
            font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; 
            font-size: 13px; 
            line-height: 1.8;
            white-space: pre;
        }
        
        /* 代码高亮 */
        .code-keyword { color: #d73a49; font-weight: 600; }
        .code-string { color: #032f62; }
        .code-comment { color: #6a737d; font-style: italic; }
        .code-function { color: #6f42c1; }
        .code-number { color: #005cc5; }
        .code-builtin { color: #e36209; }
        
        /* 页脚 */
        .footer { 
            text-align: center; 
            color: #6a737d; 
            padding: 48px 0; 
            margin-top: 48px; 
            border-top: 1px solid #e1e4e8;
            font-size: 14px;
        }
        
        /* 响应式 */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                position: relative;
                height: auto;
            }
            .main {
                margin-left: 0;
                max-width: 100%;
                padding: 24px;
            }
            .layout {
                flex-direction: column;
            }
        }
        
        /* 提示框 */
        .tip-box {
            background: #fff8c5;
            border: 1px solid #eed888;
            border-radius: 8px;
            padding: 16px 20px;
            margin: 20px 0;
            font-size: 14px;
            color: #735c0f;
        }
        .tip-box::before {
            content: "💡 ";
        }
        
        /* 响应示例 */
        .response-section {
            margin-top: 24px;
        }
        .response-title {
            font-size: 14px;
            font-weight: 600;
            color: #24292e;
            margin-bottom: 12px;
        }