/* public/assets/css/video/m3u8-finder.css */

.find-wrapper { padding: 32px; border-radius: var(--radius-lg); }
.find-header { text-align: center; margin-bottom: 32px; border-bottom: 1px solid var(--border-color); padding-bottom: 24px; }
.find-title { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.find-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6; }
.find-workspace { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }

/* 结果接收区 (URL Receiver) */
.find-result-area { background: #f0fdf4; border: 2px solid #bbf7d0; border-radius: 16px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1); }
.find-res-icon { font-size: 4rem; margin-bottom: 16px; animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.find-res-title { color: #16a34a; font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.find-res-url-box { width: 100%; max-width: 600px; margin-bottom: 24px; }
.find-res-url-box input { width: 100%; padding: 16px; background: #fff; border: 1px solid #bbf7d0; border-radius: 12px; font-family: monospace; font-size: 1rem; color: #374151; text-align: center; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); outline: none; }
.find-res-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.find-btn-hero { background: #16a34a; color: #fff; border: none; padding: 14px 32px; border-radius: 12px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3); }
.find-btn-hero:hover { background: #15803d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4); }
.find-btn-outline { background: #fff; color: #16a34a; border: 2px solid #16a34a; padding: 12px 24px; border-radius: 12px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.3s; }
.find-btn-outline:hover { background: #f0fdf4; }
.find-btn-reset { font-size: 0.9rem; color: #6b7280; text-decoration: underline; cursor: pointer; }
.find-btn-reset:hover { color: #374151; }

@keyframes bounce-in { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* 书签拖拽区 */
.find-bookmarklet-box { background: var(--bg-surface); padding: 40px 24px; border-radius: 16px; border: 2px dashed var(--border-color); text-align: center; }
.find-bm-btn { display: inline-block; background: var(--primary-color); color: #fff !important; padding: 16px 32px; border-radius: 40px; font-size: 1.2rem; font-weight: 800; cursor: move; text-decoration: none; box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3); transition: 0.3s; user-select: none; }
.find-bm-btn:hover { transform: scale(1.05); box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.4); }
.find-btn-copy-code { background: var(--bg-body); color: var(--text-main); border: 1px solid var(--border-color); padding: 8px 20px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: 0.2s; margin-top: 12px; }
.find-btn-copy-code:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* 步骤指南区 */
.find-section-title { font-size: 1.2rem; color: var(--text-main); margin-bottom: 20px; text-align: center; }
.find-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.find-step-card { background: var(--bg-surface); border: 1px solid var(--border-color); padding: 20px; border-radius: 12px; position: relative; }
.find-step-num { width: 28px; height: 28px; background: rgba(var(--primary-rgb), 0.1); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; margin-bottom: 12px; }
.find-step-card strong { display: block; margin-bottom: 8px; font-size: 1.05rem; color: var(--text-main); }
.find-step-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* 插件引流推广区 */
.find-promo-box { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 16px; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border: 1px solid #334155; }
.find-promo-content { flex: 1; min-width: 250px; }
.find-promo-content h3 { color: #f8fafc; margin-bottom: 8px; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.find-promo-content p { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.find-promo-content strong { color: #38bdf8; }
.find-promo-btn { background: #38bdf8; color: #0f172a !important; padding: 12px 24px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: 0.2s; white-space: nowrap; }
.find-promo-btn:hover { background: #7dd3fc; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4); }

/* FAQ */
.find-faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.find-faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); padding: 20px; border-radius: 12px; }
.find-faq-item strong { color: var(--text-main); display: block; margin-bottom: 8px; font-size: 1.05rem; }
.find-faq-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 768px) {
    .find-wrapper { padding: 20px 16px; }
    .find-promo-box { flex-direction: column; text-align: center; }
    .find-promo-btn { width: 100%; text-align: center; }
}

/* 深色模式适配 */
[data-theme="dark"] .find-result-area { background: #064e3b; border-color: #047857; box-shadow: none; }
[data-theme="dark"] .find-res-url-box input { background: #022c22; border-color: #047857; color: #a7f3d0; }
[data-theme="dark"] .find-btn-outline { background: transparent; color: #34d399; border-color: #34d399; }
[data-theme="dark"] .find-btn-outline:hover { background: rgba(52, 211, 153, 0.1); }
[data-theme="dark"] .find-btn-reset { color: #9ca3af; }
[data-theme="dark"] .find-btn-reset:hover { color: #e5e7eb; }
[data-theme="dark"] .find-bookmarklet-box, [data-theme="dark"] .find-step-card, [data-theme="dark"] .find-faq-item { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .find-btn-copy-code { background: #0f172a; border-color: #475569; color: #f8fafc; }