/* لبغارديين — «مباشر» live news box (home page, above الأكثر قراءة) */
.lv { background: #fff; border-radius: 1rem; box-shadow: 0 0 0 1px #e7e5e4; overflow: hidden; }
.lv[hidden] { display: none !important; }
.lv-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding: .85rem 1rem; border-bottom: 1px solid #e7e5e4; }
.lv-head h2 { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.125rem; font-weight: 900; color: #b91c1c; }
.lv-dot { position: relative; width: .7rem; height: .7rem; border-radius: 999px; background: #dc2626; flex: none; }
.lv-dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #dc2626; animation: lv-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes lv-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.lv-filters { display: flex; gap: .25rem; }
.lv-filters button { height: 2rem; padding: 0 .7rem; border: 0; border-radius: 999px; background: #f5f5f4; color: #44403c; font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.lv-filters button:hover { background: #e7e5e4; }
.lv-filters button[aria-pressed="true"] { background: #b91c1c; color: #fff; }
.lv-list { list-style: none; margin: 0; padding: .4rem 1rem .2rem; max-height: 34rem; overflow-y: auto; overscroll-behavior: contain; }
.lv-list li { position: relative; padding: .6rem 1.15rem .6rem 0; }
.lv-list li::before { content: ""; position: absolute; top: 1.05rem; right: .1rem; width: .45rem; height: .45rem; border-radius: 999px; background: #d6d3d1; }
.lv-list li::after { content: ""; position: absolute; top: 1.6rem; bottom: -.6rem; right: .29rem; width: 1px; background: #e7e5e4; }
.lv-list li:last-child::after { display: none; }
.lv-list li.lv-new::before { background: #dc2626; }
.lv-list a { display: block; color: inherit; text-decoration: none; }
.lv-list a:hover .lv-title, .lv-list a:focus-visible .lv-title { color: #b91c1c; }
.lv-meta { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: #78716c; line-height: 1.6; }
.lv-time { font-weight: 800; color: #b91c1c; }
.lv-src { font-weight: 700; }
.lv-ext { width: .8rem; height: .8rem; opacity: .6; }
.lv-title { display: block; margin-top: .1rem; font-weight: 700; font-size: .9375rem; line-height: 1.75; }
.lv-new .lv-title { animation: lv-flash 2.5s ease-out; }
@keyframes lv-flash { 0%, 30% { background: #fef2f2; } 100% { background: transparent; } }
.lv-list li.lv-empty::before, .lv-list li.lv-empty::after { display: none; }
.lv-empty { padding: 1.25rem 0; text-align: center; color: #78716c; font-size: .875rem; }
.lv-note { margin: 0; padding: .6rem 1rem .8rem; font-size: .6875rem; line-height: 1.6; color: #a8a29e; border-top: 1px solid #f5f5f4; }
html.dark .lv { background: #1c1917; box-shadow: 0 0 0 1px #292524; }
html.dark .lv-head { border-color: #292524; }
html.dark .lv-head h2, html.dark .lv-time { color: #f87171; }
html.dark .lv-filters button { background: #292524; color: #d6d3d1; }
html.dark .lv-filters button:hover { background: #44403c; }
html.dark .lv-filters button[aria-pressed="true"] { background: #dc2626; color: #fff; }
html.dark .lv-list li::before { background: #57534e; }
html.dark .lv-list li::after { background: #292524; }
html.dark .lv-list li.lv-new::before { background: #f87171; }
html.dark .lv-list a:hover .lv-title { color: #f87171; }
html.dark .lv-meta { color: #a8a29e; }
html.dark .lv-note { border-color: #292524; color: #78716c; }
@keyframes lv-flash-dark { 0%, 30% { background: rgba(220, 38, 38, .18); } 100% { background: transparent; } }
html.dark .lv-new .lv-title { animation-name: lv-flash-dark; }
@media (prefers-reduced-motion: reduce) { .lv-dot::after, .lv-new .lv-title { animation: none; } }
