/* =====================================================
   APKLAND — публичная тема сайта
   Светлый дизайн, 3-колоночный адаптивный макет.
     1. Токены (:root), базовые стили
     2. Шапка (.ui_ga17i5) и навигация (.nav_vdsqp7)
     3. Каркас (.ui_3h0r8y), сайдбары, мобильный drawer
     4. Карточки каталога (.card_huk2c7 / .card)
     5. Страница приложения (.ui_6xmv3r / .ui_ldk5n8 / .ui_xwuzs1)
     6. Комментарии, скачивание, пагинация
     7. Футер (.ui_zpu44j)
     8. Адаптив (@media)
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grad-1: #dcc865;
  --grad-2: #968b15;
  --green:  #c9b928;
  --green2: #968b15;
  --green-light: #dcc865;
  --ink:    #242417;
  --bg:     #f8f7f4;
  --white:  #ffffff;
  --text:   #373626;
  --muted:  #74857a;
  --line:   #e9e7df;
  --soft:   #f8f6ee;
  --orange: #ff9c20;
  --shadow: 0 14px 38px rgba(25,80,45,.08);
  --font: ;
  --max: 1320px;
}

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

/* ШАПКА — .ui_ga17i5 / .ui_x3oqbr */
.ui_ga17i5 {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.ui_x3oqbr {
  min-height: 84px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 20px; padding: 14px 0;
  box-sizing: border-box; width: 100%;
}

/* Логотип */
.ui_t9ff0s { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.ui_f0l632 {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--green-light), var(--green2));
  box-shadow: 0 9px 22px rgba(40,201,104,.25);
  display: flex; align-items: center; justify-content: center;
}
.ui_f0l632 svg { width: 27px; height: 27px; fill: #fff; }
.ui_wa0pa2 { display: flex; flex-direction: column; line-height: 1.15; }
.ui_wa0pa2 b { font-size: 18px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; }
.ui_wa0pa2 i { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Поиск */
.search {
  margin-left: auto; flex: 1 1 340px; max-width: 460px;
  height: 46px; border: 1px solid var(--line);
  border-radius: 24px; position: relative;
  background: #fafaf7; display: flex;
}
.search form { margin: 0; padding: 0; flex: 1; display: flex; }
.search input {
  min-width: 0; flex: 1; height: 44px; margin: 1px 0 1px 20px;
  background: none; border: none; outline: none;
  color: var(--text); font-size: 14px; font-family: var(--font);
}
.search input::placeholder { color: var(--muted); }
@media (max-width: 640px) {
  .search input { font-size: 16px; }
  #searchSuggestions {
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 0 16px 16px !important;
    max-height: 70vh !important;
  }}
.search button {
  width: 54px; flex-shrink: 0; border: none; background: var(--green);
  border-radius: 0 24px 24px 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--green2); }
.search button svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* Иконки-действия справа в шапке */
.ui_t5ewqn { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ui_lwwhzj {
  width: 42px; height: 42px; border: none; background: transparent;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--green2); cursor: pointer; transition: background .12s;
}
.ui_lwwhzj:hover { background: var(--soft); }
.ui_lwwhzj svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Подсказки поиска */
#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: #fcfcf9;
}
.sugg-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #f4f3ee; transition: background .1s;
  text-decoration: none;
}
.sugg-item:last-of-type { border-bottom: none; }
.sugg-item:hover { background: #f9f9f5; }
.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: #242417; 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: #fcfcf9;
  text-decoration: none; transition: background .1s;
}
.sugg-all:hover { background: #fafaf0; }
.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: 12px;
  text-decoration: none; transition: opacity .15s;
}
.sugg-empty-btn:hover { opacity: .88; }

/* MAIN LAYOUT — 3-column grid (как в верстке) */
.ui_sthxiq { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.ui_ijc3cs {
  max-width: var(--max); margin: 30px auto 50px;
  padding: 0 20px;
}
.ui_3h0r8y {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr) 280px;
  gap: 32px;
  align-items: start;
  padding: 26px 0 54px;
}
.side { min-width: 0; }
.ui_veb6z4 {
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 800; color: #242417;
  margin: 0 0 12px;
}
.ui_veb6z4 svg { width: 21px; height: 21px; fill: var(--green); flex: 0 0 auto; }
.ui_cyfrp8 { font-size: 15px; justify-content: space-between; }
.ui_9uys7y { font-size: 12px; font-weight: 700; color: var(--green2); text-decoration: none; }
.ui_9uys7y:hover { text-decoration: underline; }
.ui_dvs1kr { list-style: none; margin: 0 0 4px; padding: 0; }
.ui_dvs1kr li { border-bottom: 1px dashed var(--line); }
.ui_dvs1kr a {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 2px; font-weight: 700; font-size: 14px;
  color: var(--text); transition: all .12s;
}
.ui_dvs1kr a:before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex: 0 0 auto; }
.ui_dvs1kr a:hover { color: var(--green2); padding-left: 4px; }
.ui_lmk6a5 { margin-top: 28px; }
.ui_b26yuq { display: grid; gap: 11px; }
.ui_se7ta8 { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; color: var(--text); }
.ui_vhhh0t img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; display: block; }
.ui_2s0obs { min-width: 0; }
.ui_se7ta8 b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui_se7ta8 span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui_se7ta8:hover b { color: var(--green2); }
.ui_vakwj1 { min-width: 0; }

/* SEO-INTRO / SECTION HEAD / CARDS — главная и листинги (как в верстке) */
.ui_0rfbc2 {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 28px; margin-bottom: 26px; box-shadow: var(--shadow);
}
.ui_0rfbc2 h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.5px; color: var(--ink); }
.ui_0rfbc2 p { color: var(--muted); margin: 8px 0; font-size: 14px; line-height: 1.6; }

.ui_2g6ano {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 0 15px;
}
.ui_2g6ano h2 { font-size: 22px; margin: 0; color: var(--ink); }
.ui_2g6ano .ui_mogc3z { font-size: 13px; font-weight: 800; color: var(--green2); white-space: nowrap; }
.ui_2g6ano .ui_mogc3z:hover { text-decoration: underline; }

