body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif; margin: 0; padding: 0; background: #0f1115; color: #eaeef3; }
.page-wrapper { position: relative; min-height: 100vh; }
.app-sidebar { position: fixed; top: 50%; transform: translateY(-50%); right: calc(50% + 400px + 16px); width: min(320px, calc((100vw - 800px) / 2 - 16px)); z-index: 100; }
.container { padding: 24px; max-width: 800px; margin: 0 auto; }
h1 { font-size: 22px; margin: 0 0 16px; text-align: center; }
.input-wrapper { display: flex; justify-content: center; margin-bottom: 32px; }
.input-wrapper .card.main-input { max-width: 800px; width: 100%; }
.card.main-input { background: linear-gradient(135deg, #1a1f2e 0%, #151922 100%); border: 1px solid #374151; border-radius: 20px; padding: 32px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2); position: relative; overflow: hidden; margin-bottom: 24px; }
.card.info-section { background: #0f141c; border: 1px solid #1e293b; border-radius: 8px; padding: 16px; opacity: 0.7; transition: opacity 0.3s ease; }
.card.info-section:hover { opacity: 0.9; }
.row { display: flex; gap: 16px; }
input[type="text"] { flex: 1; padding: 20px 24px; background: #0f141c; border: 2px solid #1f2937; color: #eaeef3; border-radius: 16px; outline: none; font-size: 18px; transition: all 0.3s ease; }
input[type="text"]:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); background: #111827; }
button { padding: 20px 32px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; cursor: pointer; font-size: 18px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3); min-width: 160px; }
button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); }
button:disabled { background: #334155; cursor: not-allowed; transform: none; box-shadow: none; }
.hint { color: #9fb0c3; font-size: 14px; margin-top: 16px; line-height: 1.6; }
.result { margin-top: 20px; }
.thumb { max-width: 200px; border-radius: 8px; border: 1px solid #273142; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.item { background: #0f141c; border: 1px solid #273142; border-radius: 8px; padding: 8px; }
.item img, .item video { width: 100%; border-radius: 6px; }
a.dl { display: inline-block; margin-top: 6px; font-size: 12px; color: #93c5fd; }
.error { color: #fca5a5; margin-top: 8px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; background: #0f141c; border: 1px solid #1e293b; border-radius: 8px; overflow: hidden; }
.faq-question { padding: 16px 20px; background: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; color: #64748b; font-size: 14px; }
.faq-question:hover { background: #1f2937; }
.faq-icon { font-size: 18px; font-weight: bold; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; background: #0f141c; }
.faq-item.active .faq-answer { padding: 20px; max-height: 1000px; }
.faq-answer p { color: #64748b; font-size: 13px; line-height: 1.6; margin: 0 0 12px 0; }
.faq-answer p:last-child { margin-bottom: 0; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 16px 0; }
.platform-grid h4 { color: #64748b; font-size: 14px; margin: 0 0 8px 0; }
.platform-grid ul { margin: 0; padding-left: 16px; }
.platform-grid li { color: #64748b; font-size: 13px; margin-bottom: 4px; }
.update-note { color: #93c5fd !important; font-size: 13px; margin-top: 16px !important; }
.batch-download-btn { background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; color: #fff !important; border: none !important; padding: 12px 24px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer !important; transition: all 0.3s ease !important; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important; margin: 8px 0 !important; display: inline-block !important; }
.batch-download-btn:hover:not(:disabled) { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important; }
.batch-download-btn:disabled { background: #6b7280 !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }
.app-download-card { background: transparent; border: none; padding: 0; position: relative; width: 100%; }
.app-info { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.app-icon { font-size: 40px; background: #1f2937; border-radius: 12px; padding: 12px; flex-shrink: 0; }
.app-details { flex: 1; min-width: 0; }
.app-details h3 { color: #eaeef3; font-size: 18px; font-weight: 600; margin: 0 0 6px 0; line-height: 1.2; }
.app-details p { color: #9ca3af; font-size: 14px; margin: 0 0 10px 0; line-height: 1.4; }
.app-features { display: flex; gap: 6px; flex-wrap: wrap; }
.feature-tag { background: #1f2937; color: #9ca3af; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; border: 1px solid #374151; white-space: nowrap; }
.download-actions { display: flex; gap: 12px; align-items: center; justify-content: center; }
.download-btn { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; text-decoration: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); border: none; white-space: nowrap; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4); text-decoration: none; color: #fff; }
.download-icon { font-size: 16px; }
.qr-code-trigger { background: #1f2937; color: #9ca3af; padding: 10px 16px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; transition: all 0.3s ease; border: 1px solid #374151; white-space: nowrap; }
.qr-code-trigger:hover { background: #374151; color: #eaeef3; transform: translateY(-2px); }
.qr-icon { font-size: 16px; }
.qr-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(5px); }
.qr-modal-content { background: #1f2937; border-radius: 20px; padding: 24px; max-width: 400px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 1px solid #374151; }
.qr-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.qr-modal-header h4 { color: #fff; font-size: 18px; font-weight: 600; margin: 0; }
.close-btn { color: #9ca3af; font-size: 24px; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; }
.close-btn:hover { background: #374151; color: #fff; }
.qr-code-container { text-align: center; margin-bottom: 20px; }
#qrcode { display: flex; justify-content: center; margin-bottom: 16px; }
#qrcode canvas { border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.qr-url-display { background: #0f141c; border: 1px solid #374151; border-radius: 8px; padding: 12px; }
.qr-url-display p { color: #9ca3af; font-family: monospace; font-size: 12px; margin: 0; word-break: break-all; line-height: 1.4; }
.qr-tips { background: #0f141c; border-radius: 12px; padding: 16px; border: 1px solid #374151; }
.qr-tips p { color: #9ca3af; font-size: 13px; margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
 .app-sidebar { display: block; position: static; transform: none; right: auto; top: auto; width: auto; z-index: auto; margin: 8px 0 16px; padding-top: 30px;padding-left: 20px; }
 .container { padding: 16px; }
 h1 { font-size: 18px; }
 .card.main-input { padding: 20px; border-radius: 16px; }
 .row { flex-direction: column; gap: 12px; }
 input[type="text"] { font-size: 16px; padding: 16px 18px; }
 button { width: 100%; min-width: 0; padding: 16px 18px; font-size: 16px; }
 .hint { font-size: 13px; }
 .platform-grid { grid-template-columns: 1fr; }
 .qr-modal-content { width: 92%; max-width: 360px; padding: 20px; }
 #qrcode canvas { width: 100% !important; height: auto !important; }
}
@media (min-width: 769px) and (max-width: 1024px) { .app-sidebar { display: none; } }

