/* ===== 文档页布局 ===== */

/* 标题样式 */
.docs-h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.docs-h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.docs-h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.docs-h3 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin: 25px 0 12px;
}

.docs-lead {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.docs-layout {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.docs-layout > .docs-sidebar {
    -webkit-flex: 0 0 150px;
    -ms-flex: 0 0 160px;
    flex: 0 0 150px;
    width: 150px;
    margin-right: 30px;
}

.docs-layout > .docs-main {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .docs-layout > .docs-sidebar {
        margin-right: 30px;
    }
    .docs-layout > .docs-main {
        margin-right: 0;
    }
}

@supports (gap: 30px) {
    .docs-layout {
        gap: 30px;
    }
    .docs-layout > .docs-sidebar {
        margin-right: 0;
    }
}

/* 侧边栏 */
.docs-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.sidebar-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 12px;
    color: #666;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #667eea;
    color: #fff;
}

.sidebar-nav a i {
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.mt15 {
    margin-top: 15px;
}

.bg-white {
    border-radius: 10px;
}

/* 主内容 */
.docs-main {
    flex: 1;
    min-width: 0;
}

/* 英雄区域 */
.docs-hero {
    background: #e4e7ed;
    color: #515461;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.docs-hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.docs-hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-start {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s;
}
.hero-btn-start:hover {
    background: linear-gradient(135deg, #ee5a5a 0%, #f9c04a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.hero-btn-docs {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s;
}
.hero-btn-docs:hover {
    background: linear-gradient(135deg, #0f8a80 0%, #32d970 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 239, 125, 0.35);
}

.hero-btn-github {
    background: #24292e !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s;
}
.hero-btn-github:hover {
    background: #444d56 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 41, 46, 0.4);
}

/* 统计数据 */
.docs-stats {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 章节标题 */
.docs-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.docs-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.section-title i {
    margin-right: 8px;
    color: #667eea;
}

.section-desc {
    color: #666;
    margin-bottom: 25px;
}

/* SDK卡片 */
.sdk-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sdk-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.sdk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.sdk-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.sdk-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.sdk-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.sdk-tags {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.sdk-tags span {
    background: #e8e8e8;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.sdk-code {
    background: #1e1e1e;
    color: #9cdcfe;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 15px;
    font-family: 'Consolas', monospace;
}

/* 彩种类型 */
.lottery-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.type-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.type-item h4 {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.type-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-item li {
    padding: 6px 0;
}

.type-item a {
    color: #666;
    font-size: 14px;
}

.type-item a:hover {
    color: #667eea;
}

/* 功能特性 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item i {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: #666;
}

/* 代码块 */
.layui-code {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 0 0 4px 4px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1200px) {
    .sdk-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .docs-layout {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .docs-layout > .docs-sidebar {
        width: 100% !important;
        -webkit-flex: none !important;
        -ms-flex: none !important;
        flex: none !important;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .docs-layout > .docs-main {
        margin-right: 0;
    }
    .sidebar-box {
        padding: 12px;
    }
    .sidebar-nav {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 8px;
    }
    .sidebar-nav li {
        margin: 0 4px 4px 0;
    }
    .sidebar-nav li:nth-child(2n) {
        margin-right: 0;
    }
    .sidebar-nav a {
        padding: 10px 16px;
        background: #f0f0f0;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 25px;
    }
    .docs-hero h1 {
        font-size: 22px;
    }
    .docs-stats {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 20px;
    }
    .sdk-cards,
    .lottery-types,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .docs-sidebar {
        margin-bottom: 0;
    }
    .sidebar-box {
        padding: 10px;
    }
    .sidebar-nav a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sidebar-nav a {
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* ===== API文档页样式 ===== */
.api-base-url {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.method {
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

.method-get {
    background: #52c41a;
    color: #fff;
}

.api-base-url code {
    color: #9cdcfe;
    font-family: 'Consolas', monospace;
}

/* 参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.params-table th,
.params-table td {
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.params-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.params-table tr:hover {
    background: #fafafa;
}

.params-table code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.required {
    color: #f5222d;
    font-weight: 600;
}

.optional {
    color: #52c41a;
    font-weight: 600;
}

/* 代码块 */
.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.code-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 13px;
}

.copy-btn {
    background: #3d3d3d;
    border: none;
    color: #999;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    background: #4d4d4d;
    color: #fff;
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
    margin: 0;
}

.code-block code {
    color: #d4d4d4;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* 信息框 */
.info-box {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
}

.info-box h4 {
    margin-bottom: 10px;
    font-size: 15px;
}

.info-box.warning {
    background: #fffbe6;
    border-color: #ffe58f;
}

.info-box.warning h4 {
    color: #d48806;
}

/* FAQ样式 */
.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #667eea;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-answer.show {
    padding: 20px;
    max-height: 1000px;
}

/* 快速接入步骤 */
.steps-overview {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    gap: 0;
    margin: 25px 0;
}

.step-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 16px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: span 1;
    box-sizing: border-box;
	min-width: 200px;
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    min-width: 0;
    overflow: hidden;
}

.step-content h3 {
    font-size: 13px;
    margin-bottom: 2px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-content p {
    font-size: 11px;
    opacity: 0.9;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-arrow {
    display: block;
    width: 20px;
    min-width: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #667eea;
    margin: 0 auto;
}

/* Tablet: 2-column grid */
@media (max-width: 900px) {
    .steps-overview {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        row-gap: 10px;
    }
    .step-card {
        grid-column: span 1;
    }
    .step-arrow {
        display: none;
    }
}

/* Mobile small: single column stacked */
@media (max-width: 480px) {
    .steps-overview {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .step-card {
        flex-direction: row;
        padding: 14px;
    }
    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
    }
    .step-content h3 {
        font-size: 14px;
    }
    .step-content p {
        font-size: 12px;
    }
}

.step-list {
    margin-left: 20px;
}

.step-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 彩种表格 */
.lottery-search {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
@media screen and (min-width: 0\0) {
    .lottery-search > * {
        margin-right: 10px;
    }
    .lottery-search > *:last-child {
        margin-right: 0;
    }
}
@supports (gap: 10px) {
    .lottery-search > * {
        margin-right: 0 !important;
    }
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-btn {
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
@media screen and (min-width: 0\0) {
    .category-tabs > .category-tab {
        margin-right: 8px;
        margin-bottom: 8px;
    }
}
@supports (gap: 8px) {
    .category-tabs > .category-tab {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
}

.category-tab {
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.category-tab.active {
    background: #667eea;
    color: #fff;
}

.lottery-category {
    margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    margin-bottom: 15px;
}

.lottery-table {
    width: 100%;
    border-collapse: collapse;
}

.lottery-table th,
.lottery-table td {
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.lottery-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.lottery-table tr:hover {
    background: #fafafa;
}

/* 分页导航 */
.docs-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
}

.docs-pagination a {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 6px;
    color: #333;
    font-weight: 500;
}

.docs-pagination a:hover {
    background: #667eea;
    color: #fff;
}

		/* ===== 章节折叠卡片 ===== */
		.docs-accordion-item {
			background: #fff;
			border-radius: 10px;
			margin-bottom: 12px;
			border: 1px solid #e8ecf0;
			overflow: hidden;
			box-shadow: 0 1px 4px rgba(102, 126, 234, 0.04);
			transition: all 0.3s;
		}

		.docs-accordion-item:hover {
			box-shadow: 0 3px 12px rgba(102, 126, 234, 0.10);
		}

		.docs-accordion-item.open {
			border-color: #667eea;
			box-shadow: 0 3px 16px rgba(102, 126, 234, 0.12);
		}

		.docs-accordion-header {
			display: flex;
			align-items: center;
			gap: 12px;
			padding: 16px 20px;
			cursor: pointer;
			user-select: none;
		}

		.docs-accordion-icon {
			width: 36px;
			height: 36px;
			border-radius: 8px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 16px;
			flex-shrink: 0;
		}

		.docs-accordion-icon.blue { background: #dbeafe; color: #2563eb; }
		.docs-accordion-icon.orange { background: #ffedd5; color: #ea580c; }
		.docs-accordion-icon.green { background: #dcfce7; color: #16a34a; }
		.docs-accordion-icon.purple { background: #f3e8ff; color: #9333ea; }
		.docs-accordion-icon.red { background: #fee2e2; color: #dc2626; }
		.docs-accordion-icon.teal { background: #ccfbf1; color: #0d9488; }
		.docs-accordion-icon.yellow { background: #fef9c3; color: #ca8a04; }

		.docs-accordion-title {
			flex: 1;
		}

		.docs-accordion-title h3 {
			font-size: 15px;
			font-weight: 600;
			color: #1a202c;
			margin: 0 0 2px;
		}

		.docs-accordion-title p {
			font-size: 12px;
			color: #a0aec0;
			margin: 0;
		}

		.docs-accordion-arrow {
			width: 28px;
			height: 28px;
			border-radius: 50%;
			background: #f7f9fc;
			display: flex;
			align-items: center;
			justify-content: center;
			transition: all 0.3s;
			flex-shrink: 0;
		}

		.docs-accordion-arrow i {
			font-size: 12px;
			color: #a0aec0;
			transition: all 0.3s;
		}

		.docs-accordion-item.open .docs-accordion-arrow {
			background: #eef0ff;
		}

		.docs-accordion-item.open .docs-accordion-arrow i {
			color: #667eea;
			transform: rotate(180deg);
		}

		.docs-accordion-body {
			max-height: 0;
			overflow: hidden;
			transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		}

		.docs-accordion-item.open .docs-accordion-body {
			max-height: 4000px;
		}

		.docs-accordion-content {
			padding: 0 20px 20px;
			border-top: 1px solid #f1f5f9;
		}

		.docs-accordion-content p {
			color: #4a5568;
			font-size: 14px;
			line-height: 1.8;
			margin: 14px 0 0;
		}

		.docs-accordion-content p:first-child {
			margin-top: 16px;
		}

		.docs-accordion-content strong {
			color: #2d3748;
		}

		.docs-accordion-content a {
			color: #667eea;
			text-decoration: none;
			font-weight: 500;
		}

		.docs-accordion-content a:hover {
			text-decoration: underline;
		}

		.docs-highlight { color: #f56565; font-weight: 600; }
		.docs-danger { color: #f56565; font-weight: 600; }

		/* 信息提示条 */
		.docs-tip-box {
			display: flex;
			align-items: flex-start;
			gap: 10px;
			background: linear-gradient(135deg, #fff7ed, #ffedd5);
			border: 1px solid #fed7aa;
			border-radius: 8px;
			padding: 12px 16px;
			margin: 12px 0;
			font-size: 13px;
			color: #ea580c;
			line-height: 1.5;
		}

		.docs-tip-box i { margin-top: 1px; flex-shrink: 0; }

		/* API地址框 */
		.docs-api-box {
			background: #1e1e1e;
			border-radius: 8px;
			padding: 14px 18px;
			margin: 12px 0;
			font-family: 'Consolas', 'JetBrains Mono', monospace;
			font-size: 12px;
			color: #9cdcfe;
			overflow-x: auto;
			line-height: 1.7;
		}

		/* 参数表格 */
		.docs-param-table {
			width: 100%;
			border-collapse: collapse;
			margin: 12px 0;
			font-size: 13px;
			border-radius: 8px;
			overflow: hidden;
			border: 1px solid #e8ecf0;
		}

		.docs-param-table thead {
			background: linear-gradient(135deg, #f8fafc, #f1f5f9);
		}

		.docs-param-table th {
			padding: 11px 14px;
			text-align: left;
			font-weight: 600;
			color: #2d3748;
			font-size: 12px;
			text-transform: uppercase;
			letter-spacing: 0.4px;
			border-bottom: 2px solid #e2e8f0;
		}

		.docs-param-table td {
			padding: 11px 14px;
			border-bottom: 1px solid #f1f5f9;
			color: #4a5568;
			vertical-align: middle;
		}

		.docs-param-table tbody tr:last-child td { border-bottom: none; }

		.docs-param-table tbody tr:hover { background: #f7f9fc; }

		.docs-param-name {
			font-weight: 600;
			color: #1a202c;
			font-family: 'Consolas', 'JetBrains Mono', monospace;
			font-size: 12px;
		}

		.docs-badge {
			display: inline-block;
			padding: 2px 9px;
			border-radius: 50px;
			font-size: 10px;
			font-weight: 600;
			text-transform: uppercase;
			letter-spacing: 0.4px;
		}

		.docs-badge-req {
			background: #fef2f2;
			color: #dc2626;
			border: 1px solid #fecaca;
		}

		.docs-badge-opt {
			background: #f0fdf4;
			color: #16a34a;
			border: 1px solid #bbf7d0;
		}

		.docs-param-demo {
			font-family: 'Consolas', 'JetBrains Mono', monospace;
			font-size: 11px;
			color: #718096;
			background: #f7f9fc;
			padding: 2px 7px;
			border-radius: 4px;
		}

		/* 下载网格 */
		.docs-download-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
			gap: 10px;
			margin-top: 14px;
		}

		.docs-download-item {
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 12px 14px;
			background: #f7f9fc;
			border: 1px solid #e8ecf0;
			border-radius: 8px;
			text-decoration: none;
			transition: all 0.3s;
		}

		.docs-download-item:hover {
			background: #eef0ff;
			border-color: #667eea;
			transform: translateX(3px);
		}

		.docs-download-icon {
			width: 34px;
			height: 34px;
			border-radius: 6px;
			background: #ffedd5;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 15px;
			color: #ea580c;
			flex-shrink: 0;
		}

		.docs-download-icon.github { background: #dcfce7; color: #16a34a; }
		.docs-download-icon.soon { background: #f1f5f9; color: #a0aec0; }

		.docs-download-info { flex: 1; min-width: 0; }

		.docs-download-name {
			font-size: 12px;
			font-weight: 600;
			color: #2d3748;
			line-height: 1.3;
		}

		.docs-download-tag {
			font-size: 10px;
			color: #a0aec0;
			margin-top: 2px;
		}

		.docs-download-tag.new { color: #16a34a; font-weight: 500; }

		/* 开发者卡片 */
		.docs-dev-card {
			background: linear-gradient(135deg, #f8fafc, #f1f5f9);
			border: 1px solid #e2e8f0;
			border-radius: 12px;
			padding: 22px;
		}

		.docs-dev-card p {
			font-size: 14px;
			color: #4a5568;
			margin-bottom: 16px;
			line-height: 1.7;
		}

		.docs-dev-links {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
			gap: 10px;
			margin-bottom: 16px;
		}

		.docs-dev-link {
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 12px 14px;
			background: #fff;
			border: 1px solid #e2e8f0;
			border-radius: 8px;
			text-decoration: none;
			transition: all 0.3s;
		}

		.docs-dev-link:hover {
			border-color: #667eea;
			box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10);
		}

		.docs-dev-link-icon {
			width: 36px;
			height: 36px;
			border-radius: 8px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 16px;
			flex-shrink: 0;
		}

		.docs-dev-link-icon.sdk { background: #dbeafe; color: #2563eb; }
		.docs-dev-link-icon.doc { background: #dcfce7; color: #16a34a; }
		.docs-dev-link-icon.sample { background: #fef9c3; color: #ca8a04; }

		.docs-dev-link-title {
			font-size: 13px;
			font-weight: 600;
			color: #2d3748;
		}

		.docs-dev-link-url {
			font-size: 11px;
			color: #a0aec0;
			margin-top: 1px;
			word-break: break-all;
		}

		.docs-sdk-badges {
			display: flex;
			gap: 8px;
			flex-wrap: wrap;
		}

		.docs-sdk-badge {
			display: inline-flex;
			align-items: center;
			gap: 5px;
			padding: 4px 12px;
			border-radius: 50px;
			font-size: 12px;
			font-weight: 500;
		}

		.docs-sdk-badge.csharp { background: #f3e8ff; color: #7c3aed; }
		.docs-sdk-badge.php { background: #ede9fe; color: #6d28d9; }
		.docs-sdk-badge.js { background: #fef9c3; color: #854d0e; }

		/* 免责声明列表 */
		.docs-disclaimer-list {
			list-style: none;
			padding: 0;
			margin: 12px 0 0;
		}

		.docs-disclaimer-list li {
			position: relative;
			padding-left: 16px;
			margin-bottom: 8px;
			color: #4a5568;
			font-size: 13px;
			line-height: 1.7;
		}

		.docs-disclaimer-list li::before {
			content: '';
			position: absolute;
			left: 0;
			top: 8px;
			width: 5px;
			height: 5px;
			border-radius: 50%;
			background: #cbd5e0;
		}

		/* 响应式 */
		@media (max-width: 768px) {
			.docs-download-grid { grid-template-columns: 1fr 1fr; }
			.docs-dev-links { grid-template-columns: 1fr; }
		}

		@media (max-width: 480px) {
			.docs-download-grid { grid-template-columns: 1fr; }
		}
