/* DLL 子站点样式 */
.dll-container { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }

/* Hero */
.dll-hero { text-align: center; padding: 32px 16px 24px; background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%); color: #fff; border-radius: 12px; margin-bottom: 28px; }
.dll-hero h1 { font-size: 28px; margin: 0 0 8px; font-weight: 700; }
.dll-hero-sub { font-size: 14px; opacity: .92; margin: 0 0 18px; }
.dll-hero-sub strong { font-size: 18px; }
.dll-search { display: flex; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 24px; overflow: hidden; }
.dll-search-input { flex: 1; border: 0; padding: 10px 18px; font-size: 14px; outline: none; }
.dll-search-btn { border: 0; background: #ff7043; color: #fff; padding: 0 24px; font-size: 14px; cursor: pointer; }
.dll-search-btn:hover { background: #f4511e; }

/* Letter grid */
.dll-letter-grid h2, .dll-hot h2, .dll-list-header h1, .dll-detail-header h1 { font-size: 20px; margin: 0 0 16px; color: #222; }
.dll-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.dll-letter { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 4px; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #1a73e8; background: #fff; transition: all .15s; }
.dll-letter:hover { border-color: #1a73e8; box-shadow: 0 2px 8px rgba(26,115,232,.15); transform: translateY(-2px); }
.dll-letter-char { font-size: 22px; font-weight: 700; line-height: 1; }
.dll-letter-count { font-size: 12px; color: #888; margin-top: 4px; }
.dll-letter-empty { color: #bbb; background: #fafafa; }
.dll-letter-empty:hover { border-color: #ddd; box-shadow: none; transform: none; }

/* Hot list */
.dll-hot { margin-top: 32px; }
.dll-hot-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.dll-hot-list li { margin: 0; }
.dll-file-link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #eee; border-radius: 6px; text-decoration: none; color: #333; font-size: 13px; }
.dll-file-link:hover { background: #f5f8ff; border-color: #1a73e8; }
.dll-file-icon { font-size: 16px; }
.dll-file-name { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dll-file-meta { font-size: 11px; color: #999; }

/* List page */
.dll-list-header { margin-bottom: 16px; }
.dll-list-sub { font-size: 13px; color: #888; margin: 4px 0 0; }
.dll-list { list-style: none; padding: 0; margin: 0; }
.dll-list-item { margin: 0; border-bottom: 1px solid #f0f0f0; }
.dll-list-link { display: flex; align-items: center; gap: 12px; padding: 14px 8px; text-decoration: none; color: #333; }
.dll-list-link:hover { background: #f5f8ff; }
.dll-list-icon { font-size: 22px; }
.dll-list-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dll-list-name { font-size: 15px; font-weight: 600; color: #1a73e8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dll-list-meta { font-size: 12px; color: #999; }
.dll-list-arrow { color: #ccc; font-size: 16px; }

/* Pagination */
.dll-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.dll-page-btn { padding: 6px 16px; border: 1px solid #1a73e8; border-radius: 4px; color: #1a73e8; text-decoration: none; font-size: 13px; }
.dll-page-btn:hover { background: #1a73e8; color: #fff; }
.dll-page-info { font-size: 13px; color: #666; }

/* Empty */
.dll-empty { text-align: center; padding: 60px 20px; color: #999; }
.dll-back-btn { display: inline-block; margin-top: 12px; padding: 8px 20px; border: 1px solid #1a73e8; color: #1a73e8; border-radius: 4px; text-decoration: none; }

/* Detail page */
.dll-detail-header { padding: 20px 0; border-bottom: 2px solid #1a73e8; margin-bottom: 20px; }
.dll-detail-header h1 { font-size: 24px; margin: 0 0 6px; }
.dll-detail-tagline { font-size: 13px; color: #888; margin: 0; }

.dll-detail-body { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
@media (max-width: 768px) { .dll-detail-body { grid-template-columns: 1fr; } }

.dll-info-card { background: #fafbfc; border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.dll-info-card h2 { font-size: 16px; margin: 0 0 12px; color: #333; }
.dll-info-list { list-style: none; padding: 0; margin: 0 0 12px; }
.dll-info-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eee; }
.dll-info-list li span { color: #888; }
.dll-info-list li strong { color: #333; font-weight: 600; }
.dll-safety { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 8px 10px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-sizing: border-box; overflow: hidden; }
.dll-safety-label { font-size: 11px; font-weight: 500; color: #888; white-space: nowrap; flex-shrink: 0; }
.dll-safety-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; background: #e8f5e9; color: #137333; border: 1px solid #c8e6c9; border-radius: 3px; font-size: 11px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.safety-shield { font-size: 11px; }
.dll-download-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; background: #ff7043; color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; }
.dll-download-btn:hover { background: #f4511e; }
.dll-download-size { font-size: 11px; opacity: .9; font-weight: 400; }

.dll-install-guide { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 16px 20px; }
.dll-install-guide h2 { font-size: 16px; margin: 0 0 12px; color: #333; border-bottom: 2px solid #1a73e8; padding-bottom: 6px; }
.dll-install-content { font-size: 13px; line-height: 1.8; color: #444; }
.dll-install-content strong { color: #1a73e8; }
.dll-install-content code { background: #f5f5f5; padding: 2px 6px; border-radius: 3px; font-family: Menlo, Monaco, monospace; font-size: 12px; }

.dll-related { grid-column: 1 / -1; margin-top: 8px; }
.dll-related h2 { font-size: 16px; margin: 0 0 12px; color: #333; }
.dll-related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.dll-related-list li { margin: 0; }
.dll-related-list a { display: block; padding: 8px 12px; border: 1px solid #eee; border-radius: 4px; text-decoration: none; color: #1a73e8; font-size: 13px; }
.dll-related-list a:hover { background: #f5f8ff; border-color: #1a73e8; }
