/* =====================================================
   APK Catalog — точная копия programmy-dlya-android.ru
   Сделано по реальному HTML/CSS исходнику сайта
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grad-1: #2883ab;
  --grad-2: #4fc688;
  --green:  #09adb8;
  --green2: #2b9543;
  --bg:     #f2f4f5;
  --white:  #ffffff;
  --text:   #222222;
  --muted:  #818181;
  --line:   #e8e8e8;
  --font: ;
  --max: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { margin: 0; padding: 0; }

/* ======================
   HEAD-LINE
   ====================== */
.ui_y26z4l {
  background: linear-gradient(90deg, var(--grad-1) 0%, var(--grad-2) 100%);
  position: sticky; top: 0; z-index: 200;
  height: 70px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.ui_jfu16c {
  max-width: var(--max); margin: 0 auto; height: 70px;
  display: flex; align-items: center;
  padding: 0 20px; position: static;
  box-sizing: border-box; width: 100%;
}

/* Бургер */
.nav_q5oalz {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 70px; flex-shrink: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3Crect y='6.5' width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3Crect y='13' width='22' height='2.5' rx='1.25' fill='%23fff'/%3E%3C/svg%3E")
    center center no-repeat;
  cursor: pointer;
  position: static;
}
.nav_q5oalz::after { content: none; }

/* Логотип */
.ui_vory1c {
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; height: 100%;
  margin-left: 10px;
  padding-left: 52px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.23l-1.88 3.23C14.98 8.31 13.54 8 12 8s-2.98.31-4.47.91L5.65 5.68c-.19-.29-.55-.38-.84-.23-.3.16-.42.54-.26.85L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm10 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5z'/%3E%3C/svg%3E")
    left center no-repeat;
  background-size: auto 44px;
}
.ui_vory1c span { font-size: 17px; font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.ui_vory1c i    { font-style: normal; font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }

/* Поиск */
.search-block {
  margin-left: auto; width: 440px; flex-shrink: 0;
  height: 38px; border: 1px solid rgba(255,255,255,.38);
  border-radius: 6px; padding: 0 0 0 46px; position: relative;
}
.search-block form { margin: 0; padding: 0; }
.form-text {
  height: 36px; line-height: 36px; width: 100%;
  background: none; border: none; outline: none;
  color: #fff; font-size: 14px; font-family: var(--font);
}
.form-text::placeholder { color: rgba(255,255,255,.55); }
/* iOS/Android зум при фокусе на input — предотвращаем через font-size >= 16px на мобильном */
@media (max-width: 640px) {
  .form-text { font-size: 16px; }
  #searchSuggestions {
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 0 12px 12px !important;
    max-height: 70vh !important;
  }
}
.search_uugba3 {
  position: absolute; left: 0; top: 0; width: 46px; height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center no-repeat;
  border: none; cursor: pointer; outline: none;
}

/* Подсказки поиска */
#searchSuggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 8px 32px rgba(0,0,0,.13);
  z-index: 400; overflow: hidden;
  max-height: 70vh; overflow-y: auto;
}
.sugg-group-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
  padding: 10px 16px 4px; background: #f9f9f9;
}
.sugg-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #f0f0f0; transition: background .1s;
  text-decoration: none;
}
.sugg-item:last-of-type { border-bottom: none; }
.sugg-item:hover { background: #f5f9f9; }
.sugg-ico { flex-shrink: 0; }
.sugg-ico img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; display: block; }
.sugg-ico-ph { display: block; width: 48px; height: 48px; border-radius: 10px; background: var(--bg); }
.sugg-info { flex: 1; min-width: 0; }
.sugg-title-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.sugg-name { font-size: 14px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-ver  { font-size: 11px; color: var(--muted); white-space: nowrap; }
.sugg-mod  { font-size: 10px; font-weight: 700; color: #fff; background: var(--green); border-radius: 4px; padding: 1px 5px; }
.sugg-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-rat-good { color: var(--green); font-weight: 700; font-size: 13px; }
.sugg-rat-ok   { color: #f59e0b; font-weight: 700; font-size: 13px; }
.sugg-rat-bad  { color: #e53935; font-weight: 700; font-size: 13px; }
.sugg-all {
  display: block; text-align: center; padding: 11px 16px;
  font-size: 13px; color: var(--green); font-weight: 600;
  border-top: 1px solid var(--line); background: #f9f9f9;
  text-decoration: none; transition: background .1s;
}
.sugg-all:hover { background: #f0fafa; }
.sugg-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 22px 16px; text-align: center;
}
.sugg-empty-text { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sugg-empty-btn {
  display: inline-block; padding: 9px 20px; font-size: 13px; font-weight: 600;
  color: #fff; background: var(--green); border-radius: 6px;
  text-decoration: none; transition: opacity .15s;
}
.sugg-empty-btn:hover { opacity: .88; }


/* ======================
   MAIN LAYOUT
   ====================== */
.ui_igfpg1 {
  max-width: var(--max); margin: 30px auto 50px;
  padding: 0 20px;
}
.ui_q9pzr2 {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
}
.ui_qjmze1 { flex: 1 1 0; min-width: 0; }
.ui_lg2w4q  { width: 280px; flex-shrink: 0; }

/* All direct block children of colsfl-right must not overflow */
.ui_qjmze1 > * { max-width: 100%; box-sizing: border-box; }
.ui_qjmze1 .ui_xmggtj { width: 100%; }
.ui_qjmze1 .ui_gsxhd5,
.ui_qjmze1 .ui_w3yf9c,
.ui_qjmze1 .comment_a95wjf,
.ui_qjmze1 .ui_gkivrn,
.ui_qjmze1 .ui_wsqdlt,
.ui_qjmze1 .ui_ew6iou,
.ui_qjmze1 .ui_wtkhwt,
.ui_qjmze1 .ui_c0tp13 { width: 100%; }


/* ======================
   LEFT SIDEBAR
   ====================== */
.ui_fs6gt4 {
  background: #f3f8ff; border-radius: 5px;
  padding: 0 0 6px; margin-bottom: 24px;
}
.ui_opjcrq {
  font-size: 16px; font-weight: 700; color: #000;
  text-transform: uppercase;
  padding: 18px 24px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.ui_opjcrq .ui_a8xhzm {
  display: block; width: 28px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18 12c0-.53-.22-1.04-.59-1.4L13.12 6.3a1.49 1.49 0 0 0-2.12 0c-.27.29-.41.66-.41 1.03 0 .38.14.75.41 1.03L14 11.5H5a1.5 1.5 0 1 0 0 3h9l-3 2.64c-.27.28-.41.65-.41 1.03a1.49 1.49 0 0 0 2.53 1.03l4.29-4.3A1.97 1.97 0 0 0 18 12z' fill='%2314c5a5'/%3E%3C/svg%3E") center no-repeat;
  background-size: 24px;
}

/* .ui_v0b9vy строки сайдбара */
.ui_v0b9vy {
  display: flex; align-items: center;
  padding: 11px 24px; gap: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  transition: background .12s; cursor: pointer;
  color: var(--text);
}
.ui_v0b9vy:hover { background: #f1fef9; }
.ui_ag4gow { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ui_ag4gow img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.ui_ssj4gu { flex: 1; min-width: 0; }
.ui_eakqmj {
  font-weight: 500; font-size: 14px; color: #000;
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px; line-height: 1.3;
  padding: 0;
}
.ui_v0b9vy:hover .ui_eakqmj { color: #6fb000; }
.ui_9nws0j {
  display: block; font-size: 12px; color: #727272;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ======================
   ТОП ЗА НЕДЕЛЮ — .ui_kdfw2v
   ====================== */
.ui_kdfw2v {
  background: #fff; border-radius: 5px;
  padding: 22px 22px 14px; margin-bottom: 22px;
}
.ui_c0k8vd {
  text-align: center; font-size: 17px; font-weight: 700;
  color: #000; margin-bottom: 18px;
}
.ui_4wnyyj {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px;
}
/* Одна карточка ТОПа */
.ui_jy0lmx {
  display: flex; width: calc(33.333% - 6px);
  padding: 12px; gap: 11px; align-items: flex-start;
  border: 1px solid #eaeaea; border-radius: 7px;
  cursor: pointer; transition: all .2s ease;
  color: var(--text); background: #fff;
}
.ui_jy0lmx:hover { border-color: #c1f1ff; background: #f0fdff; }
.ui_17ux88 { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ui_17ux88 img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.ui_x8xrsd { flex: 1; min-width: 0; }
.ui_gejztv {
  font-weight: 500; font-size: 14px; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; margin-bottom: 5px; line-height: 1.3;
  padding: 0;
}
/* Android иконка через SVG data URI */
.ui_ratg1s {
  display: block; font-size: 12px; color: #727272;
  padding-left: 20px; margin-bottom: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2309adb8' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.23l-1.88 3.23C14.98 8.31 13.54 8 12 8s-2.98.31-4.47.91L5.65 5.68c-.19-.29-.55-.38-.84-.23-.3.16-.42.54-.26.85L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm10 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5z'/%3E%3C/svg%3E")
  left center no-repeat;
  background-size: 16px;
}
.ui_tkjzef, .ui_jy0lmx .ui_tkjzef {
  display: block; font-size: 12px;
  font-weight: 500; color: var(--green2);
}

/* ======================
   НОВИНКИ — .main2-news
   ====================== */
.ui_nfs8y2 {
  text-align: center; font-size: 18px; font-weight: 400;
  color: #000; margin: 0 0 14px;
}
.ui_c0tp13 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.main2-news {
  box-sizing: border-box; position: relative;
  min-width: 0;
}
.ui_xix47x {
  display: block; padding: 12px 14px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  height: 100%; box-sizing: border-box;
  transition: all .15s;
}
.main2-news:hover .ui_xix47x {
  background: #f5fefc;
  box-shadow: 0 3px 12px rgba(0,0,0,.10);
}
.ui_w0fz0z { display: flex; gap: 10px; align-items: stretch; }
.ui_fecfl5 {
  width: 90px; height: 90px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0;
}
.ui_fecfl5 img {
  width: 90px; height: 90px; object-fit: cover; border-radius: 12px;
}
.ui_234dw7 {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ui_jaev97 {
  font-size: 16px; font-weight: 700; color: #222;
  line-height: 1.3; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 4px;
}
.ui_jaev97 h3 {
  font-size: 16px; font-weight: 700;
  margin: 0; padding: 0; display: inline;
  line-height: inherit;
}
.main2-news:hover .ui_jaev97 { color: #2971cb; }
.ui_1o5csw {
  font-size: 11px; color: #464646;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.ui_zw476z {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.ui_slebn8 {
  padding-left: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ababab' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.23l-1.88 3.23C14.98 8.31 13.54 8 12 8s-2.98.31-4.47.91L5.65 5.68c-.19-.29-.55-.38-.84-.23-.3.16-.42.54-.26.85L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm10 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5z'/%3E%3C/svg%3E") left center no-repeat;
  background-size: 14px;
}
.ui_9lzscb { display: none; }

/* ======================
   GRBLOCK — категориальные блоки
   ====================== */
.grblock {
  background: #eefcfd;
  border-radius: 6px; padding: 22px 20px 12px;
  margin-bottom: 22px;
}
.ui_7eu94a { background: #eefcfd; }
.ui_u20fw6 { background: #eefcfd; }

.ui_u2o6qt {
  font-size: 17px; color: #000; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.ui_u2o6qt a {
  font-size: 12px; color: var(--green); font-weight: 400;
  text-decoration: underline;
  line-height: 1.4;
}
.ui_u2o6qt a:hover { opacity: .8; }
.ui_p032gw {
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: flex-start;
}

/* .card_o4yq76 — карточка в grblock */
.card_o4yq76 {
  display: flex; background: #fff;
  width: calc(33.333% - 6px);
  border-radius: 10px; overflow: hidden;
  transition: all .2s ease;
  cursor: pointer; color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,.07);
}
.card_o4yq76:hover { background: #f0fcfd; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.card_sx1klc { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.card_sx1klc img { width: 90px; height: 90px; object-fit: cover; }
.card_iu0tci {
  flex: 1; min-width: 0; padding: 9px 9px 9px 6px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.card_smhzqu {
  font-size: 13px; font-weight: 500; color: #535353;
  line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card_o4yq76:hover .card_smhzqu { color: #2971cb; }
.card_4h1ywx {
  font-size: 11px; color: #999;
  padding-left: 19px; margin-bottom: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ababab' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.23l-1.88 3.23C14.98 8.31 13.54 8 12 8s-2.98.31-4.47.91L5.65 5.68c-.19-.29-.55-.38-.84-.23-.3.16-.42.54-.26.85L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm10 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5z'/%3E%3C/svg%3E") left center no-repeat;
  background-size: 14px;
}
.card_u1v7z4 { font-size: 12px; font-weight: 500; color: var(--green2); }
.card_0n0vf7 { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ======================
   ХЛЕБНЫЕ КРОШКИ
   ====================== */
.ui_wsqdlt {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 5px; font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.ui_wsqdlt a { color: var(--muted); transition: color .1s; }
.ui_wsqdlt a:hover { color: var(--green); }
.ui_wsqdlt svg { color: #ccc; flex-shrink: 0; }
.ui_wsqdlt span { color: #444; }

/* ======================
   ПОЛНАЯ НОВОСТЬ — .ui_0ewm7d
   ====================== */
.ui_0ewm7d {
  background: #fff; border-radius: 5px;
  padding: 22px; margin-bottom: 16px;
  width: 100%; box-sizing: border-box;
}

/* Шапка: иконка + заголовок/категории + факты */
.ui_tss1z4 {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 0;
}
.ui_k9tcu3 {
  width: 120px; height: 120px;
  border-radius: 4px; overflow: hidden; flex-shrink: 0;
}
.ui_k9tcu3 img { width: 120px; height: 120px; object-fit: cover; }
.ui_1uqpy3 {
  flex: 1; min-width: 0;
}
.ui_vlmm15 h1 {
  font-size: 22px; font-weight: 700; margin-bottom: 6px; line-height: 1.2;
}
.ui_pr02ml {
  font-size: 13px; line-height: 1.8; margin-bottom: 8px;
}
.ui_pr02ml a {
  color: var(--green); text-decoration: underline; font-weight: 700;
}
.ui_pr02ml a:hover { opacity: .8; }

/* Факты */
.ui_u6tfzj {
  flex-shrink: 0; min-width: 0; max-width: 200px;
}
.ui_ygx90p {
  font-size: 13px; color: #555; margin-bottom: 4px; line-height: 1.5;
}
.ui_ygx90p i {
  font-style: normal; color: #000; font-weight: 600;
  display: inline-block; min-width: 80px;
}

/* Кнопка СКАЧАТЬ */
.ui_o7rm5r {
  margin: 18px 0 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 5px;
  height: 76px; display: flex; align-items: center;
  padding: 0 20px; gap: 20px;
}
.ui_a6bz5s {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 178px; height: 46px;
  background: linear-gradient(90deg, #219abe, #46d394);
  border-radius: 5px; color: #fff;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .14s;
  letter-spacing: .03em; flex-shrink: 0;
  text-decoration: none;
}
.ui_a6bz5s:hover { opacity: .88; color: #fff; }
.ui_i56gq6 {
  font-size: 14px; color: #999;
  text-decoration: underline; font-weight: 700;
  cursor: pointer;
}
.ui_i56gq6:hover { color: var(--green); }

/* Слайдер скриншотов */
.card_k0v20y {
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.card_1ht4x6 {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px;
}
.card_1ht4x6::-webkit-scrollbar { height: 3px; }
.card_1ht4x6::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.ttslider-item {
  flex-shrink: 0; scroll-snap-align: start;
  border-radius: 5px; overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer; transition: border-color .12s;
}
.ttslider-item:hover { border-color: var(--green); }
.ttslider-item img {
  width: auto; height: 260px;
  display: block;
  object-fit: cover;
  max-width: none; /* не давать браузеру сжимать шире чем нужно */
}
.card_ibdoop, .card_6ron2y {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(200,213,223,.88); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #36495a;
  z-index: 5; transition: background .13s; line-height: 1;
}
.card_ibdoop:hover, .card_6ron2y:hover { background: rgba(170,190,200,.92); }
.card_ibdoop { right: 0; }
.card_6ron2y  { left: 0; }

/* Фото лайтбокс оверлей */
.img-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.img-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 4px; }
.img-overlay-close {
  position: absolute; top: 16px; right: 20px;
  color: #fff; font-size: 32px; cursor: pointer; line-height: 1;
  background: none; border: none;
}

/* Описание */
.ui_an9l3q {
  font-size: 14px; color: #555; line-height: 1.8;
  margin-bottom: 0;
}
.ui_an9l3q p  { margin-bottom: 10px; }
.ui_an9l3q b  { color: #333; }
.ui_an9l3q ul, .ui_an9l3q ol { padding-left: 22px; margin-bottom: 10px; }
.ui_an9l3q li { margin-bottom: 4px; }

/* Характеристики */
.ui_gsxhd5 {
  background: #fff; border-radius: 5px;
  border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden;
}
.ui_2h86ja {
  font-size: 15px; font-weight: 700; padding: 13px 18px;
  border-bottom: 2px solid var(--green); background: #fff;
}
.ui_jrna8p { width: 100%; border-collapse: collapse; font-size: 13px; }
.ui_jrna8p td { padding: 8px 16px; border-bottom: 1px solid var(--line); }
.ui_jrna8p tr:last-child td { border-bottom: none; }
.ui_jrna8p tr:nth-child(odd) td { background: #fafafa; }

/* MOD: что есть в моде */
.ui_0kxbkv {
  background: #fff; border: 1px solid var(--line); border-radius: 5px;
  margin: 16px 0; overflow: hidden;
}
.ui_dcrk7d {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: #222;
  padding: 13px 18px; border-bottom: 2px solid var(--green);
}
.ui_usb9by {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 11px Inter, sans-serif; font-style: normal; letter-spacing: .03em;
  color: #fff; background: linear-gradient(90deg, var(--green2), var(--green));
  padding: 3px 8px; border-radius: 4px;
}
.ui_1tmbi2 {
  list-style: none; padding: 10px 18px 14px; margin: 0;
}
.ui_1tmbi2 li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 13.5px; color: #444; line-height: 1.5;
  border-bottom: 1px solid #f4f4f4;
}
.ui_1tmbi2 li:last-child { border-bottom: none; }
.ui_1tmbi2 li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.ui_jrna8p td:first-child { color: var(--muted); font-weight: 600; width: 36%; }
.ui_jrna8p td:last-child  { font-weight: 600; color: var(--text); }

/* FAQ */
.ui_w3yf9c {
  background: #fff; border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ui_iagr9g {
  font-size: 15px; font-weight: 700; padding: 16px 20px 14px;
  color: #000;
}
.faq-item { border-top: 1px solid #f0f0f0; }
.faq-q {
  width: 100%; text-align: left; padding: 13px 20px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 13.5px; font-weight: 600;
  color: #333; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; transition: color .1s;
  line-height: 1.4;
}
.faq-q:hover { color: var(--green); }
.faq-q.open  { color: var(--green); }
.faq-q svg { flex-shrink: 0; transition: transform .2s; color: #ccc; width:16px; height:16px; }
.faq-q.open svg { transform: rotate(180deg); color: var(--green); }
.faq-a {
  display: none; padding: 2px 20px 14px;
  font-size: 13px; color: #666; line-height: 1.75;
}
.faq-a.open { display: block; }
.faq-a ol, .faq-a ul { padding-left: 18px; margin-top: 6px; }
.faq-a li { margin-bottom: 4px; }
.faq-link { color: var(--green); font-weight: 600; text-decoration: underline; }
.faq-link:hover { opacity: .85; }

/* Теги на странице приложения */
.ui_q5bgcg {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0;
}
.ui_xkqk3z {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--line);
  font-size: 13px; color: #555;
  text-decoration: none; transition: all .12s;
  background: #fff;
}
.ui_xkqk3z:hover {
  border-color: var(--green); color: var(--green);
  background: #f2fbfb;
}

/* Теги в форме админки */
.search_x0rfx5 {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.search_lwtfmq {
  padding: 4px 12px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff;
  font-size: 12px; color: #666; cursor: pointer;
  transition: all .12s; font-family: inherit;
}
.search_lwtfmq:hover {
  border-color: var(--green); color: var(--green); background: #f2fbfb;
}

/* Похожие приложения */
.ui_gkivrn {
  background: #fff; border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ui_5gyn1b {
  display: flex; align-items: center;
  padding: 16px 16px 4px;
}
.ui_tgx82a { font-size: 16px; font-weight: 700; color: #000; }
.series_rofopa {
  display: flex; align-items: center; gap: 20px;
  background: #f2f6fd; border-radius: 16px;
  padding: 22px 26px; margin-bottom: 16px;
}
.series_sfvj59 {
  width: 84px; height: 84px; border-radius: 20px;
  object-fit: cover; flex-shrink: 0;
}
.series_17oy9v {
  font-size: 21px; font-weight: 500; color: #101010;
  margin: 0; line-height: 1.35;
}
@media (max-width: 640px) {
  .series_rofopa { padding: 16px 18px; gap: 14px; }
  .series_sfvj59 { width: 64px; height: 64px; border-radius: 16px; }
  .series_17oy9v { font-size: 16px; }
}
.ui_7r905o {
  font-size: 16px; font-weight: 700; color: #000;
  margin: 22px 0 12px;
}
.ui_s91xoi   { display: none; }
.series_oxc3k6, .ui_5gyn1b { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.series_8mgya7 {
  font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none;
  white-space: nowrap;
}
.series_8mgya7:hover { text-decoration: underline; }
.series_6asyse { font-size: 13px; color: var(--muted); margin: 6px 0 14px; line-height: 1.5; }
.series_ivyewg {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  padding: 12px 16px 16px;
}
@media (max-width: 640px) { .series_ivyewg { grid-template-columns: minmax(0, 1fr); } }
.card_ytjuks {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; transition: border-color .12s, background .12s;
  width: 100%; box-sizing: border-box;
}
.card_ytjuks:hover { border-color: var(--green); background: #f5fbfb; }
.series_192858 { border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.series_01wrtd { width: 52px; height: 52px; background: var(--bg); }
.series_4qv3s4 { min-width: 0; }
.series_k5p5m6 {
  font-size: 14px; font-weight: 600; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.series_q2cqcw { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Страница /series/ — превью всех коллекций */
.series_l8lciy {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin-top: 14px;
}
@media (max-width: 900px) { .series_l8lciy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .series_l8lciy { grid-template-columns: minmax(0, 1fr); } }
.card_msj7n1 {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 12px; padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-decoration: none; transition: transform .12s, box-shadow .12s;
  width: 100%; box-sizing: border-box;
}
.card_msj7n1:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.09); }
.series_q0it17 { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.series_b0zowd { min-width: 0; flex: 1 1 auto; }
.series_51qu72 {
  font-size: 15px; font-weight: 700; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.series_ip016i {
  font-size: 12.5px; color: var(--muted); margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.series_jol5ml { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 5px; }
.ui_7hnrxb {
  display: flex; flex-wrap: wrap; padding: 8px; gap: 6px;
}
.ui_7hnrxb { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.ui_7hnrxb .main2-news { width: auto; }

/* ======================
   SEO-ТЕКСТ
   ====================== */
.stext {
  font-size: 13px; color: #5f5f5f; line-height: 1.72;
  margin-top: 18px; padding: 16px 0;
  border-top: 1px solid var(--line);
  word-break: break-word;
}
/* Сворачиваемый SEO блок */
.stext-wrap { position: relative; }
.stext-wrap.collapsed .stext {
  max-height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.stext-expand {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--green);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.stext-expand:hover { text-decoration: underline; }
.stext h1 { font-size: 18px; color: #000; font-weight: 700; margin-bottom: 10px; }
.stext h2 { font-size: 15px; color: #000; font-weight: 600; margin-bottom: 10px; }
.stext h3 { font-size: 14px; color: #000; font-weight: 600; margin-bottom: 8px; }
.stext p  { margin-bottom: 8px; color: #5f5f5f; }
.stext ul, .stext ol { padding-left: 18px; margin-bottom: 8px; }
.stext li { margin-bottom: 3px; color: #5f5f5f; }
.stext a  { color: var(--green); }

/* ======================
   СТРАНИЦА КАТЕГОРИИ
   ====================== */
.ui_ew6iou {
  font-size: 20px; color: #000; font-weight: 400;
  margin: 0 0 14px;
}
.ui_ew6iou h1 { font-size: 20px; font-weight: 400; display: inline; }
.ui_41ya8p { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.65; }

/* ======================
   СТРАНИЦА СКАЧИВАНИЯ
   ====================== */
.download_l8ugsc {
  background: #fff; border-radius: 5px;
  padding: 22px; margin-bottom: 14px;
}
.download_lqz43o {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.download_jbt9up img { width: 80px; height: 80px; border-radius: 12px; border: 1px solid var(--line); }
.download_c232i0 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.download_8e69r8  { font-size: 12px; color: var(--muted); }
.download_ack86a {
  text-align: center; padding: 28px 20px;
  background: #f9fefb; border: 1px solid #d4ede6;
  border-radius: 6px; margin-bottom: 16px;
}
.dl-timer-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
#dlTimer { font-size: 64px; font-weight: 900; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 3px; }
#dlTimerLbl { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.dl-prog-wrap { height: 7px; background: #ddd; border-radius: 4px; max-width: 360px; margin: 0 auto 20px; overflow: hidden; }
#dlBar { height: 100%; background: linear-gradient(90deg, #219abe, #46d394); border-radius: 4px; width: 0; transition: width 1s linear; }
.download_rxc7dq {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: linear-gradient(90deg, #219abe, #46d394);
  color: #fff; border: none; border-radius: 5px;
  padding: 12px 40px; font-size: 15px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  opacity: .4; pointer-events: none;
  transition: opacity .2s; text-decoration: none; letter-spacing: .03em;
}
.download_rxc7dq.ready { opacity: 1; pointer-events: auto; }
.download_rxc7dq.ready:hover { opacity: .88; }
.download_oph3y0 { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.download_ezha6e  { background: #fafafa; padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.download_mxndw4  { padding: 13px 16px; font-size: 13px; color: #555; line-height: 1.8; }
.download_mxndw4 ol { padding-left: 18px; }
.download_mxndw4 li { margin-bottom: 3px; }
.download_il5bi6 { width: 100%; border-collapse: collapse; font-size: 13px; }
.download_il5bi6 td { padding: 7px 16px; border-bottom: 1px solid var(--line); }
.download_il5bi6 tr:last-child td { border-bottom: none; }
.download_il5bi6 tr:nth-child(odd) td { background: #fafafa; }
.download_il5bi6 td:first-child { color: var(--muted); font-weight: 600; width: 35%; }
.download_58om8k { margin-top: 13px; text-align: center; font-size: 12px; color: var(--muted); }
.download_58om8k a { color: var(--muted); }
.download_58om8k a:hover { color: var(--green); }

/* ======================
   ПАГИНАЦИЯ
   ====================== */
.nav_emqodz { padding: 14px 0; text-align: center; clear: both; }
.nav_4j45ow { display: inline-block; }
.nav_4j45ow a, .nav_4j45ow span {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 2px 6px; width: 38px; height: 38px;
  border-radius: 5px; font-size: 13px;
}
.nav_4j45ow a {
  background: linear-gradient(0deg, #19a8d1, #3bbce1);
  color: #fff; border: 1px solid #42b9d6;
}
.nav_4j45ow a:hover { background: #32e1c5; }
.nav_4j45ow span {
  background: #fff; color: #000;
  border: 1px solid #e0e0e0;
}

/* ======================
   ПОИСК
   ====================== */
.ui_54e1nj { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }

/* ======================
   FOOTER
   ====================== */
.ui_515a12 {
  background: #f5f5f5; border-top: 1px solid #e0e0e0;
  padding: 28px 20px 22px; margin-top: 30px; text-align: center;
}
.ui_kv1klr { display:flex; justify-content:center; gap:10px; margin-bottom:14px; }
.ui_nubz8k {
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border:1px solid #ccc;
  border-radius:8px; color:#aaa; transition:all .14s;
}
.ui_nubz8k:hover { border-color:#999; color:#666; }
.ui_nubz8k svg { display:block; }
.ui_6hkhwv { font-size:12px; color:#aaa; line-height:1.65; margin-bottom:8px; }
.ui_6hkhwv a { color:#aaa; text-decoration:underline; }
.ui_rkz17x { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.ui_rkz17x a { font-size: 12px; color: #bbb; text-decoration: underline; }
.ui_rkz17x a:hover { color: #555; }

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1240px) {
  .ui_igfpg1 { padding: 0 16px; }
}
@media (max-width: 1040px) {
  .ui_c0tp13 { grid-template-columns: repeat(2,1fr); }
  .ui_lg2w4q  { width: 240px; }
  .ui_jy0lmx        { width: calc(50% - 4px); }
  .card_o4yq76       { width: calc(50% - 4px); }
}
@media (max-width: 860px) {
  .ui_qjmze1 { width: 100% !important; min-width: 0; }
  .ui_lg2w4q  { display: none !important; }
  .ui_q9pzr2      { flex-direction: column; }
  .ui_jy0lmx        { width: calc(50% - 6px); }
  .card_o4yq76       { width: calc(50% - 4px); }
  .ui_7hnrxb    { grid-template-columns: repeat(2,1fr); }
  .ui_tss1z4     { flex-wrap: wrap; }
  .ui_u6tfzj   { width: 100%; margin-top: 10px; }
  /* app page */
  /* fnh hero — переход на 2-col */
  .ui_xmggtj         { grid-template-columns: 100px 1fr; gap: 12px; }
  .ui_lj3aqu     { width: 100px; height: 100px; }
  .ui_lj3aqu img { width: 100px; height: 100px; border-radius: 12px; }
  .download_6c08x6      { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .download_6c08x6 .ui_a6bz5s { width: 100%; text-align: center; justify-content: center; }
  /* grblock 2 cols */
  .ui_p032gw { display: grid; grid-template-columns: 1fr 1fr; }
  .card_o4yq76       { width: auto; }
  /* monthly top */
  .ui_py3pww { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  /* Header */
  .ui_y26z4l   { height: 54px; }
  .ui_jfu16c { height: 54px; padding: 0 10px; }
  .nav_q5oalz    { height: 54px; background-position: center 10px; width: 38px; }
  .nav_q5oalz::after { content: none; }
  .ui_vory1c span   { font-size: 13px; }
  .ui_vory1c i      { display: none; }
  .search-block { width: auto; flex: 1; margin-left: 8px; }
  /* Top nav */
  .nav_zqe045   { padding: 0 8px; gap: 2px; }
  .nav_o1ujm6 { padding: 5px 12px; font-size: 13px; border-radius: 18px; }
  /* Layout — prevent overflow */
  .ui_igfpg1 { margin-top: 10px; padding: 0 10px; overflow-x: hidden; box-sizing: border-box; }
  .ui_q9pzr2      { gap: 0; }
  .ui_qjmze1 { width: 100% !important; min-width: 0; }
  /* Cards → 1 col */
  .ui_c0tp13 { grid-template-columns: 1fr; }
  .main2-news  { width: 100%; }
  /* rtop → 2 per row */
  .ui_kdfw2v     { overflow: hidden; width: 100%; box-sizing: border-box; }
  .ui_4wnyyj  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .ui_jy0lmx           { box-sizing: border-box; min-width: 0; }
  .ui_jy0lmx        { width: 100%; box-sizing: border-box; padding: 8px; gap: 7px; }
  .ui_17ux88  { width: 52px; height: 52px; }
  .ui_17ux88 img { width: 52px; height: 52px; }
  .ui_x8xrsd      { flex: 1; min-width: 0; overflow: hidden; }
  .ui_gejztv  { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ui_ratg1s, .ui_jy0lmx .ui_tkjzef { font-size: 11px; }
  /* gnews — full width */
  .card_o4yq76       { width: 100%; }
  .ui_p032gw { grid-template-columns: 1fr 1fr; }
  /* Download page — кнопка скачать */
  .ui_o7rm5r { height: auto; flex-wrap: wrap; padding: 12px 12px; gap: 8px; box-sizing: border-box; width: 100%; }
  .ui_a6bz5s { width: 100%; justify-content: center; box-sizing: border-box; }
  .ui_i56gq6 { width: 100%; text-align: center; }
  /* Slider */
  .ui_7hnrxb    { grid-template-columns: 1fr; }
  .ttslider-item img { height: 180px; width: auto; }
  /* Spec */
  /* Monthly top */
  .ui_py3pww { grid-template-columns: repeat(2,1fr) !important; }
  /* DL page */
  #dlStep1 { padding: 16px 0 8px; }
  .download_ctnr9r { min-width: 180px; font-size: 15px; padding: 14px 24px; }
}
@media (max-width: 420px) {
  .ttslider-item img { height: 120px; width: auto; }
  .ui_igfpg1 { padding: 0 8px; margin-top: 10px; }
  .grblock           { padding: 14px 10px 8px; }
  .ui_kdfw2v        { padding: 14px 10px 8px; }
  .nav_o1ujm6      { padding: 4px 8px; font-size: 11px; }
  .ui_p032gw   { grid-template-columns: 1fr 1fr; }
  .ui_py3pww { grid-template-columns: 1fr 1fr !important; }
  /* main2-news horizontal on very small */
  .ui_fecfl5  { width: 72px; height: 72px; }
  .ui_fecfl5 img { width: 72px; height: 72px; }
  /* fnh hero — 2-col, кнопка в потоке */
  .ui_xmggtj         { grid-template-columns: 80px 1fr; gap: 10px; }
  .ui_lj3aqu     { width: 80px; height: 80px; }
  .ui_lj3aqu img { width: 80px; height: 80px; }
  .ui_pjffq3    { min-width: 0; }
  .download_6c08x6      { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .download_6c08x6 .ui_a6bz5s { width: 100%; text-align: center; justify-content: center; }
}

/* ======================
   DLINK BLOCK (download link like screenshot 2)
   ====================== */







/* ======================
   STAR RATING
   ====================== */
.star-rating-wrap { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ui_lfxsjt .ui_iqezdi { font-size: 18px; color: #ddd; }
.ui_lfxsjt .ui_yacha5 { color: #ffd200; }
.star-info { font-size: 12px; color: var(--muted); }
.ui_gfosa0 { background: #fff8e1; border: 1px solid #ffe082; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.ui_29jvni { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.ui_joicw3 { font-size: 13px; color: var(--green2); }
.star-input { display: flex; gap: 4px; margin-bottom: 10px; }
.star-btn { font-size: 28px; color: #ddd; cursor: pointer; transition: color .1s; line-height: 1; }
.star-btn.star-hover { color: #ffd200; }
.ui_5j9fpp {
  background: var(--green); color: #fff; border: none;
  border-radius: 5px; padding: 8px 20px; cursor: pointer;
  font-size: 13px; font-family: var(--font); transition: opacity .13s;
}
.ui_5j9fpp:disabled { opacity: .5; cursor: not-allowed; }
.ui_5j9fpp:hover:not(:disabled) { opacity: .88; }

/* ======================
   COMMENTS
   ====================== */
.comment_a95wjf { background: #fff; border-radius: 5px; padding: 20px; margin-bottom: 14px; }
.comment_3w1or9 { font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.comment_4xmpir { margin-bottom: 20px; }
.comment-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 50%; overflow: hidden;
  background: var(--bg);
}
.comment-avatar img { width: 40px; height: 40px; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.comment-author { font-size: 13px; font-weight: 700; color: #000; }
.comment-date   { font-size: 11px; color: var(--muted); }
.comment-text   { font-size: 13px; color: #555; line-height: 1.65; }
.comment-votes  { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 8px; }
.cvote {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background .12s, color .12s;
  line-height: 1;
}
.cvote-plus  { background: #e8f8f8; color: var(--green); }
.cvote-minus { background: #fce8e8; color: #e53935; }
.cvote-plus:hover  { background: var(--green); color: #fff; }
.cvote-minus:hover { background: #e53935; color: #fff; }
.cvote-score { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; color: #888; }
.cvote-score.pos { color: var(--green); }
.cvote-score.neg { color: #e53935; }
.comment_zxb2qp { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.comment_i1hcb0 {
  background: #f3f8ff;
  border-radius: 5px;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 13.5px; color: #444; line-height: 1.6;
}
.comment_8eivab {
  width: 100%; border: 1px solid var(--line); border-radius: 5px;
  padding: 9px 12px; font-size: 13px; font-family: var(--font);
  margin-bottom: 8px; outline: none;
}
.comment_8eivab:focus { border-color: var(--green); }
.comment_jcdqxm {
  width: 100%; border: 1px solid var(--line); border-radius: 5px;
  padding: 9px 12px; font-size: 13px; font-family: var(--font);
  resize: vertical; margin-bottom: 10px; outline: none;
}
.comment_jcdqxm:focus { border-color: var(--green); }
@media (max-width: 640px) {
  /* iOS Safari увеличивает страницу при фокусе на input/textarea/select с font-size < 16px.
     !important — чтобы гарантированно перебить любые другие правила независимо от порядка/специфичности. */
  .comment_8eivab, .comment_jcdqxm,
  input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
  textarea, select {
    font-size: 16px !important;
  }
}
.comment_ifbipy {
  background: linear-gradient(90deg, #219abe, #46d394);
  color: #fff; border: none; border-radius: 5px;
  padding: 9px 24px; font-size: 13px; font-weight: 700;
  font-family: var(--font); cursor: pointer; transition: opacity .13s;
}
.comment_ifbipy:hover { opacity: .88; }

/* ======================
   MODAL
   ====================== */
.modal_74tzci {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.modal_74tzci[hidden] { display: none; }
.modal_e0d8r6 {
  background: #fff; border-radius: 10px; padding: 28px 32px;
  max-width: 380px; width: 90%; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.modal_prjldj { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.modal_w45al7  { font-size: 13px; color: #555; margin-bottom: 18px; line-height: 1.6; }
.modal_wgkima {
  background: var(--green); color: #fff; border: none;
  border-radius: 5px; padding: 9px 28px; font-size: 13px;
  font-weight: 700; cursor: pointer; font-family: var(--font);
}
.modal_wgkima:hover { opacity: .88; }

/* Responsive fnh */
@media (max-width: 900px) {
  .ui_xmggtj { grid-template-columns: 110px 1fr; }
  .ui_c3n99i { grid-column: 1 / -1; grid-row: 2; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; }
  }
@media (max-width: 560px) {
  .ui_xmggtj { grid-template-columns: 80px 1fr; gap: 0 12px; }
  .ui_lj3aqu img { width: 76px; height: 76px; }
  .ui_cmz6ju { font-size: 17px; }
  .ui_a6bz5s { width: 100%; justify-content: center; }
}

/* ======================================================
   FNH — hero block: иконка | info+рейтинг | кнопка
   ====================================================== */
.ui_xmggtj {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 0 20px;
  align-items: start;
  margin-bottom: 0;
}
.ui_lj3aqu { grid-column:1; grid-row:1; }
.ui_lj3aqu img { width:130px; height:130px; display:block; border-radius:4px; }

.ui_pjffq3 { grid-column:2; grid-row:1; padding-top:4px; }
.ui_cmz6ju { font-size:22px; font-weight:700; color:#000; margin-bottom:7px; line-height:1.2; }
.ui_zw4kee { font-size:13px; color:#555; margin-bottom:10px; }
.ui_zw4kee a { color:var(--green); text-decoration:underline; font-weight:400; }

/* Кнопка скачать — справа в hero */
.download_6c08x6 { display:flex; flex-direction:column; align-items:stretch; gap:8px; padding-top:4px; }
.download_6c08x6 .ui_a6bz5s { width:100%; }
.download_9wp5pz { display:flex; flex-direction:column; gap:3px; }
.download_9wp5pz span { font-size:11px; color:var(--muted); }

/* ======================================================
   SPEC INLINE — таблица характеристик ПОД hero
   ====================================================== */
.ui_pf64x8 {
  margin: 16px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  width: 100%; box-sizing: border-box; overflow: hidden;
}
.ui_idqwe3 { width:100%; border-collapse:collapse; font-size:13px; }
.ui_idqwe3 td { padding:4px 8px; vertical-align:top; }
.ui_n63vf0 { color:var(--muted); font-weight:700; white-space:nowrap; width:80px; }
.ui_5kffa1 { color:#333; }
.ui_i6bbin { width:28px; }

/* Кнопка скачать под характеристиками */
.download_cd8jho {
  display:flex; align-items:center;
  padding:14px 0 16px;
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
}

/* ======================================================
   DLINK WRAP — после описания, стиль как скриншот 2
   ====================================================== */










.ui_hpx8yb:hover 

/* ======================================================
   RESPONSIVE FNH
   ====================================================== */
@media (max-width:900px) {
  .ui_xmggtj { grid-template-columns:110px 1fr; }
  .download_6c08x6 { grid-column:1/-1; grid-row:2; flex-direction:row; align-items:center; gap:14px; margin-top:14px; }
  .download_6c08x6 .ui_a6bz5s { width:auto; }
  .download_9wp5pz { flex-direction:row; flex-wrap:wrap; gap:6px; }
}
@media (max-width:560px) {
  .ui_xmggtj { grid-template-columns:80px 1fr; gap:0 12px; }
  .ui_lj3aqu img { width:76px; height:76px; }
  .ui_cmz6ju { font-size:17px; }
  .download_6c08x6 { flex-wrap:wrap; }
  .download_6c08x6 .ui_a6bz5s { width:100%; }
  .ui_n63vf0 { width:60px; }
  
}

/* Category tags (subcategory pills on /apps/ /games/) */
.ui_wtkhwt {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 14px 0 4px;
}

/* Сортировка */
.ui_o5kzsr {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px;
  padding: 12px 18px; margin-top: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  font-size: 13px;
}
.ui_uosy1l { color: #888; white-space: nowrap; font-size: 13px; }
.ui_lml2ag {
  appearance: none; -webkit-appearance: none;
  background: #f2f4f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: none; border-radius: 8px;
  padding: 6px 30px 6px 12px;
  font-size: 13px; color: #444; font-family: inherit;
  cursor: pointer; outline: none; transition: background .12s;
}
.ui_lml2ag:hover { background-color: #e8eaeb; }
.ui_kuwk6g {
  display: inline-block;
  border: 1px solid var(--green);
  color: var(--green); border-radius: 5px;
  padding: 5px 14px; font-size: 13px;
  font-weight: 400; transition: all .12s;
  background: #fff;
}
.ui_kuwk6g:hover {
  background: var(--green); color: #fff;
}
.ui_kuwk6g.active {
  background: var(--green); color: #fff;
}

.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer; color: #fff;
  font-size: 28px; font-weight: 300;
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; line-height: 1;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.7);
}
/* ── DLINK — иконка слева, инфо по центру, кнопка СПРАВА, всё в одну строку ── */
.ui_j8cjf6 { margin: 20px 0 6px; }
.ui_ly2jzr { font-size: 17px; font-weight: 400; color: #000; margin-bottom: 14px; }

.ui_hpx8yb {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: linear-gradient(135deg, #3590a9, #49ccb5);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  gap: 14px;
  cursor: pointer;
  transition: opacity .13s;
}
.ui_hpx8yb:hover { opacity: .92; color: #fff; }

/* Левая часть: иконка + инфо */
.ui_wr2jy8 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ui_pk39q8 {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ui_v00lia {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ui_no8r6b {
  font-size: 14px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.ui_yqe1h0 {
  font-size: 12px; color: rgba(255,255,255,.82);
  white-space: nowrap;
}

/* Правая часть: кнопка — ВСЕГДА СПРАВА */
.ui_wncs05 {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 700;
  color: #fff; white-space: nowrap;
  transition: background .13s;
}
.ui_hpx8yb:hover .ui_wncs05 { background: rgba(255,255,255,.32); }

@media (max-width: 480px) {
  .ui_hpx8yb { padding: 14px 14px; gap: 10px; }
  .ui_wncs05 { padding: 8px 14px; font-size: 13px; }
}

/* gnews h3 clean */
.card_smhzqu h3 {
  font-size: inherit; font-weight: inherit;
  margin: 0; padding: 0; line-height: inherit; display: inline;
}

/* main2-news card extra rows */
.ui_axo47c {
  font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.ui_1qq9x8 { font-size: 12px; color: var(--muted); font-weight: 400; }

.download_gusrqq {
  font-size: 13px; color: #666; line-height: 1.7;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

/* ── Static pages ── */
.ui_3p9z62 {
  background: #fff; border-radius: 5px;
  padding: 28px 30px; margin-bottom: 16px;
}
.ui_i4fj1p {
  font-size: 24px; font-weight: 400; color: #000;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
}
.ui_q3ke5k {
  font-size: 14px; color: #444; line-height: 1.8;
}
.ui_q3ke5k h2 {
  font-size: 17px; font-weight: 700; margin: 20px 0 10px; color: #000;
}
.ui_q3ke5k p  { margin-bottom: 10px; }
.ui_q3ke5k ul { padding-left: 20px; margin-bottom: 10px; }
.ui_q3ke5k li { margin-bottom: 5px; }
.ui_q3ke5k a  { color: var(--green); text-decoration: underline; }

/* ── Contact form ── */
.ui_dzw9ap {
  font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.7;
}
.ui_5b2h4f {
  background: #e8f5ef; border: 1px solid #a5d6bf;
  border-radius: 6px; padding: 14px 18px;
  font-size: 14px; color: #2e7d59; margin-bottom: 16px;
}
.ui_ogdwv2 { max-width: 560px; }
.ui_6yuoh7 { margin-bottom: 16px; }
.ui_stvsfz {
  display: block; font-size: 13px; font-weight: 700;
  color: #444; margin-bottom: 6px;
}
.ui_qrb8qi {
  width: 100%; border: 1px solid #ddd; border-radius: 6px;
  padding: 10px 14px; font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .12s;
  box-sizing: border-box;
}
.ui_qrb8qi:focus { border-color: var(--green); }
.ui_w64lxk { resize: vertical; min-height: 130px; }
.ui_u17rts {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #219abe, #46d394);
  color: #fff; border: none; border-radius: 6px;
  padding: 11px 28px; font-size: 14px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  transition: opacity .13s;
}
.ui_u17rts:hover { opacity: .88; }

/* Category index sections */
.ui_ua8msf { margin-bottom: 24px; }
.ui_uap94y {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}
.ui_agjzd9 { font-size: 17px; font-weight: 700; color: #000; }
.ui_pqmqaa   { font-size: 12px; color: var(--green); text-decoration: underline; }
.ui_pqmqaa:hover { opacity: .8; }

/* Comment likes */
.comment_knnhrk {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.comment_k0s5q7 {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid #e0e0e0; border-radius: 20px;
  padding: 3px 12px; font-size: 12px; color: #888;
  cursor: pointer; font-family: var(--font); transition: all .13s;
}
.comment_k0s5q7:hover       { border-color: var(--green); color: var(--green); }
.comment_k0s5q7.ui_sdk3em       { background: #e8f8f8; border-color: var(--green); color: var(--green); font-weight:700; }
.comment_k0s5q7.ui_r2ocpj    { background: #fff0f0; border-color: #e57373; color: #e57373; font-weight:700; }
.comment_k0s5q7 svg         { width:13px; height:13px; }

/* TG promo block */
.ui_5r41a5 {
  display: flex; gap: 12px; margin: 20px 0 6px;
  flex-wrap: wrap;
}
.ui_bx87r7 {
  display: flex; flex: 1; align-items: center; justify-content: center;
  gap: 10px; min-width: 180px;
  background: linear-gradient(135deg, #28a8e0, #1d96cf);
  border-radius: 10px; padding: 14px 20px;
  color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: opacity .13s;
}
.ui_bx87r7:hover { opacity: .9; color: #fff; }
.ui_bx87r7 svg { flex-shrink: 0; }

.gplay-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: #2a2d30;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  gap: 14px;
  cursor: pointer;
  transition: opacity .13s;
  margin-bottom: 10px;
}
.gplay-row:hover { opacity: .92; color: #fff; }
.gplay-row .ui_pk39q8 { background: rgba(255,255,255,.2); }

.download_po89gr {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #f7f9f9;
  border-radius: 6px;
  font-size: 13px; line-height: 1.65; color: #5f5f5f;
}

/* Sidebar card h3 */
.ui_eakqmj h3, .ui_gejztv h3 {
  font-size: inherit; font-weight: inherit;
  margin: 0; padding: 0; display: inline; line-height: inherit;
}

.download_ctnr9r {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-width: 260px;
  background: linear-gradient(135deg, #2883ab, #4fc688);
  color: #fff; font-size: 17px; font-weight: 700;
  padding: 16px 40px; border-radius: 12px;
  text-decoration: none; transition: opacity .15s;
  box-shadow: 0 4px 16px rgba(40,171,146,.35);
}
.download_ctnr9r:hover { opacity: .9; color: #fff; }
.download_ctnr9r.download_trvaz8 { opacity: .5; pointer-events: none; }
.download_ctnr9r.ready { opacity: 1; pointer-events: auto; }

/* Download page — center button */
#dlStep1 { text-align: center; padding: 24px 0 8px; }
#dlStep1 .ui_a6bz5s {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  height: auto !important;
  padding: 14px 36px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  letter-spacing: .04em !important;
}
#dlStep1 .ui_a6bz5s svg { display:inline-block !important; flex-shrink:0 !important; }
#dlStep2 { text-align: center; }

/* ── Top 100 page ── */
.ui_77zqqk { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.card_gayw3e {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px;
  padding: 10px 14px; text-decoration: none; color: var(--text);
  transition: background .12s;
}
.card_gayw3e:hover { background: #f5fefc; }
.ui_vgo4es {
  font-size: 15px; font-weight: 700; color: #bbb;
  min-width: 28px; text-align: right; flex-shrink: 0;
}
.card_gayw3e:nth-child(1) .ui_vgo4es { color: #f5b700; font-size: 18px; }
.card_gayw3e:nth-child(2) .ui_vgo4es { color: #9e9e9e; font-size: 17px; }
.card_gayw3e:nth-child(3) .ui_vgo4es { color: #c07848; font-size: 16px; }
.ui_sluvui { flex-shrink: 0; }
.ui_sluvui img { border-radius: 10px; display: block; }
.ui_ufa4lh { flex: 1; min-width: 0; }
.ui_38gm1j { display: block; font-size: 14px; font-weight: 600; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui_2enbjv { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.ui_2enbjv span { font-size: 12px; color: var(--muted); }
.ui_2enbjv span + span::before { content: "·"; margin-right: 8px; color: #ddd; }
.download_jxg508 { flex-shrink: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* ── Вертикальная карточка (Популярное за месяц) ── */
.ui_p032gw.ui_py3pww {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.card_7yy44o {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border-radius: 12px; padding: 18px 12px 14px;
  text-align: center; cursor: pointer; color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.07);
  transition: all .18s ease;
}
.card_7yy44o:hover { background: #f0fcfd; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.card_7yy44o .card_6co213 {
  width: 90px; height: 90px; border-radius: 18px; overflow: hidden;
  margin-bottom: 12px; flex-shrink: 0;
}
.card_7yy44o .card_6co213 img { width: 90px; height: 90px; object-fit: cover; display: block; }
.card_7yy44o .card_aufycd {
  font-size: 14px; font-weight: 700; color: #222;
  line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card_7yy44o:hover .card_aufycd { color: #2971cb; }
.card_7yy44o .card_lp6bcm {
  font-size: 12px; font-weight: 600; color: var(--green2); margin-bottom: 6px;
}
.card_7yy44o .card_deq9ba {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) {
  .ui_p032gw.ui_py3pww { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .ui_p032gw.ui_py3pww { grid-template-columns: 1fr 1fr; }
}

/* ── Пагинация ── */
.ui_ix0m2h {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 20px 0 10px; flex-wrap: wrap;
}
.ui_c3ckr1 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #555; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  text-decoration: none; transition: all .13s;
  border: 1px solid #e8e8e8;
}
.ui_c3ckr1:hover {
  background: var(--green); color: #fff;
  border-color: var(--green);
}
.page-link--active {
  background: var(--green); color: #fff !important;
  border-color: var(--green);
  font-weight: 700; pointer-events: none;
}
.ui_otn3tq, .ui_lhxpor {
  padding: 0 14px; color: var(--green);
  font-weight: 600;
}
.ui_otn3tq:hover, .ui_lhxpor:hover {
  background: var(--green); color: #fff;
}

/* ── Навигация под шапкой ── */
.nav_3z72n3 {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav_zqe045 {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 20px; height: 42px;
}
.nav_o1ujm6 {
  font-size: 13px; font-weight: 600; color: #555;
  padding: 6px 14px; border-radius: 6px;
  text-decoration: none; transition: all .13s;
  white-space: nowrap;
}
.nav_o1ujm6:hover { background: #f4f4f4; color: #222; }
.nav_o1ujm6.active { background: var(--green); color: #fff; }

/* ── Telegram download button ── */
.tg-dl-btn {
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; width:auto; height:auto;
  background:#229ED9; color:#fff;
  padding:14px 36px; border-radius:10px;
  text-decoration:none; font-size:14px; font-weight:700;
  font-family:Inter,sans-serif; letter-spacing:.04em;
  transition:opacity .15s; white-space:nowrap;
}
.tg-dl-btn[style*="display:none"] { display:none !important; }
.tg-dl-btn:hover { opacity:.88; color:#fff; }

@media (max-width: 640px) {
  #dlStep1 > div { flex-direction: column !important; gap: 10px !important; }
  #dlStep1 .ui_a6bz5s,
  .tg-dl-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Кнопка "Наверх" */
#scrollTopBtn {
  position: fixed; bottom: 24px; right: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--green); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(9,184,109,.4);
  opacity: 0; transform: translateY(12px);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
}
#scrollTopBtn.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
#scrollTopBtn:hover { opacity: .88; }

/* ── Рекомендуемые блоки на главной ──────────────────────────────────────── */
.ui_w7ehyq {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px; border-radius: 14px; overflow: hidden;
  margin-bottom: 20px;
}
.ui_w7ehyq:has(.card_73ax5d:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}
.ui_w7ehyq:has(.card_73ax5d:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.ui_w7ehyq:has(.card_73ax5d:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.card_73ax5d {
  position: relative; overflow: hidden;
  padding: 16px 14px 0;
  min-height: 150px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: filter .15s;
}
.card_73ax5d:hover { filter: brightness(.93); }
/* Крестики-паттерн */
.card_73ax5d::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; z-index: 0;
}
.card_74qo7g {
  font-size: 15px; font-weight: 700; color: #fff;
  line-height: 1.25; margin-bottom: 4px;
  position: relative; z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.card_dusxfy {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 5px; position: relative; z-index: 2;
}
.card_dusxfy span {
  font-size: 11px; color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.15); border-radius: 4px;
  padding: 2px 7px;
}
.card_tb89xf {
  font-size: 11px; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 2px;
  position: relative; z-index: 2;
}
.card_tb89xf .ui_s44knj { color: #ffe14d; }
.card_tb89xf .ui_3qoe0y { color: rgba(255,255,255,.35); }
/* Картинка — занимает весь низ ячейки, выходит за края */
.card_z0jmct {
  position: absolute;
  bottom: 0; right: -4px;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(-4px 4px 12px rgba(0,0,0,.3));
}

@media (max-width: 640px) {
  .ui_w7ehyq { grid-template-columns: repeat(2,1fr); }
  .card_73ax5d { min-height: 130px; padding: 12px 10px 0; }
  .card_74qo7g { font-size: 13px; }
  .card_z0jmct { height: 78%; }
}
@media (max-width: 380px) {
  .card_73ax5d { min-height: 110px; }
}

/* ── Блок поделиться ─────────────────────────────────────────────────────── */
.ui_j5c895 {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ui_c5fhln {
  display: block; font-size: 13px; font-weight: 700;
  color: #555; margin-bottom: 10px;
}
.ui_jpsmq2 {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ui_vb5qhl {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: #fff; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: opacity .13s;
}
.ui_vb5qhl:hover { opacity: .85; }
.ui_wcsdq4   { background: #4680C2; }
.ui_e9xqw7   { background: #229ED9; }
.ui_o1opb1   { background: #25d3bc; }
.ui_xri5tz { background: #6b7280; color: #fff; }

/* ── Лучшее совпадение в поиске ─────────────────────────────────────────── */
.search_4sqy0p {
  display: flex; align-items: flex-start; gap: 20px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ui_l82qem {
  display: flex; align-items: flex-start; gap: 16px; flex: 1; min-width: 0;
}
.ui_4pepr5 img {
  width: 80px; height: 80px; border-radius: 18px;
  object-fit: cover; flex-shrink: 0;
}
.ui_b31dnd { flex: 1; min-width: 0; }
.ui_bio9sv {
  font-size: 18px; font-weight: 700; color: var(--text);
  text-decoration: none; display: block; margin-bottom: 4px;
}
.ui_bio9sv:hover { color: var(--green); }
.ui_x89ib0 {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: #888; margin-bottom: 8px;
}
.ui_admbyo {
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; color: #fff;
}
.ui_5mk89l     { background: var(--green); }
.ui_3qp9lo { background: #6c47ff; }
.ui_3orm9a {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-size: 13px; color: #555; margin-bottom: 14px;
}
.ui_yyt4pl {
  display: flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 14px;
}
.download_jjje9k {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 10px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: opacity .13s;
}
.download_jjje9k:hover { opacity: .88; }
.ui_7mp2jo {
  flex-shrink: 0; width: 200px;
}
.ui_7mp2jo img {
  width: 100%; border-radius: 10px;
  object-fit: cover; display: block;
}
@media (max-width: 640px) {
  .search_4sqy0p { flex-direction: column; }
  .ui_7mp2jo { width: 100%; }
}

/* ── Подразделы модов ────────────────────────────────────────────────────── */
.ui_rc2g2m { margin: 16px 0; }
.ui_rct3nk {
  font-size: 13px; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 10px;
}
.ui_9l7r56 { display: flex; flex-wrap: wrap; gap: 8px; }
.card_909zcy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: #f3f4f6; border: 1.5px solid var(--line);
  text-decoration: none; font-size: 13px; color: #444;
  transition: all .12s;
}
.card_909zcy:hover {
  background: #f0fdfa; border-color: var(--green); color: var(--green);
}
.ui_njek37 {
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 10px;
}

/* Download page h2 */
.download_kabkd2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin: 0 0 4px;
}
.mod-subcat-active {
  background: #f0fdfa !important;
  border-color: var(--green) !important;
  color: var(--green) !important;
}
.mod-subcat-active .ui_i6uzyr { color: var(--green); }

/* ── Рейтинг на странице загрузки ───────────────────────────────────────── */
.download_x0ztqm {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin: 10px 0 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.download_8mdw00 {
  display: flex; gap: 12px; justify-content: center;
}
.download_awej1a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 150px; padding: 11px 0;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; background: var(--green); color: #fff;
  transition: all .15s; user-select: none; border: none;
}
.download_awej1a.download_e3nmus {
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--line);
}
.download_awej1a.active { opacity: .75; }
.download_awej1a.rated  { pointer-events: none; opacity: .65; }
.download_yxd7lq {
  display: flex; gap: 0; justify-content: center;
}
.download_mqd5io {
  width: 162px; text-align: center;
  font-size: 13px; color: #888;
}

/* ── Свежие комментарии на download-page ────────────────────────────────── */
.comment_5k5smn {
  margin-top: 24px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.comment_5k5smn .ui_5gyn1b {
  padding: 14px 18px 0; margin-bottom: 0 !important;
}
.card_wj76fw {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  transition: background .1s;
}
.card_wj76fw:last-child { border-bottom: none; }
.card_wj76fw:hover { background: #f9fafb; }
.comment_tazq7l { flex-shrink: 0; }
.comment_tazq7l img { width: 40px; height: 40px; border-radius: 50%; }
.comment_0qp46v { flex: 1; min-width: 0; }
.comment_u1dt6h {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px; margin-bottom: 5px;
}
.comment_3n7puj { font-weight: 700; font-size: 13px; color: var(--text); }
.comment_1siicb   { font-size: 11px; color: #aaa; }
.comment_rapua1   {
  font-size: 13px; color: #555; line-height: 1.5;
  margin-bottom: 7px; word-break: break-word;
}
.rc-app-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--green); text-decoration: none;
  font-weight: 600; background: #f0fdfa; padding: 3px 10px;
  border-radius: 20px; border: 1px solid #bbf7ee;
}
.rc-app-link:hover { background: #dcfcf7; }
.rc-app-link svg { flex-shrink: 0; }

/* ── Голосование за файл на download-page ────────────────────────────────── */
.ui_v86xy9 {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 5px; cursor: pointer;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--green); color: var(--green);
  background: #fff; transition: all .12s;
}
.ui_v86xy9:hover { background: var(--green); color: #fff; }
.ui_v86xy9.active { background: var(--green); color: #fff; }
.ui_lo8w6z { border-color: #e53935; color: #e53935; }
.ui_lo8w6z:hover { background: #e53935; color: #fff; }
.ui_lo8w6z.active { background: #e53935; color: #fff; border-color: #e53935; }
.ui_v86xy9:disabled { pointer-events: none; }
.ui_nwvvp1 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 4px; font-size: 11px; font-weight: 700;
  background: rgba(0,0,0,.18); color: #fff;
  opacity: 1;
}
/* Активное состояние — тёмный счётчик на цветной кнопке */
.ui_v86xy9.active .ui_nwvvp1 { background: rgba(0,0,0,.22); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ZIP Кэш ─────────────────────────────────────────────────────────────── */
.ui_5ec7lb { margin-top: 8px; margin-bottom: 8px; }
:root { --orange: #f97316; }

/* ── Инструкция по установке кэша ───────────────────────────────────────── */
.apk_mc7ljj {
  margin-bottom: 12px;
  background: #f0fdfa;
  border: 1px solid #bbf7ee;
  border-radius: 10px;
  overflow: hidden;
}
.apk_6ssmy6 {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700;
}
.apk_6ssmy6 svg { flex-shrink: 0; stroke: #fff; }
.apk_y3k4x5 {
  padding: 12px 16px 12px 34px;
  font-size: 13px; color: #444;
  line-height: 1.7;
}
.apk_y3k4x5 li { margin-bottom: 4px; }
.apk_y3k4x5 code {
  font-family: monospace; font-size: 12px;
  background: #dcfcf7; padding: 1px 5px;
  border-radius: 4px; color: #16655b;
}
.apk_zpbxjn { color: var(--green); font-weight: 700; }

/* cache block на download-page */
.download_sne8qz { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.download_sne8qz .ui_hpx8yb { margin-bottom: 10px; }