.card_huk2c7 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 30px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; display: grid; grid-template-columns: 82px 1fr; gap: 14px;
  cursor: pointer; transition: all .2s; min-width: 0; color: var(--text);
}
.card:hover { transform: translateY(-3px); border-color: #e4ddbd; box-shadow: var(--shadow); }
.ui_9cbhp4 {
  width: 82px; height: 82px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.ui_9cbhp4 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 16px; line-height: 1.25; margin: 2px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.card p { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.card_qmjexg { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 8px; font-size: 12px; color: #87958c; }
.card_5xhkpo { display: flex; align-items: center; gap: 2px; }
.card_5xhkpo svg { width: 12px; height: 12px; fill: #f2ad23; }
@media (max-width: 640px) {
  .card_huk2c7 { grid-template-columns: 1fr; }
  .card { grid-template-columns: 72px 1fr; }
  .ui_9cbhp4 { width: 72px; height: 72px; border-radius: 15px; }}

@media (min-width: 1101px) { .ui_4vkdf0, .ui_9n0ss1 { display: none !important; } }

.ui_4vkdf0 {
  display: none; position: fixed; top: 0; left: -320px; width: 300px; max-width: 86vw;
  height: 100vh; background: #fff; z-index: 400; padding: 24px 20px;
  overflow-y: auto; transition: left .25s ease; box-shadow: var(--shadow);
}
.ui_4vkdf0.open { display: block; left: 0; }
.ui_9n0ss1 {
  display: none; position: fixed; inset: 0; background: rgba(15,30,20,.45); z-index: 390;
}
.ui_9n0ss1.open { display: block; }
.ui_5ykcud {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: var(--soft); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ui_9ntc7p .ui_lmk6a5:first-child { margin-top: 0; }
.ui_9ntc7p > .side-group { margin-bottom: 28px; }
.ui_6z87la {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 178px; height: 46px;
  background: linear-gradient(90deg, #c9b928, #dcc865);
  border-radius: 16px; color: #fff;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .14s;
  letter-spacing: .03em; flex-shrink: 0;
  text-decoration: none;
}
.ui_6z87la:hover { opacity: .88; color: #fff; }
.ttslider-item {
  flex-shrink: 0; scroll-snap-align: start;
  border-radius: 16px; 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; /* не давать браузеру сжимать шире чем нужно */
}

/* Фото лайтбокс оверлей */
.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_tukfyz {
  font-size: 14px; color: #656452; line-height: 1.8;
  margin-bottom: 0;
}
.ui_tukfyz p { margin-bottom: 10px; }
.ui_tukfyz b { color: #373626; }
.ui_tukfyz ul, .ui_tukfyz ol { padding-left: 22px; margin-bottom: 10px; }
.ui_tukfyz li { margin-bottom: 4px; }

/* MOD: что есть в моде */
.ui_5bwr0p {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  margin: 16px 0; overflow: hidden;
}
.ui_1ytrae {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: #2b291c;
  padding: 13px 18px; border-bottom: 2px solid var(--green);
}
.ui_9kapp0 {
  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_nzqcdg {
  list-style: none; padding: 10px 18px 14px; margin: 0;
}
.ui_nzqcdg li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 13.5px; color: #4a473a; line-height: 1.5;
  border-bottom: 1px solid #f8f6ee;
}
.ui_nzqcdg li:last-child { border-bottom: none; }
.ui_nzqcdg 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;
}

/* FAQ */
.ui_q4nj3k {
  background: #fff; border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ui_g87egf {
  font-size: 15px; font-weight: 700; padding: 16px 20px 14px;
  color: #242417;
}
.faq-item { border-top: 1px solid #f4f3ee; }
.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: #373626; 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: #d2d0c3; 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: #6d6a5b; 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_qn06js {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0;
}
.ui_j79giy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 11px;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; transition: all .14s;
  background: #fcfcf9;
}
.ui_j79giy:before { content: "#"; color: var(--green2); font-weight: 800; }
.ui_j79giy:hover {
  border-color: #e4ddbd; color: var(--green2);
  background: var(--soft); transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Похожие приложения */
.ui_nbroio {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  margin-bottom: 16px; padding: 20px 20px 22px;
  box-shadow: var(--shadow);
}
.ui_rbhnvb {
  display: flex; align-items: center;
  padding: 0 0 4px;
}
.ui_lhdwmk { font-size: 21px; font-weight: 800; color: #242417; margin: 0; }
.series_nejqsb {
  display: flex; align-items: center; gap: 20px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 26px; margin-bottom: 16px;
}
.series_k7h9vt {
  width: 84px; height: 84px; border-radius: 20px;
  object-fit: cover; flex-shrink: 0;
}
.series_ckjvc6 {
  font-size: 24px; font-weight: 800; color: #242417;
  margin: 0; line-height: 1.25; letter-spacing: -.3px;
}
@media (max-width: 640px) {
  .series_nejqsb { padding: 16px 18px; gap: 14px; }
  .series_k7h9vt { width: 64px; height: 64px; border-radius: 16px; }
  .series_ckjvc6 { font-size: 16px; }}
.ui_4si5qr {
  font-size: 16px; font-weight: 700; color: #242417;
  margin: 22px 0 12px;
}
.ui_rbhnvb { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.series_30q1k1 {
  font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none;
  white-space: nowrap;
}
.series_30q1k1:hover { text-decoration: underline; }
.series_fr5dpy { font-size: 13px; color: var(--muted); margin: 6px 0 14px; line-height: 1.5; }
.series_q1r783 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  padding: 12px 16px 16px;
}
@media (max-width: 640px) { .series_q1r783 { grid-template-columns: minmax(0, 1fr); }}
.card_7twdat {
  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_7twdat:hover { border-color: #e4ddbd; background: var(--soft); transform: translateY(-1px); box-shadow: var(--shadow); }
.series_sg6hpq { border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.series_e5vy8u { width: 52px; height: 52px; background: var(--bg); }
.series_98j1zh { min-width: 0; }
.series_d08ohj {
  font-size: 14px; font-weight: 600; color: #242417;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.series_rwoz85 { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Страница /series/ — превью всех коллекций */
.series_lzh0w3 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin-top: 16px;
}
@media (max-width: 640px) { .series_lzh0w3 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .series_lzh0w3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 560px) { .series_lzh0w3 { grid-template-columns: minmax(0, 1fr); }}
.card_cm2sqr {
  display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px;
  text-decoration: none; transition: all .2s; color: var(--text);
  width: 100%; box-sizing: border-box; min-width: 0;
}
.card_cm2sqr:hover {
  border-color: #e4ddbd; transform: translateY(-3px); box-shadow: var(--shadow);
}
.series_75zn1j {
  width: 82px; height: 82px; border-radius: 18px; object-fit: cover;
  flex-shrink: 0; background: var(--soft);
}
.series_z7p80k { min-width: 0; flex: 1 1 auto; }
.series_hri8e0 {
  font-size: 16px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.series_c37wg6 {
  font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.series_83nf2x {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--green2); font-weight: 800;
  background: var(--soft); border-radius: 8px;
  padding: 4px 9px; margin-top: 8px;
}

/* SEO-ТЕКСТ */
.stext {
  font-size: 13px; color: #6d6a5b; 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: #242417; font-weight: 700; margin-bottom: 10px; }
.stext h2 { font-size: 15px; color: #242417; font-weight: 600; margin-bottom: 10px; }
.stext h3 { font-size: 14px; color: #242417; font-weight: 600; margin-bottom: 8px; }
.stext p { margin-bottom: 8px; color: #6d6a5b; }
.stext ul, .stext ol { padding-left: 18px; margin-bottom: 8px; }
.stext li { margin-bottom: 3px; color: #6d6a5b; }
.stext a { color: var(--green); }

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

/* СТРАНИЦА СКАЧИВАНИЯ */
.download_xjqyj3 {
  background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 14px;
}
.download_99r6rj {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.download_6qjgwe img { width: 80px; height: 80px; border-radius: 12px; border: 1px solid var(--line); }
.download_zzi0ri { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.download_b712rh { font-size: 12px; color: var(--muted); }
.download_gjb0cy {
  text-align: center; padding: 28px 20px;
  background: #fefcf9; border: 1px solid #ede7d4;
  border-radius: 12px; 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: #e3e0d7; border-radius: 4px; max-width: 360px; margin: 0 auto 20px; overflow: hidden; }
#dlBar { height: 100%; background: linear-gradient(90deg, #c9b928, #dcc865); border-radius: 4px; width: 0; transition: width 1s linear; }
.download_ivzpiv {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: linear-gradient(90deg, #c9b928, #dcc865);
  color: #fff; border: none; border-radius: 16px;
  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_ivzpiv.ready { opacity: 1; pointer-events: auto; }
.download_ivzpiv.ready:hover { opacity: .88; }
.download_s5w83z { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.download_8e5ll2 { background: #fcfcf9; padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.download_mfj4su { width: 100%; border-collapse: collapse; font-size: 13px; }
.download_mfj4su td { padding: 7px 16px; border-bottom: 1px solid var(--line); }
.download_mfj4su tr:last-child td { border-bottom: none; }
.download_mfj4su tr:nth-child(odd) td { background: #fcfcf9; }
.download_mfj4su td:first-child { color: var(--muted); font-weight: 600; width: 35%; }
.download_bkkpu9 { margin-top: 13px; text-align: center; font-size: 12px; color: var(--muted); }
.download_bkkpu9 a { color: var(--muted); }
.download_bkkpu9 a:hover { color: var(--green); }

/* ПОИСК */
.ui_lbbvjg { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }
.ui_ewyrks { display:flex; justify-content:center; gap:10px; margin-bottom:16px; }
.ui_qh8c21 {
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border:none;
  border-radius:50%; background:var(--soft); color:var(--green2); transition:all .14s;
}
.ui_qh8c21:hover { background:var(--green); color:#fff; }
.ui_qh8c21 svg { display:block; }

/* FOOTER — .ui_32pwi1 / .ui_zt523w (как в верстке) */
.ui_zpu44j { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 26px; margin-top: 40px; }
.ui_7ai3th { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.ui_q05fbg .ui_t9ff0s { margin-bottom: 12px; }
.ui_zpu44j h3, .ui_zpu44j h4 { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.ui_zpu44j p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0 0 14px; }
.ui_ibbcq5 { display: grid; gap: 9px; }
.ui_ibbcq5 a { font-size: 13px; color: var(--muted); font-weight: 600; }
.ui_ibbcq5 a:hover { color: var(--green2); }
.ui_twajv6 {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
  text-align: center; font-size: 12px; color: var(--muted);
}
@media (max-width: 780px) {
  .ui_7ai3th { grid-template-columns: 1fr; gap: 26px; text-align: left; }}

/* RESPONSIVE */
@media (max-width: 1240px) {
  .ui_ijc3cs { padding: 0 16px; }
}
@media (max-width: 1100px) {
  .ui_3h0r8y { grid-template-columns: 200px minmax(0,1fr); gap: 20px; }
  .right-side { display: none; }}
@media (max-width: 860px) {
  .ui_3h0r8y { grid-template-columns: minmax(0,1fr); padding-top: 18px; }
  .left-side { display: none; }
  .download_acalg4 .ui_6z87la { width: 100%; text-align: center; justify-content: center; }
  .card_huk2c7 { grid-template-columns: 1fr !important; }}
@media (max-width: 640px) {
  /* Header */
  .ui_x3oqbr { min-height: auto; padding: 12px 0; gap: 10px; }
  .ui_f0l632 { width: 40px; height: 40px; border-radius: 12px; }
  .ui_f0l632 svg { width: 22px; height: 22px; }
  .ui_wa0pa2 b { font-size: 14px; }
  .ui_wa0pa2 i { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .search input { height: 42px; }
  .search button { width: 46px; }
  .ui_t5ewqn { order: 2; margin-left: auto; }
  /* Top nav */
  .nav_74sj45 { padding: 4px 0; overflow-x: auto; }
  .nav_19m0u3 { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav_7s0hsj { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .nav_7s0hsj svg { width: 15px; height: 15px; }
  /* Layout — prevent overflow */
  .ui_ijc3cs { margin-top: 10px; padding: 0 10px; overflow-x: hidden; box-sizing: border-box; }
  .ui_3h0r8y { padding-top: 12px; }
  .ui_6z87la { width: 100%; justify-content: center; box-sizing: border-box; }
  .ttslider-item img { height: 180px; width: auto; }
  /* DL page */
  #dlStep1 { padding: 16px 0 8px; }
  .card { grid-template-columns: 72px 1fr; }
  .ui_9cbhp4 { width: 72px; height: 72px; }}
@media (max-width: 420px) {
  .ttslider-item img { height: 120px; width: auto; }
  .ui_ijc3cs { padding: 0 8px; margin-top: 10px; }
  .nav_7s0hsj { padding: 4px 8px; font-size: 11px; }
}

/* DLINK — блок скачивания файла */

/* STAR RATING */
.star-rating-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px; }
.star-info { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; color: var(--muted); }
.star-info b { font-size: 14px; font-weight: 800; color: var(--ink); }
.star-info i { font-style: normal; font-size: 12px; color: var(--muted); }
.star-input { display: flex; gap: 4px; margin-bottom: 10px; }
.star-btn { font-size: 28px; color: #e3e0d7; cursor: pointer; transition: color .1s; line-height: 1; }
.star-btn.star-hover { color: #ffd200; }

/* COMMENTS */
.comment_2yf6td { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.comment_mbh06f { font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.comment_et64fd { display: grid; gap: 14px; margin-bottom: 20px; }
.comment-item {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: start; gap: 13px;
  border: 1px solid var(--line); border-radius: 15px;
  padding: 17px; background: #fff;
}
.comment-avatar {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-light), var(--green2));
  box-shadow: 0 6px 16px rgba(40,201,104,.22);
}
.comment-avatar svg { width: 24px; height: 24px; }
.comment-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-item-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.comment-author { font-size: 15px; font-weight: 800; color: var(--ink); }
.comment-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.comment-text { font-size: 14px; color: #656452; line-height: 1.7; }
.comment-votes { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.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: #f8f8e8; 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: #87958c; }
.cvote-score.pos { color: var(--green); }
.cvote-score.neg { color: #e53935; }
@media (max-width: 640px) {
  input[type="text"], input[type="search"], input[type="email"], input[type="tel"], textarea, select {
    font-size: 16px !important;
  }}

/* MODAL */
.modal_esfag8 {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.modal_esfag8[hidden] { display: none; }
.modal_xn95xa {
  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_f0tyb3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.modal_qscpdt { font-size: 13px; color: #656452; margin-bottom: 18px; line-height: 1.6; }
.modal_uwwfq5 {
  background: var(--green); color: #fff; border: none;
  border-radius: 16px; padding: 9px 28px; font-size: 13px;
  font-weight: 700; cursor: pointer; font-family: var(--font);
}
.modal_uwwfq5:hover { opacity: .88; }

/* Responsive fnh */
@media (max-width: 900px) {
  .ui_vncdeb { grid-template-columns: 110px 1fr; }
  .ui_7yg5rm { grid-column: 1 / -1; grid-row: 2; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; }
  }
@media (max-width: 560px) {
  .ui_6z87la { width: 100%; justify-content: center; }}
.ui_4v5juk { font-size:13px; color:#656452; margin-bottom:10px; }
.ui_4v5juk a { color:var(--green); text-decoration:underline; font-weight:400; }
.download_acalg4 .ui_6z87la { width:100%; }

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

.ui_l8u3ig:hover

/* RESPONSIVE FNH */
@media (max-width:900px) {
  .ui_vncdeb { grid-template-columns:110px 1fr; }
  .download_acalg4 { grid-column:1/-1; grid-row:2; flex-direction:row; align-items:center; gap:14px; margin-top:14px; }
  .download_acalg4 .ui_6z87la { width:auto; }
  .download_kep0e1 { flex-direction:row; flex-wrap:wrap; gap:6px; }
}
@media (max-width:560px) {
  .download_acalg4 .ui_6z87la { width:100%; }}

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

/* Сортировка */
.ui_32u8sy {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; margin-top: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  font-size: 13px;
}
.ui_r9s8zh { color: #87958c; white-space: nowrap; font-size: 13px; }
.ui_stnv6q {
  appearance: none; -webkit-appearance: none;
  background: #f8f7f4 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: #4a473a; font-family: inherit;
  cursor: pointer; outline: none; transition: background .12s;
}
.ui_stnv6q:hover { background-color: #e8eaeb; }
.ui_6ca86d {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  color: var(--text); border-radius: 11px;
  padding: 9px 16px; font-size: 13px;
  font-weight: 700; transition: all .14s;
  background: #fff;
}
.ui_6ca86d:hover {
  background: var(--soft); color: var(--green2);
  border-color: #e4ddbd; transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.ui_6ca86d.active {
  background: linear-gradient(135deg, var(--green2), var(--green));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 18px rgba(40,201,104,.24);
}

.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_cmy8x7 { margin: 20px 0 6px; }
.ui_j5ubtf { font-size: 23px; font-weight: 800; color: var(--ink); margin: 26px 0 14px; line-height: 1.25; }

.ui_l8u3ig {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; flex-wrap: nowrap;
  background: linear-gradient(140deg, #fff, #faf9f1);
  border: 1px solid #e9e4cc; border-radius: 16px;
  padding: 15px 18px; margin-bottom: 10px;
  text-decoration: none; color: var(--text); gap: 14px; cursor: pointer;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.ui_l8u3ig:hover {
  color: var(--text); border-color: var(--green);
  box-shadow: var(--shadow); transform: translateY(-2px);
}

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

.ui_8wm8mi {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(145deg, var(--green-light), var(--green2));
  box-shadow: 0 7px 18px rgba(40,201,104,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ui_08nfm4 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ui_ngylbg {
  font-size: 15px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.ui_xofubj {
  font-size: 12.5px; color: var(--muted);
  white-space: nowrap;
}

/* Правая часть: кнопка — ВСЕГДА СПРАВА */
.ui_r48fy8 {
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green2), var(--green));
  border-radius: 11px; padding: 11px 20px;
  font-size: 14px; font-weight: 800;
  color: #fff; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(40,201,104,.24);
  transition: filter .13s;
}
.ui_l8u3ig:hover .ui_r48fy8 { filter: brightness(1.06); box-shadow: 0 10px 22px rgba(40,201,104,.32); }

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

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

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

/* ── Contact form ── */
.ui_wnpkeu {
  font-size: 14px; color: #656452; margin-bottom: 20px; line-height: 1.7;
}
.ui_u28n19 {
  background: #f5f0e8; border: 1px solid #d6c0a5;
  border-radius: 12px; padding: 14px 18px;
  font-size: 14px; color: #7d5a2e; margin-bottom: 16px;
}
.ui_qz6naz { max-width: 560px; }
.ui_73dz3d { margin-bottom: 16px; }
.ui_gyuzdg {
  display: block; font-size: 13px; font-weight: 700;
  color: #4a473a; margin-bottom: 6px;
}
.ui_43y93y {
  width: 100%; border: 1px solid #e3e0d7; border-radius: 12px;
  padding: 10px 14px; font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .12s;
  box-sizing: border-box;
}
.ui_43y93y:focus { border-color: var(--green); }
.ui_rkup71 { resize: vertical; min-height: 130px; }
.ui_6p2qgl {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #c9b928, #dcc865);
  color: #fff; border: none; border-radius: 12px;
  padding: 11px 28px; font-size: 14px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  transition: opacity .13s;
}
.ui_6p2qgl:hover { opacity: .88; }
.comment_ikcjn2.ui_innjf1 { background: #f8f8e8; border-color: var(--green); color: var(--green); font-weight:700; }

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

.gplay-row {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; flex-wrap: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 18px; margin-bottom: 10px;
  text-decoration: none; color: var(--text); gap: 14px; cursor: pointer;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.gplay-row:hover {
  color: var(--text); border-color: #e4ddbd;
  box-shadow: var(--shadow); transform: translateY(-2px);
}
.gplay-row .ui_8wm8mi { background: #f4f4f1; box-shadow: none; }
.gplay-row .ui_r48fy8 { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.gplay-row:hover .ui_r48fy8 { border-color: var(--green); color: var(--green2); }

.download_kqlje6 {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #f9f9f7;
  border-radius: 12px;
  font-size: 13px; line-height: 1.65; color: #6d6a5b;
}
.download_kqnydj.ready { opacity: 1; pointer-events: auto; }

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

/* ── Top 100 page ── */
.ui_mvnbwd { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.card_l7jsc9 {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; text-decoration: none; color: var(--text);
  transition: all .15s;
}
.card_l7jsc9:hover { background: var(--soft); border-color:#e4ddbd; transform: translateY(-1px); box-shadow: var(--shadow); }
.ui_mjjt6c {
  font-size: 15px; font-weight: 700; color: #b5b3a7;
  min-width: 28px; text-align: right; flex-shrink: 0;
}
.card_l7jsc9:nth-child(1) .ui_mjjt6c { color: #f5b700; font-size: 18px; }
.card_l7jsc9:nth-child(2) .ui_mjjt6c { color: #9e9e9e; font-size: 17px; }
.card_l7jsc9:nth-child(3) .ui_mjjt6c { color: #c07848; font-size: 16px; }
.ui_hpnqb1 { flex-shrink: 0; }
.ui_hpnqb1 img { border-radius: 10px; display: block; }
.ui_yalzm6 { flex: 1; min-width: 0; }
.ui_xbhgaz { display: block; font-size: 14px; font-weight: 600; color: #2b291c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui_xj1ce1 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.ui_xj1ce1 span { font-size: 12px; color: var(--muted); }
.ui_xj1ce1 span + span::before { content: "·"; margin-right: 8px; color: #e3e0d7; }
.download_skru89 { flex-shrink: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* ── Пагинация ── */
.ui_mgsrdx {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 20px 0 10px; flex-wrap: wrap;
}
.ui_4iak63 {
  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: #656452; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  text-decoration: none; transition: all .13s;
  border: 1px solid #e9e7df;
}
.ui_4iak63: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_x7x735, .ui_3o2wn4 {
  padding: 0 14px; color: var(--green);
  font-weight: 600;
}
.ui_x7x735:hover, .ui_3o2wn4:hover {
  background: var(--green); color: #fff;
}

/* ── Навигация под шапкой — .nav_vdsqp7 ── */
.nav_vdsqp7 {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 90;
}
.nav_74sj45 {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 6px 0; min-height: 58px;
}
.nav_19m0u3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav_7s0hsj {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: var(--text);
  padding: 10px 15px; border-radius: 11px;
  text-decoration: none; transition: all .13s;
  white-space: nowrap;
}
.nav_7s0hsj svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.nav_7s0hsj:hover { background: var(--soft); color: var(--green2); }
.nav_7s0hsj.active { background: var(--soft); color: var(--green2); }
.ui_ja1q0g { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.ui_ja1q0g .ui_dplw0q {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--green2);
  transition: all .13s;
}
.ui_ja1q0g .ui_dplw0q:hover { background: var(--green); color: #fff; }
.ui_ja1q0g .ui_dplw0q svg { width: 16px; height: 16px; }
@media (max-width: 780px) {
  .ui_ja1q0g { display: none; }}

/* ── 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_6z87la, .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_qo0tvd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px; border-radius: 14px; overflow: hidden;
  margin-bottom: 20px;
}
.ui_qo0tvd:has(.card_0auufo:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}
.ui_qo0tvd:has(.card_0auufo:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.ui_qo0tvd:has(.card_0auufo:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.card_0auufo {
  position: relative; overflow: hidden;
  padding: 16px 14px 0;
  min-height: 150px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: filter .15s;
}
.card_0auufo:hover { filter: brightness(.93); }
/* Крестики-паттерн */
.card_0auufo::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_ao0e3y {
  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_8tiphs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 5px; position: relative; z-index: 2;
}
.card_8tiphs span {
  font-size: 11px; color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.15); border-radius: 4px;
  padding: 2px 7px;
}
/* Картинка — занимает весь низ ячейки, выходит за края */
.card_bx8c18 {
  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_qo0tvd { grid-template-columns: repeat(2,1fr); }
  .card_0auufo { min-height: 130px; padding: 12px 10px 0; }
  .card_ao0e3y { font-size: 13px; }
  .card_bx8c18 { height: 78%; }}
@media (max-width: 380px) {
  .card_0auufo { min-height: 110px; }}

/* ── Блок поделиться ─────────────────────────────────────────────────────── */
.ui_y2za8c {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ui_njzmxt {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ui_zwbfdf {
  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_zwbfdf:hover { opacity: .85; }
.ui_dud8di { background: #4680C2; }
.ui_r6yg4r { background: #229ED9; }
.ui_vtna54 { background: #d3be25; }
.ui_66a7ku { background: #6b7280; color: #fff; }

/* ── Лучшее совпадение в поиске ─────────────────────────────────────────── */
.search_hghlf1 {
  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_yixshw {
  display: flex; align-items: flex-start; gap: 16px; flex: 1; min-width: 0;
}
.ui_3cyhuj img {
  width: 80px; height: 80px; border-radius: 18px;
  object-fit: cover; flex-shrink: 0;
}
.ui_aaxewk { flex: 1; min-width: 0; }
.ui_e99nrk {
  font-size: 18px; font-weight: 700; color: var(--text);
  text-decoration: none; display: block; margin-bottom: 4px;
}
.ui_e99nrk:hover { color: var(--green); }
.ui_ahjbkc {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: #87958c; margin-bottom: 8px;
}
.ui_zkd7pn {
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; color: #fff;
}
.ui_jeye5z { background: var(--green); }
.ui_bpo76e { background: #6c47ff; }
.ui_oblfze {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-size: 13px; color: #656452; margin-bottom: 14px;
}
.ui_nj6hn5 {
  display: flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 14px;
}
.download_uxlqx9 {
  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_uxlqx9:hover { opacity: .88; }
.ui_sroc4f {
  flex-shrink: 0; width: 200px;
}
.ui_sroc4f img {
  width: 100%; border-radius: 10px;
  object-fit: cover; display: block;
}
@media (max-width: 640px) {
  .search_hghlf1 { flex-direction: column; }
  .ui_sroc4f { width: 100%; }}

/* ── Подразделы модов ────────────────────────────────────────────────────── */
.ui_m8ihv3 { margin: 16px 0; }
.ui_qy4737 {
  font-size: 13px; font-weight: 700; color: #87958c;
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 10px;
}
.ui_vhxcw8 { display: flex; flex-wrap: wrap; gap: 8px; }
.card_kh1o39 {
  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: #4a473a;
  transition: all .12s;
}
.card_kh1o39:hover {
  background: #fdfbf0; border-color: var(--green); color: var(--green);
}
.ui_2p7n1k {
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 10px;
}

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

/* ── Рейтинг на странице загрузки ───────────────────────────────────────── */
.download_yf8ocy {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin: 10px 0 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.download_3ofwf3 {
  display: flex; gap: 12px; justify-content: center;
}
.download_vpkieh {
  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_vpkieh.download_y9cz07 {
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--line);
}
.download_vpkieh.active { opacity: .75; }
.download_vpkieh.rated { pointer-events: none; opacity: .65; }
.download_ya7hbd {
  display: flex; gap: 0; justify-content: center;
}
.download_vlyc6h {
  width: 162px; text-align: center;
  font-size: 13px; color: #87958c;
}
.comment_ufiiht .ui_rbhnvb {
  padding: 14px 18px 0; margin-bottom: 0 !important;
}
.rc-app-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--green); text-decoration: none;
  font-weight: 600; background: #fdfbf0; padding: 3px 10px;
  border-radius: 20px; border: 1px solid #f7eebb;
}
.rc-app-link:hover { background: #fcf7dc; }
.rc-app-link svg { flex-shrink: 0; }

/* ── Голосование за файл на download-page ────────────────────────────────── */
.ui_xnxv0j {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 16px; cursor: pointer;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--green); color: var(--green);
  background: #fff; transition: all .12s;
}
.ui_xnxv0j:hover { background: var(--green); color: #fff; }
.ui_xnxv0j.active { background: var(--green); color: #fff; }
.ui_e687df { border-color: #e53935; color: #e53935; }
.ui_e687df:hover { background: #e53935; color: #fff; }
.ui_e687df.active { background: #e53935; color: #fff; border-color: #e53935; }
.ui_xnxv0j:disabled { pointer-events: none; }
.ui_b98hcj {
  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_xnxv0j.active .ui_b98hcj { background: rgba(0,0,0,.22); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ZIP Кэш ─────────────────────────────────────────────────────────────── */
.ui_h0f2p1 { background: #fff; border-color: var(--line); }
.ui_h0f2p1 .ui_8wm8mi { background: linear-gradient(145deg, #ffc46b, #ff9c20); box-shadow: 0 7px 18px rgba(255,156,32,.24); }
:root { --orange: #ff9c20; }

/* ── Инструкция по установке кэша ───────────────────────────────────────── */
.apk_s7xcm8 {
  margin-bottom: 12px;
  background: #fdfbf0;
  border: 1px solid #f7eebb;
  border-radius: 10px;
  overflow: hidden;
}
.apk_8wy5em {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700;
}
.apk_8wy5em svg { flex-shrink: 0; stroke: #fff; }
.apk_4m7a5e {
  padding: 12px 16px 12px 34px;
  font-size: 13px; color: #4a473a;
  line-height: 1.7;
}
.apk_4m7a5e li { margin-bottom: 4px; }
.apk_4m7a5e code {
  font-family: monospace; font-size: 12px;
  background: #fcf7dc; padding: 1px 5px;
  border-radius: 4px; color: #655c16;
}
.apk_aru6v1 { color: var(--green); font-weight: 700; }

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

/* СТРАНИЦА ПРИЛОЖЕНИЯ — детальная (как в верстке) */
.ui_lqzt8e { font-size: 13px; color: #819087; margin-bottom: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ui_lqzt8e a { color: var(--green2); }
.ui_lqzt8e a:hover { text-decoration: underline; }
.ui_lqzt8e svg { width: 10px; height: 10px; color: #d2d0c3; flex-shrink: 0; }
.ui_lqzt8e span { color: var(--text); }

/* Обложка */
.ui_6xmv3r {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #fff, #faf9f1);
  border: 1px solid var(--line); border-radius: 20px 20px 0 0;
  min-height: 182px; padding: 26px;
  display: grid; grid-template-columns: 145px 1fr 200px;
  gap: 20px; align-items: center;
}
.ui_6xmv3r:before, .ui_6xmv3r:after {
  content: ""; position: absolute; border: 1px solid #e4e0cf;
  transform: rotate(45deg); background: rgba(255,255,255,.25); pointer-events: none;
}
.ui_6xmv3r:before { width: 250px; height: 250px; left: 180px; top: -128px; }
.ui_6xmv3r:after { width: 180px; height: 180px; left: 400px; top: -82px; }
.ui_6xmv3r > * { position: relative; z-index: 1; }
.ui_09lqt2 { width: 145px; height: 145px; border-radius: 26px; overflow: hidden; box-shadow: 0 12px 28px rgba(25,80,45,.16); }
.ui_09lqt2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui_ol89f7 h1 { font-size: 34px; margin: 0 0 6px; line-height: 1.1; color: var(--ink); letter-spacing: -.5px; }
.ui_ol89f7 p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.ui_ol89f7 .ui_4v5juk { font-size: 13px; color: var(--muted); }
.ui_ol89f7 .ui_4v5juk a { color: var(--green2); font-weight: 700; }
.ui_ol89f7 .ui_4v5juk a:hover { text-decoration: underline; }
.ui_eozjeh { border-left: 1px solid var(--line); padding-left: 22px; text-align: center; }
.ui_eozjeh .star-input { justify-content: center; }
.ui_eozjeh .star-info { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ui_eozjeh .ui_6z87la { margin-top: 12px; width: 100%; }

/* Панель характеристик */
.ui_ldk5n8 {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  padding: 17px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
}
.info {
  min-height: 58px; border: 1px solid #e8e6db; border-radius: 13px;
  padding: 10px 14px; background: #fdfcfb; min-width: 0;
}
.info.ui_9ru31p { grid-column: span 4; min-height: auto; }
.info label { display: block; color: #8a988f; font-size: 12px; margin-bottom: 2px; }
.info b { font-size: 15px; line-height: 1.3; color: var(--ink); word-break: break-word; }
.info a { color: var(--green2); text-decoration: underline; }

/* Статья */
.ui_xwuzs1 {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 20px 20px; padding: 27px 31px; margin-bottom: 20px;
}
.ui_xwuzs1 > h2 { font-size: 23px; margin: 26px 0 10px; color: var(--ink); }
.ui_xwuzs1 > h2:first-child { margin-top: 0; }
.ui_xwuzs1 p { margin: 0 0 12px; color: #656452; line-height: 1.75; }

/* Скриншоты-плитка */
.ui_dyyu6h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 14px; }
.ui_4r9awi {
  aspect-ratio: 9/16; border-radius: 13px; border: 4px solid #f2f1ed;
  overflow: hidden; cursor: pointer; background: var(--soft); transition: border-color .13s;
}
.ui_4r9awi:hover { border-color: #e4ddbd; }
.ui_4r9awi img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Блок скачивания */
.download {
  background: #fbf9f3; border: 1px solid #e9e4cc; border-radius: 16px;
  padding: 22px; text-align: center; margin-top: 20px;
}
.download h3 { margin: 0 0 6px; font-size: 21px; color: var(--ink); }
.download p { margin: 0 0 14px; color: var(--muted); }

/* Комментарии в стиле верстки */
.comments { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 28px; }
.comment_drh0n8 { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.comment_drh0n8 h2 { margin: 0 0 2px; font-size: 24px; color: var(--ink); }
.comment_drh0n8 p { margin: 0; color: var(--muted); font-size: 14px; }
.comment_drh0n8 > svg { width: 32px; height: 32px; fill: var(--green); flex-shrink: 0; }
.comment_5w4ynz { border: 1px solid var(--line); border-radius: 16px; background: #fcfcf9; padding: 20px; margin-bottom: 22px; }
.comment_5w4ynz .ui_8zbjm4 { display: grid; gap: 7px; font-weight: 800; font-size: 14px; margin-bottom: 14px; color: var(--ink); }
.comment_5w4ynz input, .comment_5w4ynz textarea {
  width: 100%; border: 1px solid #e5e2d7; background: #fff; border-radius: 11px;
  padding: 12px 14px; outline: 0; color: var(--text); font: inherit; font-weight: 400;
}
.comment_5w4ynz input:focus, .comment_5w4ynz textarea:focus { border-color: #d8ca84; box-shadow: 0 0 0 3px rgba(40,201,104,.10); }
.comment_5w4ynz textarea { min-height: 120px; resize: vertical; }
.comment_o29uxy { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; flex-wrap: wrap; }
.comment_o29uxy span.cf-note { font-size: 12px; color: var(--muted); }
.comment_o29uxy button {
  border: 0; border-radius: 11px; background: var(--green); color: #fff; font-weight: 900;
  padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: inherit; font-weight: 900;
}
.comment_o29uxy button:hover { opacity: .9; }
.comment_o29uxy button svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 1100px) {
  .ui_6xmv3r { grid-template-columns: 125px 1fr 180px; }
  .ui_09lqt2 { width: 125px; height: 125px; }
  .ui_ol89f7 h1 { font-size: 28px; }}
@media (max-width: 860px) {
  .ui_ldk5n8 { grid-template-columns: 1fr 1fr; }
  .info.ui_9ru31p { grid-column: span 2; }
  .ui_dyyu6h { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 780px) {
  .ui_6xmv3r { grid-template-columns: 88px 1fr; padding: 18px; min-height: 130px; gap: 14px; }
  .ui_09lqt2 { width: 88px; height: 88px; border-radius: 18px; }
  .ui_ol89f7 h1 { font-size: 24px; }
  .ui_eozjeh { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; text-align: left; }
  .ui_eozjeh .star-input { justify-content: flex-start; }
  .ui_xwuzs1 { padding: 21px; }
  .ui_mpxt5e { margin-left: -21px; margin-right: -21px; padding-left: 21px; padding-right: 21px; }
  .ui_dyyu6h { grid-template-columns: repeat(2, 1fr); }
  .comment_o29uxy { align-items: stretch; flex-direction: column; }
  .comment_o29uxy button { justify-content: center; }}

/* ЗАЩИТА ОТ «РАСПУХШИХ» ИКОНОК — Инлайновые SVG без width/height растягиваются на всю ширину, если правило — не применилось. Задаём безопасные размеры по контексту. */
svg { max-width: 100%; }
.nav_7s0hsj svg,
.ui_ja1q0g .ui_dplw0q svg,
.ui_lwwhzj svg,
.ui_lqzt8e svg,
.ui_veb6z4 svg,
.ui_qh8c21 svg,
.comment_o29uxy button svg,
.ui_zwbfdf svg,
.ui_l8u3ig svg,
.ui_6z87la svg,
.download_uxlqx9 svg,
.download_skru89 svg,
.rc-app-link svg { flex: 0 0 auto; }

.comment_drh0n8 > svg { width: 32px; height: 32px; flex: 0 0 auto; }
.comment_o29uxy button svg { width: 16px; height: 16px; }
.ui_veb6z4 svg { width: 22px; height: 22px; }
.ui_lqzt8e svg { width: 10px; height: 10px; }
.ui_f0l632 svg { width: 27px; height: 27px; }

/* СКРИНШОТЫ — одна строка с горизонтальным скроллом */
.ui_dyyu6h {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 10px;
  margin-top: 14px;
  scrollbar-width: thin;
  scrollbar-color: #e4ddbd transparent;
}
.ui_dyyu6h::-webkit-scrollbar { height: 8px; }
.ui_dyyu6h::-webkit-scrollbar-track { background: var(--soft); border-radius: 8px; }
.ui_dyyu6h::-webkit-scrollbar-thumb { background: #e4ddbd; border-radius: 8px; }
.ui_dyyu6h::-webkit-scrollbar-thumb:hover { background: var(--green); }
.ui_4r9awi {
  flex: 0 0 auto;
  height: 300px; width: auto;
  scroll-snap-align: start;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  background: var(--soft);
  box-shadow: 0 4px 14px rgba(25,80,45,.07);
  transition: border-color .13s, transform .13s, box-shadow .13s;
}
.ui_4r9awi:hover {
  border-color: #e4ddbd; transform: translateY(-3px);
  box-shadow: var(--shadow);
}
/* высота фиксирована, ширина — по натуральным пропорциям кадра */
.ui_4r9awi img {
  height: 100%; width: auto; max-width: none;
  object-fit: cover; display: block; border-radius: 13px;
}
@media (max-width: 640px) {
  .ui_4r9awi { height: 220px; }
}

/* ГАМБУРГЕР В ШАПКЕ (вместо плавающей кнопки) */
.ui_gfa13q { display: none; }
@media (max-width: 1100px) { .ui_gfa13q { display: flex; } }

/* Карточки внутри блоков «Похожие» / «Смотрите также» */
.card_0etmtg { margin: 12px 0 0; padding: 2px; }
.card_0etmtg .card { margin: 0; }

/* Фирменный знак у заголовка комментариев */
.comment_5h40yd {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-light), var(--green2));
  box-shadow: 0 8px 20px rgba(40,201,104,.24);
}
.comment_drh0n8 h2 { font-size: 26px; }

/* Свежие комментарии на странице скачивания */
.comment_0v6vfw { margin-top: 26px; }
.downpage-comments-loading { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }
#downpage-comments-list { display: grid; gap: 14px; }

/* Скриншоты на фоне как у шапки материала */
.ui_mpxt5e {
  background: linear-gradient(140deg, #fff, #faf9f1);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  /* во всю ширину .ui_xwuzs1 — компенсируем её внутренние отступы */
  margin: 18px -31px; padding: 22px 31px 14px;
  position: relative; overflow: hidden;
}
.ui_mpxt5e:before {
  content: ""; position: absolute; width: 240px; height: 240px;
  border: 1px solid #e4e0cf; background: rgba(255,255,255,.25);
  transform: rotate(45deg); right: 8%; top: -140px; pointer-events: none;
}
.ui_mpxt5e .ui_dyyu6h { margin-top: 0; }

/* Кнопки «Поделиться» — аккуратный ряд */
.ui_y2za8c {
  margin: 4px 0 18px; padding: 12px 14px;
  background: #fcfcf9; border: 1px solid var(--line); border-radius: 14px;
}
.ui_njzmxt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ui_zwbfdf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 10px;
  font-size: 13px; font-weight: 700; line-height: 1;
  color: #fff; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform .12s, opacity .12s;
}
.ui_zwbfdf:hover { opacity: .9; transform: translateY(-1px); }
.ui_66a7ku { background: #fff; color: var(--text); border: 1px solid #e5e2d7; }
.ui_66a7ku:hover { background: var(--soft); color: var(--green2); }

/* Информация о файле на /download-page/ */
.ui_jbrd1r { border: none; padding: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.download_8e5ll2 { background: #fcfcf9; padding: 12px 16px; font-size: 14px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); }

/* Сетка, когда сайдбар скрыт (только там, где сайдбары реально видны) */
@media (min-width: 1101px) {
  .site-grid--no-left  { grid-template-columns: minmax(0,1fr) 280px; }
  .site-grid--no-right { grid-template-columns: 250px minmax(0,1fr); }
  .site-grid--solo     { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .site-grid--no-left  { grid-template-columns: minmax(0,1fr); }
  .site-grid--no-right { grid-template-columns: 200px minmax(0,1fr); }
  .site-grid--solo     { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 860px) {
  .ui_3h0r8y, .site-grid--no-left, .site-grid--no-right, .site-grid--solo {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Футер по центру, ссылки в один ряд */
.ui_7oeltd { display: grid; justify-items: center; text-align: center; gap: 18px; }
.ui_7oeltd .ui_t9ff0s { justify-content: center; }
.ui_q05fbg { max-width: 620px; }
.ui_ibbcq5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.ui_ibbcq5 a { font-size: 14px; }
@media (max-width: 900px) {
  .ui_jbrd1r { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .comment-item { grid-template-columns: 40px 1fr; }
  .comment-avatar { width: 40px; height: 40px; }
  .comment-votes { grid-column: 2; justify-content: flex-start; margin-top: 6px; }
}
