/* Лента журнала /lenta/ (lenta.php, assets/lenta.js; хозяин 17.11.2026): карточки во всю ширину одной колонкой,
   материал — шторкой поверх ленты. На компьютере та же колонка по центру, шторка — во весь экран. */
main.rd.lt { max-width: 680px; margin: 0 auto; padding: 0 16px 48px; }
.lt-hd { padding: 18px 2px 4px; }
.lt-hd h1 { margin: 0; font-family: Unbounded, var(--text); font-size: 28px; line-height: var(--lh-head); letter-spacing: -.01em; }
.lt-hd p { margin: 6px 0 0; color: var(--c-mut); font-size: 15px; line-height: var(--lh-tight); }

.lt-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.lt-list > .soc { margin: 0; }   /* подписка, которую сам ставит app.js после первого экрана, — в общем ритме ленты */
.lt-card { display: block; overflow: hidden; border-radius: 22px; background: var(--c-card); box-shadow: var(--sh); color: var(--c-ink) !important; text-decoration: none !important;
  -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.lt-card:active { transform: scale(.985); }
html.theme-dark .lt-card { background: rgba(255, 255, 255, .055); }
.lt-ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-soft); }
.lt-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lt-ph--art { display: grid; place-items: center; background: radial-gradient(120% 140% at 100% 0, #9be15d 0, transparent 45%), linear-gradient(135deg, #0f7a5a 0, #123a44 75%); }
.lt-ph--news { background: radial-gradient(120% 140% at 100% 0, #66c6ff 0, transparent 45%), linear-gradient(135deg, #1f5fd1 0, #142a5c 75%); }
.lt-ph--art svg { width: 56%; max-width: 230px; height: auto; max-height: 76%; filter: drop-shadow(0 3px 5px rgba(17, 20, 30, .12)); }
/* новость — оранжевая плашка с молнией, дата словами рядом */
.lt-card .lt-src--news { background: #fff1e3; color: #d9620b; }
.lt-card .lt-src--news .ic { fill: currentColor; stroke: none; }
html.theme-dark .lt-card .lt-src--news { background: rgba(255, 140, 50, .16); color: #ffa45c; }
.lt-date { color: var(--c-mut); font-size: 13px; white-space: nowrap; }
.lt-t { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 17px; min-width: 0; }
.lt-card strong { font-size: 19px; line-height: var(--lh-tight); font-weight: 650; text-wrap: balance; }
.lt-card em { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 15px; line-height: var(--lh-text); color: var(--c-mut); }

.lt-end { display: grid; justify-items: center; gap: 12px; padding: 18px 0 8px; }
.lt-end.is-load::before { content: ''; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--c-office-bg); border-top-color: var(--c-office); animation: lt-spin .8s linear infinite; }
@keyframes lt-spin { to { transform: rotate(360deg); } }
.lt-more { min-height: 44px; }
.lt-fin { width: 100%; padding: 20px 18px; border-radius: 22px; background: var(--c-office-bg); text-align: center; }
.lt-fin[hidden] { display: none; }
.lt-fin b { display: block; font-family: Unbounded, var(--text); font-size: 18px; line-height: var(--lh-head); }
.lt-fin p { margin: 8px auto 12px; max-width: 30em; color: var(--c-mut); font-size: 14.5px; line-height: var(--lh-tight); }
.lt-fin-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lt-fin-l a { padding: 8px 14px; border-radius: 999px; background: var(--c-card); color: var(--c-office); font-size: 14px; font-weight: 600; line-height: 1; }

/* ---------- шторка с материалом ---------- */
html.lt-lock, html.lt-lock body { overflow: hidden; }
.lt-sheet { position: fixed; inset: 0; z-index: 300; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--bg); transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.lt-sheet[hidden] { display: none; }
.lt-sheet.on { transform: none; }
.lt-sheet.is-out { transform: translateX(100%); }
.lt-sheet.is-fade { opacity: 0; transition: opacity .18s ease-out; }
@media (prefers-reduced-motion: reduce) { .lt-sheet { transition: none; } }
.lt-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 10px; padding-top: env(safe-area-inset-top);
  background: var(--bg); border-bottom: 1px solid var(--line); }
.lt-back { display: inline-flex; flex: none; align-items: center; gap: 4px; height: 38px; padding: 0 14px 0 8px; border: 0; border-radius: 999px;
  background: var(--c-office-bg); color: var(--c-office); font: 600 15px/1 var(--text); cursor: pointer; }
html.theme-dark .lt-back { color: #8fb2ff; }
.lt-back svg, .lt-share svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lt-bar-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; line-height: var(--lh-tight); opacity: 0; transition: opacity .2s; }
.lt-bar.t-on .lt-bar-t { opacity: 1; }
.lt-share { display: grid; flex: none; place-items: center; width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); cursor: pointer; }
.lt-share[hidden] { display: none; }
.lt-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.lt-prog span { display: block; height: 100%; background: var(--c-office); transform: scaleX(0); transform-origin: 0 50%; }
.lt-body { min-height: calc(100vh - 54px); }
.lt-body > main { padding-bottom: 8px; }
.lt-body .crumbs { display: none; }   /* дорогу назад показывает «← Лента» */
.lt-wait { display: grid; gap: 14px; max-width: 680px; margin: 0 auto; padding: 18px 16px; }
.lt-wait i { display: block; height: 18px; border-radius: 9px; background: var(--c-soft); animation: lt-pulse 1.2s ease-in-out infinite; }
.lt-wait i:first-child { height: 200px; border-radius: 22px; }
.lt-wait i:nth-child(2) { height: 30px; width: 85%; }
.lt-wait i:last-child { width: 60%; }
@keyframes lt-pulse { 50% { opacity: .45; } }
.lt-next[hidden] { display: none; }
.lt-next { max-width: 680px; margin: 0 auto; padding: 8px 16px calc(55vh + env(safe-area-inset-bottom)); }   /* место, чтобы следующая карточка поднялась к середине экрана — дальше шторка уходит сама */
.lt-next:has(.lt-to-feed) { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.lt-next-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--c-mut); font-size: 14px; font-weight: 600; line-height: var(--lh-tight); }
.lt-next-h::before, .lt-next-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lt-next .lt-fin { margin-top: 0; }
.lt-next .lt-to-feed { display: flex; justify-content: center; margin-top: 14px; }
.lt-next .lt-to-feed .btn { min-height: 44px; }
