/* ============================================================
   lite.css — حالت سبک / «اینترنت ملی»
   وقتی <html class="fm-ext-off"> باشد فعال می‌شود و:
   • همه‌ی جلوه‌های سنگین (بلور، سایه، فیلتر، انیمیشن، ترنزیشن) را خاموش می‌کند
   • پیش‌نمایش‌ها را به ظاهر پیش‌فرض و سبک مرورگر برمی‌گرداند
   • اسکرول نرم و افکت‌های تزئینی را غیرفعال می‌کند
   ============================================================ */

html.fm-ext-off {
    scroll-behavior: auto !important;
}

/* ---------- خاموش‌کردن جلوه‌های سنگین ---------- */
html.fm-ext-off *,
html.fm-ext-off *::before,
html.fm-ext-off *::after {
    /* انیمیشن‌ها فوراً به حالت پایانی می‌رسند (بدون حلقه‌ی بی‌پایان) */
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    mix-blend-mode: normal !important;
    will-change: auto !important;
}

/* اسپینرهای بارگذاری باید کار کنند */
html.fm-ext-off .fm-spinner,
html.fm-ext-off .fm-btn.is-busy::before {
    animation: fmSpin 0.9s linear infinite !important;
}

/* ---------- حذف پس‌زمینه‌های تزئینی و افکت‌های شیشه‌ای ---------- */
html.fm-ext-off .glow,
html.fm-ext-off .glow-1,
html.fm-ext-off .glow-2,
html.fm-ext-off .glow-3,
html.fm-ext-off .auth-card-bg,
html.fm-ext-off .empty-icon::before,
html.fm-ext-off .empty-icon::after {
    display: none !important;
}

/* ---------- پیش‌نمایش: ظاهر پیش‌فرض و سبک مرورگر ---------- */
html.fm-ext-off .fm-preview {
    background: rgba(0, 0, 0, 0.86) !important;
    padding: 0 !important;
}

html.fm-ext-off .fm-prev-shell {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #f5f5f5 !important;
}

html.fm-ext-off .fm-prev-top,
html.fm-ext-off .fm-prev-foot {
    background: #111 !important;
    border-color: #333 !important;
}

html.fm-ext-off .fm-prev-stage {
    background: #000 !important;
}

html.fm-ext-off .fm-prev-stage img,
html.fm-ext-off .fm-prev-media,
html.fm-ext-off .fm-prev-media video,
html.fm-ext-off .fm-prev-media audio {
    border-radius: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

html.fm-ext-off .fm-prev-btn,
html.fm-ext-off .fm-prev-nav {
    border-radius: 6px !important;
}

/* ---------- پخش‌کننده‌ی مدیا: کنترل‌های پیش‌فرض مرورگر ---------- */
html.fm-ext-off .fsmp--native {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
}

html.fm-ext-off .fsmp--native .fsmp-media--native {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 78vh !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

html.fm-ext-off .fsmp--native.fsmp--audio .fsmp-media--native {
    background: transparent !important;
    max-height: none !important;
}

/* ---------- کارت نصب اپ: بدون سایه و انیمیشن ---------- */
html.fm-ext-off .fm-pwa-card {
    border-radius: 10px !important;
}

