/* DOWNLOAD: «Скачать приложение» — только веб-версия (см. dlink.js) */
html.in-app .dl-app, html.iskra-desktop .dl-app, html.in-app .dl-mi, html.iskra-desktop .dl-mi { display: none !important; }
.dl-app { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-decoration: none; border-radius: 12px; transition: color .15s, background .15s; }
.dl-app svg { color: var(--accent-light, #4ade80); }
.dl-app span { display: flex; flex-direction: column; line-height: 1.25; }
.dl-app b { font-weight: 600; color: var(--text); font-size: 14px; }
.dl-app small { font-size: 12px; color: var(--muted); }
.dl-app:hover { background: var(--hover); }
.dl-app:hover b { color: var(--accent-light, #4ade80); }
.dl-auth { margin: 16px -6px -6px; padding: 10px 8px; border-top: 1px solid var(--line-2); border-radius: 0 0 12px 12px; }
@media (max-width: 860px) {
  .dl-app b { font-size: 15px; } .dl-app small { font-size: 13px; }
}

/* WINPROMO: карточка «Искра для Windows» (только веб на Windows-ПК, см. dlink.js) */
html.in-app .win-promo { display: none !important; }
.win-promo { position: fixed; right: 24px; bottom: 96px; z-index: 900; width: 340px; max-width: calc(100vw - 32px);
  background: rgba(21, 28, 25, .97); border: 1px solid rgba(var(--accent-rgb, 34,197,94), .35); border-radius: 16px;
  padding: 16px 16px 14px; box-shadow: 0 18px 50px rgba(0,0,0,.55); backdrop-filter: blur(8px); color: var(--text);
  animation: wp-in .28s ease-out; }
.win-promo.wp-out { opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; }
@keyframes wp-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wp-head { display: flex; align-items: center; gap: 10px; margin-right: 26px; }
.wp-head b { font-size: 15px; }
.wp-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--accent-soft, rgba(34,197,94,.14)); color: var(--accent-light, #4ade80); }
.win-promo p { margin: 10px 0 14px; font-size: 14px; line-height: 1.45; color: #c9d4ce; }
.wp-acts { display: flex; align-items: center; gap: 8px; }
.wp-btn { flex: 1; text-align: center; padding: 10px 14px; border-radius: 11px; background: var(--accent, #22c55e);
  color: var(--on-accent, #05210f); font-weight: 700; text-decoration: none; }
.wp-btn:hover { background: var(--accent-hi, #2fd36a); }
.wp-more { padding: 10px 14px; border-radius: 11px; color: var(--accent-light, #4ade80); text-decoration: none; border: 1px solid var(--line-2); }
.wp-more:hover { background: var(--hover); }
.wp-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
.wp-x:hover { background: var(--hover); color: var(--text); }
@media (max-width: 860px) { .win-promo { display: none !important; } }

/* Пункт «Скачать приложение» первым в «Настройках» */
a.menu-item.dl-mi { text-decoration: none; color: inherit; }
.dl-mi-text { display: flex; flex-direction: column; line-height: 1.25; }
.dl-mi-text small { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) { .dl-mi-text small { font-size: 13px; } }
