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

:root {
  --grad-1: #28ab92;
  --grad-2: #51c64f;
  --green:  #09b86d;
  --green2: #47952b;
  --bg:     #f2f4f5;
  --white:  #ffffff;
  --text:   #222222;
  --muted:  #818181;
  --line:   #e8e8e8;
  --font: Arial, Helvetica, sans-serif;
  --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
   ====================== */
.head-line {
  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);
}
.head-line-w {
  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%;
}

/* Бургер */
.mob-menu {
  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;
}
.mob-menu::after { content: none; }

/* Логотип */
.logo {
  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;
}
.logo span { font-size: 17px; font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.logo 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); }
.form-search {
  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% + 4px); left: 0; right: 0;
  background: #fff; border-radius: 5px;
  border: 1px solid #ddd; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 400; overflow: hidden;
}
.sugg-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #ebebeb; transition: background .1s;
}
.sugg-item:last-child { border-bottom: none; }
.sugg-item:hover { background: #ebebeb; }
.sugg-item img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sugg-name { display: block; font-size: 14px; color: #000; line-height: 1.2; }
.sugg-ver  { display: block; font-size: 11px; color: var(--muted); }

/* ======================
   MAIN LAYOUT
   ====================== */
.main-center-block {
  max-width: var(--max); margin: 30px auto 50px;
  padding: 0 20px;
}
.colsfl {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
}
.colsfl-right { flex: 1 1 0; min-width: 0; }
.colsfl-left  { width: 280px; flex-shrink: 0; }

/* All direct block children of colsfl-right must not overflow */
.colsfl-right > * { max-width: 100%; box-sizing: border-box; }
.colsfl-right .fnh { width: 100%; }
.colsfl-right .spec-block,
.colsfl-right .faq-block,
.colsfl-right .comment-block,
.colsfl-right .sim-block,
.colsfl-right .bc-wrap,
.colsfl-right .snblock-title,
.colsfl-right .cat-tags,
.colsfl-right .main-news-wrap { width: 100%; }


/* ======================
   LEFT SIDEBAR
   ====================== */
.leftblock {
  background: #f3feff; border-radius: 5px;
  padding: 0 0 6px; margin-bottom: 24px;
}
.leftblock-title {
  font-size: 16px; font-weight: 700; color: #000;
  text-transform: uppercase;
  padding: 18px 24px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.leftblock-title .arrt {
  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='%2314c54e'/%3E%3C/svg%3E") center no-repeat;
  background-size: 24px;
}

/* .ltop строки сайдбара */
.ltop {
  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);
}
.ltop:hover { background: #f1fef3; }
.ltop-image { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ltop-image img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.ltop-r { flex: 1; min-width: 0; }
.ltop-title {
  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;
}
.ltop:hover .ltop-title { color: #6fb000; }
.ltop-category {
  display: block; font-size: 12px; color: #727272;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ======================
   ТОП ЗА НЕДЕЛЮ — .rtop-block
   ====================== */
.rtop-block {
  background: #fff; border-radius: 5px;
  padding: 22px 22px 14px; margin-bottom: 22px;
}
.rtop-block-title {
  text-align: center; font-size: 17px; font-weight: 700;
  color: #000; margin-bottom: 18px;
}
.rtop-block-fl {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px;
}
/* Одна карточка ТОПа */
.rtop {
  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;
}
.rtop:hover { border-color: #c1ffee; background: #f0fffa; }
.rtop-image { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.rtop-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.rtop-r { flex: 1; min-width: 0; }
.rtop-title {
  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 */
.rtop-android {
  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='%2309b86d' 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;
}
.ltop-size, .rtop .ltop-size {
  display: block; font-size: 12px;
  font-weight: 500; color: var(--green2);
}

/* ======================
   НОВИНКИ — .main2-news
   ====================== */
.cbtitle {
  text-align: center; font-size: 18px; font-weight: 400;
  color: #000; margin: 0 0 14px;
}
.main-news-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.main2-news {
  box-sizing: border-box; position: relative;
  min-width: 0;
}
.main2-news-wrap-link {
  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 .main2-news-wrap-link {
  background: #f5fef8;
  box-shadow: 0 3px 12px rgba(0,0,0,.10);
}
.main2-news-fl { display: flex; gap: 10px; align-items: stretch; }
.main2-news-image {
  width: 90px; height: 90px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0;
}
.main2-news-image img {
  width: 90px; height: 90px; object-fit: cover; border-radius: 12px;
}
.main2-news-r {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.main2-news-title {
  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;
}
.main2-news-title h3 {
  font-size: 16px; font-weight: 700;
  margin: 0; padding: 0; display: inline;
  line-height: inherit;
}
.main2-news:hover .main2-news-title { color: #2971cb; }
.main2-news-arh {
  font-size: 11px; color: #464646;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.main2-news-stats {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.main2-news-andr {
  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;
}
.main2-dots { display: none; }

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

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

/* .gnews — карточка в grblock */
.gnews {
  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);
}
.gnews:hover { background: #f0fdf8; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.gnews-image { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.gnews-image img { width: 90px; height: 90px; object-fit: cover; }
.gnews-r {
  flex: 1; min-width: 0; padding: 9px 9px 9px 6px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.gnews-title {
  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;
}
.gnews:hover .gnews-title { color: #2971cb; }
.gnews-android {
  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;
}
.gnews-size { font-size: 12px; font-weight: 500; color: var(--green2); }
.gnews-desc { 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; }

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

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

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

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

/* Кнопка СКАЧАТЬ */
.full-news-rline {
  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;
}
.full-news-d {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 178px; height: 46px;
  background: linear-gradient(90deg, #21be94, #46d34e);
  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;
}
.full-news-d:hover { opacity: .88; color: #fff; }
.full-news-dr {
  font-size: 14px; color: #999;
  text-decoration: underline; font-weight: 700;
  cursor: pointer;
}
.full-news-dr:hover { color: var(--green); }

/* Слайдер скриншотов */
.ttslider {
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.ttslider-src {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px;
}
.ttslider-src::-webkit-scrollbar { height: 3px; }
.ttslider-src::-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: 155px; height: auto; display: block; }
.ttslider-right, .ttslider-left {
  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;
}
.ttslider-right:hover, .ttslider-left:hover { background: rgba(170,190,200,.92); }
.ttslider-right { right: 0; }
.ttslider-left  { 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;
}

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

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

/* FAQ */
.faq-block {
  background: #fff; border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.faq-block-head {
  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; }

/* Похожие приложения */
.sim-block {
  background: #fff; border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sim-block-head {
  display: flex; align-items: center;
  padding: 16px 16px 4px;
}
.sim-block-title { font-size: 16px; font-weight: 700; color: #000; }
.sim-block-all   { display: none; }
.sim-wrap {
  display: flex; flex-wrap: wrap; padding: 8px; gap: 6px;
}
.sim-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.sim-wrap .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);
  overflow: hidden; word-break: break-word;
}
.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); }

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

/* ======================
   СТРАНИЦА СКАЧИВАНИЯ
   ====================== */
.dl-wrap {
  background: #fff; border-radius: 5px;
  padding: 22px; margin-bottom: 14px;
}
.dl-app-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.dl-app-icon img { width: 80px; height: 80px; border-radius: 12px; border: 1px solid var(--line); }
.dl-app-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.dl-app-meta  { font-size: 12px; color: var(--muted); }
.dl-timer-box {
  text-align: center; padding: 28px 20px;
  background: #f9fef9; border: 1px solid #d4edda;
  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, #21be94, #46d34e); border-radius: 4px; width: 0; transition: width 1s linear; }
.btn-dl-main {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: linear-gradient(90deg, #21be94, #46d34e);
  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;
}
.btn-dl-main.ready { opacity: 1; pointer-events: auto; }
.btn-dl-main.ready:hover { opacity: .88; }
.dl-info-block { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.dl-info-head  { background: #fafafa; padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.dl-info-body  { padding: 13px 16px; font-size: 13px; color: #555; line-height: 1.8; }
.dl-info-body ol { padding-left: 18px; }
.dl-info-body li { margin-bottom: 3px; }
.dl-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dl-spec-table td { padding: 7px 16px; border-bottom: 1px solid var(--line); }
.dl-spec-table tr:last-child td { border-bottom: none; }
.dl-spec-table tr:nth-child(odd) td { background: #fafafa; }
.dl-spec-table td:first-child { color: var(--muted); font-weight: 600; width: 35%; }
.dl-back { margin-top: 13px; text-align: center; font-size: 12px; color: var(--muted); }
.dl-back a { color: var(--muted); }
.dl-back a:hover { color: var(--green); }

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

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

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

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1240px) {
  .main-center-block { padding: 0 16px; }
}
@media (max-width: 1040px) {
  .main-news-wrap { grid-template-columns: repeat(2,1fr); }
  .colsfl-left  { width: 240px; }
  .rtop        { width: calc(50% - 4px); }
  .gnews       { width: calc(50% - 4px); }
}
@media (max-width: 860px) {
  .colsfl-right { width: 100% !important; min-width: 0; }
  .colsfl-left  { display: none !important; }
  .colsfl      { flex-direction: column; }
  .rtop        { width: calc(50% - 6px); }
  .gnews       { width: calc(50% - 4px); }
  .sim-wrap    { grid-template-columns: repeat(2,1fr); }
  .full-news-head     { flex-wrap: wrap; }
  .full-news-head-r   { width: 100%; margin-top: 10px; }
  /* app page */
  /* fnh hero — переход на 2-col */
  .fnh         { grid-template-columns: 100px 1fr; gap: 12px; }
  .fnh-ico     { width: 100px; height: 100px; }
  .fnh-ico img { width: 100px; height: 100px; border-radius: 12px; }
  .fnh-dl      { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .fnh-dl .full-news-d { width: 100%; text-align: center; justify-content: center; }
  /* grblock 2 cols */
  .grblock-content { display: grid; grid-template-columns: 1fr 1fr; }
  .gnews       { width: auto; }
  /* monthly top */
  .grblock-content--v { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  /* Header */
  .head-line   { height: 54px; }
  .head-line-w { height: 54px; padding: 0 10px; }
  .mob-menu    { height: 54px; background-position: center 10px; width: 38px; }
  .mob-menu::after { content: none; }
  .logo span   { font-size: 13px; }
  .logo i      { display: none; }
  .search-block { width: auto; flex: 1; margin-left: 8px; }
  /* Top nav */
  .top-nav-w   { padding: 0 8px; gap: 2px; }
  .top-nav-link { padding: 5px 12px; font-size: 13px; border-radius: 18px; }
  /* Layout — prevent overflow */
  .main-center-block { margin-top: 10px; padding: 0 10px; overflow-x: hidden; box-sizing: border-box; }
  .colsfl      { gap: 0; }
  .colsfl-right { width: 100% !important; min-width: 0; }
  /* Cards → 1 col */
  .main-news-wrap { grid-template-columns: 1fr; }
  .main2-news  { width: 100%; }
  /* rtop → 2 per row */
  .rtop-block     { overflow: hidden; width: 100%; box-sizing: border-box; }
  .rtop-block-fl  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .rtop           { box-sizing: border-box; min-width: 0; }
  .rtop        { width: 100%; box-sizing: border-box; padding: 8px; gap: 7px; }
  .rtop-image  { width: 52px; height: 52px; }
  .rtop-image img { width: 52px; height: 52px; }
  .rtop-r      { flex: 1; min-width: 0; overflow: hidden; }
  .rtop-title  { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rtop-android, .rtop .ltop-size { font-size: 11px; }
  /* gnews — full width */
  .gnews       { width: 100%; }
  .grblock-content { grid-template-columns: 1fr 1fr; }
  /* Download page — кнопка скачать */
  .full-news-rline { height: auto; flex-wrap: wrap; padding: 12px 12px; gap: 8px; box-sizing: border-box; width: 100%; }
  .full-news-d { width: 100%; justify-content: center; box-sizing: border-box; }
  .full-news-dr { width: 100%; text-align: center; }
  /* Slider */
  .sim-wrap    { grid-template-columns: 1fr; }
  .ttslider-item img { width: 110px; }
  /* Spec */
  /* Monthly top */
  .grblock-content--v { grid-template-columns: repeat(2,1fr) !important; }
  /* DL page */
  #dlStep1 { padding: 16px 0 8px; }
  .dl-btn-main { min-width: 180px; font-size: 15px; padding: 14px 24px; }
}
@media (max-width: 420px) {
  .main-center-block { padding: 0 8px; margin-top: 10px; }
  .grblock           { padding: 14px 10px 8px; }
  .rtop-block        { padding: 14px 10px 8px; }
  .top-nav-link      { padding: 4px 8px; font-size: 11px; }
  .grblock-content   { grid-template-columns: 1fr 1fr; }
  .grblock-content--v { grid-template-columns: 1fr 1fr !important; }
  /* main2-news horizontal on very small */
  .main2-news-image  { width: 72px; height: 72px; }
  .main2-news-image img { width: 72px; height: 72px; }
  /* fnh hero — 2-col, кнопка в потоке */
  .fnh         { grid-template-columns: 80px 1fr; gap: 10px; }
  .fnh-ico     { width: 80px; height: 80px; }
  .fnh-ico img { width: 80px; height: 80px; }
  .fnh-info    { min-width: 0; }
  .fnh-dl      { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .fnh-dl .full-news-d { 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; }
.star-display .star { font-size: 18px; color: #ddd; }
.star-display .star-on { color: #ffd200; }
.star-info { font-size: 12px; color: var(--muted); }
.rate-block { background: #fff8e1; border: 1px solid #ffe082; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.rate-block-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.rate-done { 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; }
.btn-rate {
  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;
}
.btn-rate:disabled { opacity: .5; cursor: not-allowed; }
.btn-rate:hover:not(:disabled) { opacity: .88; }

/* ======================
   COMMENTS
   ====================== */
.comment-block { background: #fff; border-radius: 5px; padding: 20px; margin-bottom: 14px; }
.comment-block-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.comment-list { margin-bottom: 20px; }
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-item:last-child { border-bottom: none; }
.comment-item-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.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-form-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.comment-input {
  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-input:focus { border-color: var(--green); }
.comment-textarea {
  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-textarea:focus { border-color: var(--green); }
.btn-comment {
  background: linear-gradient(90deg, #21be94, #46d34e);
  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;
}
.btn-comment:hover { opacity: .88; }

/* ======================
   MODAL
   ====================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  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-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.modal-text  { font-size: 13px; color: #555; margin-bottom: 18px; line-height: 1.6; }
.modal-close {
  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-close:hover { opacity: .88; }

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

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

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

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

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

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

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










.dlink:hover 

/* ======================================================
   RESPONSIVE FNH
   ====================================================== */
@media (max-width:900px) {
  .fnh { grid-template-columns:110px 1fr; }
  .fnh-dl { grid-column:1/-1; grid-row:2; flex-direction:row; align-items:center; gap:14px; margin-top:14px; }
  .fnh-dl .full-news-d { width:auto; }
  .fnh-dl-info { flex-direction:row; flex-wrap:wrap; gap:6px; }
}
@media (max-width:560px) {
  .fnh { grid-template-columns:80px 1fr; gap:0 12px; }
  .fnh-ico img { width:76px; height:76px; }
  .fnh-title { font-size:17px; }
  .fnh-dl { flex-wrap:wrap; }
  .fnh-dl .full-news-d { width:100%; }
  .spec-lbl { width:60px; }
  
}

/* Category tags (subcategory pills on /apps/ /games/) */
.cat-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 14px 0 4px;
}
.cat-tag {
  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;
}
.cat-tag:hover {
  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 — иконка слева, инфо по центру, кнопка СПРАВА, всё в одну строку ── */
.dlink-wrap { margin: 20px 0 6px; }
.dlink-heading { font-size: 17px; font-weight: 400; color: #000; margin-bottom: 14px; }

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

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

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

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

/* Правая часть: кнопка — ВСЕГДА СПРАВА */
.dlink-btn {
  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;
}
.dlink:hover .dlink-btn { background: rgba(255,255,255,.32); }

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

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

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

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

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

/* ── Contact form ── */
.contact-intro {
  font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.7;
}
.contact-success {
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: 6px; padding: 14px 18px;
  font-size: 14px; color: #2e7d32; margin-bottom: 16px;
}
.cform { max-width: 560px; }
.cform-row { margin-bottom: 16px; }
.cform-label {
  display: block; font-size: 13px; font-weight: 700;
  color: #444; margin-bottom: 6px;
}
.cform-input {
  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;
}
.cform-input:focus { border-color: var(--green); }
.cform-textarea { resize: vertical; min-height: 130px; }
.cform-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #21be94, #46d34e);
  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;
}
.cform-submit:hover { opacity: .88; }

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

/* Comment likes */
.comment-like-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.comment-like-btn {
  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-like-btn:hover       { border-color: var(--green); color: var(--green); }
.comment-like-btn.liked       { background: #e8f8f0; border-color: var(--green); color: var(--green); font-weight:700; }
.comment-like-btn.disliked    { background: #fff0f0; border-color: #e57373; color: #e57373; font-weight:700; }
.comment-like-btn svg         { width:13px; height:13px; }

/* TG promo block */
.tg-promo {
  display: flex; gap: 12px; margin: 20px 0 6px;
  flex-wrap: wrap;
}
.tg-promo-btn {
  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;
}
.tg-promo-btn:hover { opacity: .9; color: #fff; }
.tg-promo-btn svg { flex-shrink: 0; }

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

.dl-btn-main {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-width: 260px;
  background: linear-gradient(135deg, #28ab92, #51c64f);
  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);
}
.dl-btn-main:hover { opacity: .9; color: #fff; }
.dl-btn-main.dl-btn-wait { opacity: .5; pointer-events: none; }
.dl-btn-main.ready { opacity: 1; pointer-events: auto; }

/* Download page — center button */
#dlStep1 { text-align: center; padding: 24px 0 8px; }
#dlStep1 .full-news-d {
  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 .full-news-d svg { display:inline-block !important; flex-shrink:0 !important; }
#dlStep2 { text-align: center; }

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

/* ── Вертикальная карточка (Популярное за месяц) ── */
.grblock-content.grblock-content--v {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gnews-v {
  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;
}
.gnews-v:hover { background: #f0fdf8; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.gnews-v .gnews-v-ico {
  width: 90px; height: 90px; border-radius: 18px; overflow: hidden;
  margin-bottom: 12px; flex-shrink: 0;
}
.gnews-v .gnews-v-ico img { width: 90px; height: 90px; object-fit: cover; display: block; }
.gnews-v .gnews-v-title {
  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;
}
.gnews-v:hover .gnews-v-title { color: #2971cb; }
.gnews-v .gnews-v-size {
  font-size: 12px; font-weight: 600; color: var(--green2); margin-bottom: 6px;
}
.gnews-v .gnews-v-desc {
  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) {
  .grblock-content.grblock-content--v { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .grblock-content.grblock-content--v { grid-template-columns: 1fr 1fr; }
}

/* ── Пагинация ── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 20px 0 10px; flex-wrap: wrap;
}
.page-link {
  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;
}
.page-link: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;
}
.page-prev, .page-next {
  padding: 0 14px; color: var(--green);
  font-weight: 600;
}
.page-prev:hover, .page-next:hover {
  background: var(--green); color: #fff;
}

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

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