/**
 * ZipNationMovies — Ultra-Modern Liquid Glassmorphism Android Native Companion v4.5.0
 * Exclusive App-Only UI System: Edge-to-Edge OLED, Liquid Glass, Frosted Blur, Native Streaming UX
 * Completely separated from Web layout — Dedicated Mobile Native Experience.
 */

:root {
    --and-safe-top: env(safe-area-inset-top, 0px);
    --and-safe-bottom: env(safe-area-inset-bottom, 0px);
    --and-safe-left: env(safe-area-inset-left, 0px);
    --and-safe-right: env(safe-area-inset-right, 0px);

    /* Liquid Glass Palette */
    --and-bg: #030509;
    --and-bg-secondary: #080c18;
    --and-glass-surface: rgba(14, 20, 38, 0.72);
    --and-glass-dock: rgba(10, 14, 28, 0.82);
    --and-glass-card: rgba(255, 255, 255, 0.05);
    --and-glass-border: rgba(255, 255, 255, 0.12);
    --and-glass-highlight: rgba(255, 255, 255, 0.22);
    --and-glass-blur: blur(28px) saturate(210%);
    --and-glass-blur-sm: blur(16px) saturate(180%);

    /* Vibrant Liquid Accents */
    --and-primary: #a93bfe;
    --and-primary-dark: #7928ca;
    --and-primary-glow: rgba(169, 59, 254, 0.45);
    --and-accent-blue: #6366f1;
    --and-neon-teal: #00f5d4;
    --and-neon-glow: rgba(0, 245, 212, 0.35);
    --and-text-main: #f8fafc;
    --and-text-muted: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════
   0. VISIBILITY TOGGLES (WEB VS APK)
   ═══════════════════════════════════════════════════════════════ */

/* Hidden on web by default */
.apk-only-flex,
.apk-only-block {
    display: none !important;
}

/* Enabled exclusively in Android App */
html.is-android-app .apk-only-flex {
    display: flex !important;
}

html.is-android-app .apk-only-block {
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════════
   1. ROOT & OLED BLACK BASE SYSTEM
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app,
body.is-android-app {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
    overscroll-behavior-y: contain;
    background: var(--and-bg) !important;
    color: var(--and-text-main) !important;
    padding-top: 0 !important;
    padding-bottom: calc(var(--and-safe-bottom) + 84px) !important;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

html.is-android-app input,
html.is-android-app textarea,
html.is-android-app [contenteditable] {
    user-select: text !important;
}

/* Native kinetic momentum scrolling */
html.is-android-app * {
    scrollbar-width: none !important;
}

html.is-android-app *::-webkit-scrollbar {
    display: none !important;
}

html.is-android-app .swiper,
html.is-android-app .swiper-wrapper,
html.is-android-app .content-row,
html.is-android-app .zn-downloads-list,
html.is-android-app .and-category-chips-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide desktop and redundant web-only elements in APK */
html.is-android-app .site-footer,
html.is-android-app .v2-footer,
html.is-android-app footer,
html.is-android-app #pwa-install-banner,
html.is-android-app .pwa-prompt,
html.is-android-app .hide-apk,
html.is-android-app .desktop-only,
html.is-android-app .desktop-cat-nav,
html.is-android-app .desktop-nav-extras,
html.is-android-app .header-spacer,
html.is-android-app .hide-mobile,
html.is-android-app #zn-scroll-top,
html.is-android-app #zn-cookie-consent {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   2. IMMERSIVE LIQUID GLASS APP BAR (TOP HEADER)
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .site-header,
html.is-android-app .v2-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    padding-top: max(var(--and-safe-top), 10px) !important;
    padding-bottom: 10px !important;
    padding-left: max(var(--and-safe-left), 14px) !important;
    padding-right: max(var(--and-safe-right), 14px) !important;
    height: auto !important;
    min-height: calc(var(--and-safe-top) + 54px) !important;
    background: linear-gradient(180deg, rgba(3, 5, 9, 0.96) 0%, rgba(8, 12, 24, 0.85) 75%, transparent 100%) !important;
    backdrop-filter: var(--and-glass-blur) !important;
    -webkit-backdrop-filter: var(--and-glass-blur) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

html.is-android-app .header-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    margin: 0 !important;
}

html.is-android-app .logo-zn {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    text-decoration: none !important;
}

html.is-android-app .logo-icon-wrap img,
html.is-android-app .logo-zn-icon {
    width: 32px !important;
    height: 32px !important;
    filter: drop-shadow(0 0 12px rgba(169, 59, 254, 0.5));
}

html.is-android-app .logo-text {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html.is-android-app .logo-mid {
    color: #a93bfe !important;
    -webkit-text-fill-color: #a93bfe !important;
}

html.is-android-app .logo-tld {
    font-size: 0.72rem !important;
    color: #00f5d4 !important;
    -webkit-text-fill-color: #00f5d4 !important;
    margin-left: 2px;
}

/* Header Actions Area in APK */
html.is-android-app .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Dedicated APK Search Pill */
html.is-android-app .apk-search-link {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

html.is-android-app .apk-search-link:active {
    transform: scale(0.92) !important;
    background: rgba(169, 59, 254, 0.25) !important;
    border-color: rgba(169, 59, 254, 0.5) !important;
}

/* Dedicated APK Language Pill */
html.is-android-app .apk-lang-pill {
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

html.is-android-app .apk-lang-pill:active {
    transform: scale(0.92) !important;
    background: rgba(169, 59, 254, 0.25) !important;
    border-color: rgba(169, 59, 254, 0.6) !important;
}

html.is-android-app .apk-lang-flag {
    font-size: 1.05rem !important;
    line-height: 1;
}

html.is-android-app .apk-lang-code {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    color: #e2e8f0 !important;
}

/* Profile Avatar Button */
html.is-android-app .profile-avatar-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(169, 59, 254, 0.3), rgba(99, 102, 241, 0.3)) !important;
    border: 1.5px solid rgba(169, 59, 254, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 0 12px rgba(169, 59, 254, 0.3) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
}

html.is-android-app .profile-avatar-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ═══════════════════════════════════════════════════════════════
   3. LIQUID CATEGORY CHIPS SLIDER (NATIVE STREAMING UX)
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .and-category-chips-wrap {
    width: 100% !important;
    padding: 12px 14px 6px 14px !important;
    margin-top: -6px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
}

html.is-android-app .and-category-chips-scroll {
    display: flex !important;
    gap: 9px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    white-space: nowrap !important;
}

html.is-android-app .and-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 15px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

html.is-android-app .and-chip:active {
    transform: scale(0.93) !important;
}

html.is-android-app .and-chip.active {
    background: linear-gradient(135deg, #a93bfe 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 4px 18px rgba(169, 59, 254, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}

html.is-android-app .and-chip-premium {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(217, 119, 6, 0.12)) !important;
    border-color: rgba(234, 179, 8, 0.35) !important;
    color: #fef08a !important;
}

html.is-android-app .and-chip-icon {
    font-size: 0.95rem !important;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   4. FLOATING LIQUID GLASS BOTTOM NAVIGATION DOCK
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .v2-bottom-nav,
html.is-android-app #v2-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: max(var(--and-safe-bottom), 12px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    height: auto !important;
    padding: 0 14px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
    justify-content: center !important;
}

html.is-android-app .v2-bottom-nav-inner {
    pointer-events: auto !important;
    width: 100% !important;
    max-width: 440px !important;
    height: 62px !important;
    margin: 0 auto !important;
    background: var(--and-glass-dock) !important;
    backdrop-filter: blur(32px) saturate(220%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(220%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 4px 6px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85),
                0 0 28px rgba(169, 59, 254, 0.25),
                inset 0 1px 1.5px rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Shimmer Highlight Line */
html.is-android-app .v2-bottom-nav-inner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 10% !important;
    right: 10% !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(169, 59, 254, 0.95), rgba(0, 245, 212, 0.8), transparent) !important;
    pointer-events: none !important;
}

html.is-android-app .v2-bnav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    font-size: 0.67rem !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    position: relative !important;
    flex: 1 !important;
    background: transparent !important;
}

html.is-android-app .v2-bnav-item.active,
html.is-android-app .v2-bnav-item.router-link-active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(169, 59, 254, 0.3), rgba(99, 102, 241, 0.2)) !important;
    box-shadow: inset 0 0 12px rgba(169, 59, 254, 0.35) !important;
}

html.is-android-app .v2-bnav-item.active .v2-bnav-icon svg,
html.is-android-app .v2-bnav-item.active span[data-icon] {
    color: #f1e4ff !important;
    stroke: #f1e4ff !important;
    filter: drop-shadow(0 0 10px rgba(169, 59, 254, 0.95)) !important;
    transform: translateY(-1.5px) scale(1.1) !important;
}

html.is-android-app .v2-bnav-item:active {
    transform: scale(0.9) !important;
}

/* ═══════════════════════════════════════════════════════════════
   5. CINEMATIC HERO BANNER (IMMERSIVE NATIVE LOOK)
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .home-main {
    padding-top: calc(var(--and-safe-top) + 52px) !important;
}

html.is-android-app .hero-section {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    max-height: 64vh !important;
    height: 54vh !important;
    border-radius: 0 0 32px 32px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.8) !important;
}

html.is-android-app .hero-slide {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

html.is-android-app .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center 20% !important;
}

html.is-android-app .hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(3, 5, 9, 0.15) 0%,
        rgba(3, 5, 9, 0.45) 40%,
        rgba(3, 5, 9, 0.95) 86%,
        #030509 100%
    ) !important;
}

html.is-android-app .hero-inner {
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 24px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

html.is-android-app .hero-title {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95) !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

html.is-android-app .hero-desc {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
}

html.is-android-app .btn-hero-play {
    flex: 1.4 !important;
    height: 46px !important;
    border-radius: 23px !important;
    background: linear-gradient(135deg, #a93bfe, #6366f1) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 24px rgba(169, 59, 254, 0.5) !important;
    border: none !important;
    transition: transform 0.15s ease !important;
}

html.is-android-app .btn-hero-play:active {
    transform: scale(0.94) !important;
}

html.is-android-app .btn-hero-info {
    flex: 1 !important;
    height: 46px !important;
    border-radius: 23px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: transform 0.15s ease !important;
}

html.is-android-app .btn-hero-info:active {
    transform: scale(0.94) !important;
}

/* ═══════════════════════════════════════════════════════════════
   6. ULTRA-MODERN MOVIE CARDS & ROWS (LIQUID GLASS SHEEN)
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .home-sections {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

html.is-android-app .content-row {
    margin-bottom: 24px !important;
}

html.is-android-app .row-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

html.is-android-app .row-head h2 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
    padding-left: 12px !important;
}

html.is-android-app .row-head h2::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    bottom: 3px !important;
    width: 4px !important;
    border-radius: 4px !important;
    background: linear-gradient(180deg, #a93bfe, #00f5d4) !important;
}

html.is-android-app .row-link {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #c084fc !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

html.is-android-app .jcard,
html.is-android-app .content-card {
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    position: relative !important;
}

html.is-android-app .jcard:active,
html.is-android-app .content-card:active {
    transform: scale(0.94) !important;
}

html.is-android-app .jcard-poster {
    border-radius: 18px !important;
}

/* Glass Rating Badge */
html.is-android-app .jcard-rating {
    background: rgba(8, 12, 24, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
}

/* ═══════════════════════════════════════════════════════════════
   7. LIQUID GLASS BOTTOM SHEET (LANGUAGE & SETTINGS)
   ═══════════════════════════════════════════════════════════════ */

.zn-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.zn-sheet-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.zn-sheet-panel.zn-glass-panel {
    width: 100%;
    max-width: 500px;
    background: rgba(12, 16, 32, 0.92);
    backdrop-filter: blur(36px) saturate(210%);
    -webkit-backdrop-filter: blur(36px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    padding: 16px 20px calc(var(--and-safe-bottom) + 24px) 20px;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.zn-sheet-backdrop.active .zn-sheet-panel {
    transform: translateY(0);
}

.zn-sheet-handle {
    width: 44px;
    height: 4.5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    margin: 0 auto 16px auto;
}

.zn-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.zn-sheet-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.zn-sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.zn-lang-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.zn-lang-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.zn-lang-item:active {
    transform: scale(0.95);
}

.zn-lang-item.active {
    background: linear-gradient(135deg, rgba(169, 59, 254, 0.35), rgba(99, 102, 241, 0.25));
    border-color: rgba(169, 59, 254, 0.6);
    box-shadow: 0 4px 18px rgba(169, 59, 254, 0.3);
}

.zn-lang-item .zn-flag {
    font-size: 1.8rem;
    line-height: 1;
}

.zn-lang-item .zn-lang-meta {
    flex: 1;
    min-width: 0;
}

.zn-lang-item .zn-lang-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.zn-lang-item .zn-lang-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.zn-lang-item .zn-check {
    color: #00f5d4;
    font-weight: 900;
    font-size: 1.1rem;
    display: none;
}

.zn-lang-item.active .zn-check {
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   8. DEDICATED PROFILE & SETTINGS FOR APK
   ═══════════════════════════════════════════════════════════════ */

html.is-android-app .profile-hero,
html.is-android-app .profile-card,
html.is-android-app .settings-section {
    background: rgba(14, 20, 38, 0.7) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

html.is-android-app .profile-action-btn,
html.is-android-app .settings-btn {
    border-radius: 18px !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   9. OFFLINE DOWNLOADS DRAWER
   ═══════════════════════════════════════════════════════════════ */

.zn-downloads-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(3, 5, 9, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--and-safe-top) + 16px);
    padding-bottom: calc(var(--and-safe-bottom) + 20px);
    padding-left: 18px;
    padding-right: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px);
}

.zn-downloads-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.zn-downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.zn-downloads-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zn-downloads-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

.zn-download-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.zn-download-poster {
    width: 60px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    background: #111;
}

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

.zn-download-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zn-download-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 3px;
}

.zn-download-progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.zn-download-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a93bfe, #00f5d4);
    width: 0%;
    transition: width 0.2s ease;
}
