/* ek-home.css : Midnight Glass home. Everything scoped to .ekh. Global chrome lives in ek-pro.css. */
:root{--bg:#0A1020;--surface:#111A2C;--raised:#18233A;--text:#E8EDF5;--muted:#8C98AD;--accent:#4A9BEB;--live:#FFB547;--ek-onacc:#04122B;--ek-line:rgba(255,255,255,.07);--ek-sh:0 1px 2px rgba(0,0,0,.25),0 10px 30px -12px rgba(0,0,0,.55);--ek-r:20px}
html.ek-light{--bg:#F4F6FA;--surface:#FFFFFF;--raised:#EAEFF6;--text:#152033;--muted:#5C6980;--accent:#2B4CA3;--live:#B96A00;--ek-onacc:#fff;--ek-line:rgba(20,32,60,.09);--ek-sh:0 1px 2px rgba(20,32,60,.06),0 12px 28px -14px rgba(20,32,60,.22)}
.ekh,.ekh *{box-sizing:border-box}
.ekh{color:var(--text);max-width:1320px;margin:0 auto;padding:14px 16px 24px;overflow-x:clip;font-family:'Hind Siliguri',system-ui,sans-serif;line-height:1.6}
.ekh a{color:inherit;text-decoration:none}
.ekh img{display:block;max-width:100%}
.ekh h1,.ekh h2,.ekh h3,.ekh h4,.ekh p,.ekh ol,.ekh ul{margin:0;padding:0}
.ekh :focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}
.ekh-ph{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,var(--raised),var(--surface))}
.ekh-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
a:hover>.ekh-ph img,.ekh-card:hover .ekh-ph img{transform:scale(1.04)}
/* chips */
.ekh-chips,.ekh-stories,.ekh-rail{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px}
.ekh-chips::-webkit-scrollbar,.ekh-stories::-webkit-scrollbar,.ekh-rail::-webkit-scrollbar{display:none}
.ekh-chip{flex:none;display:inline-flex;align-items:center;height:44px;padding:0 16px;border-radius:999px;background:var(--surface);border:1px solid var(--ek-line);font-size:15px;font-weight:500;color:var(--muted);white-space:nowrap;transition:.2s}
.ekh-chip:hover{color:var(--text)}
.ekh-chip.on{background:var(--text);color:var(--bg);border-color:transparent}
/* reporter stories */
.ekh-stories{gap:14px;margin-top:12px;padding-top:4px;padding-bottom:8px}
.ekh-st{flex:none;width:68px;text-align:center;font-size:12.5px;color:var(--muted)}
.ekh-ring{display:grid;place-items:center;width:68px;height:68px;padding:3px;border-radius:50%;background:conic-gradient(from 200deg,var(--accent),#6aa8ff,var(--accent))}
.ekh-ring.live{background:conic-gradient(var(--live),#ff7a45,var(--live))}
.ekh-av{position:relative;display:block;width:100%;height:100%;border-radius:50%;border:3px solid var(--bg);overflow:hidden;background:var(--raised)}
.ekh-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ekh-stn{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ekh-newtag{display:block;width:max-content;margin:-14px auto 0;position:relative;font-style:normal;font-size:10px;font-weight:700;line-height:15px;padding:0 6px;border-radius:6px;background:var(--live);color:#2a1700}
/* ticker */
.ekh-tick{display:flex;align-items:center;gap:12px;margin-top:12px;padding:6px 14px 6px 6px;overflow:hidden;background:var(--surface);border:1px solid var(--ek-line);border-radius:16px;box-shadow:var(--ek-sh)}
.ekh-tick b{flex:none;display:flex;align-items:center;gap:6px;padding:3px 12px;border-radius:11px;font-size:14px;background:var(--live);color:#2a1700}
.ekh-tick b i{width:7px;height:7px;border-radius:50%;background:#2a1700;animation:ekpl 1.6s infinite}
.ekh-tick span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}
@keyframes ekpl{50%{opacity:.25}}
/* layout: mobile = one column ordered by .ekh-o*, desktop = main + side */
.ekh-grid{display:flex;flex-direction:column}
.ekh-main,.ekh-side{display:contents}
.ekh-o1{order:1}.ekh-o2{order:2}.ekh-o3{order:3}.ekh-o4{order:4}.ekh-o5{order:5}.ekh-o6{order:6}.ekh-o7{order:7}.ekh-o8{order:8}.ekh-o9{order:9}
/* hero */
.ekh-hero{position:relative;display:block;margin-top:14px;aspect-ratio:4/4.3;border-radius:24px;overflow:hidden;box-shadow:var(--ek-sh);color:#F1F5FB!important}
.ekh-hero .ekh-ph{position:absolute;inset:0}
.ekh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,10,22,0) 25%,rgba(6,10,22,.55) 60%,rgba(6,10,22,.94))}
.ekh-tx{position:absolute;inset:auto 0 0;z-index:2;padding:20px;display:block}
.ekh-hero h1{margin:8px 0;font-size:25px;font-weight:700;line-height:1.35;text-wrap:balance;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ekh-hero p{font-size:14.5px;opacity:.82;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ekh-hero .ekh-meta{color:rgba(241,245,251,.78);margin-top:10px}
.ekh-pill{display:inline-flex;align-items:center;gap:6px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:600;background:rgba(74,155,235,.14);color:var(--accent);border:1px solid rgba(74,155,235,.3)}
.ekh-hero .ekh-pill{background:rgba(10,16,32,.55);color:var(--ek-ac,#4A9BEB);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ekh-amber{background:rgba(255,181,71,.15);color:var(--live);border-color:rgba(255,181,71,.35)}
.ekh-amber i{width:7px;height:7px;border-radius:50%;background:var(--live);animation:ekpl 1.6s infinite}
.ekh-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted)}
.ekh-mini{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none;background:var(--raised)}
.ekh-rt{margin-left:auto}
/* section heads, bands, boxes */
.ekh-sh{display:flex;align-items:baseline;justify-content:space-between;margin:28px 0 12px}
.ekh-sh h2{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;line-height:1.35}
.ekh-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.ekh-dot.ekh-live{background:var(--live)}
.ekh-band{background:linear-gradient(160deg,var(--raised),var(--surface));border:1px solid var(--ek-line);border-radius:26px;padding:16px 16px 10px;margin-top:22px;min-width:0}
.ekh-band .ekh-sh{margin-top:0}
.ekh-band .ekh-rail{margin:0 -16px}
.ekh-box{background:var(--surface);border:1px solid var(--ek-line);border-radius:22px;padding:16px;margin-top:18px;box-shadow:var(--ek-sh)}
.ekh-box h2{font-size:18px;font-weight:700;margin-bottom:10px}
.ekh-dist{display:flex;flex-wrap:wrap;gap:8px}
.ekh-dist a{display:inline-flex;align-items:center;height:40px;padding:0 14px;border-radius:999px;background:var(--raised);border:1px solid transparent;font-size:14px;transition:.2s}
.ekh-dist a:hover{border-color:var(--accent);color:var(--accent)}
/* shorts rail */
.ekh-rail{gap:12px;scroll-snap-type:x mandatory;padding-bottom:10px}
.ekh-sc{position:relative;flex:none;display:block;width:128px;aspect-ratio:9/16;border-radius:20px;overflow:hidden;scroll-snap-align:start;box-shadow:var(--ek-sh);color:#fff!important}
.ekh-sc .ekh-ph{position:absolute;inset:0}
.ekh-sc:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,10,22,.92))}
.ekh-sc .ekh-t{position:absolute;inset:auto 0 0;z-index:2;padding:10px;font-size:12.5px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.ekh-sc .ekh-t small{display:none;margin-top:4px;font-size:12px;font-weight:400;opacity:.75}
.ekh-pb{position:absolute;left:50%;top:50%;z-index:2;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(10,16,32,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:.25s}
.ekh-pb svg{width:20px;height:20px;fill:currentColor;margin-left:2px}
.ekh-sc .ekh-pb{width:38px;height:38px;top:14px;left:auto;right:14px;margin:0}
a:hover>.ekh-pb{background:var(--accent);color:var(--ek-onacc)}
.ekh-short{margin:0}
.ekh-feed>.ekh-short{display:block}
/* trending */
.ekh-tr{list-style:none;counter-reset:ekn;display:grid;gap:2px;padding-bottom:6px}
.ekh-tri{counter-increment:ekn;list-style:none}
.ekh-tri>a{display:grid;grid-template-columns:30px 72px minmax(0,1fr);gap:12px;align-items:center;min-height:84px;padding:8px 6px;border-radius:16px;transition:background .2s}
.ekh-tri>a:hover{background:var(--raised)}
.ekh-n{display:block}
.ekh-n:before{content:counter(ekn,bengali);display:block;text-align:center;font-size:26px;font-weight:700;line-height:1;color:transparent;-webkit-text-stroke:1.2px var(--accent)}
.ekh-trth{display:block;width:72px;height:72px;border-radius:14px;overflow:hidden;background:var(--raised)}
.ekh-trth img{display:block;width:72px;height:72px;object-fit:cover}
.ekh-trt{display:block;min-width:0}
.ekh-trh{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;font-weight:600;line-height:1.45}
.ekh-trm{display:block;margin-top:3px;font-size:12.5px;line-height:1.3;color:var(--muted)}
/* AC rail (old inline-styled slides) */
.ekh-acrail>div{scroll-snap-align:start}
/* feed + cards */
.ekh-feed{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:6px}
.ekh-feed>*{min-width:0}
.ekh-card{display:block;background:var(--surface);border:1px solid var(--ek-line);border-radius:var(--ek-r);overflow:hidden;box-shadow:var(--ek-sh);transition:transform .3s,border-color .3s}
.ekh-card:hover{transform:translateY(-3px);border-color:rgba(74,155,235,.3)}
.ekh-card>.ekh-ph{aspect-ratio:16/9}
.ekh-bd{padding:14px 16px 16px}
.ekh-card h3{margin:8px 0 6px;font-size:18px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ekh-card .ekh-bd>p{margin-bottom:10px;font-size:14.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ekh-dur{position:absolute;right:10px;bottom:10px;z-index:2;padding:0 8px;border-radius:8px;font-size:12px;color:#fff;background:rgba(6,10,22,.78)}
.ekh-vid .ekh-pb{width:52px;height:52px}
.ekh-card .ekh-pb{z-index:2}
.ekh-qt{margin:8px 0 10px!important;font-size:17px!important;line-height:1.6;color:var(--text)!important;display:block!important;-webkit-line-clamp:unset!important}
.ekh-qimg{aspect-ratio:16/9;border-radius:14px;margin-bottom:10px}
/* compact horizontal article cards */
.ekh-feed>.ekh-art:nth-child(4n+3),.ekh-feed>.ekh-art:nth-child(4n+4){display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;padding:12px}
.ekh-feed>.ekh-art:nth-child(4n+3)>.ekh-ph,.ekh-feed>.ekh-art:nth-child(4n+4)>.ekh-ph{aspect-ratio:1;border-radius:14px}
.ekh-feed>.ekh-art:nth-child(4n+3) .ekh-bd,.ekh-feed>.ekh-art:nth-child(4n+4) .ekh-bd{padding:0}
.ekh-feed>.ekh-art:nth-child(4n+3) h3,.ekh-feed>.ekh-art:nth-child(4n+4) h3{font-size:16px;margin:6px 0 4px}
.ekh-feed>.ekh-art:nth-child(4n+3) .ekh-bd>p,.ekh-feed>.ekh-art:nth-child(4n+4) .ekh-bd>p,.ekh-feed>.ekh-art:nth-child(4n+3) .ekh-pill,.ekh-feed>.ekh-art:nth-child(4n+4) .ekh-pill,.ekh-feed>.ekh-art:nth-child(4n+3) .ekh-rt,.ekh-feed>.ekh-art:nth-child(4n+4) .ekh-rt{display:none}
.ekh-feed>.ekh-band{grid-column:1/-1;margin-top:6px}
/* load state */
.ekh-skel{display:grid;gap:16px;margin-top:16px}
.ekh-skel[hidden],.ekh-morebtn[hidden],#ek-end[hidden]{display:none}
.sk{display:block;background:linear-gradient(90deg,var(--raised) 25%,var(--surface) 50%,var(--raised) 75%);background-size:200% 100%;animation:eksk 1.3s linear infinite}
.ekh-skel .ekh-ph.sk{aspect-ratio:16/9}
.ekh-skel i.sk{height:14px;border-radius:8px;margin-top:10px}.ekh-skel .l1{width:90%;height:18px}.ekh-skel .l2{width:70%}.ekh-skel .l3{width:45%}
@keyframes eksk{to{background-position:-200% 0}}
.ekh-end{text-align:center;padding:22px 0 10px;color:var(--muted)}
.ekh-morebtn{height:48px;padding:0 28px;border-radius:999px;font:inherit;font-weight:700;color:var(--ek-onacc);background:var(--accent);border:0;cursor:pointer}
.ekh-morebtn:hover{filter:brightness(1.08)}
.ekh-end p{font-size:14.5px}
#ek-sentinel{height:1px}
.ekh-in{animation:ekin .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes ekin{from{opacity:0;transform:translateY(8px)}}
@media(min-width:640px){
 .ekh-hero{aspect-ratio:16/9}.ekh-hero h1{font-size:32px}
 .ekh-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ekh-skel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1100px){
 .ekh{padding:14px 20px 40px}
 .ekh-chips,.ekh-stories{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
 .ekh-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
 .ekh-main{display:block;min-width:0}
 .ekh-side{display:grid;gap:0;position:sticky;top:76px;align-self:start;max-height:calc(100vh - 90px);overflow-y:auto;scrollbar-width:none}
 .ekh-hero h1{font-size:34px;max-width:24ch}.ekh-tx{padding:32px}
 .ekh-band .ekh-rail{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
 .ekh-side .ekh-band{margin-top:14px}
}
@media(prefers-reduced-motion:reduce){.ekh *,.ekh *:before,.ekh *:after{animation:none!important;transition:none!important}}
@media(min-width:640px){.ekh-sc{width:152px}.ekh-sc .ekh-t{font-size:13.5px}}

/* === EK Phase 3: home slider styles moved out of inline <style> (same order, unchanged rules) === */
/* feed_ai_news_slider */
.feed-ai-news-slider-card {
padding: 18px !important;
border-radius: 20px !important;
background: rgba(139, 92, 246, 0.03) !important;
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.04) !important;
margin-bottom: 24px !important;
border: 1px solid rgba(139, 92, 246, 0.12) !important;
box-sizing: border-box !important;
position: relative !important;
overflow: hidden !important;
}
.feed-ai-rel-videos-wrap {
margin-top: 18px !important;
border-top: 1px dashed rgba(139, 92, 246, 0.15) !important;
padding-top: 14px !important;
position: relative !important;
}
.feed-ai-rel-videos-wrap::after {
content: '' !important;
position: absolute !important;
top: 32px !important;
right: 0 !important;
width: 45px !important;
height: calc(100% - 32px) !important;
background: linear-gradient(to left, #141521, rgba(20, 21, 33, 0)) !important;
pointer-events: none !important;
z-index: 3 !important;
}
body:not(.night-mode):not(.dark-theme) .feed-ai-rel-videos-wrap::after {
background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0)) !important;
}
.feed-ai-rel-videos-wrap:not(:has(.feed-ai-rel-videos-scroll a)) {
display: none !important;
}
.feed-ai-rel-videos-header {
display: flex !important;
align-items: center !important;
gap: 6px !important;
margin-bottom: 10px !important;
font-size: 11.5px !important;
font-weight: 800 !important;
color: #8b5cf6 !important;
}
.night-mode .feed-ai-rel-videos-header {
color: #a78bfa !important;
}
.feed-ai-rel-videos-scroll {
display: flex !important;
gap: 12px !important;
overflow-x: auto !important;
width: 100% !important;
padding-bottom: 8px !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
scrollbar-width: none !important;
}
.feed-ai-rel-videos-scroll::-webkit-scrollbar {
display: none !important;
}
.feed-ai-video-card {
flex-shrink: 0 !important;
width: 160px !important;
cursor: pointer !important;
border-radius: 14px !important;
overflow: hidden !important;
background: rgba(255, 255, 255, 0.02) !important;
border: 1px solid rgba(255, 255, 255, 0.05) !important;
display: flex !important;
flex-direction: column !important;
box-sizing: border-box !important;
padding: 10px !important;
text-decoration: none !important;
transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
body:not(.night-mode):not(.dark-theme) .feed-ai-video-card {
background: #ffffff !important;
border: 1px solid rgba(0, 0, 0, 0.05) !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}
.feed-ai-video-card:hover {
transform: translateY(-5px) !important;
border-color: rgba(139, 92, 246, 0.4) !important;
box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2) !important;
background: rgba(139, 92, 246, 0.06) !important;
}
body:not(.night-mode):not(.dark-theme) .feed-ai-video-card:hover {
background: #ffffff !important;
border-color: rgba(139, 92, 246, 0.4) !important;
box-shadow: 0 8px 18px rgba(139, 92, 246, 0.15) !important;
}
.feed-ai-video-card-body {
display: flex !important;
flex-direction: column !important;
gap: 4px !important;
flex-grow: 1 !important;
}
.feed-ai-video-card-thumb {
position: relative !important;
width: 100% !important;
aspect-ratio: 16/9 !important;
border-radius: 8px !important;
overflow: hidden !important;
background: #000 !important;
margin-bottom: 6px !important;
}
.feed-ai-video-card-thumb img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
transition: transform 0.5s ease !important;
}
.feed-ai-video-card:hover .feed-ai-video-card-thumb img {
transform: scale(1.08) !important;
}
.feed-ai-video-card-dur {
position: absolute !important;
bottom: 4px !important;
right: 4px !important;
background: rgba(0,0,0,0.8) !important;
color: #fff !important;
font-size: 8px !important;
padding: 1px 4px !important;
border-radius: 3px !important;
font-weight: bold !important;
z-index: 2 !important;
}
.feed-ai-video-card-play {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: rgba(139, 92, 246, 0.25) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
opacity: 0 !important;
transition: all 0.3s ease !important;
backdrop-filter: blur(1.5px) !important;
-webkit-backdrop-filter: blur(1.5px) !important;
}
.feed-ai-video-card:hover .feed-ai-video-card-play {
opacity: 1 !important;
}
.feed-ai-video-card .play-icon-svg {
color: #ffffff !important;
transform: scale(0.8) !important;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
filter: drop-shadow(0 3px 8px rgba(139, 92, 246, 0.5)) !important;
}
.feed-ai-video-card:hover .play-icon-svg {
transform: scale(1.1) !important;
}
.feed-ai-video-card-title {
margin: 0 !important;
font-size: 11px !important;
font-weight: 800 !important;
color: #ffffff !important;
line-height: 1.4 !important;
height: 32px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
text-align: left !important;
}
body:not(.night-mode):not(.dark-theme) .feed-ai-video-card-title {
color: #111827 !important;
}
.feed-ai-video-card:hover .feed-ai-video-card-title {
color: #8b5cf6 !important;
}
.night-mode .feed-ai-video-card:hover .feed-ai-video-card-title {
color: #a78bfa !important;
}
.feed-ai-video-card-footer {
margin-top: 6px !important;
padding-top: 4px !important;
border-top: 1px dashed rgba(139, 92, 246, 0.1) !important;
text-align: left !important;
}
.feed-ai-video-card-views {
font-size: 9px !important;
font-weight: 700 !important;
color: #9ca3af !important;
}
body:not(.night-mode):not(.dark-theme) .feed-ai-video-card-views {
color: #6b7280 !important;
}
.night-mode .feed-ai-news-slider-card {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(20, 21, 33, 0.95) 100%) !important;
border: 1px solid rgba(139, 92, 246, 0.18) !important;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}
.feed-ai-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
margin-bottom: 18px !important;
border-bottom: 1px dashed rgba(139, 92, 246, 0.15) !important;
padding-bottom: 12px !important;
}
.feed-ai-header-left {
display: flex !important;
align-items: center !important;
gap: 12px !important;
}
.feed-ai-icon-container {
width: 34px !important;
height: 34px !important;
border-radius: 50% !important;
background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: white !important;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
position: relative !important;
}
.feed-ai-pulse-dot {
position: absolute !important;
top: -2px !important;
right: -2px !important;
width: 8px !important;
height: 8px !important;
background: #10b981 !important;
border-radius: 50% !important;
box-shadow: 0 0 8px #10b981 !important;
animation: feed-ai-pulse 2s infinite !important;
}
@keyframes feed-ai-pulse {
0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.feed-ai-main-title {
margin: 0 !important;
font-size: 14px !important;
font-weight: 900 !important;
color: #1f2937 !important;
line-height: 1.25 !important;
}
.night-mode .feed-ai-main-title {
color: #ffffff !important;
}
.feed-ai-subtitle-en {
font-size: 10.5px !important;
opacity: 0.65 !important;
font-weight: normal !important;
letter-spacing: 0.2px !important;
}
.feed-ai-tagline {
font-size: 10px !important;
color: #8b5cf6 !important;
font-weight: 700 !important;
margin-top: 3px !important;
}
.feed-ai-view-all {
font-size: 11px !important;
font-weight: bold !important;
color: #ffffff !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
gap: 4px !important;
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
padding: 6px 14px !important;
border-radius: 20px !important;
box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2) !important;
transition: all 0.25s ease !important;
text-decoration: none !important;
}
.feed-ai-view-all:hover {
transform: translateY(-1px) !important;
box-shadow: 0 6px 15px rgba(139, 92, 246, 0.3) !important;
color: #ffffff !important;
}
.feed-ai-carousel-container {
position: relative !important;
display: flex !important;
align-items: center !important;
width: 100% !important;
}
.feed-ai-scroll {
display: flex !important;
gap: 16px !important;
overflow-x: auto !important;
width: 100% !important;
padding: 6px 3px 18px 3px !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
box-sizing: border-box !important;
}
.feed-ai-scroll::-webkit-scrollbar {
display: none !important;
}
.feed-ai-nav {
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 10 !important;
width: 32px !important;
height: 32px !important;
border-radius: 50% !important;
border: 1px solid rgba(139, 92, 246, 0.15) !important;
background: #ffffff !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;
cursor: pointer !important;
transition: all 0.25s ease !important;
opacity: 0 !important;
color: #8b5cf6 !important;
}
.feed-ai-carousel-container:hover .feed-ai-nav {
opacity: 0.95 !important;
}
.feed-ai-nav:hover {
opacity: 1 !important;
background: #8b5cf6 !important;
color: #ffffff !important;
border-color: #8b5cf6 !important;
transform: translateY(-50%) scale(1.15) !important;
box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3) !important;
}
.feed-ai-nav-left {
left: -10px !important;
}
.feed-ai-nav-right {
right: -10px !important;
}
.night-mode .feed-ai-nav {
background: #1c1d27 !important;
border-color: rgba(255,255,255,0.08) !important;
color: #a78bfa !important;
box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
}
.night-mode .feed-ai-nav:hover {
background: #8b5cf6 !important;
border-color: #8b5cf6 !important;
color: #ffffff !important;
}
.feed-ai-card {
flex-shrink: 0 !important;
width: 200px !important;
cursor: pointer !important;
border-radius: 16px !important;
overflow: hidden !important;
background: #ffffff !important;
box-shadow: 0 3px 12px rgba(0,0,0,0.02) !important;
transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
border: 1px solid rgba(0,0,0,0.05) !important;
display: flex !important;
flex-direction: column !important;
box-sizing: border-box !important;
padding: 14px 16px !important;
text-decoration: none !important;
}
.feed-ai-card:hover {
transform: translateY(-4px) !important;
box-shadow: 0 10px 24px rgba(139, 92, 246, 0.12) !important;
border-color: rgba(139, 92, 246, 0.35) !important;
}
.night-mode .feed-ai-card {
background: rgba(255, 255, 255, 0.02) !important;
box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
border-color: rgba(255,255,255,0.06) !important;
}
.night-mode .feed-ai-card:hover {
background: rgba(139, 92, 246, 0.04) !important;
border-color: rgba(139, 92, 246, 0.4) !important;
box-shadow: 0 12px 28px rgba(139, 92, 246, 0.2) !important;
}
.feed-ai-card-meta {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
margin-bottom: 10px !important;
}
.feed-ai-badge {
font-size: 9.5px !important;
font-weight: 800 !important;
color: #ffffff !important;
padding: 2.5px 8px !important;
border-radius: 12px !important;
}
.feed-ai-badge-national { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important; }
.feed-ai-badge-international { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important; }
.feed-ai-badge-sports { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; }
.feed-ai-badge-entertainment { background: linear-gradient(135deg, #db2777 0%, #9d174d 100%) !important; }
.feed-ai-badge-tech { background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important; }
.feed-ai-badge-economy { background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important; }
.feed-ai-badge-features { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important; }
.feed-ai-badge-generic { background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important; }
.feed-ai-time {
font-size: 9px !important;
font-weight: 700 !important;
color: #6b7280 !important;
}
.night-mode .feed-ai-time {
color: #9ca3af !important;
}
.feed-ai-card-body {
display: flex !important;
flex-direction: column !important;
gap: 6px !important;
flex-grow: 1 !important;
}
.feed-ai-title {
margin: 0 !important;
font-size: 12px !important;
font-weight: 850 !important;
color: #111827 !important;
line-height: 1.4 !important;
height: 34px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
transition: color 0.2s ease !important;
}
.feed-ai-card:hover .feed-ai-title {
color: #8b5cf6 !important;
}
.night-mode .feed-ai-title {
color: #f3f4f6 !important;
}
.night-mode .feed-ai-card:hover .feed-ai-title {
color: #a78bfa !important;
}
.feed-ai-desc {
margin: 0 !important;
font-size: 10px !important;
line-height: 1.5 !important;
color: #4b5563 !important;
height: 45px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 3 !important;
-webkit-box-orient: vertical !important;
}
.night-mode .feed-ai-desc {
color: #9ca3af !important;
}
.feed-ai-card-footer {
display: flex !important;
justify-content: flex-end !important;
margin-top: 10px !important;
border-top: 1px dashed rgba(139, 92, 246, 0.1) !important;
padding-top: 8px !important;
}
.feed-ai-read-more {
font-size: 10px !important;
font-weight: 800 !important;
color: #8b5cf6 !important;
display: inline-flex !important;
align-items: center !important;
gap: 2px !important;
transition: all 0.2s ease !important;
}
.feed-ai-card:hover .feed-ai-read-more {
transform: translateX(2px) !important;
}
.night-mode .feed-ai-read-more {
color: #a78bfa !important;
}
@media (max-width: 768px) {
.feed-ai-nav {
display: none !important;
}
.feed-ai-news-slider-card {
padding: 14px 12px !important;
border-radius: 16px !important;
}
}
/* feed_products_slider */
.feed-marketplace-products-card {
padding: 15px !important;
border-radius: 12px !important;
background: #ffffff !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
margin-bottom: 20px !important;
border: 1px solid rgba(0,0,0,0.05) !important;
box-sizing: border-box !important;
}
.night-mode .feed-marketplace-products-card {
background: #1c1d27 !important;
border-color: rgba(255,255,255,0.05) !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}
.feed-marketplace-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
margin-bottom: 15px !important;
border-bottom: 1px solid rgba(0,0,0,0.05) !important;
padding-bottom: 10px !important;
}
.night-mode .feed-marketplace-header {
border-bottom-color: rgba(255,255,255,0.05) !important;
}
.feed-marketplace-header-left {
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
.feed-marketplace-icon-container {
width: 32px !important;
height: 32px !important;
border-radius: 50% !important;
background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: white !important;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}
.feed-marketplace-main-title {
margin: 0 !important;
font-size: 13px !important;
font-weight: 800 !important;
color: #111827 !important;
line-height: 1.2 !important;
}
.night-mode .feed-marketplace-main-title {
color: #ffffff !important;
}
.feed-marketplace-subtitle-en {
font-size: 10px !important;
opacity: 0.6 !important;
font-weight: normal !important;
}
.feed-marketplace-tagline {
font-size: 10px !important;
color: #10B981 !important;
font-weight: 700 !important;
margin-top: 2px !important;
}
.feed-marketplace-view-all {
font-size: 11px !important;
font-weight: bold !important;
color: #10B981 !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
gap: 3px !important;
background: rgba(16,185,129,0.08) !important;
padding: 5px 12px !important;
border-radius: 20px !important;
transition: all 0.2s ease !important;
}
.feed-marketplace-view-all:hover {
background: rgba(16,185,129,0.15) !important;
transform: scale(1.02) !important;
}
.feed-products-carousel-container {
position: relative !important;
display: flex !important;
align-items: center !important;
width: 100% !important;
}
.feed-products-scroll {
display: flex !important;
gap: 12px !important;
overflow-x: auto !important;
width: 100% !important;
padding: 4px 2px !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
box-sizing: border-box !important;
}
.feed-products-scroll::-webkit-scrollbar {
display: none !important;
}
.feed-prod-nav {
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 10 !important;
width: 28px !important;
height: 28px !important;
border-radius: 50% !important;
border: 1px solid rgba(0,0,0,0.08) !important;
background: #ffffff !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
opacity: 0 !important;
color: #374151 !important;
}
.feed-products-carousel-container:hover .feed-prod-nav {
opacity: 0.9 !important;
}
.feed-prod-nav:hover {
opacity: 1 !important;
background: #10B981 !important;
color: #ffffff !important;
border-color: #10B981 !important;
transform: translateY(-50%) scale(1.1) !important;
}
.feed-prod-nav-left {
left: -8px !important;
}
.feed-prod-nav-right {
right: -8px !important;
}
.night-mode .feed-prod-nav {
background: #282a3a !important;
border-color: rgba(255,255,255,0.08) !important;
color: #e5e7eb !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.night-mode .feed-prod-nav:hover {
background: #34d399 !important;
border-color: #34d399 !important;
color: #111827 !important;
}
.feed-marketplace-card {
flex-shrink: 0 !important;
width: 110px !important;
cursor: pointer !important;
border-radius: 10px !important;
overflow: hidden !important;
background: #ffffff !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.05) !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
border: 1px solid rgba(0,0,0,0.04) !important;
display: flex !important;
flex-direction: column !important;
box-sizing: border-box !important;
}
.feed-marketplace-card:hover {
transform: translateY(-4px) !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
border-color: #10B981 !important;
}
.night-mode .feed-marketplace-card {
background: #181922 !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
border-color: rgba(255,255,255,0.05) !important;
}
.night-mode .feed-marketplace-card:hover {
border-color: #34d399 !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.3) !important;
}
.feed-marketplace-img-wrap {
width: 100% !important;
height: 90px !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-color: #f3f4f6 !important;
border-bottom: 1px solid rgba(0,0,0,0.02) !important;
}
.feed-marketplace-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
.night-mode .feed-marketplace-img-wrap {
background-color: #111217 !important;
border-bottom-color: rgba(255,255,255,0.03) !important;
}
.feed-marketplace-info {
padding: 6px 8px !important;
display: flex !important;
flex-direction: column !important;
flex-grow: 1 !important;
justify-content: space-between !important;
box-sizing: border-box !important;
}
.feed-marketplace-title {
font-size: 10px !important;
font-weight: 700 !important;
color: #111827 !important;
line-height: 1.35 !important;
height: 27px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
}
.night-mode .feed-marketplace-title {
color: #e5e7eb !important;
}
.feed-marketplace-footer {
display: flex !important;
flex-direction: column !important;
margin-top: 5px !important;
}
.feed-marketplace-price {
font-size: 11px !important;
font-weight: 900 !important;
color: #10b981 !important;
}
.night-mode .feed-marketplace-price {
color: #34d399 !important;
}
.feed-marketplace-rating {
display: flex !important;
align-items: center !important;
gap: 2px !important;
font-size: 8.5px !important;
color: #f59e0b !important;
margin-top: 3px !important;
font-weight: 700 !important;
}
.feed-marketplace-rating span {
color: #6b7280 !important;
font-weight: normal !important;
margin-left: 1px !important;
}
.night-mode .feed-marketplace-rating span {
color: #9ca3af !important;
}
@media (max-width: 768px) {
.feed-prod-nav {
display: none !important;
}
.feed-marketplace-products-card {
padding: 12px 10px !important;
border-radius: 10px !important;
}
}
/* feed_shorts_slider */
.feed-shorts-slider-card {
padding: 15px !important;
border-radius: 12px !important;
background: #ffffff !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
margin-bottom: 20px !important;
border: 1px solid rgba(0,0,0,0.05) !important;
box-sizing: border-box !important;
}
.night-mode .feed-shorts-slider-card {
background: #1c1d27 !important;
border-color: rgba(255,255,255,0.05) !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}
.feed-shorts-slider-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
margin-bottom: 15px !important;
border-bottom: 1px solid rgba(0,0,0,0.05) !important;
padding-bottom: 10px !important;
}
.night-mode .feed-shorts-slider-header {
border-bottom-color: rgba(255,255,255,0.05) !important;
}
.feed-shorts-slider-header-left {
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
.feed-shorts-slider-icon-container {
width: 32px !important;
height: 32px !important;
border-radius: 50% !important;
background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: white !important;
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}
.feed-shorts-slider-main-title {
margin: 0 !important;
font-size: 13px !important;
font-weight: 800 !important;
color: #111827 !important;
line-height: 1.2 !important;
}
.night-mode .feed-shorts-slider-main-title {
color: #ffffff !important;
}
.feed-shorts-slider-subtitle-en {
font-size: 10px !important;
opacity: 0.6 !important;
font-weight: normal !important;
}
.feed-shorts-slider-tagline {
font-size: 10px !important;
color: #EF4444 !important;
font-weight: 700 !important;
margin-top: 2px !important;
}
.feed-shorts-slider-view-all {
font-size: 11px !important;
font-weight: bold !important;
color: #EF4444 !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
gap: 3px !important;
background: rgba(239,68,68,0.08) !important;
padding: 5px 12px !important;
border-radius: 20px !important;
transition: all 0.2s ease !important;
text-decoration: none !important;
}
.feed-shorts-slider-view-all:hover {
background: rgba(239,68,68,0.15) !important;
transform: scale(1.02) !important;
}
.feed-shorts-carousel-container {
position: relative !important;
display: flex !important;
align-items: center !important;
width: 100% !important;
}
.feed-shorts-scroll {
display: flex !important;
gap: 12px !important;
overflow-x: auto !important;
width: 100% !important;
padding: 4px 2px !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
scrollbar-width: none !important;
}
.feed-shorts-scroll::-webkit-scrollbar {
display: none !important;
}
.feed-short-nav {
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 10 !important;
width: 28px !important;
height: 28px !important;
border-radius: 50% !important;
border: 1px solid rgba(0,0,0,0.08) !important;
background: #ffffff !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
opacity: 0 !important;
color: #374151 !important;
}
.feed-shorts-carousel-container:hover .feed-short-nav {
opacity: 0.9 !important;
}
.feed-short-nav:hover {
opacity: 1 !important;
background: #EF4444 !important;
color: #ffffff !important;
border-color: #EF4444 !important;
transform: translateY(-50%) scale(1.1) !important;
}
.feed-short-nav-left {
left: -8px !important;
}
.feed-short-nav-right {
right: -8px !important;
}
.night-mode .feed-short-nav {
background: #282a3a !important;
border-color: rgba(255,255,255,0.08) !important;
color: #e5e7eb !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.night-mode .feed-short-nav:hover {
background: #f87171 !important;
border-color: #f87171 !important;
color: #111827 !important;
}
.feed-short-card {
flex-shrink: 0 !important;
width: 100px !important;
cursor: pointer !important;
border-radius: 10px !important;
overflow: hidden !important;
background: #ffffff !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.05) !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
border: 1px solid rgba(0,0,0,0.04) !important;
display: flex !important;
flex-direction: column !important;
box-sizing: border-box !important;
}
.feed-short-card:hover {
transform: translateY(-4px) !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
border-color: #EF4444 !important;
}
.night-mode .feed-short-card {
background: #181922 !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
border-color: rgba(255,255,255,0.05) !important;
}
.night-mode .feed-short-card:hover {
border-color: #f87171 !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.3) !important;
}
.feed-short-img-wrap {
width: 100% !important;
height: 140px !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-color: #f3f4f6 !important;
position: relative !important;
}
.feed-short-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
.night-mode .feed-short-img-wrap {
background-color: #111217 !important;
}
.feed-short-views-overlay {
position: absolute !important;
bottom: 5px !important;
left: 5px !important;
background: rgba(0, 0, 0, 0.6) !important;
color: #fff !important;
padding: 2px 5px !important;
font-size: 8px !important;
font-weight: 700 !important;
border-radius: 3px !important;
display: flex !important;
align-items: center !important;
gap: 3px !important;
}
.feed-short-play-btn {
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) scale(0.8) !important;
width: 30px !important;
height: 30px !important;
border-radius: 50% !important;
background: rgba(255,255,255,0.9) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: #EF4444 !important;
opacity: 0 !important;
transition: all 0.25s ease !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.feed-short-card:hover .feed-short-play-btn {
opacity: 1 !important;
transform: translate(-50%, -50%) scale(1) !important;
}
.feed-short-info {
padding: 6px !important;
display: flex !important;
flex-direction: column !important;
flex-grow: 1 !important;
justify-content: center !important;
box-sizing: border-box !important;
}
.feed-short-title {
font-size: 9px !important;
font-weight: 700 !important;
color: #111827 !important;
line-height: 1.3 !important;
height: 24px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
}
.night-mode .feed-short-title {
color: #e5e7eb !important;
}
@media (max-width: 768px) {
.feed-short-nav {
display: none !important;
}
.feed-shorts-slider-card {
padding: 12px 10px !important;
border-radius: 10px !important;
}
}
/* feed_videos_slider */
.feed-videos-slider-card {
padding: 15px !important;
border-radius: 12px !important;
background: #ffffff !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
margin-bottom: 20px !important;
border: 1px solid rgba(0,0,0,0.05) !important;
box-sizing: border-box !important;
}
.night-mode .feed-videos-slider-card {
background: #1c1d27 !important;
border-color: rgba(255,255,255,0.05) !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}
.feed-videos-slider-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
margin-bottom: 15px !important;
border-bottom: 1px solid rgba(0,0,0,0.05) !important;
padding-bottom: 10px !important;
}
.night-mode .feed-videos-slider-header {
border-bottom-color: rgba(255,255,255,0.05) !important;
}
.feed-videos-slider-header-left {
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
.feed-videos-slider-icon-container {
width: 32px !important;
height: 32px !important;
border-radius: 50% !important;
background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: white !important;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}
.feed-videos-slider-main-title {
margin: 0 !important;
font-size: 13px !important;
font-weight: 800 !important;
color: #111827 !important;
line-height: 1.2 !important;
}
.night-mode .feed-videos-slider-main-title {
color: #ffffff !important;
}
.feed-videos-slider-subtitle-en {
font-size: 10px !important;
opacity: 0.6 !important;
font-weight: normal !important;
}
.feed-videos-slider-tagline {
font-size: 10px !important;
color: #3B82F6 !important;
font-weight: 700 !important;
margin-top: 2px !important;
}
.feed-videos-slider-view-all {
font-size: 11px !important;
font-weight: bold !important;
color: #3B82F6 !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
gap: 3px !important;
background: rgba(59,130,246,0.08) !important;
padding: 5px 12px !important;
border-radius: 20px !important;
transition: all 0.2s ease !important;
text-decoration: none !important;
}
.feed-videos-slider-view-all:hover {
background: rgba(59,130,246,0.15) !important;
transform: scale(1.02) !important;
}
.feed-videos-carousel-container {
position: relative !important;
display: flex !important;
align-items: center !important;
width: 100% !important;
}
.feed-videos-scroll {
display: flex !important;
gap: 12px !important;
overflow-x: auto !important;
width: 100% !important;
padding: 4px 2px !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
scrollbar-width: none !important;
}
.feed-videos-scroll::-webkit-scrollbar {
display: none !important;
}
.feed-vid-nav {
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 10 !important;
width: 28px !important;
height: 28px !important;
border-radius: 50% !important;
border: 1px solid rgba(0,0,0,0.08) !important;
background: #ffffff !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
opacity: 0 !important;
color: #374151 !important;
}
.feed-videos-carousel-container:hover .feed-vid-nav {
opacity: 0.9 !important;
}
.feed-vid-nav:hover {
opacity: 1 !important;
background: #3B82F6 !important;
color: #ffffff !important;
border-color: #3B82F6 !important;
transform: translateY(-50%) scale(1.1) !important;
}
.feed-vid-nav-left {
left: -8px !important;
}
.feed-vid-nav-right {
right: -8px !important;
}
.night-mode .feed-vid-nav {
background: #282a3a !important;
border-color: rgba(255,255,255,0.08) !important;
color: #e5e7eb !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.night-mode .feed-vid-nav:hover {
background: #60a5fa !important;
border-color: #60a5fa !important;
color: #111827 !important;
}
.feed-video-card {
flex-shrink: 0 !important;
width: 140px !important;
cursor: pointer !important;
border-radius: 10px !important;
overflow: hidden !important;
background: #ffffff !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.05) !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
border: 1px solid rgba(0,0,0,0.04) !important;
display: flex !important;
flex-direction: column !important;
box-sizing: border-box !important;
}
.feed-video-card:hover {
transform: translateY(-4px) !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
border-color: #3B82F6 !important;
}
.night-mode .feed-video-card {
background: #181922 !important;
box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
border-color: rgba(255,255,255,0.05) !important;
}
.night-mode .feed-video-card:hover {
border-color: #60a5fa !important;
box-shadow: 0 6px 15px rgba(0,0,0,0.3) !important;
}
.feed-video-img-wrap {
width: 100% !important;
height: 80px !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-color: #f3f4f6 !important;
position: relative !important;
}
.feed-video-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
.night-mode .feed-video-img-wrap {
background-color: #111217 !important;
}
.feed-video-duration {
position: absolute !important;
bottom: 5px !important;
right: 5px !important;
background: rgba(0, 0, 0, 0.8) !important;
color: #fff !important;
padding: 2px 5px !important;
font-size: 8.5px !important;
font-weight: 700 !important;
border-radius: 3px !important;
}
.feed-video-play-btn {
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) scale(0.8) !important;
width: 32px !important;
height: 32px !important;
border-radius: 50% !important;
background: rgba(255,255,255,0.9) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: #3B82F6 !important;
opacity: 0 !important;
transition: all 0.25s ease !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.feed-video-card:hover .feed-video-play-btn {
opacity: 1 !important;
transform: translate(-50%, -50%) scale(1) !important;
}
.feed-video-info {
padding: 8px !important;
display: flex !important;
flex-direction: column !important;
flex-grow: 1 !important;
justify-content: space-between !important;
box-sizing: border-box !important;
}
.feed-video-title {
font-size: 10px !important;
font-weight: 700 !important;
color: #111827 !important;
line-height: 1.35 !important;
height: 27px !important;
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
}
.night-mode .feed-video-title {
color: #e5e7eb !important;
}
.feed-video-footer {
margin-top: 5px !important;
display: flex !important;
align-items: center !important;
}
.feed-video-views {
font-size: 8.5px !important;
color: #6b7280 !important;
}
.night-mode .feed-video-views {
color: #9ca3af !important;
}
@media (max-width: 768px) {
.feed-vid-nav {
display: none !important;
}
.feed-videos-slider-card {
padding: 12px 10px !important;
border-radius: 10px !important;
}
}
/* hero text sits on a dark photo overlay in both themes */
.ekh-hero h1,.ekh-hero p,.ekh-hero h1 a,.ekh-hero .ekh-tx{color:#F1F5FB!important}
.ekh-hero .ekh-pill{color:#9CCBFF!important}
/* v4: legacy feed sliders (latest/ai-news, marketplace, videos, shorts) follow ek dark/light.
   Old rules keyed light look on body:not(.night-mode), which is always true in eyenews-pro. */
.ekh-feed>.feed-card{grid-column:1/-1}
body.ek-pro .feed-card{background:var(--ek-sf)!important;border:1px solid var(--ek-ln)!important;border-radius:var(--ek-r)!important;box-shadow:none!important;color:var(--ek-tx)}
body.ek-pro .feed-card :is(.feed-ai-card,.feed-ai-video-card,.feed-marketplace-card,.feed-video-card,.feed-short-card){background:var(--ek-rs)!important;border:1px solid var(--ek-ln)!important;box-shadow:none!important}
body.ek-pro .feed-card :is(.feed-ai-card,.feed-ai-video-card,.feed-marketplace-card,.feed-video-card):hover{border-color:color-mix(in srgb,var(--ek-ac) 45%,transparent)!important;background:var(--ek-rs)!important}
body.ek-pro .feed-card :is(.feed-ai-main-title,.feed-marketplace-main-title,.feed-videos-slider-main-title,.feed-shorts-slider-main-title,.feed-ai-title,.feed-ai-video-card-title,.feed-marketplace-title,.feed-video-title){color:var(--ek-tx)!important}
body.ek-pro .feed-card :is(.feed-ai-desc,.feed-ai-time,.feed-ai-video-card-views,.feed-video-views,.feed-marketplace-subtitle-en,.feed-videos-slider-subtitle-en,.feed-shorts-slider-subtitle-en,.feed-marketplace-tagline,.feed-videos-slider-tagline,.feed-shorts-slider-tagline,.feed-ai-rel-videos-header){color:var(--ek-mu)!important;opacity:1!important}
body.ek-pro .feed-card [class*="-tagline"],body.ek-pro .feed-card .feed-ai-header-left p,body.ek-pro .feed-card .feed-ai-header-left span:not(.feed-ai-pulse-dot){color:var(--ek-mu)!important;opacity:1!important;-webkit-text-fill-color:currentColor}
body.ek-pro .feed-card :is(.feed-ai-icon-container,.feed-marketplace-icon-container,.feed-videos-slider-icon-container,.feed-shorts-slider-icon-container){background:var(--ek-ac)!important;color:var(--ek-acx)!important;box-shadow:none!important}
body.ek-pro .feed-card :is(.feed-ai-view-all,.feed-marketplace-view-all,.feed-videos-slider-view-all,.feed-shorts-slider-view-all){background:color-mix(in srgb,var(--ek-ac) 14%,transparent)!important;color:var(--ek-ac)!important;border:1px solid color-mix(in srgb,var(--ek-ac) 30%,transparent)!important;box-shadow:none!important}
body.ek-pro .feed-card :is(.feed-ai-read-more,.feed-marketplace-price){color:var(--ek-ac)!important}
body.ek-pro .feed-card .feed-ai-card:hover .feed-ai-title,body.ek-pro .feed-card .feed-ai-video-card:hover .feed-ai-video-card-title{color:var(--ek-ac)!important}
body.ek-pro .feed-card :is(.feed-ai-nav,.feed-prod-nav,.feed-vid-nav,.feed-short-nav){background:var(--ek-sf)!important;color:var(--ek-tx)!important;border:1px solid var(--ek-ln)!important;box-shadow:var(--ek-sh)!important}
body.ek-pro .feed-card .feed-ai-rel-videos-wrap::after{background:linear-gradient(to left,var(--ek-sf),transparent)!important}
body.ek-pro .feed-card :is(.feed-ai-card-footer,.feed-marketplace-footer,.feed-ai-rel-videos-wrap){border-color:var(--ek-ln)!important}
body.ek-pro .feed-card .feed-marketplace-info,body.ek-pro .feed-card .feed-video-info,body.ek-pro .feed-card .feed-ai-video-card-body{background:transparent!important}
/* masonry rows (js/ek-feed.js sets grid-row-end: span N; N = (height + 16) / 10) */
@media(min-width:640px){.ekh-feed.ek-mas{grid-auto-rows:10px;grid-auto-flow:row dense;row-gap:0;align-items:start}.ekh-feed.ek-mas>*{align-self:start}}
/* v9: owner review 11-14 */
/* shorts title: clamp clipped inside the padding box showed half a 3rd line -> bottom space via transparent border (outside the clip) */
.ekh-sc .ekh-t{padding:10px 10px 0!important;border-bottom:10px solid transparent}
/* "আরও শর্টস" band: few cards fill the row on wide screens, many still scroll */
@media(min-width:900px){.ekh-feed .ekh-band .ekh-rail>.ekh-sc{flex:1 1 0;min-width:152px;max-width:230px}}
/* card meta on one line: long reporter names end with … instead of pushing the date down */
.ekh-card .ekh-meta{flex-wrap:nowrap;min-width:0}
.ekh-card .ekh-meta>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ekh-card .ekh-meta>span:not(:first-of-type){flex:none}
/* v11: tools rail (inc/ek_tools.php) */
.ekh-tools{min-width:0}
.ekh-trail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;scrollbar-width:none}
.ekh-trail::-webkit-scrollbar{display:none}
.ekh-tool{flex:none;display:flex;align-items:center;gap:12px;width:220px;min-height:68px;padding:12px 14px;box-sizing:border-box;border-radius:var(--ek-r2);background:var(--ek-sf);border:1px solid var(--ek-ln);color:var(--ek-tx)!important;text-decoration:none!important;scroll-snap-align:start;transition:border-color .15s,transform .15s}
.ekh-tool:hover{border-color:color-mix(in srgb,var(--ek-ac) 55%,transparent);transform:translateY(-1px)}
.ekh-tool-ic{position:relative;flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--ek-ac) 16%,transparent);color:var(--ek-ac)}
.ekh-tool-ic .ek-i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ekh-tool-live{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;background:var(--ek-rd);box-shadow:0 0 0 2px var(--ek-sf);animation:ekpulse 1.4s ease-in-out infinite}
@keyframes ekpulse{50%{opacity:.35}}
.ekh-tool-tx{display:flex;flex-direction:column;min-width:0}
.ekh-tool-tx strong{font-size:15px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ekh-tool-tx small{font-size:12.5px;color:var(--ek-mu);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1100px){.ekh-trail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.ekh-tool{width:auto}}
@media(prefers-reduced-motion:reduce){.ekh-tool-live{animation:none}.ekh-tool{transition:none}}
.ekh-tool{min-width:0}.ekh-tool-tx{flex:1 1 auto;width:100%}
/* growth-7 live tag on cards */
.eke-live{display:inline-flex;align-items:center;gap:5px;margin-right:2px;padding:1px 7px;border-radius:4px;background:#D3252E;color:#fff;font-size:.72em;font-weight:700;line-height:1.5;vertical-align:.12em}
.eke-live i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:eke-lb 1.6s ease-in-out infinite}
@keyframes eke-lb{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.eke-live i{animation:none}}
