/* v5.17 — header search, cinematic featured posters and exact category rows. */
:root {
 --featured-ink: oklch(.98 0 0);
 --featured-shade: oklch(.12 .01 260);
 --featured-tag: oklch(.98 0 0 / .13);
 --featured-outline: oklch(.98 0 0 / .28);
 --featured-rating: oklch(.84 .16 85);
 --featured-button: oklch(.98 0 0 / .19);
 --featured-overlay: linear-gradient(90deg, color-mix(in oklab,var(--featured-shade) 90%,transparent),color-mix(in oklab,var(--featured-shade) 40%,transparent) 55%,transparent),linear-gradient(0deg,var(--featured-shade),transparent 75%);
}
.lm-header .lm-search-toggle {
 display:inline-grid;place-items:center;flex-shrink:0;width:40px;height:40px;padding:0;
 border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--chip);
}
.lm-search-toggle:hover {color:var(--brand-gold);}
.lm-search-toggle:focus-visible,.lm-featured button:focus-visible,.lm-featured a:focus-visible {outline:2px solid var(--brand-gold);outline-offset:3px;}
.lm-search-panel {display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .3s ease,opacity .3s ease,visibility .3s;scroll-margin-top:90px;position:relative;z-index:51;}
.lm-search-panel.is-open {grid-template-rows:1fr;opacity:1;visibility:visible;}
.lm-search-panel-inner {min-height:0;overflow:hidden;}
.lm-search-panel.is-open .lm-search-panel-inner {overflow:visible;}
.lm-search-panel .lm-tools {display:grid;grid-template-columns:minmax(0,1fr) 40px;max-width:1100px;margin:0 auto;padding:14px 16px;gap:12px;}
.lm-search-panel .lm-search {width:100%;min-width:0;}
.lm-search-close {background:var(--chip);color:var(--text);border:1px solid var(--border);border-radius:8px;font-size:25px;padding:0;}
.lm-featured {max-width:1400px;margin:18px auto 0;padding:0 16px;color:var(--featured-ink);}
.lm-featured-track {display:grid;overflow:hidden;background:var(--poster-bg);aspect-ratio:12/5;height:auto;min-height:360px;}
.lm-featured-slide {grid-area:1/1;position:relative;min-width:0;opacity:0;visibility:hidden;transform:translateX(4%);transition:opacity .6s ease,transform .6s ease,visibility .6s;overflow:hidden;}
.lm-featured-slide.is-active {opacity:1;visibility:visible;transform:translateX(0);z-index:1;}
.lm-featured-image {position:absolute;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;}
.lm-featured-slide::after {content:"";position:absolute;inset:0;background:var(--featured-overlay);pointer-events:none;}
.lm-featured-content {position:absolute;z-index:2;left:48px;right:48px;bottom:56px;max-width:620px;}
.lm-featured-content h2 {font-family:inherit;font-size:36px;line-height:1.15;letter-spacing:0;margin:0 0 20px;overflow-wrap:anywhere;}
.lm-featured-meta {display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:13px;}
.lm-featured-rating {color:var(--featured-rating);font-weight:700;margin-right:5px;}
.lm-featured-tag {background:var(--featured-tag);border:1px solid var(--featured-outline);border-radius:999px;padding:4px 10px;font-size:11px;}
.lm-featured-download {display:inline-flex;align-items:center;gap:9px;background:var(--featured-button);color:var(--featured-ink);border:1px solid var(--featured-outline);padding:10px 20px;border-radius:5px;font-weight:600;margin-top:22px;max-width:100%;overflow-wrap:anywhere;}
.lm-featured-download:hover {background:var(--featured-tag);}
.lm-featured-download svg {flex-shrink:0;}
.lm-featured-controls {display:flex;align-items:center;justify-content:center;gap:15px;padding:12px 0;}
.lm-featured-controls button {background:transparent;border:0;color:var(--text);height:28px;min-width:28px;padding:0;font-size:24px;display:grid;place-items:center;}
.lm-featured-controls .lm-slider-pause {font-size:12px;}
.lm-featured-dots {display:flex;gap:10px;align-items:center;}
.lm-featured-dots button {width:26px;height:28px;min-width:26px;}
.lm-featured-dots button::after {content:"";height:5px;width:18px;background:var(--muted);border-radius:5px;}
.lm-featured-dots button[aria-pressed="true"]::after {background:var(--brand-gold);}
.lm-chips.lm-chips {display:grid !important;}
.lm-chips {grid-template-columns:repeat(8,minmax(0,1fr));max-width:1368px;margin:0 auto;gap:8px;padding:16px;overflow:visible !important;align-items:stretch;}
.lm-home-chips {background:transparent;box-shadow:none;}
.lm-chips > a.lm-chip {width:100% !important;max-width:100% !important;min-width:0;display:flex !important;justify-content:center;align-items:center;gap:5px;text-align:center;padding:8px 5px;font-size:11px;line-height:1.3;border-radius:6px;white-space:normal;overflow:visible;overflow-wrap:anywhere;}
.lm-chips > a.lm-chip > span:last-child {min-width:0;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
html body .lm-chips > a.lm-chip {letter-spacing:0;}
.lm-chips .lm-ico {flex-shrink:0;}
.lm-chips > .lm-telegram {grid-column:1/-1;justify-self:center;max-width:100%;white-space:normal;}
.lm-mobile-current-category {display:none;}
@media (min-width:768px) and (max-width:1100px) {.lm-chips {grid-template-columns:repeat(6,minmax(0,1fr));}}
.lm-home-telegram {display:flex;justify-content:center;padding:10px 16px 0;}
.lm-side-request {display:block;margin-top:10px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:var(--chip);color:var(--text);font-weight:600;}
@media (max-width:1400px) {.lm-home-chips {margin-inline:16px;}}
@media (max-width:767px) {
 .lm-header {display:grid;grid-template-columns:auto minmax(0,1fr) auto;}
 .lm-header .lm-search-toggle {width:32px;height:36px;}
 .lm-header .lm-themebtn {width:32px;height:36px;min-height:36px;}
 .lm-header .lm-home {padding:6px;}
 .lm-header .lm-home:not(.lm-headcat) .lm-home-text,.lm-header .lm-headcat {display:none;}
 .lm-emblem-link {justify-self:center;min-width:0;}
 .lm-em {font-size:16px;}.lm-em-line {display:none;}
 .lm-featured {margin-top:12px;padding-inline:10px;}
 .lm-featured-track {aspect-ratio:4/5;height:auto;min-height:0;}
 .lm-featured-content {left:20px;right:20px;bottom:25px;max-width:none;}
 .lm-featured-content h2 {font-size:24px;margin-bottom:12px;}
 .lm-featured-meta {gap:5px;font-size:11px;}
 .lm-featured-tag {font-size:10px;padding:3px 7px;}
 .lm-featured-download {margin-top:14px;padding:8px 14px;font-size:12px;}
 .lm-chips {grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0 10px;padding:8px 0;border-top:0;}
 .lm-chips > a.lm-chip {flex-direction:column;gap:4px;padding:6px 3px;font-size:9px;line-height:1.3;min-height:56px;}
 .lm-chips > a.lm-chip .lm-ico {font-size:14px;}
 .lm-mobile-current-category {display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;background:var(--surface);color:var(--text);border-bottom:1px solid var(--border);font-size:11px;line-height:1.4;text-align:center;overflow-wrap:anywhere;}
 .lm-mobile-current-category > span:last-child {min-width:0;}
 .lm-mobile-current-category .lm-ico {flex-shrink:0;}

}
@media (prefers-reduced-motion:reduce) {.lm-search-panel,.lm-featured-slide {transition:none;}}

/* Posters: TV / large screens use the ultra-wide 8:3 poster at full width */
@media (min-width:1800px){.lm-featured{max-width:none;padding-inline:24px}.lm-featured-track{aspect-ratio:8/3}.lm-featured-content{left:72px;bottom:80px;max-width:900px}.lm-featured-content h2{font-size:52px}.lm-featured-download{font-size:18px;padding:14px 28px}}
.lm-featured picture{display:contents}

/* v5.22 — smaller posters, no black sides, theme font + custom colours */
.lm-featured{max-width:1180px}
.lm-featured-track{aspect-ratio:12/4.6;min-height:300px;background:transparent;border-radius:12px}
.lm-featured-slide{transform:none;transition:opacity .6s ease,visibility .6s}
.lm-featured-fill{position:absolute;inset:-30px;width:calc(100% + 60px);height:calc(100% + 60px);max-width:none;object-fit:cover;filter:blur(24px) brightness(.85);}
.lm-featured-slide::after{background:linear-gradient(0deg,oklch(0 0 0 / .72),oklch(0 0 0 / .25) 45%,transparent 70%)}
.lm-featured-content{left:40px;right:40px;bottom:44px}
.lm-featured-content h2,.lm-featured-content h2 a{font-family:var(--lm-display,"Cinzel",Georgia,serif);font-weight:400;letter-spacing:.04em;color:var(--poster-title,#fff);text-shadow:0 2px 12px oklch(0 0 0 / .7);font-size:34px;margin-bottom:14px}
.lm-featured-meta,.lm-featured-meta span{color:var(--poster-meta,#fff)}
.lm-featured-meta .lm-featured-rating{color:var(--poster-rating,#ffc94a);background:oklch(0 0 0 / .45);border:1px solid var(--featured-outline);border-radius:999px;padding:4px 10px;font-size:12px}
.lm-featured-tag{background:oklch(0 0 0 / .45);backdrop-filter:blur(4px)}
@media (max-width:767px){.lm-featured-track{aspect-ratio:4/5;border-radius:10px}.lm-featured-content{left:18px;right:18px;bottom:22px}.lm-featured-content h2,.lm-featured-content h2 a{font-size:22px}}
@media (min-width:1800px){.lm-featured{max-width:1600px}.lm-featured-content h2,.lm-featured-content h2 a{font-size:46px}}

/* v5.23 — poster = full site width, search overlay at top (no background), clickable poster */
.lm-featured{max-width:1400px;padding-inline:16px}
.lm-featured-track{aspect-ratio:12/5;min-height:0}
.lm-featured-slide{display:block}
.lm-featured-cover{position:absolute;inset:0;z-index:2}
.lm-featured-content{z-index:3;pointer-events:none}
.lm-featured-content a,.lm-featured-content h2{pointer-events:auto}
@media (min-width:1600px){.lm-featured{max-width:1500px}}
@media (min-width:1800px){.lm-featured{max-width:1500px;padding-inline:16px}.lm-featured-track{aspect-ratio:8/3}}
@media (max-width:767px){.lm-featured{max-width:100%;padding-inline:10px}.lm-featured-track{aspect-ratio:4/5;min-height:0}}
.lm-search-panel{position:fixed;left:0;right:0;top:72px;display:block;grid-template-rows:none;background:transparent;box-shadow:none;border:0;pointer-events:none;transition:opacity .2s ease,visibility .2s;z-index:60}
.lm-search-panel.is-open{pointer-events:none}
.lm-search-panel-inner{overflow:visible;background:transparent}
.lm-search-panel .lm-tools{background:transparent;box-shadow:none;border:0;pointer-events:none}
.lm-search-panel .lm-search,.lm-search-panel .lm-search-close,.lm-search-panel .lm-live{pointer-events:auto}

/* v5.24 — shorter poster, real slide motion, arrows on the poster sides */
.lm-featured{position:relative;margin-top:8px}
.lm-featured-track{aspect-ratio:12/4.3}
.lm-featured-slide{transform:translateX(8%);transition:opacity .7s ease,transform .7s ease,visibility .7s}
.lm-featured-slide.is-before{transform:translateX(-8%)}
.lm-featured-slide.is-active{transform:translateX(0)}
@media (min-width:1800px){.lm-featured-track{aspect-ratio:8/2.8}}
@media (max-width:767px){.lm-featured{margin-top:6px}.lm-featured-track{aspect-ratio:4/4.4}}
.lm-featured-controls{position:absolute;inset:0 16px;padding:0;gap:0;display:block;pointer-events:none;z-index:5}
.lm-featured-controls button{pointer-events:auto;position:absolute;color:#fff;background:oklch(0 0 0 / .45);border:1px solid oklch(1 0 0 / .3);backdrop-filter:blur(4px)}
.lm-featured-controls .lm-slider-prev,.lm-featured-controls .lm-slider-next{top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;font-size:30px;line-height:1;padding-bottom:3px}
.lm-featured-controls .lm-slider-prev{left:12px}
.lm-featured-controls .lm-slider-next{right:12px}
.lm-featured-controls .lm-slider-prev:hover,.lm-featured-controls .lm-slider-next:hover{background:oklch(0 0 0 / .7)}
.lm-featured-controls .lm-slider-pause{top:12px;right:12px;width:32px;height:32px;border-radius:50%;font-size:11px}
.lm-featured-dots{position:absolute;left:0;right:0;bottom:8px;justify-content:center;pointer-events:none}
.lm-featured-dots button{position:static;pointer-events:auto;background:transparent;border:0;backdrop-filter:none;width:22px;height:20px;min-width:22px}
.lm-featured-dots button::after{background:oklch(1 0 0 / .55);width:16px}
.lm-featured-dots button[aria-pressed="true"]::after{background:var(--brand-gold)}
@media (max-width:767px){.lm-featured-controls{inset:0 10px}.lm-featured-controls .lm-slider-prev,.lm-featured-controls .lm-slider-next{width:34px;height:34px;font-size:24px}.lm-featured-controls .lm-slider-prev{left:8px}.lm-featured-controls .lm-slider-next{right:8px}.lm-featured-controls .lm-slider-pause{top:8px;right:8px;width:28px;height:28px}}

/* v5.25 — no pause button, lower poster height (3:1 desktop/TV, 9:10 mobile) */
.lm-slider-pause{display:none!important}
.lm-featured{margin-top:6px}
.lm-featured-track{aspect-ratio:3/1;min-height:0}
@media (min-width:1800px){.lm-featured-track{aspect-ratio:3/1}}
@media (max-width:767px){.lm-featured-track{aspect-ratio:9/10}}

/* v5.26 — smoother theme, shorter poster, big search over poster with blurred page */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.lm-featured-track{aspect-ratio:3.4/1}
@media (min-width:1800px){.lm-featured-track{aspect-ratio:3.4/1}}
@media (max-width:767px){.lm-featured-track{aspect-ratio:1/1}}
.lm-featured-slide{will-change:transform,opacity;backface-visibility:hidden;transition:opacity .8s cubic-bezier(.4,0,.2,1),transform .8s cubic-bezier(.4,0,.2,1),visibility .8s}
.lm-featured-fill{filter:blur(14px) brightness(.85);transform:translateZ(0)}
.lm-featured-tag,.lm-featured-controls button{backdrop-filter:none!important;background:oklch(0 0 0 / .55)}
.lm-chip,.lm-card,.lm-featured-download,.lm-burger,.lm-themebtn,.lm-search-toggle{transition:transform .25s ease,background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}
img{content-visibility:auto}
.lm-search-backdrop{position:fixed;inset:0;z-index:55;background:oklch(0 0 0 / .35);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s}
.lm-search-backdrop.is-on{opacity:1;visibility:visible}
html.lm-light .lm-search-backdrop{background:oklch(1 0 0 / .35)}
.lm-search-panel{z-index:60;transform:translateY(-10px);transition:opacity .3s ease,transform .3s ease,visibility .3s}
.lm-search-panel.is-open{transform:none}
.lm-search-panel .lm-tools{max-width:960px;padding:0 16px}
.lm-search-panel .lm-search{max-width:none}
.lm-search-panel .lm-search input[type="search"],.lm-search-panel .lm-search input[type="text"]{height:60px;font-size:19px;padding-left:22px;border-radius:14px;box-shadow:0 14px 40px oklch(0 0 0 / .45)}
.lm-search-panel .lm-search button{font-size:14px;padding:10px 20px}
.lm-search-panel .lm-search-close{width:44px;height:44px;align-self:center;border-radius:50%;pointer-events:auto}
@media (max-width:767px){.lm-search-panel .lm-search input[type="search"],.lm-search-panel .lm-search input[type="text"]{height:50px;font-size:16px}.lm-search-panel .lm-tools{padding:0 10px}}

/* v5.27 — bigger posters; frame ratio = upload size, so nothing is cropped */
.lm-featured-track{aspect-ratio:8/3;min-height:0}
@media (min-width:1800px){.lm-featured-track{aspect-ratio:8/3}}
@media (max-width:767px){.lm-featured-track{aspect-ratio:4/5}}
.lm-featured-image{object-fit:cover}

/* Device-specific poster sizing. All five slides share a stable frame. */
.lm-featured-track{aspect-ratio:8/3;background:var(--featured-shade)}
.lm-featured-image{inset:0;object-fit:contain;content-visibility:visible}
.lm-featured-fill{display:none}
.lm-featured-slide{will-change:auto}
.lm-featured-controls button:focus-visible{outline:3px solid var(--brand-gold);outline-offset:3px}
@media (min-width:768px) and (max-width:1199px){
.lm-featured-content{left:52px;right:52px;bottom:32px;max-width:none}
.lm-featured-content h2,.lm-featured-content h2 a{font-size:26px}
.lm-featured-download{margin-top:10px}
}
@media (min-width:1800px){
.lm-featured{max-width:2400px;padding-inline:24px}
.lm-featured-track{aspect-ratio:8/3}
.lm-featured-controls{inset:0 24px}
}
@media (max-width:767px){
.lm-featured-track{aspect-ratio:16/9}
.lm-featured-content{left:46px;right:46px;bottom:30px;max-width:none}
.lm-featured-content h2,.lm-featured-content h2 a{font-size:18px;line-height:1.2;margin-bottom:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:0}
.lm-featured-meta{display:none}
.lm-featured-download{margin-top:8px;padding:6px 10px;font-size:11px;gap:5px;min-height:32px}
.lm-featured-download svg{width:14px;height:14px}
.lm-featured-controls .lm-slider-prev,.lm-featured-controls .lm-slider-next{width:36px;height:44px;font-size:24px;padding-bottom:2px}
.lm-featured-controls .lm-slider-prev{left:4px}
.lm-featured-controls .lm-slider-next{right:4px}
.lm-featured-dots{bottom:2px}
.lm-featured-dots button{height:28px}
}
@media (prefers-reduced-motion:reduce){.lm-featured-slide{transition:none;transform:none}}

@media (max-width:380px) {.lm-chips {grid-template-columns:repeat(4,minmax(0,1fr));}}

/* =====================================================================
   v5.29 — mobile poster text, borderless header buttons, new colours,
   new sidebar, search dropdown fit.  (Loaded last, so it wins.)
   ===================================================================== */

/* ---- 1. Mobile poster: chota, saaf text ---- */
@media (max-width:767px){
 .lm-featured-slide::after{background:linear-gradient(0deg,oklch(0 0 0 / .78),oklch(0 0 0 / .3) 38%,transparent 62%)}
 .lm-featured-content{left:40px;right:40px;bottom:22px}
 .lm-featured-content h2,.lm-featured-content h2 a{font-size:12.5px;line-height:1.25;font-weight:600;letter-spacing:0;text-shadow:0 1px 6px oklch(0 0 0 / .85);-webkit-line-clamp:1;line-clamp:1}
 .lm-featured-content h2{margin:0}
 .lm-featured-download{margin-top:6px;padding:4px 10px;min-height:26px;font-size:10px;line-height:1.2;gap:4px;border-radius:5px}
 .lm-featured-download svg{width:11px;height:11px}
 .lm-featured-controls .lm-slider-prev,.lm-featured-controls .lm-slider-next{width:28px;height:36px;font-size:20px}
 .lm-featured-dots{bottom:0}
 .lm-featured-dots button{width:16px;height:22px;min-width:16px}
 .lm-featured-dots button::after{width:11px;height:4px}
}
@media (max-width:360px){
 .lm-featured-content h2,.lm-featured-content h2 a{font-size:11.5px}
 .lm-featured-download{font-size:9.5px;padding:3px 8px;min-height:24px}
}

/* ---- 2. Header buttons: koi line / box nahi (burger, search, theme) ---- */
.lm-header .lm-burger,.lm-header .lm-search-toggle,.lm-header .lm-themebtn,
html.lm-light .lm-header .lm-themebtn,.lm-search-close,.lm-header .lm-burger:hover,
.lm-header .lm-search-toggle:hover,.lm-header .lm-themebtn:hover{
 border:0 !important;background:transparent !important;box-shadow:none !important;
 -webkit-tap-highlight-color:transparent;
}
.lm-header .lm-burger:focus,.lm-header .lm-search-toggle:focus,.lm-header .lm-themebtn:focus,
.lm-header .lm-burger:focus-visible,.lm-header .lm-search-toggle:focus-visible,.lm-header .lm-themebtn:focus-visible,
.lm-search-close:focus,.lm-search-close:focus-visible{outline:none !important;box-shadow:none !important}
.lm-header .lm-burger:active,.lm-header .lm-search-toggle:active,.lm-header .lm-themebtn:active,.lm-search-close:active{transform:scale(.88)}

/* ---- 3. Naye rang: burger / search / theme ---- */
.lm-header .lm-burger{color:#ff9d3d;font-size:24px;width:38px;height:38px;padding:0;display:inline-grid;place-items:center;transition:transform .2s ease,color .2s ease,filter .2s ease}
.lm-header .lm-search-toggle{color:#22d3ee;transition:transform .2s ease,color .2s ease,filter .2s ease}
.lm-header .lm-search-toggle svg{stroke-width:2.4;filter:drop-shadow(0 0 6px rgb(34 211 238 / .55))}
.lm-header .lm-themebtn{transition:transform .2s ease,color .2s ease,filter .2s ease}
.lm-header .lm-themebtn[aria-checked="false"]{color:#b79cff}              /* dark mode: chand (purple) */
.lm-header .lm-themebtn[aria-checked="true"]{color:#ffb020}               /* mint mode: suraj (amber) */
.lm-header .lm-themebtn .lm-themebtn-ico svg{stroke-width:2.2;filter:drop-shadow(0 0 6px currentColor)}
.lm-header .lm-burger:hover,.lm-header .lm-search-toggle:hover,.lm-header .lm-themebtn:hover{filter:brightness(1.2);transform:scale(1.1)}
html.lm-light .lm-header .lm-burger{color:#e8590c}
html.lm-light .lm-header .lm-search-toggle{color:#0e9aa7}
html.lm-light .lm-header .lm-search-toggle svg{filter:none}
html.lm-light .lm-header .lm-themebtn .lm-themebtn-ico svg{filter:none}
html.lm-light .lm-header .lm-themebtn[aria-checked="true"]{color:#d97706}
.lm-search-close{color:var(--muted)}
.lm-search-close:hover{color:#ff5d7a}

/* ---- 4. Naya sidebar (drawer) ---- */
.lm-drawer{
 width:290px;max-width:86vw;border-radius:0 22px 22px 0;border:0;
 background:linear-gradient(175deg,#241b3d 0%,#1a1630 48%,#10202b 100%);
 box-shadow:12px 0 40px oklch(0 0 0 / .55);
}
.lm-overlay{background:oklch(.12 .03 280 / .55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.lm-drawer-head{border-bottom:0;padding:18px 18px 10px;position:relative}
.lm-drawer-head::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#ff9d3d88,#22d3ee88,transparent)}
.lm-drawer .lm-close{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:24px;line-height:1;color:#d9d4ee;background:oklch(1 0 0 / .08) !important;transition:background .2s ease,color .2s ease,transform .2s ease}
.lm-drawer .lm-close:hover{background:#ff5d7a33 !important;color:#ff8da1;transform:rotate(90deg)}
.lm-drawer-nav{gap:8px;padding:16px 14px 28px}
.lm-drawer-nav a,.lm-drawer-nav .lm-category-toggle{
 position:relative;display:flex;align-items:center;gap:11px;margin:0;min-height:46px;
 padding:11px 14px 11px 18px;border:0 !important;border-radius:14px;
 background:oklch(1 0 0 / .06) !important;color:#f1eefb !important;
 font-size:14.5px;font-weight:600;letter-spacing:.1px;box-shadow:none;
 transition:background .2s ease,transform .2s ease,color .2s ease;
}
.lm-drawer-nav a::before,.lm-drawer-nav .lm-category-toggle::before{
 content:"";position:absolute;left:0;top:50%;width:4px;height:0;border-radius:0 4px 4px 0;
 background:linear-gradient(180deg,#ff9d3d,#ff4d8d);transform:translateY(-50%);transition:height .2s ease;
}
.lm-drawer-nav a:hover,.lm-drawer-nav .lm-category-toggle:hover{background:oklch(1 0 0 / .13) !important;transform:translateX(3px);color:#fff !important;border:0 !important}
.lm-drawer-nav a:hover::before,.lm-drawer-nav a.is-active::before,.lm-drawer-nav .lm-category-toggle[aria-expanded="true"]::before{height:60%}
.lm-drawer-nav a.is-active{background:linear-gradient(90deg,#ff7a2a40,#ff4d8d26) !important;color:#fff !important}
.lm-drawer-nav .lm-category-toggle{width:100%;margin-top:4px;cursor:pointer;text-align:left}
.lm-drawer-nav .lm-category-toggle > svg:first-child{color:#22d3ee;flex-shrink:0}
.lm-drawer-nav .lm-category-chevron{margin-left:auto;color:#ffb36b}
.lm-drawer-nav a.lm-telegram{background:linear-gradient(90deg,#1e9bf0,#45c3ff) !important;color:#fff !important;border-radius:14px;box-shadow:0 6px 18px #1e9bf040}
.lm-drawer-nav a.lm-telegram::before{display:none}
.lm-sidebar-categories:not([hidden]){gap:6px;padding:8px 0 0 10px;margin-left:10px;border-left:2px solid oklch(1 0 0 / .1)}
.lm-category-list a,.lm-sidebar-categories a{min-height:42px;font-size:13.5px;font-weight:500;background:oklch(1 0 0 / .04) !important}
.lm-drawer::-webkit-scrollbar{width:0}
/* Mint (light) drawer */
html.lm-light .lm-drawer{background:linear-gradient(175deg,#f4fbf8 0%,#e3f3ee 55%,#d5ece8 100%);box-shadow:12px 0 36px rgb(20 80 70 / .22)}
html.lm-light .lm-overlay{background:oklch(.3 .04 190 / .35)}
html.lm-light .lm-drawer-head::after{background:linear-gradient(90deg,transparent,#e8590c66,#0e9aa766,transparent)}
html.lm-light .lm-drawer .lm-close{color:#24524e;background:rgb(20 80 70 / .1) !important}
html.lm-light .lm-drawer-nav a,html.lm-light .lm-drawer-nav .lm-category-toggle{background:rgb(255 255 255 / .75) !important;color:#17403c !important;box-shadow:0 1px 3px rgb(20 80 70 / .1)}
html.lm-light .lm-drawer-nav a:hover,html.lm-light .lm-drawer-nav .lm-category-toggle:hover{background:#fff !important;color:#0b2f2c !important;border:0 !important}
html.lm-light .lm-drawer-nav a.is-active{background:linear-gradient(90deg,#ffd9b8,#ffe9d6) !important;color:#7a2d00 !important}
html.lm-light .lm-drawer-nav .lm-category-toggle > svg:first-child{color:#0e9aa7}
html.lm-light .lm-drawer-nav .lm-category-chevron{color:#e8590c}
html.lm-light .lm-sidebar-categories:not([hidden]){border-left-color:rgb(20 80 70 / .18)}
html.lm-light .lm-category-list a,html.lm-light .lm-sidebar-categories a{background:rgb(255 255 255 / .55) !important}

/* ---- 5. Search dropdown: neeche tak poora dikhe, scroll ho, foot hamesha nazar aaye ---- */
.lm-live{
 max-height:var(--lm-live-max,calc(100dvh - 190px));
 overscroll-behavior:contain;padding:6px 6px 0;
}
.lm-live-list{padding-bottom:2px}
.lm-live-item{align-items:center}
.lm-live-name{white-space:normal;overflow-wrap:anywhere;word-break:normal;display:block;overflow:visible;-webkit-line-clamp:unset}
.lm-live-thumb{align-self:flex-start}
.lm-live-foot{position:sticky;bottom:0;margin:0 -6px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#1e2129;z-index:1}
html.lm-light .lm-live-foot{background:#fff}
@media (max-width:767px){
 .lm-search-panel{top:calc(var(--lm-header-h,60px) + 8px)}
 .lm-live{border-radius:14px}
}

/* ---- 6. Search results page: poore cards, kuch kata hua na ho ---- */
.lm-grid{align-items:start}
.lm-card-title{overflow:visible;-webkit-line-clamp:unset;max-height:none}
.lm-wrap{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}

/* v6 — slider dots: only 5 visible at a time, rest hidden */
.lm-featured-dots button[hidden]{display:none !important}

/* v7 — poster poori frame mein (black bars nahi), text readable */
html body .lm-featured .lm-featured-track { background: #0b0d12; }
html body .lm-featured .lm-featured-image { object-fit: cover !important; object-position: center top; }
html body .lm-featured .lm-featured-slide::after {
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 62%) !important;
}
html body .lm-featured .lm-featured-content h2,
html body .lm-featured .lm-featured-content h2 a {
  text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.9);
  font-weight: 700;
}
html body .lm-featured .lm-featured-meta,
html body .lm-featured .lm-featured-meta span {
  text-shadow: 0 1px 6px rgba(0,0,0,.95);
}
html body .lm-featured .lm-featured-tag {
  background: rgba(0,0,0,.55) !important;
}

/* ===================== v8 — poster text, rating, download button ===================== */

/* Title: koi black box / background nahi (tv-compat ka background bhi hata diya) */
html body .lm-featured .lm-featured-content h2,
html body .lm-featured .lm-featured-content h2 a {
  background: none !important; padding: 0 !important; border-radius: 0 !important;
  width: auto !important; max-width: 100% !important; color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.6);
  letter-spacing: .01em !important;
}

/* Rating: gold badge, saaf nazar aaye, black bg nahi */
html body .lm-featured .lm-featured-rating {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #ffe07a, #ffb020) !important;
  color: #1a1200 !important; font-weight: 800 !important;
  border: 0 !important; border-radius: 999px !important;
  padding: 5px 12px !important; box-shadow: 0 4px 14px rgba(255,176,32,.45);
  text-shadow: none !important;
}

/* Genre / year / language tags: halke glass style, black nahi */
html body .lm-featured .lm-featured-tag {
  background: rgba(255,255,255,.14) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important; border-radius: 999px !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); backdrop-filter: blur(6px);
}

/* Download button: colorful gradient, glow, shine sweep, hover lift */
html body .lm-featured .lm-featured-download {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #ffb020 0%, #ff6a3d 50%, #e0245e 100%) !important;
  color: #fff !important; border: 0 !important; border-radius: 999px !important;
  font-weight: 800 !important; letter-spacing: .03em;
  box-shadow: 0 10px 28px rgba(255,106,61,.45), inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  animation: lmBtnGlow 2.6s ease-in-out infinite;
}
html body .lm-featured .lm-featured-download::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); z-index: -1; pointer-events: none;
  animation: lmBtnShine 3.2s ease-in-out infinite;
}
html body .lm-featured .lm-featured-download svg { animation: lmBtnBounce 1.8s ease-in-out infinite; }
html body .lm-featured .lm-featured-download:hover,
html body .lm-featured .lm-featured-download:focus-visible {
  transform: translateY(-3px) scale(1.04); filter: brightness(1.08);
  box-shadow: 0 16px 36px rgba(255,106,61,.6), inset 0 1px 0 rgba(255,255,255,.4);
}
html body .lm-featured .lm-featured-download:active { transform: scale(.97); }

/* Text entrance animation: jab slide active ho to title, meta, button upar se fade-in */
html body .lm-featured .lm-featured-slide.is-active .lm-featured-content h2 {
  animation: lmTextIn .7s cubic-bezier(.2,.7,.2,1) both;
}
html body .lm-featured .lm-featured-slide.is-active .lm-featured-meta {
  animation: lmTextIn .7s .12s cubic-bezier(.2,.7,.2,1) both;
}
html body .lm-featured .lm-featured-slide.is-active .lm-featured-download {
  animation: lmTextIn .7s .24s cubic-bezier(.2,.7,.2,1) both, lmBtnGlow 2.6s 1s ease-in-out infinite;
}
html body .lm-featured .lm-featured-slide.is-active .lm-featured-rating {
  animation: lmPop .5s .3s cubic-bezier(.2,1.4,.4,1) both;
}

@keyframes lmTextIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lmPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes lmBtnGlow {
  0%,100% { box-shadow: 0 10px 28px rgba(255,106,61,.45), inset 0 1px 0 rgba(255,255,255,.35); }
  50%     { box-shadow: 0 10px 36px rgba(255,176,32,.75), inset 0 1px 0 rgba(255,255,255,.35); }
}
@keyframes lmBtnShine { 0%,55% { left: -60%; } 100% { left: 130%; } }
@keyframes lmBtnBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(2px); } }

@media (prefers-reduced-motion: reduce) {
  html body .lm-featured .lm-featured-download,
  html body .lm-featured .lm-featured-download::after,
  html body .lm-featured .lm-featured-download svg,
  html body .lm-featured .lm-featured-slide.is-active .lm-featured-content > * { animation: none !important; }
}

/* v9 — desktop / TV: frame chhota aur center, content center */
@media (min-width:1200px){
  html body .lm-featured{max-width:1100px !important;margin-left:auto !important;margin-right:auto !important;}
}
@media (min-width:1800px){
  html body .lm-featured{max-width:1300px !important;}
}
html body .lm-featured .lm-featured-content{
  left:50% !important;right:auto !important;transform:translateX(-50%);
  width:min(88%,820px);text-align:center;
}
html body .lm-featured .lm-featured-content h2{text-align:center;}
html body .lm-featured .lm-featured-meta{justify-content:center;}

/* v12 — har poster ka size same: ek fixed frame, sab slides cover (koi size ka farq nahi) */
@media (min-width:768px){
  html body .lm-featured{max-width:1100px !important;margin-left:auto !important;margin-right:auto !important;}
  html body .lm-featured .lm-featured-track{aspect-ratio:8/3 !important;height:auto !important;min-height:0 !important;background:#0b0d12 !important;}
  html body .lm-featured .lm-featured-slide{position:absolute !important;inset:0 !important;}
  html body .lm-featured .lm-featured-slide picture{position:absolute;inset:0;display:block;}
  html body .lm-featured .lm-featured-image{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important;object-position:center center !important;}
}
@media (max-width:767px){
  html body .lm-featured .lm-featured-track{aspect-ratio:4/5 !important;height:auto !important;}
  html body .lm-featured .lm-featured-image{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;object-fit:cover !important;object-position:center center !important;}
}

/* v16 — mobile poster: 960x540 (16:9) upload ke barabar frame, poora poster dikhe */
@media (max-width:767px){
  html body .lm-featured .lm-featured-track{aspect-ratio:16/9 !important;height:auto !important;min-height:0 !important;}
  html body .lm-featured .lm-featured-image{object-fit:cover !important;}
}

/* v16 — logo ke saath text hamesha dikhe (phone / tablet par bhi) */
html body .lm-header .lm-brand-name,
html body .lm-brand-name{display:inline-flex !important;}
@media (max-width:559px){
  html body .lm-header .lm-brand-name{font-size:14px !important;letter-spacing:.04em !important;}
}

/* v18 — home poster slider: title, rating, tags aur "Download Now" sab center me */
html body .lm-featured .lm-featured-content {
  display:flex !important; flex-direction:column !important; align-items:center !important;
  text-align:center !important;
}
html body .lm-featured .lm-featured-content h2 { text-align:center !important; }
html body .lm-featured .lm-featured-meta { display:flex !important; flex-wrap:wrap !important; justify-content:center !important; width:100%; }
html body .lm-featured .lm-featured-download { margin-left:auto !important; margin-right:auto !important; align-self:center !important; }

/* v19 — mobile: slider poster card ke barabar (2:3), blur side-fill nahi, text poster ke andar */
@media (max-width:767px){
  html body .lm-featured{max-width:100% !important;padding-inline:10px !important;}
  html body .lm-featured .lm-featured-track{width:62% !important;margin:0 auto !important;aspect-ratio:2/3 !important;height:auto !important;min-height:0 !important;}
  html body .lm-featured .lm-featured-fill{display:none !important;}
  html body .lm-featured .lm-featured-slide{position:absolute !important;inset:0 !important;}
  html body .lm-featured .lm-featured-slide picture{position:absolute;inset:0;display:block;}
  html body .lm-featured .lm-featured-image{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important;object-position:center top !important;}
  html body .lm-featured .lm-featured-content{left:8px !important;right:8px !important;bottom:12px !important;width:auto !important;max-width:none !important;transform:none !important;align-items:center !important;}
  html body .lm-featured .lm-featured-content h2{font-size:15px !important;line-height:1.2 !important;margin:0 0 6px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;width:100% !important;}
  html body .lm-featured .lm-featured-meta{font-size:10px !important;gap:4px !important;margin-bottom:8px !important;}
  html body .lm-featured .lm-featured-download{font-size:11px !important;padding:6px 12px !important;min-height:30px !important;max-width:100% !important;white-space:nowrap !important;margin-top:0 !important;}
}
@media (min-width:768px){
  html body .lm-featured .lm-featured-fill{display:none !important;}
  html body .lm-featured .lm-featured-download{color:#fff !important;}
}
