/* Canvas-фикс: html без фона → body background становится canvas → кружки видны */
html {
  background-color: transparent !important;
}

.ah-page-sys {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* ===== f5a-banner — предупреждение при установке ===== */
.ah-f5a-banner {
  max-width: 980px;
  margin: 28px auto;
  font-family: inherit;
}

.ah-f5ab {
  border-radius: 30px;
  padding: 38px 26px;
  background:
    radial-gradient(1100px 520px at 10% -15%, rgba(211,47,47,.18), transparent 60%),
    radial-gradient(1000px 500px at 100% 130%, rgba(255,87,34,.12), transparent 60%),
    var(--block-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
}

html.ah-darktheme .ah-f5ab {
  background:
    radial-gradient(1100px 520px at 10% -15%, rgba(211,47,47,.34), transparent 60%),
    radial-gradient(1000px 500px at 100% 130%, rgba(255,87,34,.24), transparent 60%),
    var(--block-bg);
}

.ah-f5ab-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--tcolor);
  opacity: .6;
  margin-bottom: 18px;
}

.ah-f5ab-title {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--tcolor);
}

.ah-f5ab-text {
  margin: 0 auto;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tcolor);
  opacity: .88;
}

@media (max-width: 560px) {
  .ah-f5ab { padding: 28px 18px; border-radius: 24px; }
  .ah-f5ab-title { font-size: 21px; }
  .ah-f5ab-text { font-size: 14px; }
}

@media (max-width: 739px) {
  a.ah-like-btn {
    width: auto !important;
  }

  a.ah-dislike-btn {
    width: auto !important;
  }
}

/* ======================== */

.ah-quote::before,
blockquote::before {
  display: none;
}

/* ======================== */

/* ===== ПК (без изменений) ===== */
.ah-hack-badge {
  display: inline-block;
  padding: 0px 7px;
  margin-right: 2px;
  background: rgba(255, 60, 60, .85);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

/* ===== МОБИЛА ===== */
@media (max-width:768px) {

  .ah-hack-badge {
    display: inline-block;
    padding: 2px 4px;
    margin-right: 0px;
    background: rgba(255, 60, 60, .85);
    color: #fff;
    border-radius: 6px;

    font-weight: 700;

    position: relative;
    top: -4px;
    left: 0px;
    font-size: 9px;

    /* микро-пульс */
    animation: hackPulse 1.8s ease-in-out infinite;
  }

  /* аккуратный пульс без движения */
  @keyframes hackPulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.06);
    }

    100% {
      transform: scale(1);
    }
  }

}

.ah-Logo5play {
  position: relative;
}

/* базовое яйцо */
.ah-egg {
  position: absolute;
  width: 14px;
  height: 18px;

  background-size: contain;
  background-repeat: no-repeat;

  pointer-events: none;
}

/* ===== ЯЙЦА (ТВОИ SVG) ===== */

.ah-e1 {
  background-image: url('https://apkhub.info/animation/bee.png');
  top: -1px;
  left: 8px;
  transform: rotate(-20deg);
}

.ah-e2 {
  background-image: url('https://apkhub.info/animation/tulips.png');
  top: 4px;
  width: 27px;
  height: 15px;
  left: 40px;
  transform: rotate(25deg);
}

.ah-e3 {
  background-image: url('https://apkhub.info/animation/easte1.png');
  top: 20px;
  width: 27px;
  height: 15px;
  left: 26px;
  transform: rotate(25deg);
}

.ah-e5 {
  background-image: url('https://apkhub.info/animation/egg_e5.svg');
  top: -4px;
  bottom: -2px;
  right: -3px;
  transform: rotate(10deg);
}

/* ======================== */

/* ===== 5PLAY ULTRA SUBTLE DEPTH ===== */

figure.ah-img {
  display: inline-block;
  border-radius: 22px;

  /* почти невидимая глубина */
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.10),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.ah-block.ah-b-add-info ul li {
  border: none !important;
  background: none !important;
}

figure.ah-img img {
  display: block;
  border-radius: 22px;
}

/* ======================== */

/* ===== 5PLAY ULTRA PREMIUM FRAME ===== */

figure.ah-img {
  display: inline-block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

/* сама картинка */
figure.ah-img img {
  display: block;
  border-radius: 22px;
  position: relative;
  z-index: 2;
}

/* тонкая дорогая рамка */
figure.ah-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  /* толщина */
  background: linear-gradient(140deg,
      #7C5CFF 0%,
      #1f8f58 35%,
      #ffd54f 65%,
      #7C5CFF 100%);
  z-index: 1;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ======================== */

/* Убираем старое агрессивное свечение */
.ah-f5-textbox::before,
.ah-f5-textbox::after {
  display: none !important;
}

/* Добавляем лёгкий мягкий переход сверху */
.ah-f5-textbox {
  position: relative;
}

.ah-f5-textbox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* очень мягкий градиент без "неона" */
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .03),
      rgba(255, 255, 255, 0) 40%);

  opacity: .6;
}

/* ======================== */

/* 1. Интро занимает ту же ширину что и основной блок */
.ah-f5-textblock {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* 2. Убираем нижнее скругление у интро */
.ah-f5-textbox {
  border-radius: 22px 22px 0 0 !important;
  margin: 0 !important;
}

/* 3. Убираем верхнее скругление у блока описания */
.ah-b-tabs,
.ah-b-cont,
.ah-tab-content {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* 4. Убираем разрыв между ними */
.ah-b-tabs {
  margin-top: -2px !important;
}

/* 5. Чтобы выглядело как единый корпус */
.ah-block.ah-b-add-info {
  overflow: hidden;
}

/* ======================== */

/* только для экранов до 768px (мобильные) */
@media (max-width: 768px) {

  .ah-f5-textbox {
    border-radius: 0 !important;
  }

  .ah-block.ah-b-add-info {
    border-radius: 0 !important;
  }

  .ah-b-tabs,
  .ah-b-cont,
  .ah-tab-content {
    border-radius: 0 !important;
  }

}

/* ======================== */

/* ===== STRONGER MINT GLOW ===== */

figure.ah-img {
  position: relative;
  display: inline-block;
  line-height: 0;
}

figure.ah-img img {
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 22px;
}

/* более мощное и широкое свечение */
figure.ah-img::before {
  content: "";
  position: absolute;
  inset: -45px;
  /* увеличили радиус */
  z-index: 1;
  border-radius: 40px;

  background: radial-gradient(circle at center,
      rgba(124, 92, 255, .45) 0%,
      rgba(124, 92, 255, .30) 35%,
      rgba(124, 92, 255, .18) 55%,
      rgba(124, 92, 255, .10) 70%,
      transparent 85%);

  filter: blur(55px);
  /* сильнее размытие */
  pointer-events: none;
}

/* ======================== */

/* ===== FIX: убрать “шов” между секциями (без смены цветов) ===== */

/* 1) предотвращаем схлопывание отступов и “просвет” фона body */
.ah-block.ah-b-add-info {
  overflow: hidden;
  /* ключевое: убирает просветы/схлопывание */
  padding-top: 1px;
  /* микропрокладка */
  margin-top: -1px;
  /* склеиваем край с предыдущим блоком */
}

/* 2) если перед табами вдруг остаётся пустой <p> (часто даёт шов) */
.ah-block.ah-b-add-info>p {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* 3) убираем верхние внешние отступы у первых элементов внутри блока */
.ah-block.ah-b-add-info .ah-b-tabs:first-child,
.ah-block.ah-b-add-info .ah-b-cont:first-child {
  margin-top: 0 !important;
}

/* ======================== */

.ah-f5m-appbar {
  position: relative;
  overflow: hidden;
}

/* 5play logo watermark */
.ah-f5m-appbar::after {
  content: "";
  position: absolute;
  top: 68%;
  right: 20px;
  transform: translateY(-50%);

  width: 58px;
  height: 58px;

  background: url("/img/footer-logo.png") no-repeat center;
  background-size: contain;

  opacity: .05;
  /* более прозрачное */
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ah-f5m-appbar>* {
  position: relative;
  z-index: 1;
}

/* ======================== */

/* === Лёгкий правый градиент внутри блока комментариев === */

.ah-block.ah-b-comments {
  position: relative;
  overflow: hidden;
}

/* мягкий правый свет */
.ah-block.ah-b-comments::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 65%,
      rgba(124, 92, 255, .06) 80%,
      rgba(124, 92, 255, .12) 100%);
  pointer-events: none;
  z-index: 0;
}

/* чтобы контент был поверх */
.ah-block.ah-b-comments>* {
  position: relative;
  z-index: 1;
}

/* ======================== */

.ah-spec-icon svg {
  transition: transform 0.25s ease;
}

.ah-specs-item:hover .ah-spec-icon svg {
  transform: scale(1.1);
}

/* ======================== */

.ah-title {
  position: relative;
  padding-left: 14px;
  /* отступ под плашку */
}

.ah-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  /* толщина плашки */
  height: 100%;
  /* на всю высоту заголовка */
  background: #7C5CFF;
  border-radius: 2px;
}

/* ======================== */

.ah-block.ah-b-add-info ul {
  list-style: none;
  margin: 0;
  padding-left: 0px;
}

.ah-block.ah-b-add-info ul li {
  position: relative;
  margin: 2px 0;
  line-height: 1.25;
}

.ah-block.ah-b-add-info ul li p {
  margin: 0;
  line-height: 1.25;
}

/* базовая точка */
.ah-block.ah-b-add-info ul li:before {
  content: "";
  position: absolute;
  top: 33%;
  left: -10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: f5BlinkDot 1.4s infinite ease-in-out;
}

/* Цвета через CSS-переменную */
.ah-block.ah-b-add-info ul li:nth-child(5n+1) {
  --dot: #7C5CFF;
}

.ah-block.ah-b-add-info ul li:nth-child(5n+2) {
  --dot: #00BFFF;
}

.ah-block.ah-b-add-info ul li:nth-child(5n+3) {
  --dot: #facc15;
}

.ah-block.ah-b-add-info ul li:nth-child(5n+4) {
  --dot: #fb7185;
}

.ah-block.ah-b-add-info ul li:nth-child(5n) {
  --dot: #a78bfa;
}

/* применяем цвет */
.ah-block.ah-b-add-info ul li:before {
  background: var(--dot);
  box-shadow: 0 0 6px var(--dot), 0 0 12px var(--dot);
}

/* Анимация мигания (динамическая) */
@keyframes f5BlinkDot {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px var(--dot), 0 0 12px var(--dot);
  }

  50% {
    opacity: .35;
    transform: scale(.75);
    box-shadow: 0 0 3px var(--dot), 0 0 6px var(--dot);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px var(--dot), 0 0 12px var(--dot);
  }
}

/* ======================== */

@media (min-width: 1040px) {
  .ah-block.ah-b-add-info {
    border-radius: 0.125rem 0.125rem 1.125rem 1.125rem !important;
  }
}

/* ======================== */

.ah-UhideBlock {
  display: none;
}

/* ======================== */

.ah-woobl_emoji li {
  transition: transform .15s;
}

.ah-woobl_emoji li img {
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}

.ah-woobl_emoji li:hover img {
  transform: translateY(-6px) scale(1.2);
}

/* ======================== */

/* ===== 5PLAY SIGNATURE HR ===== */

.ah-block.ah-b-add-info hr {
  all: unset;
  display: block;
  height: 2px;
  margin: 38px 0;
  position: relative;
  border-radius: 40px;
  background: linear-gradient(90deg,
      transparent,
      rgba(124, 92, 255, .35) 20%,
      rgba(124, 92, 255, .8) 50%,
      rgba(124, 92, 255, .35) 80%,
      transparent);
}

/* мягкое внутреннее свечение */
.ah-block.ah-b-add-info hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 40px;
  background: #7C5CFF;
  opacity: .25;
  filter: blur(6px);
}

/* ======================== */

@media (min-width: 991px) {
  img.ah-h-\[40px\].ah-w-\[164px\].ah-sm\:h-\[45px\].ah-sm\:w-\[184px\].ah-md\:h-\[50px\].ah-md\:w-\[205px\].ah-dark-logo.ah-active {
    position: relative;
    padding-right: 0px;
    left: -5px;
  }
}

.ah-logotype {
  position: relative;
  display: inline-block;
}

/* ❤️ зона сердечка */
.ah-bee-wrap {
  position: absolute;
  top: 2px;
  left: 108px;

  width: 34px;
  height: 34px;

  pointer-events: none;
  z-index: 15;
}

/* ❤️ иконка */
.ah-bee {
  position: absolute;

  width: 22px;
  height: auto;

  animation:
    likeFloat 3.2s infinite ease-in-out,
    likePulse 1.8s infinite ease-in-out;
}

/* ❤️ плавное движение */
@keyframes likeFloat {

  0% {
    transform:
      translateY(0) rotate(-4deg);
  }

  25% {
    transform:
      translateY(-2px) rotate(3deg);
  }

  50% {
    transform:
      translateY(-4px) rotate(-2deg);
  }

  75% {
    transform:
      translateY(-1px) rotate(2deg);
  }

  100% {
    transform:
      translateY(0) rotate(-4deg);
  }
}

/* ❤️ пульсация */
@keyframes likePulse {

  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: 1.08;
  }
}

.ah-sel-lang>button {
  width: 2.5rem;
  height: 2.5rem;
  padding: 3px !important;
  border: 0;
}

button.ah-sel-lang__ru img {
  box-shadow: 0 0.2rem 1.5rem -0.3rem #2b9dd5;
}

.ah-sel-lang {
  width: 44px;
  height: 44px;
  left: -1px;
  display: inline-block;
  position: relative;
  right: 0px;
  top: 0px;
  background-color: var(--sel-lang-active) !important;
}

button.ah-sel-lang__ru {
  right: 0;
  position: relative;
  left: 0px;
  display: inline-block;
  top: 0px;
}

@media (min-width: 1260px) {
  .ah-sel-lang>button {
    margin-left: 0 !important;
  }

  .ah-sel-lang {
    border-radius: 30px;
  }

  button.ah-sel-lang__ru {
    top: -1px !important;
    left: 0px !important;
  }
}

@media (min-width: 992px) {

  .ah-sel-dark-toggle:hover,
  .ah-sel-lang>button:not(.ah-active):hover {
    transform: scale(1) !important;
  }
}

.ah-labell {
  position: absolute;
  top: 0;
  left: 0;
  margin: .5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  font-size: .6875rem;
  font-weight: 700;
  background-color: var(--entry-label);
  text-transform: uppercase;
  line-height: 1rem;
  padding: .25rem .5rem;
  border-radius: .75rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

/* ======================== */

@media(max-width:991px) {
  span.ah-searchheading {
    width: 78% !important;
  }
}

#poisk2 a:hover {
  background: #A3C2DC;
}

#poisk2 a:last-child {
  border-bottom: 0px solid;
}

#poisk2 {
  border: 3px solid #eee;
  position: absolute;
  margin-left: 0px;
  margin-top: 50px;
  display: none;
  font-weight: bold;
  width: 430px;
  box-shadow: 3px 3px 3px #000, inset 3px 3px 3px rgba(0, 0, 0, .9);
  z-index: 100;
}

#poisk2::after {
  border-bottom: 8px solid transparent;
  border-left: 0px solid transparent;
  border-right: 8px solid #eee;
  border-top: 8px solid transparent;
  content: "";
  left: 20px;
  position: absolute;
  top: -15px;
  transform: rotate(90deg);
  writing-mode: tb-rl;
}

#poisk2 span {
  color: #444 !important;
  background: #EEE;
  display: block;
  padding: 8px;
}

#poisk2 input {
  background: #263742 !important;
  color: #fff !important;
  font-weight: bold;
  border: 0px !important;
  cursor: pointer;
  border-radius: 0 !important;
  padding: 2px !important;
  height: 30px;
  width: 100% !important;
  margin: 0px;
}

#poisk2 input:hover {
  background: #315974 !important;
}

#poisk2 a {
  border-bottom: 1px solid #DCDCDC;
  color: #000 !important;
  font-weight: bold;
  text-decoration: none;
  white-space: normal;
  background: #EEE;
  display: block;
  padding: 5px;
  height: auto;
}

/* ======================== */

@media (max-width: 575px) {
  svg.ah-svg-inline--fa.ah-fa-shapes {
    right: -1px !important;
  }
}

.ah-post__modpaid {
  width: auto !important;
}

span.ah-label.ah-label-up:contains("Новинка") {
  color: #ff372d;
}

.ah-label.ah-label-up.ah-is-novinka {
  color: #ff372d;
}

img.ah-avafoto {
  position: absolute !important;
  top: 0 !important;
  left: 50%;
  display: block !important;
  min-width: calc(100% + 1px);
  height: 100% !important;
  transform: translateX(-50%);
  object-fit: cover !important;
  object-position: center center;
  opacity: 1.6 !important;
  filter: blur(0px) !important;
}

/* ======================== */

@media (max-width: 991px) {
  .ah-head-right {
    z-index: 99999;
  }
}

/* ======================== */

.ah-absolute.ah--top-2.ah--right-2.ah-bg-blue-500.ah-rounded-full.ah-p-1.ah-border-2.ah-border-white.ah-shadow-sm {
  border-style: solid;
  border-color: #e5e7eb;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / 1);
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / 1);
  padding: .25rem;
  border-width: 2px;
  border-radius: 9999px;
  top: -14px;
  right: 9px;
  position: absolute;
}

@keyframes spin {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

svg.ah-w-3.ah-h-3.ah-text-white.ah-update-spin {
  animation: spin 2s linear infinite;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  width: .75rem;
  height: .75rem;
  display: block;
  vertical-align: middle;
}

--tw-ring-shadow: 0 0 #0000;
--tw-ring-offset-shadow: 0 0 #0000;

/* ======================== */

/* ======================== */

@media (max-width:560px) {
}

/* ======================== */

@media (min-width: 992px) {
  .ah-view-img-label {
    margin-top: -1.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    height: 2rem !important;
    padding: .25rem 1rem !important;
    border-radius: 1rem !important;
  }
}

.ah-view-img-label {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: -1.25rem;
  font-size: .75rem;
  font-weight: bold;
  line-height: 1.25rem;
  height: 1.5rem;
  padding: .125rem .5rem;
  border-radius: .75rem;
  border-top-left-radius: 0 !important;
}

.ah-android-version-trigger:hover {
  cursor: pointer;
  scale: 1.1;
}

.ah-android-version-help.ah-active div {
  border-radius: 6px;
  margin: 4px 0 12px;
  padding: 8px;
}

.ah-android-version-help div {
  font-size: 13px;
  background: #eee;
  border-radius: 6px;
  margin: 4px 0 12px;
  padding: 8px;
}

.ah-android-version-help.ah-active {
  max-height: 102px;
}

.ah-android-version-help {
  color: #494949;
  line-height: 14px;
  max-height: 0;
  overflow: hidden;
  text-align: center;
  transition: max-height 0.5s ease-out;
}

span.ah-android-version-trigger {
  background-image: url(img/img/question-mark12.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 17px;
  display: block;
  height: 20px;
  position: absolute;
  right: 0px;
  top: 2px;
  width: 20px;
  left: 91px;
}

.ah-android-version-help2 {
  color: #494949;
  line-height: 14px;
  max-height: 0;
  overflow: hidden;
  text-align: center;
  transition: max-height 0.5s ease-out;
  top: -15px;
  position: relative;
}

span.ah-android-version-trigger2 {
  background-image: url(img/img/question-mark12.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 15px;
  display: block;
  height: 22px;
  position: absolute;
  right: 0px;
  top: -2px;
  width: 20px;
  left: 67px;
}

.ah-android-version-help2.ah-active div {
  background: #eee;
  border-radius: 6px;
  margin: 4px 0 0px;
  padding: 8px;
}

.ah-android-version-help2 div {
  background: #eee;
  border-radius: 6px;
  margin: 4px 0 0px;
  padding: 8px;
}

.ah-android-version-help2.ah-active {
  max-height: 102px;
  top: -15px;
  position: relative;
}

@media (max-width: 662px) {
  span.ah-android-version-trigger2 {
    display: block !important;
  }

  .ah-android-version-help2 {
    display: block !important;
  }
}

/* ===== 5PLAY BADGE CLEAN ===== */

.ah-badge5play {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 22px;
  padding: 0 8px;

  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;

  color: #ffffff;

  background: linear-gradient(90deg, #34c759, #16a34a);

  box-shadow: 0 -5px 12px rgba(0, 0, 0, .35);

  z-index: 5;

  text-rendering: optimizeLegibility;
}

/* скругление под иконку */
figure.ah-img.ah-news-frame .ah-badge5play {
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

/* полностью скрываем галочку */
.ah-badge5play svg {
  display: none !important;
}

/* текст */
.ah-badge-brand {
  font-weight: 700;
  letter-spacing: .15px;
  opacity: .95;
}

/* ======================== */

.ah-f5-textblock {
  max-width: 980px;
  margin: 18px auto;
  font-family: 'Manrope', sans-serif;
}

.ah-f5-textbox {
  position: relative;
  border-radius: 24px;
  padding: 26px 32px;
  overflow: hidden;
  background: var(--block-bg);
}

/* МЯГКИЙ ДЫМОК ТОЛЬКО В ЦЕНТРЕ */
.ah-f5-textbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, .05),
      transparent 60%);
  pointer-events: none;
}

.ah-f5-textbox>* {
  position: relative;
  z-index: 1;
}

.ah-f5-text-content {
  font-size: 13px;
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: .15px;
  opacity: .95;
  padding-left: 7px;
}

/* ======================== */

/* ===== 5PLAY CLEAN FINAL (LINES FROM ARROWS) ===== */

#app_description .ah-f5d-box {
  position: relative;
  overflow: hidden;
}

#app_description .ah-f5d-box.ah-is-collapsed {
  max-height: 190px;
}

#app_description .ah-f5d-box>*:last-child {
  margin-bottom: 0 !important;
}

/* fade */
#app_description .ah-f5d-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--block-bg));
}

.ah-darktheme #app_description .ah-f5d-fade {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--block-bg));
}

#app_description .ah-f5d-box.ah-is-open .ah-f5d-fade {
  display: none;
}

/* ===== CONTROL ROW ===== */

#app_description .ah-f5d-ctl {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* линии слева и справа (теперь отдельные элементы) */
#app_description .ah-f5d-line {
  flex: 1;
  height: 1px;
  background: rgba(124, 92, 255, .35);
  opacity: .9;
}

/* стрелки */
#app_description .ah-f5d-arrow {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
  opacity: .75;
}

#app_description .ah-f5d-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #7C5CFF;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* поворот стрелок */
#app_description .ah-f5d-box.ah-is-open+.ah-f5d-ctl .ah-f5d-arrow {
  transform: rotate(180deg);
}

/* кнопка */
#app_description .ah-f5d-btn {
  appearance: none;
  border: 0;
  background: rgba(124, 92, 255, .14);
  padding: 8px 22px;
  border-radius: 14px;
  cursor: pointer;
  outline: none;

  font: inherit;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #1e7c3f;

  transition: .15s ease;
}

#app_description .ah-f5d-btn:hover {
  background: rgba(124, 92, 255, .20);
}

/* dark */
.ah-darktheme #app_description .ah-f5d-btn {
  background: rgba(124, 92, 255, .20);
  color: #6fdb92;
}

#app_description .ah-f5d-btn:focus-visible {
  outline: 2px solid rgba(124, 92, 255, .35);
  outline-offset: 3px;
}

#app_description .ah-f5d-ctl.ah-is-hidden {
  display: none;
}

@media (max-width:768px) {
  #app_description .ah-f5d-ctl {
    margin-top: 10px;
  }
}

/* ======================== */

b.ah-bstyless {
  display: inline-block;
  padding: 3px;
  margin-right: 3px;
  top: 3px;
  position: relative;
  left: -1px;
}

b.ah-bstyless i.ah-c-green {
  padding: .375rem;
  display: block;
  border-radius: 50%;
  background-color: rgba(124, 92, 255, 0.1);
}

@media (min-width: 768px) {
  .ah-message-info b {
    font-size: 17px !important;
  }

  .ah-pmovie__caption .ah-b-nobugs-text p {
    font-size: 17px !important;
  }
}

.ah-download-line.ah-s-blue:hover {
  box-shadow: none !important;
}

.ah-message-info {
  font-weight: ;
  font-size: .875rem;
  background-color: var(--block-bg);
  border-radius: 1.125rem;
  border: 1px solid #00000000;
  position: relative;
  padding: 10px 20px;
}

.ah-pmovie__caption {
  line-height: 1.6;
  position: relative;
  background-color: var(--block-bg);
  padding: 12px 29px;
}

/* ======================== */

/* ===================== BASE ===================== */
.ah-f5gpPlay {
  --mint: #7C5CFF;
  --blue: #38bdf8;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 18px auto;
  max-width: 980px;
}

/* ===================== CARD (borderless) ===================== */
.ah-f5gpp-card {
  position: relative;
  border-radius: 24px;
  padding: 16px;
  background: var(--block-bg);
  color: var(--tcolor);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .08);
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-card,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-card,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-card {
  box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
}

.ah-f5gpp-card:before {
  content: "";
  position: absolute;
  inset: -160px;
  pointer-events: none;
  background:
    radial-gradient(820px 320px at 12% 12%, rgba(56, 189, 248, .10), transparent 60%),
    radial-gradient(820px 320px at 92% 18%, rgba(56, 189, 248, .06), transparent 65%),
    radial-gradient(760px 320px at 55% 120%, rgba(124, 92, 255, .07), transparent 60%);
  opacity: .95;
}

/* ЗАМЕНЕНО: фон-иконка (НОВАЯ SVG), меньше + правее (к кнопке) */
.ah-f5gpp-card:after {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3E%3Cg%3E%3Cg%3E%3Cpath%20fill='%2359A6CA'%20d='M225.656%2C256.052L14.016%2C485.451l-6.442%2C7.052c-4.005-5.919-6.704-12.972-7.313-20.806C0.087%2C470.305%2C0%2C468.91%2C0%2C467.518V44.499c0-9.488%2C2.873-18.02%2C7.574-24.987L225.656%2C256.052z'/%3E%3Cpath%20fill='%23B6D9A2'%20d='M320.811%2C152.8l-95.155%2C103.253L7.574%2C19.512C19.936%2C1.405%2C45.183-6.342%2C66.6%2C6.02L320.811%2C152.8z'/%3E%3Cpath%20fill='%23F0CE89'%20d='M455.056%2C257.27c-0.348%2C14.453-7.748%2C28.904-22.113%2C37.174l-112.132%2C64.771l-95.155-103.163L320.811%2C152.8l70.518%2C40.745l41.614%2C24.026C448.178%2C226.366%2C455.579%2C241.861%2C455.056%2C257.27z'/%3E%3Cpath%20fill='%23B6547C'%20d='M7.591%2C492.492c12.368%2C18.116%2C37.599%2C25.838%2C58.976%2C13.496L320.775%2C359.22l-95.156-103.209L7.591%2C492.492z'/%3E%3C/g%3E%3Cpath%20fill='%23FFFFFF'%20opacity='.2'%20d='M454.067%2C246.447c-2.453-11.518-9.483-22.156-21.124-28.876l-41.614-24.026L320.811%2C152.8L66.6%2C6.02C45.183-6.342%2C19.936%2C1.405%2C7.574%2C19.512C2.873%2C26.479%2C0%2C35.011%2C0%2C44.499v243.72c36.681%2C3.114%2C74.226%2C4.746%2C112.451%2C4.746c47.984%2C0%2C94.85-2.644%2C140.318-7.505l-27.027-29.314l27.038%2C29.314C323.988%2C277.849%2C391.567%2C264.55%2C454.067%2C246.447z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 80% 46%;
  background-size: 100px 100px;
  /* меньше */
  opacity: .04;
  /* едва видно */
  z-index: 0;
}

.ah-f5gpp-card>* {
  position: relative;
  z-index: 1;
}

/* ===================== HEAD ===================== */
.ah-f5gpp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ah-f5gpp-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ah-f5gpp-titleIcon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ah-f5gpp-titleIcon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ЖИРНЫЙ */
.ah-f5gpp-titleText {
  font-weight: 900;
  letter-spacing: -.2px;
  font-size: 16px;
  line-height: 1.15;
  color: var(--tcolor);
}

.ah-f5gpp-sub {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.ah-f5gpp-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, .10);
  font-size: 12px;
  font-weight: 900;
  color: var(--tcolor);
}

.ah-f5gpp-ok {
  background: rgba(56, 189, 248, .12);
}

/* ===================== BADGE (только лого) ===================== */
.ah-f5gpp-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(56, 189, 248, .10);
  user-select: none;
  overflow: hidden;
  box-shadow: none;
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-store,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-store,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-store {
  background: rgba(255, 255, 255, .06);
}

.ah-f5gpp-storeInner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ah-f5gpp-brandIcon {
  width: 18px;
  height: 18px;
  display: block;
  opacity: .95;
  filter: none;
}

/* ===================== ICON (for button) ===================== */
.ah-f5gpp-gIcon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 170, 255, .18), rgba(124, 92, 255, .18));
  position: relative;
}

.ah-f5gpp-gIcon:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--tcolor);
  opacity: .85;
}

/* ===================== BODY ===================== */
.ah-f5gpp-body {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

/* mint inside on light */
.ah-f5gpp-scoreBox {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 20px;
  padding: 14px 14px 12px;
  background: rgba(124, 92, 255, .10);
  position: relative;
  overflow: hidden;
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-scoreBox,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-scoreBox,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-scoreBox {
  background: rgba(255, 255, 255, .04);
}

.ah-f5gpp-scoreTop {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.ah-f5gpp-rating {
  font-size: 40px;
  font-weight: 1000;
  letter-spacing: -.6px;
  line-height: 1;
  color: var(--tcolor);
}

.ah-f5gpp-out {
  font-size: 14px;
  font-weight: 900;
  opacity: .70;
  color: var(--tcolor);
}

/* stars */
.ah-f5gpp-starsWrap {
  position: relative;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
  margin: 10px 0;
}

.ah-f5gpp-starsBase {
  color: rgba(0, 0, 0, .22);
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-starsBase,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-starsBase,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-starsBase {
  color: rgba(255, 255, 255, .22);
}

.ah-f5gpp-starsFill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--mint);
  width: 0%;
  transition: width .45s ease;
}

.ah-f5gpp-votesRow {
  font-size: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ah-f5gpp-muted {
  opacity: .70;
  color: var(--tcolor);
  font-weight: 800;
}

.ah-f5gpp-votes {
  font-weight: 1000;
  color: var(--tcolor);
}

.ah-f5gpp-actions {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}

.ah-f5gpp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 1000;
  background: rgba(124, 92, 255, .14);
  color: var(--tcolor);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
  transition: transform .15s ease, filter .15s ease;
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-btn,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-btn,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-btn {
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.ah-f5gpp-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03)
}

.ah-f5gpp-btn:active {
  transform: translateY(0);
  filter: brightness(.99)
}

.ah-f5gpp-btnText {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8px;
  line-height: 1.05;
}

.ah-f5gpp-btnMain {
  display: block
}

.ah-f5gpp-btnSub {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: .62;
  margin-top: 2px;
}

.ah-f5gpp-note {
  font-size: 12px;
  opacity: .70;
  color: var(--tcolor);
  line-height: 1.45;
}

/* skeleton */
.ah-f5gpp-skelTxt,
.ah-f5gpp-skelNum {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, .06);
  color: transparent;
}

html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelTxt,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelNum,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelTxt,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelNum,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelTxt,
html.ah-darktheme .ah-f5gpPlay .ah-f5gpp-skelNum {
  background: rgba(255, 255, 255, .08);
}

.ah-f5gpp-skelTxt:after,
.ah-f5gpp-skelNum:after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .18), transparent);
  transform: translateX(-55%);
  animation: f5gppShine 1.2s linear infinite;
}

@keyframes f5gppShine {
  to {
    transform: translateX(55%)
  }
}

/* appear */
.ah-f5gpp-card {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease
}

.ah-f5gpp-card.ah-is-ready {
  opacity: 1;
  transform: translateY(0)
}

/* responsive */
@media (max-width:560px) {
  .ah-f5gpp-body {
    flex-direction: column;
  }

  .ah-f5gpp-actions {
    flex: 1 1 auto;
  }
}

/* ======================== */

/* ===================== LOCAL STYLES (ONLY THIS BLOCK) ===================== */

.ah-f5-dlblock {
  max-width: 980px;
  margin: 18px auto;
  padding: 0;
  font-family: inherit;
}

.ah-f5-dlblock .ah-f5d-box {
  border-radius: 22px;
  padding: 18px 16px;
  background: var(--block-bg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  position: relative;
}

.ah-f5-dlblock .ah-f5d-box:before {
  content: "";
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(820px 320px at 8% 0%, rgba(56, 189, 248, .26), transparent 62%),
    radial-gradient(760px 320px at 100% 45%, rgba(56, 189, 248, .18), transparent 66%),
    radial-gradient(640px 260px at 50% 110%, rgba(56, 189, 248, .14), transparent 62%);
  opacity: 1;
  pointer-events: none;
}

.ah-f5-dlblock .ah-f5d-appbar {
  border-radius: 18px;
  padding: 12px 12px 10px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 300px at 10% 0%, rgba(56, 189, 248, .20), transparent 64%),
    radial-gradient(760px 300px at 100% 55%, rgba(56, 189, 248, .14), transparent 66%);
}

.ah-f5-dlblock .ah-f5d-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 4px 10px;
  position: relative;
  z-index: 1;
}

.ah-f5-dlblock .ah-f5d-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;
  top: 11px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .10);
}

.ah-f5-dlblock .ah-f5d-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ah-f5-dlblock .ah-f5d-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tcolor);
  opacity: .95;
}

/* Светло-зелёное прозрачное выделение 5play */
.ah-f5-dlblock .ah-f5d-sub b {
  font-weight: 900;
  white-space: nowrap;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(124, 92, 255, .12);
  color: inherit;
}

/* ВАЖНО: чтобы ссылка не становилась зелёной */
.ah-f5-dlblock .ah-f5d-sub b a {
  color: inherit !important;
  text-decoration: none;
}

.ah-f5-dlblock .ah-f5d-sub b a:hover {
  color: inherit !important;
  opacity: .92;
}

/* ===== ЛЁГКОЕ ПОТРЯХИВАНИЕ (НЕ НАГРУЖАЕТ) ===== */
.ah-f5-dlblock .ah-f5d-anchor {
  display: inline-block;
  /* чтобы transform работал аккуратно */
  transform: translateZ(0);
  animation: f5-shake 7.5s ease-in-out infinite;
  will-change: transform;
}

/* короткий “тик” и всё, остальное время стоит */
@keyframes f5-shake {

  0%,
  84% {
    transform: translateZ(0);
  }

  86% {
    transform: translate3d(-1px, 0, 0) rotate(-0.6deg);
  }

  88% {
    transform: translate3d(1px, 0, 0) rotate(0.6deg);
  }

  90% {
    transform: translate3d(-1px, 0, 0) rotate(-0.4deg);
  }

  92% {
    transform: translate3d(1px, 0, 0) rotate(0.4deg);
  }

  94%,
  100% {
    transform: translateZ(0);
  }
}

/* если у пользователя выключены анимации — не трясём */
@media (prefers-reduced-motion: reduce) {
  .ah-f5-dlblock .ah-f5d-anchor {
    animation: none;
  }
}

html.ah-darktheme .ah-f5-dlblock .ah-f5d-sub {
  color: #ffffff;
}

html.ah-darktheme .ah-f5-dlblock .ah-f5d-sub b {
  background: rgba(124, 92, 255, .18);
}

/* Мобилка */
@media (max-width:768px) {
  .ah-f5-dlblock .ah-f5d-ico {
    display: block;
  }
}

/* ПК — центрируем текст и скрываем картинку */
@media (min-width:769px) {
  .ah-f5-dlblock .ah-f5d-ico {
    display: none;
  }

  .ah-f5-dlblock .ah-f5d-top {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width:420px) {
  .ah-f5-dlblock .ah-f5d-sub b {
    white-space: normal;
  }
}

/* ======================== */

/* ===== Scoped theme vars ===== */
.ah-f5-formats {
  --f5-accent: #7C5CFF;

  /* light defaults (НЕ меняю цвета) */
  --f5-bg: rgba(255, 255, 255, .78);
  --f5-surface: rgba(255, 255, 255, .62);
  --f5-card: rgba(0, 0, 0, .03);
  --f5-border: rgba(0, 0, 0, .08);
  --f5-shadow: 0 14px 40px rgba(0, 0, 0, .10);
  --f5-text: rgba(0, 0, 0, .88);
  --f5-muted: rgba(0, 0, 0, .60);
  --f5-soft: rgba(0, 0, 0, .06);
  --f5-glow: 0 0 0 1px rgba(255, 255, 255, .22) inset;

  max-width: 980px;
  margin: 18px auto;
  padding: 0 0px;
}

/* если на сайте есть классы темы — подхватим */
html.ah-darktheme .ah-f5-formats,
html.ah-darktheme .ah-f5-formats,
html.ah-darktheme .ah-f5-formats {
  --f5-bg: rgba(18, 20, 22, .72);
  --f5-surface: rgba(255, 255, 255, .05);
  --f5-card: rgba(255, 255, 255, .04);
  --f5-border: rgba(255, 255, 255, .10);
  --f5-shadow: 0 18px 55px rgba(0, 0, 0, .50);
  --f5-text: rgba(255, 255, 255, .92);
  --f5-muted: rgba(255, 255, 255, .70);
  --f5-soft: rgba(255, 255, 255, .08);
  --f5-glow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
}

/* авто-определение темы (если классов нет) */
@media (prefers-color-scheme: dark) {
  .ah-f5-formats {
    --f5-bg: rgba(18, 20, 22, .72);
    --f5-surface: rgba(255, 255, 255, .05);
    --f5-card: rgba(255, 255, 255, .04);
    --f5-border: rgba(255, 255, 255, .10);
    --f5-shadow: 0 18px 55px rgba(0, 0, 0, .50);
    --f5-text: rgba(255, 255, 255, .92);
    --f5-muted: rgba(255, 255, 255, .70);
    --f5-soft: rgba(255, 255, 255, .08);
    --f5-glow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
  }
}

/* ===== container (как у тебя: match bg / no border / no shadow) ===== */
.ah-f5-box {
  border-radius: 22px;
  padding: 18px 16px;
  background: var(--block-bg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* ===== ANDROID APP BAR ===== */
.ah-f5-appbar {
  border-radius: 18px;
  padding: 12px 12px 10px;
  background:
    radial-gradient(720px 260px at 0% 0%, rgba(124, 92, 255, .12), transparent 60%),
    radial-gradient(720px 260px at 100% 35%, rgba(124, 92, 255, .08), transparent 65%);
  position: relative;
  overflow: hidden;
}

.ah-f5-appbar:before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(520px 240px at 18% 20%, rgba(124, 92, 255, .12), transparent 62%),
    radial-gradient(520px 240px at 92% 40%, rgba(124, 92, 255, .06), transparent 62%);
  opacity: .9;
  pointer-events: none;
}

.ah-f5-appbar>* {
  position: relative;
  z-index: 1;
}

.ah-f5-appbarTop {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 4px 12px;
}

.ah-f5-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, .12);
  flex: 0 0 auto;
}

/* титлы/подтитлы: сохраняю размер/стиль */
.ah-f5-title {
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--tcolor);
}

.ah-f5-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--tcolor);
}

/* ===== ANDROID TABS (segmented) ===== */
.ah-f5-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 0 4px 4px;
}

.ah-f5-tab {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 12px;
  background: var(--f5-surface);
  color: var(--tcolor);
  font-weight: 900;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.ah-f5-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.ah-f5-tabDot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--f5-accent);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, .16);
}

.ah-f5-tab.ah-is-on {
  background: rgba(124, 92, 255, .10);
}

/* ===== separator ===== */
.ah-f5-sep {
  height: 1px;
  background: var(--block-bg);
  margin: 12px 0 14px;
}

/* ===== sheets ===== */
.ah-f5-sheets {
  display: block;
}

.ah-f5-sheet {
  display: none;
}

.ah-f5-sheet.ah-is-show {
  display: block;
}

/* ===== sheet card (same colors/sizes) ===== */
.ah-f5-sheetCard {
  border-radius: 18px;
  padding: 14px;
  background: var(--f5-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
}

.ah-f5-sheetCard:before {
  content: "";
  position: absolute;
  inset: -90px;
  background:
    radial-gradient(620px 280px at 0% 0%, rgba(124, 92, 255, .10), transparent 62%),
    radial-gradient(620px 280px at 100% 40%, rgba(124, 92, 255, .06), transparent 62%);
  opacity: .9;
  pointer-events: none;
}

.ah-f5-sheetCard>* {
  position: relative;
  z-index: 1;
}

.ah-f5-sheetHdr {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* tag (оставляю размеры/цвета как было) */
.ah-f5-tag {
  min-width: 64px;
  height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .6px;
  background: rgba(255, 255, 255, .88);
  color: var(--lcolor);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  flex: 0 0 auto;
}

@media (prefers-color-scheme: dark) {
  .ah-f5-tag {
    background: rgba(124, 92, 255, .12);
  }
}

html.ah-darktheme .ah-f5-tag,
html.ah-darktheme .ah-f5-tag,
html.ah-darktheme .ah-f5-tag {
  background: rgba(255, 255, 255, .92);
}

.ah-f5-cardtitle {
  font-weight: 900;
  font-size: 14px;
  color: var(--tcolor);
}

.ah-f5-carddesc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--tcolor);
}

/* ===== steps: android timeline ===== */
.ah-f5-steps {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.ah-f5-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  background: var(--f5-surface);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
}

.ah-f5-step:before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(520px 220px at 20% 20%, rgba(124, 92, 255, .08), transparent 62%),
    radial-gradient(520px 220px at 90% 40%, rgba(124, 92, 255, .04), transparent 62%);
  opacity: .9;
  pointer-events: none;
}

.ah-f5-step>* {
  position: relative;
  z-index: 1;
}

.ah-f5-stepNum {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, .12);
  color: var(--tcolor);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
  flex: 0 0 auto;
}

.ah-f5-stepT {
  font-weight: 900;
  font-size: 13px;
  color: var(--tcolor);
}

.ah-f5-stepS {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--tcolor);
  opacity: .9;
}

/* ===== note (unchanged colors/sizes) ===== */
.ah-f5-note {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(124, 92, 255, .10);
  color: var(--tcolor);
  font-size: 13px;
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.ah-f5-note:before {
  content: "";
  position: absolute;
  inset: -70px;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(124, 92, 255, .14), transparent 62%),
    radial-gradient(520px 220px at 100% 40%, rgba(124, 92, 255, .08), transparent 62%);
  opacity: .8;
  pointer-events: none;
}

.ah-f5-note>* {
  position: relative;
  z-index: 1;
}

.ah-f5-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--f5-accent);
  box-shadow: 0 0 0 6px rgba(124, 92, 255, .16);
  margin-top: 5px;
  flex: 0 0 auto;
}

/* ===== footer (same sizes) ===== */
.ah-f5-foot {
  text-align: center;
  padding: 0 4px 4px;
}

.ah-f5-foottitle {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tcolor);
}

.ah-f5-btns {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ah-f5-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--f5-surface);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  color: var(--tcolor);
  text-decoration: none;
  font-weight: 900;
  min-width: 220px;
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
  overflow: hidden;
}

.ah-f5-btn:before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(124, 92, 255, .10), transparent 62%),
    radial-gradient(520px 220px at 100% 40%, rgba(124, 92, 255, .06), transparent 62%);
  opacity: .9;
  pointer-events: none;
}

.ah-f5-btn>* {
  position: relative;
  z-index: 1;
}

.ah-f5-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.ah-f5-btnico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, .12);
}

.ah-f5-mini {
  margin-top: 10px;
  font-size: 12px;
  color: var(--tcolor);
  opacity: .9;
  line-height: 1.5;
}

/* mobile tweaks (не меняю размеры ключевых блоков) */
@media (max-width: 420px) {
  .ah-f5-btn {
    min-width: 100%;
  }

  .ah-f5-sheetCard {
    padding: 12px;
  }

  .ah-f5-step {
    padding: 10px 10px;
  }

  .ah-f5-tag {
    min-width: 58px;
    height: 36px;
    padding: 0 12px;
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {

  .ah-f5-tab,
  .ah-f5-btn {
    transition: none !important;
  }

  .ah-f5-tab:hover,
  .ah-f5-btn:hover {
    transform: none !important;
  }
}

/* ======================== */

/* ===================== ADAPTIVE RED ===================== */

/* СВЕТЛАЯ ТЕМА (красный мягче) */
/* ТЁМНАЯ ТЕМА (красный насыщеннее) */

/* если нет классов темы — подхватим автоматически */
@media (prefers-color-scheme: dark) {
}

@media (max-width:560px) {
}

/* ======================== */

.ah-round5 {
  border-radius: 5px;
}

.ah-margin_top20 {
  margin-top: 20px;
}

.ah-padd20 {
  padding: 0px 15px 13px 20px;
}

.ah-xapk_info .ah-info_title {
  font-size: 135%;
  font-weight: 700;
  padding-bottom: 7px;
}

.ah-xapk_info .ah-info_title b {
  display: inline-block;
  padding: 3px;
  margin-right: 3px;
  top: 12px;
  position: relative;
  left: -1px;
}

.ah-xapk_info .ah-info_title i.ah-c-green {
  width: 2.25rem;
  height: 2.25rem;
  padding: .375rem;
  display: block;
  border-radius: 50%;
  background-color: rgba(124, 92, 255, 0.1);
}

.ah-xapk_info .ah-info_title i.ah-c-green svg {
  display: block;
}

@media (max-width: 991px) {
  .ah-xapk_info.ah-margin_top20.ah-round5.ah-padd20.ah-text p {
    font-size: 14px !important;
  }
}

/* ======================== */

@media (min-width: 992px) {
  .ah-download_line.ah-brand {
    display: flex !important;
  }
}

.ah-download_line.ah-brand {
  color: #121416;
  background-color: #fc0;
}

@media (min-width: 992px) {
  .ah-download_line {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 1.125rem;
    border-radius: 2rem;
    transition: background-color .15s ease-in-out;
  }
}

.ah-download_line {
  margin-top: 1rem;
  padding: .5rem;
  display: block;
  text-decoration: none !important;
}

@media (min-width: 992px) {
  .ah-download_line>div {
    padding: .75rem;
    padding-left: 2.75rem;
    flex: 1 1 auto;
  }
}

.ah-download_line * {
  cursor: pointer;
  line-height: 1.5rem;
}

.ah-download_line>div>i {
  float: left;
  margin-left: -2rem;
  margin-top: -.125rem;
}

.ah-download_line.ah-brand>div>i>svg {
  margin: -.25rem;
}

@media (min-width: 992px) {
  .ah-download_line.ah-brand>.ah-size {
    background-color: #fff;
  }
}

.ah-download_line>.ah-size {
  font-style: normal;
}

@media (min-width: 992px) {
  .ah-download_line>.ah-size {
    font-weight: 700;
    border-radius: 1.5rem;
    padding: .75rem 1.5rem;
    min-width: 8.75rem;
    text-align: center;
    margin-left: 2rem;
    box-shadow: 0 .25rem .5rem 0 rgba(0, 0, 0, .1);
  }
}

.ah-download_line.ah-brand:hover {
  background-color: #ebbc00;
}

a.ah-download_line.ah-brand:hover {
  anchor-name: none;
}

/* ======================== */

@media (max-width: 991px) {
  div#pos-commq {
    width: 87% !important;
    left: 6% !important;
  }
}

.ah-av-check.ah-safe {
  width: 92%;
  font-size: 13px;
  line-height: 20px;
  margin-top: 0px;
  background-color: unset;
  background-image: url(img/img/shield.svg);
  background-repeat: no-repeat;
  background-size: 17px;
  padding-left: 24px;
}

span.ah-av-check-toggle {
  background: #4595d5;
  color: #fff;
  padding: 0 5px;
  cursor: pointer;
}

ul.ah-av-check-details {
  margin-top: 11px;
  font-size: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease-out;
}

ul.ah-av-check-details li {
  line-height: 16px;
  list-style: inside;
  margin-bottom: 8px;
}

ul.ah-av-check-details li .ah-sha-summ:hover {
  cursor: pointer
}

.ah-av-check-toggle:focus+.ah-av-check-details {
  max-height: 64px;
}

/* ======================== */

/* === Только правый мягкий градиент === */

.ah-b-download {
  position: relative;
  overflow: hidden;
}

/* Правый аккуратный свет */
.ah-b-download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 60%,
      rgba(124, 92, 255, .08) 75%,
      rgba(124, 92, 255, .14) 88%,
      rgba(124, 92, 255, .20) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Контент поверх */
.ah-b-download>* {
  position: relative;
  z-index: 1;
}

/* ======================== */

.ah-f5-modblock {
  --f5-accent: #38bdf8;

  --f5-bg: rgba(255, 255, 255, .78);
  --f5-surface: rgba(255, 255, 255, .62);
  --f5-card: rgba(0, 0, 0, .03);
  --f5-border: rgba(0, 0, 0, .08);
  --f5-text: rgba(0, 0, 0, .88);
  --f5-muted: rgba(0, 0, 0, .60);
  --f5-soft: rgba(0, 0, 0, .06);

  max-width: 980px;
  margin: 18px auto;
  padding: 0 0px;
  font-family: inherit;
}

html.ah-darktheme .ah-f5-modblock,
html.ah-darktheme .ah-f5-modblock,
html.ah-darktheme .ah-f5-modblock {
  --f5-bg: rgba(18, 20, 22, .72);
  --f5-surface: rgba(255, 255, 255, .05);
  --f5-card: rgba(255, 255, 255, .04);
  --f5-border: rgba(255, 255, 255, .10);
  --f5-text: rgba(255, 255, 255, .92);
  --f5-muted: rgba(255, 255, 255, .70);
  --f5-soft: rgba(255, 255, 255, .08);
}

.ah-f5m-box {
  border-radius: 22px;
  padding: 18px 16px;
  background: var(--block-bg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  position: relative;
}

.ah-f5m-box:before {
  content: "";
  position: absolute;
  inset: -110px;
  background:
    radial-gradient(720px 260px at 0% 0%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(720px 260px at 100% 35%, rgba(56, 189, 248, .08), transparent 65%);
  opacity: .95;
  pointer-events: none;
}

.ah-f5m-appbar {
  border-radius: 18px;
  padding: 12px 12px 10px;
  background:
    radial-gradient(720px 260px at 0% 0%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(720px 260px at 100% 35%, rgba(56, 189, 248, .08), transparent 65%);
  position: relative;
  overflow: hidden;
}

.ah-f5m-appbar:before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(520px 240px at 18% 20%, rgba(56, 189, 248, .12), transparent 62%),
    radial-gradient(520px 240px at 92% 40%, rgba(56, 189, 248, .06), transparent 62%);
  opacity: .9;
  pointer-events: none;
}

.ah-f5m-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 4px 10px;
}

.ah-f5m-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, .12);
  flex: 0 0 auto;
}

.ah-f5m-title {
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--tcolor);
}

.ah-f5m-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--tcolor);
  opacity: .92;
}

.ah-f5m-live {
  margin-left: auto;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(56, 189, 248, .10);
  font-weight: 900;
  font-size: 12px;
}

.ah-f5m-liveDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--f5-accent);
}

.ah-f5m-chipRow {
  padding: 0 4px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ah-f5m-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  height: 36px;
  padding: 0 14px;

  border-radius: 999px;

  background: rgba(56, 189, 248, .10);

  font-weight: 900;
  font-size: 12px;

  /* управление позицией */
  position: relative;
  left: 0px;
  /* двигай вправо */
}

.ah-f5m-chipDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--f5-accent);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, .16);
}

/* ======================== */

/* ===== КНОПКА ===== */
.ah-max-follow-btn {
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;
  margin-top: 12px;

  padding: 14px 16px;
  border-radius: 18px;

  text-decoration: none;
  color: #fff;

  background: linear-gradient(135deg,
      #6c5cff,
      #4b5bff);

  transition: transform .15s ease;
}

@media(hover:hover) {
  .ah-max-follow-btn:hover {
    transform: translateY(-2px);
  }
}

/* ===== ОБЕРТКА ИКОНКИ (ВАЖНО) ===== */
.ah-max-follow-ico-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔥 делает иконку частью кнопки */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, .18),
      rgba(255, 255, 255, .05));

  backdrop-filter: blur(6px);
}

/* сама иконка */
.ah-max-follow-ico {
  width: 26px;
  height: 26px;
  opacity: .95;
}

/* текст */
.ah-max-follow-title {
  font-size: 14px;
  font-weight: 800;
}

.ah-max-follow-sub {
  font-size: 12px;
  opacity: .85;
  margin-top: 2px;
}

/* кнопка справа */
.ah-max-follow-action {
  margin-left: auto;

  padding: 7px 14px;
  border-radius: 12px;

  background: rgba(255, 255, 255, .18);

  font-size: 11px;
  font-weight: 900;
}

/* не меняем цвет */
.ah-max-follow-btn:hover,
.ah-max-follow-btn:hover * {
  color: #fff !important;
}

/* ======================== */

/* ======================== */

  @media (min-width: 992px) {

    .ah-btn.ah-s-green:hover,
    .ah-download-line.ah-s-green:hover,
    .ah-page_prev>a:hover,
    .ah-page_next>a:hover {
      box-shadow: 0 .25rem .5rem 0 #47728e, 0 0 0 .25rem #47728e;
    }
  }

  .ah-s-green {
    box-shadow: none !important;
  }

  .ah-woobl_emoji {
    display: flex;
    flex-flow: row;
    padding: 0.24rem;
    width: -webkit-fill-available;
    position: relative;
  }

  .ah-woobl_emoji li {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
    cursor: pointer;
    row-gap: 0.2vh;
    padding: 0.44rem 0.24rem;
    transition: all 120ms linear;
    -webkit-transition: all 120ms linear;
    border-radius: 3px;
    -webkit-border-radius: 3px;
  }

  .ah-woobl_emoji li .ah-item {
    font-size: 21px;
  }

  .ah-woobl_emoji li b {
    font-size: 14px;
  }

  /* ===== ФИКС МОБИЛЫ ДЛЯ РЕАКЦИЙ ===== */

  @media (max-width:768px) {

    .ah-woobl_emoji {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto;
      gap: 14px;
      justify-content: flex-start;
      align-items: center;
      padding: 14px !important;
    }

    /* убрать полоску прокрутки */
    .ah-woobl_emoji::-webkit-scrollbar {
      display: none;
    }

    .ah-woobl_emoji li {
      flex: 0 0 auto;
    }

    .ah-woobl_emoji li img {
      width: 24px;
      height: 24px;
    }

  }

  /* ======================== */

  /* ===== контейнер ===== */

  .ah-woobl_emoji {
    margin-top: 20px;
    padding: 18px !important;
    border-radius: 20px;
    background: var(--block-bg);
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
  }

  /* ===== элемент реакции ===== */

  .ah-woobl_emoji li {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform .15s;
    position: relative;
  }

  .ah-woobl_emoji li:hover {
    transform: scale(1.12);
  }

  .ah-woobl_emoji li:hover img {
    filter: drop-shadow(0 0 8px rgba(124, 92, 255, .35));
  }

  .ah-woobl_emoji li img {
    width: 30px;
    height: 30px;
  }

  /* ===== счетчик ===== */

  .ah-woobl_emoji li b {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--f5-surface);
    color: var(--f5-text);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .05),
      0 4px 10px rgba(0, 0, 0, .12);
    transition: .25s;
  }

  /* анимация счетчика */

  .ah-woobl_emoji li.ah-counter-animate b {
    transform: scale(1.25);
    box-shadow: 0 0 14px rgba(124, 92, 255, .45);
  }

  /* ===== частицы ===== */

  .ah-emoji-particle {
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
    animation: emojiExplosion .65s ease forwards;
  }

  @keyframes emojiExplosion {
    0% {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }

    100% {
      opacity: 0;
      transform: translate(var(--x), var(--y)) scale(1.4);
    }
  }

  /* ===== mobile ===== */

  @media (max-width:768px) {

    .ah-woobl_emoji {
      gap: 16px;
      padding: 14px !important;
    }

    .ah-woobl_emoji li img {
      width: 24px;
      height: 24px;
    }

  }

  /* ======================== */

  @media (max-width: 679px) {
    .ah-e35 {
      top: 3px !important;
    }

    .ah-b-cont.ah-polekr {
      height: 120px !important;
    }
  }

  /* ======================== */

  /* ===== BLOCK ===== */

  .ah-f5pro-tabs {
    max-width: 980px;
    margin: 20px auto;
    font-family: inherit;
  }

  /* ===== CARD ===== */

  .ah-f5pro-card {
    background: var(--block-bg);
    border-radius: 22px;
    padding: 20px;
    position: relative;
    overflow: hidden;

    box-shadow:
      0 25px 50px rgba(0, 0, 0, .12),
      0 6px 16px rgba(0, 0, 0, .06);
  }

  /* glow */

  .ah-f5pro-card:before {
    content: "";
    position: absolute;
    inset: -200px;
    background:
      radial-gradient(700px 350px at -10% -10%, rgba(255, 193, 7, .4), transparent 60%),
      radial-gradient(700px 350px at 110% 110%, rgba(255, 235, 59, .25), transparent 60%);
    pointer-events: none;
  }

  .ah-f5pro-card>* {
    position: relative;
    z-index: 2
  }

  /* ===== HEADER ===== */

  .ah-f5pro-head {
    margin-bottom: 12px;
  }

  .ah-f5pro-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900;
    opacity: .6;
    color: var(--tcolor);
  }

  .ah-f5pro-title {
    font-size: 22px;
    font-weight: 900;
    margin: 4px 0;
    color: var(--tcolor);
  }

  /* ===== SWITCH ===== */

  .ah-f5pro-switch {
    display: flex;
    background: rgba(0, 0, 0, .06);
    padding: 3px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 14px;
  }

  .ah-f5pro-tab {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    color: var(--tcolor);
    transition: .25s;
  }

  .ah-f5pro-tab.ah-active {
    background: linear-gradient(135deg, #ffd54f, #ffca28);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 193, 7, .35);
  }

  /* ===== PANELS ===== */

  .ah-f5pro-panel {
    display: none
  }

  .ah-f5pro-panel.ah-show {
    display: block
  }

  /* ===== STEPS ===== */

  .ah-f5pro-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    transition: .2s;
  }

  .ah-f5pro-step:hover {
    background: rgba(0, 0, 0, .05);
  }

  /* number */

  .ah-f5pro-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 12px;

    color: #fff;

    background: linear-gradient(135deg, #ffb300, #ffca28);

    box-shadow:
      0 4px 10px rgba(255, 193, 7, .4),
      0 2px 6px rgba(0, 0, 0, .12);

    flex: 0 0 auto;
  }

  /* text */

  .ah-f5pro-text {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--tcolor);
    opacity: .92;
  }

  /* ===== MOBILE ===== */

  @media (max-width:560px) {

    .ah-f5pro-card {
      padding: 16px
    }

    .ah-f5pro-title {
      font-size: 19px
    }

    .ah-f5pro-text {
      font-size: 13px
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  .ah-com-item.ah-pos-comm .ah-com-cloud {
    background-color: #1abc7e1f;
  }

  .ah-com-item.ah-neg-comm .ah-com-cloud {
    background-color: #f3483f1f;
  }

  /* Добавьте в ваш CSS файл */

  .ah-like-btn:disabled,
  .ah-dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Компактные реакции во вьюхе материалов */

  .ah-post-card-meta .ah-reaction-area,
  .ah-reaction-item .ah-reaction-area {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .ah-post-card-meta .ah-reaction-btn,
  .ah-reaction-item .ah-reaction-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fcfcfc;
    cursor: pointer;
    font-size: 13px;
    color: #6c757d;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  }

  .ah-post-card-meta .ah-reaction-btn i,
  .ah-reaction-item .ah-reaction-btn i {
    font-size: 14px;
    margin-right: 4px;
  }

  .ah-post-card-meta .ah-reaction-btn .ah-count,
  .ah-reaction-item .ah-reaction-btn .ah-count {
    font-weight: 600;
    font-size: 13px;
  }

  .ah-post-card-meta .ah-reaction-btn:hover:not(.ah-voted),
  .ah-reaction-item .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
  }

  /* Состояние проголосовавшего пользователя */

  .ah-post-card-meta .ah-reaction-btn.ah-voted,
  .ah-reaction-item .ah-reaction-btn.ah-voted {
    pointer-events: none;
  }

  .ah-post-card-meta .ah-reaction-like.ah-voted,
  .ah-reaction-item .ah-reaction-like.ah-voted {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
  }

  .ah-post-card-meta .ah-reaction-dislike.ah-voted,
  .ah-reaction-item .ah-reaction-dislike.ah-voted {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
  }

  /* Крупный блок реакций на странице материала */

  .ah-big-reaction-block {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .ah-big-reaction-block .ah-reaction-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  }

  .ah-big-reaction-block .ah-reaction-btn i {
    font-size: 2.4rem;
    color: #6c757d;
  }

  .ah-big-reaction-block .ah-reaction-btn .ah-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
  }

  .ah-big-reaction-block .ah-reaction-btn:hover:not(.ah-voted) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
  }

  /* Состояние проголосовавшего пользователя в крупном блоке */

  .ah-big-reaction-block .ah-reaction-like.ah-voted {
    border-color: #dc3545;
    background-color: #fff0f3;
  }

  .ah-big-reaction-block .ah-reaction-like.ah-voted i,
  .ah-big-reaction-block .ah-reaction-like.ah-voted .ah-count {
    color: #dc3545;
    animation: heart-beat 0.3s ease-in-out;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted {
    border-color: #007bff;
    background-color: #e6f0ff;
  }

  .ah-big-reaction-block .ah-reaction-dislike.ah-voted i,
  .ah-big-reaction-block .ah-reaction-dislike.ah-voted .ah-count {
    color: #007bff;
  }

  /* Анимация для лайка */

  @keyframes heart-beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }

    100% {
      transform: scale(1);
    }
  }

  /* Адаптация для мобильных */

  @media (max-width: 576px) {
    .ah-big-reaction-block .ah-reaction-area.ah-dynamic-icons {
      gap: 20px;
    }

    .ah-big-reaction-block .ah-reaction-btn {
      padding: 8px 16px;
    }

    .ah-big-reaction-block .ah-reaction-btn i {
      font-size: 2rem;
    }

    .ah-big-reaction-block .ah-reaction-btn .ah-count {
      font-size: 1.4rem;
    }
  }

  /* ======================== */

  @media (max-width: 739px) {
    a.ah-u-rate-btn {
      width: auto !important;
    }

    a.ah-dislike-btn {
      width: auto !important;
    }

    span.ah-com-like-count {
      top: 6px;
      position: relative;
    }

    .ah-com-likes {
      margin-right: 0px !important;
    }
  }

  /* ===== Variant C updated: clean reply + neon avatar ===== */

  /* Низ комментария */
  .ah-comment.ah-com-item .ah-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* КНОПКА ОТВЕТИТЬ — БЕЗ ВЫДЕЛЕНИЯ */
  .ah-comment .ah-comment-tools {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ah-comment .ah-comment-tools a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    /* убрали padding */
    border-radius: 0;
    /* убрали скругление */
    background: none !important;
    box-shadow: none !important;
    text-decoration: none;
    opacity: .8;
    transition: .15s ease;
  }

  .ah-comment .ah-comment-tools a:hover {
    opacity: 1;
    background: none !important;
  }

  /* ЛЁГКИЙ НЕОН ЗА АВАТАРКОЙ */
  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    z-index: 1;
  }

  .ah-comment i.ah-avatar.ah-fit-cover::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(124, 92, 255, .45), rgba(124, 92, 255, .15), transparent 70%);
    z-index: -1;
    filter: blur(6px);
    opacity: .6;
    transition: .3s ease;
  }

  /* Если комментарий положительный — усиливаем неон */
  .ah-comment.ah-com-item.ah-pos-comm i.ah-avatar.ah-fit-cover::before {
    opacity: .85;
  }

  /* Если отрицательный — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover::before {
    background: radial-gradient(circle, rgba(243, 72, 63, .45), rgba(243, 72, 63, .15), transparent 70%);
    opacity: .85;
  }

  /* Без оценок — без свечения */
  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover::before {
    display: none;
  }

  /* Реакции (как были) */
  .ah-com-likes.ah-reactions-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  a.ah-like-btn.ah-reaction-btn,
  a.ah-dislike-btn.ah-reaction-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 10px 12px !important;
    border-radius: 999px;
    background: rgba(0, 0, 0, .10) !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-decoration: none;
  }

  a.ah-like-btn.ah-reaction-btn:hover:not(.ah-voted),
  a.ah-dislike-btn.ah-reaction-btn:hover:not(.ah-voted) {
    background: rgba(0, 0, 0, .16) !important;
  }

  /* Мобилка */
  @media (max-width:739px) {
    .ah-com-likes.ah-reactions-container {
      width: 100%;
      justify-content: space-between;
    }

    a.ah-like-btn.ah-reaction-btn,
    a.ah-dislike-btn.ah-reaction-btn {
      flex: 1 1 auto;
    }
  }

  /* ===== Мягкий неон вокруг аватарки ===== */

  .ah-comment i.ah-avatar.ah-fit-cover {
    position: relative;
    border-radius: 50%;
    box-shadow:
      0 0 10px rgba(124, 92, 255, .35),
      0 0 20px rgba(124, 92, 255, .15);
    transition: box-shadow .25s ease;
  }

  /* Чуть усиливается при наведении */
  .ah-comment i.ah-avatar.ah-fit-cover:hover {
    box-shadow:
      0 0 14px rgba(124, 92, 255, .45),
      0 0 28px rgba(124, 92, 255, .25);
  }

  /* Для отрицательных — красный неон */
  .ah-comment.ah-com-item.ah-neg-comm i.ah-avatar.ah-fit-cover {
    box-shadow:
      0 0 10px rgba(243, 72, 63, .35),
      0 0 20px rgba(243, 72, 63, .15);
  }

  .ah-comment.ah-com-item.ah-neutral-comm i.ah-avatar.ah-fit-cover {
    box-shadow: none;
  }

  /* ===== Топовая разделительная полоса ===== */

  .ah-comment.ah-com-item {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  /* Убираем старые линии если есть */
  .ah-comment.ah-com-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 92, 255, .6) 20%,
        rgba(124, 92, 255, .9) 50%,
        rgba(124, 92, 255, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(124, 92, 255, .35);
    opacity: .7;
  }

  /* Если комментарий отрицательный — красная полоса */
  .ah-comment.ah-com-item.ah-neg-comm::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(243, 72, 63, .6) 20%,
        rgba(243, 72, 63, .9) 50%,
        rgba(243, 72, 63, .6) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(243, 72, 63, .35);
  }

  /* Без оценок — обычный разделитель */
  .ah-comment.ah-com-item.ah-neutral-comm::after {
    background: var(--line, #e0e0e0);
    box-shadow: none;
    opacity: 1;
    height: 1px;
  }

  /* ===================================
 NATIVE META REACTIONS + DIFFERENT HOVER
=================================== */

  @media (min-width: 740px) {

    .ah-comment.ah-com-item {
      position: relative;
    }

    /* реакции справа в шапке */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      gap: 12px;

      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* базовый стиль кнопок */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px;

      padding: 2px 4px !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;

      opacity: .45;
      transition: transform .18s ease, opacity .18s ease;
    }

    /* иконки */
    .ah-comment.ah-com-item a.ah-like-btn svg,
    .ah-comment.ah-com-item a.ah-dislike-btn svg {
      width: 18px;
      height: 18px;
      transition: transform .18s ease;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
    }

    /* === ЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-like-btn:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.05);
    }

    .ah-comment.ah-com-item a.ah-like-btn:hover svg {
      transform: scale(1.15);
    }

    /* === ДИЗЛАЙК HOVER === */
    .ah-comment.ah-com-item a.ah-dislike-btn:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .ah-comment.ah-com-item a.ah-dislike-btn:hover svg {
      transform: rotate(-8deg) scale(1.08);
    }

    /* чтобы текст не залезал */
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 120px;
    }
  }

  /* мобилку не трогаем */
  @media (max-width:739px) {
    .ah-comment.ah-com-item .ah-comment-text {
      padding-right: 0 !important;
    }
  }

  /* ==================================================
 5PLAY REACTIONS — MOBILE ONLY (LIGHT + DARK)
 ПК НЕ ТРОГАЕМ
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* --- Сброс того, что мешает мобилке (инлайн width/margins и прошлые стили) --- */
    .ah-comment.ah-com-item .ah-com-likes.ah-reactions-container {
      margin-top: 12px !important;
      margin-right: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      justify-content: space-between !important;
      background: none !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
    }

    /* перебиваем инлайны width из HTML (4rem/2rem) */
    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      width: auto !important;
      padding: 10px 12px !important;
      flex: 1 1 0 !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;

      border-radius: 14px !important;
      border: 1px solid transparent !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    /* чтобы +0 и -0 были ровно */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      line-height: 1;
      font-weight: 700;
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      font-weight: 800;
    }

    /* =========================
 DARK THEME (html#h.darktheme)
 (у тебя и так гуд — делаем лишь аккуратнее)
 ========================= */
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(0, 0, 0, .16) !important;
      border-color: rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h.ah-darktheme .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .14) !important;
      border-color: rgba(243, 72, 63, .22) !important;
    }

    /* =========================
 LIGHT THEME (html#h:not(.darktheme))
 убираем серую "плашку" -> делаем чисто и приятно
 ========================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: #ffffff !important;
      border-color: rgba(0, 0, 0, .10) !important;
    }

    /* лёгкий “акцентный” бордер (не заливка!) */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn {
      border-color: rgba(124, 92, 255, .22) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border-color: rgba(243, 72, 63, .20) !important;
    }

    /* нажатие пальцем */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .08) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .07) !important;
    }
  }

  /* =========================================
 MOBILE TWEAK — цифры ближе + мятный светлый
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    /* Цифры максимально рядом с + и - */
    .ah-comment.ah-com-item .ah-com-like-plus,
    .ah-comment.ah-com-item .ah-com-like-minus {
      gap: 2px !important;
      /* было 6-8 — уменьшаем */
    }

    .ah-comment.ah-com-item .ah-like-btn-count,
    .ah-comment.ah-com-item .ah-dislike-btn-count {
      margin-left: 0 !important;
    }

    /* ================= LIGHT THEME ================= */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(124, 92, 255, .08) !important;
      /* мягкий мятный */
      border: 1px solid rgba(124, 92, 255, .22) !important;
      box-shadow: none !important;
    }

    /* дизлайк слегка красноватый, но очень мягкий */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      background: rgba(243, 72, 63, .06) !important;
      border-color: rgba(243, 72, 63, .18) !important;
    }

    /* нажатие */
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      background: rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      background: rgba(243, 72, 63, .12) !important;
    }

  }

  /* =====================================
 MOBILE LIGHT — убрать обводку
 ПК НЕ ТРОГАЕМ
===================================== */
  @media (max-width:739px) {

    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    html#h:not(.ah-darktheme) .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      border: none !important;
      /* убрали обводку */
    }

  }

  /* =========================================
 MOBILE TOUCH ANIMATION (ONLY MOBILE)
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn,
    .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn {
      transition: transform .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* --- ЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active {
      transform: scale(1.06) translateY(-2px);
    }

    html#h .ah-comment.ah-com-item a.ah-like-btn.ah-reaction-btn:active svg {
      animation: mobile-like-pop .25s ease;
    }

    @keyframes mobile-like-pop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.25) rotate(-6deg);
      }

      100% {
        transform: scale(1);
      }
    }

    /* --- ДИЗЛАЙК НАЖАТИЕ --- */
    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active {
      transform: scale(1.04) translateY(1px);
    }

    html#h .ah-comment.ah-com-item a.ah-dislike-btn.ah-reaction-btn:active svg {
      animation: mobile-dislike-shake .25s ease;
    }

    @keyframes mobile-dislike-shake {
      0% {
        transform: rotate(0deg);
      }

      30% {
        transform: rotate(10deg);
      }

      60% {
        transform: rotate(-8deg);
      }

      100% {
        transform: rotate(0deg);
      }
    }

  }

  /* =========================================
 MOBILE — BEAUTIFUL REPLY BUTTON
 ПК НЕ ТРОГАЕМ
========================================= */
  @media (max-width:739px) {

    .ah-comment .ah-comment-tools {
      width: 100%;
      margin-top: 10px;
    }

    .ah-comment .ah-comment-tools a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;

      padding: 8px 14px !important;
      border-radius: 999px !important;

      font-weight: 600;
      font-size: 14px;

      transition: all .18s cubic-bezier(.2, .8, .2, 1);
    }

    /* ================= LIGHT ================= */
    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a {
      background: rgba(124, 92, 255, .08) !important;
      color: #16b764 !important;
    }

    html#h:not(.ah-darktheme) .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(124, 92, 255, .16) !important;
    }

    /* ================= DARK ================= */
    html#h.ah-darktheme .ah-comment .ah-comment-tools a {
      background: rgba(255, 255, 255, .08) !important;
      color: #7C5CFF !important;
    }

    html#h.ah-darktheme .ah-comment .ah-comment-tools a:active {
      transform: scale(.97);
      background: rgba(255, 255, 255, .14) !important;
    }

    /* иконка аккуратнее */
    .ah-comment .ah-comment-tools a svg {
      width: 18px;
      height: 18px;
    }

  }

  /* ======================== */

  /* ===================== 5PLAY COMMENT FORM ===================== */

  .ah-f5-comment-wrap {
    max-width: 980px;
    margin: 30px auto;
  }

  .ah-f5-comment-box {
    background: var(--block-bg);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 0 25px rgba(124, 92, 255, .06);
  }

  .ah-f5-comment-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }

  .ah-f5-comment-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 255, .12);
  }

  .ah-f5-comment-icon svg {
    width: 22px;
    height: 22px;
    fill: #7C5CFF;
  }

  .ah-f5-comment-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--tcolor);
  }

  .ah-f5-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  @media(max-width:600px) {
    .ah-f5-grid {
      grid-template-columns: 1fr;
    }
  }

  .ah-f5-field {
    margin-bottom: 18px;
  }

  .ah-f5-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    opacity: .7;
    color: var(--tcolor);
  }

  /* 🔥 МЯТНАЯ ЛЁГКАЯ ТЕНЬ */
  .ah-f5-field input,
  .ah-f5-field textarea {
    width: 100%;
    border: 0;
    outline: none;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 14px;
    background: rgba(255, 255, 255, .06);
    color: var(--tcolor);
    box-shadow:
      0 2px 6px rgba(124, 92, 255, .15),
      0 0 0 1px rgba(255, 255, 255, .05) inset;
    transition: .2s ease;
  }

  .ah-f5-field input:focus,
  .ah-f5-field textarea:focus {
    box-shadow:
      0 0 0 1px rgba(124, 92, 255, .35) inset,
      0 0 0 3px rgba(124, 92, 255, .15);
  }

  .ah-f5-submit {
    margin-top: 10px;
  }

  .ah-f5-submit button {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(180deg, #7C5CFF, #39b861);
    color: #ffffff;
    cursor: pointer;
    transition: .2s ease;
  }

  .ah-f5-submit button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

  /* ==================================================
 5PLAY: COMMENT FORM — MOBILE LIKE REACTIONS (2 themes)
 только мобилка, ПК не трогаем
================================================== */
  @media (max-width:739px) {

    /* чуть компактнее сама карточка на мобиле */
    .ah-f5-comment-box {
      padding: 18px !important;
      border-radius: 22px !important;
      box-shadow: none !important;
      /* чтобы не спорило с “реакциями” */
    }

    /* поля как “реакции”: мягкая капсула + аккуратная рамка-акцент */
    .ah-f5-field input,
    .ah-f5-field textarea {
      border: 0 !important;
      box-shadow: none !important;
      outline: none !important;

      border-radius: 14px !important;
      padding: 12px 14px !important;
      font-size: 14px !important;

      transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    /* ---------- LIGHT (без darktheme) ---------- */
    html#h:not(.ah-darktheme) .ah-f5-field input,
    html#h:not(.ah-darktheme) .ah-f5-field textarea {
      background: rgba(124, 92, 255, .08) !important;
      /* мятный как в реакциях */
      color: rgba(0, 0, 0, .86) !important;

      /* “бордер” как у реакций: делаем его внутренней линией */
      box-shadow:
        inset 0 0 0 1px rgba(124, 92, 255, .18) !important;
    }

    html#h:not(.ah-darktheme) .ah-f5-field input:focus,
    html#h:not(.ah-darktheme) .ah-f5-field textarea:focus {
      background: rgba(124, 92, 255, .11) !important;
      box-shadow:
        inset 0 0 0 1px rgba(124, 92, 255, .30),
        0 0 0 3px rgba(124, 92, 255, .14) !important;
      /* как “актив” */
    }

    /* placeholder */
    html#h:not(.ah-darktheme) .ah-f5-field input::placeholder,
    html#h:not(.ah-darktheme) .ah-f5-field textarea::placeholder {
      color: rgba(0, 0, 0, .45);
    }

    /* ---------- DARK (darktheme) ---------- */
    html#h.ah-darktheme .ah-f5-field input,
    html#h.ah-darktheme .ah-f5-field textarea {
      background: rgba(0, 0, 0, .16) !important;
      /* как в реакциях тёмной */
      color: rgba(255, 255, 255, .88) !important;

      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
    }

    html#h.ah-darktheme .ah-f5-field input:focus,
    html#h.ah-darktheme .ah-f5-field textarea:focus {
      background: rgba(0, 0, 0, .22) !important;
      box-shadow:
        inset 0 0 0 1px rgba(124, 92, 255, .26),
        0 0 0 3px rgba(124, 92, 255, .16) !important;
    }

    html#h.ah-darktheme .ah-f5-field input::placeholder,
    html#h.ah-darktheme .ah-f5-field textarea::placeholder {
      color: rgba(255, 255, 255, .45);
    }

    /* кнопка отправки — под стиль (мягче, как “акцент”) */
    .ah-f5-submit button {
      border-radius: 14px !important;
      box-shadow: none !important;
    }

    html#h:not(.ah-darktheme) .ah-f5-submit button {
      background: linear-gradient(180deg, rgba(124, 92, 255, .95), rgba(57, 184, 97, .95)) !important;
    }

    html#h.ah-darktheme .ah-f5-submit button {
      background: linear-gradient(180deg, rgba(124, 92, 255, .92), rgba(57, 184, 97, .92)) !important;
    }
  }

  /* ==================================================
 FORCE OVERRIDE: COMMENT FORM MOBILE (LIGHT/DARK)
 ПК НЕ ТРОГАЕМ
 ВСТАВИТЬ САМЫМ ПОСЛЕДНИМ
================================================== */
  @media (max-width:739px) {

    /* 1) УБИРАЕМ СТАРЫЕ ТЕНИ/ФОНЫ У ПОЛЕЙ (иначе не видно изменений) */
    #addcomment .ah-f5-comment-wrap .ah-f5-field input,
    #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
      background: transparent !important;
      box-shadow: none !important;
      border: 0 !important;
      outline: none !important;
      border-radius: 14px !important;
      padding: 12px 14px !important;
      font-size: 14px !important;
    }

    /* 2) СВЕТЛАЯ ТЕМА = html#h без .darktheme (мятный как у лайков) */
    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input,
    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
      background: rgba(124, 92, 255, .08) !important;
      color: rgba(0, 0, 0, .86) !important;
      box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .22) !important;
      /* “бордер” как у реакций */
    }

    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input:focus,
    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea:focus {
      background: rgba(124, 92, 255, .11) !important;
      box-shadow:
        inset 0 0 0 1px rgba(124, 92, 255, .34),
        0 0 0 3px rgba(124, 92, 255, .14) !important;
    }

    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input::placeholder,
    html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea::placeholder {
      color: rgba(0, 0, 0, .45) !important;
    }

    /* 3) ТЁМНАЯ ТЕМА = html#h.darktheme (как тёмные реакции) */
    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input,
    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
      background: rgba(0, 0, 0, .16) !important;
      color: rgba(255, 255, 255, .90) !important;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10) !important;
    }

    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input:focus,
    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea:focus {
      background: rgba(0, 0, 0, .22) !important;
      box-shadow:
        inset 0 0 0 1px rgba(124, 92, 255, .28),
        0 0 0 3px rgba(124, 92, 255, .16) !important;
    }

    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input::placeholder,
    html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea::placeholder {
      color: rgba(255, 255, 255, .46) !important;
    }

    /* 4) КНОПКА — чуть ближе к “реакциям” по виду (только мобилка) */
    #addcomment .ah-f5-comment-wrap .ah-f5-submit button {
      border-radius: 14px !important;
      box-shadow: none !important;
    }
  }

  /* ==================================================
 COMMENT FORM — PC + MOBILE CLEAN VERSION
 без обводки, в двух темах
================================================== */

  /* Убираем полностью старые тени/бордеры */
  #addcomment .ah-f5-comment-wrap .ah-f5-field input,
  #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    transition: background .18s ease, transform .15s ease;
  }

  /* ================= LIGHT ================= */
  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
    background: rgba(124, 92, 255, .08) !important;
    color: rgba(0, 0, 0, .88) !important;
  }

  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input:focus,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea:focus {
    background: rgba(124, 92, 255, .12) !important;
    transform: translateY(-1px);
  }

  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field input::placeholder,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-comment-wrap .ah-f5-field textarea::placeholder {
    color: rgba(0, 0, 0, .45) !important;
  }

  /* ================= DARK ================= */
  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input,
  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea {
    background: rgba(0, 0, 0, .18) !important;
    color: rgba(255, 255, 255, .92) !important;
  }

  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input:focus,
  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea:focus {
    background: rgba(0, 0, 0, .24) !important;
    transform: translateY(-1px);
  }

  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field input::placeholder,
  html#h.ah-darktheme #addcomment .ah-f5-comment-wrap .ah-f5-field textarea::placeholder {
    color: rgba(255, 255, 255, .5) !important;
  }

  /* Кнопка отправки — без лишней рамки */
  #addcomment .ah-f5-comment-wrap .ah-f5-submit button {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 18px !important;
  }

  /* ==================================================
 COMMENT FORM — FIX (PC + MOBILE), 2 themes, NO BORDER
 Вставить САМЫМ ПОСЛЕДНИМ
================================================== */

  /* База: перебиваем любые старые стили полей */
  #addcomment .ah-f5-field input,
  #addcomment .ah-f5-field textarea {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;

    border-radius: 16px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;

    transition: background-color .18s ease, transform .15s ease;
  }

  /* ===== LIGHT (html#h без .darktheme) ===== */
  html#h:not(.ah-darktheme) #addcomment .ah-f5-field input,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-field textarea {
    background: rgba(124, 92, 255, .08) !important;
    /* мятный */
    color: rgba(0, 0, 0, .88) !important;
  }

  html#h:not(.ah-darktheme) #addcomment .ah-f5-field input:focus,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-field textarea:focus {
    background: rgba(124, 92, 255, .12) !important;
    transform: translateY(-1px);
  }

  html#h:not(.ah-darktheme) #addcomment .ah-f5-field input::placeholder,
  html#h:not(.ah-darktheme) #addcomment .ah-f5-field textarea::placeholder {
    color: rgba(0, 0, 0, .45) !important;
  }

  /* ===== DARK (html#h.darktheme) ===== */
  html#h.ah-darktheme #addcomment .ah-f5-field input,
  html#h.ah-darktheme #addcomment .ah-f5-field textarea {
    background: rgba(0, 0, 0, .18) !important;
    color: rgba(255, 255, 255, .92) !important;
  }

  html#h.ah-darktheme #addcomment .ah-f5-field input:focus,
  html#h.ah-darktheme #addcomment .ah-f5-field textarea:focus {
    background: rgba(0, 0, 0, .24) !important;
    transform: translateY(-1px);
  }

  html#h.ah-darktheme #addcomment .ah-f5-field input::placeholder,
  html#h.ah-darktheme #addcomment .ah-f5-field textarea::placeholder {
    color: rgba(255, 255, 255, .50) !important;
  }

  /* Кнопка отправки — чисто, без рамок/лишних теней */
  #addcomment .ah-f5-submit button {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 18px !important;
  }

  /* ======================== */

  .ah-footer-panel {
    position: relative;
  }

  /* по умолчанию скрыт (ПК) */
  .ah-footer-mini-logo {
    display: none;
  }

  /* показываем только на мобильных */
  @media (max-width:768px) {

    .ah-footer-mini-logo {
      display: block;
      position: absolute;
      right: 12px;
      /* было 5px -> стало левее */
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.09;
      /* было 0.12 -> стало прозрачнее */
      pointer-events: none;
      transition: opacity .3s ease, transform .3s ease;
    }

    .ah-footer-panel:hover .ah-footer-mini-logo {
      opacity: 0.18;
      /* было 0.25 -> тоже чуть прозрачнее на hover */
      transform: translateY(-50%) scale(1.05);
    }

    .ah-footer-mini-logo img {
      width: 45px;
      height: auto;
    }
  }

  /* ======================== */

  .ah-img .ah-post__modpaid {
    background-color: #ef4444;
    width: 2.5rem;
    height: 1.25rem;
    border-radius: .625rem;
    color: #fff;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: .875rem;
    font-size: .625rem;
    padding: .1875rem .25rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: .05rem;
    text-indent: .05rem;
    box-shadow: 0 .25rem .5rem 0 rgba(0, 0, 0, 0.07);
  }

  /* ======================== */

  #maxSubOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);

    opacity: 0;
    pointer-events: none;
    transition: .35s;

    z-index: 999999;
  }

  #maxSubOverlay.ah-show {
    opacity: 1;
    pointer-events: auto;
  }

  .ah-maxSubBox {
    width: 92%;
    max-width: 360px;
    border-radius: 14px;
    padding: 18px;
    text-align: center;

    background: #fff;
    color: #111;

    transform: scale(.9) translateY(20px);
    opacity: 0;
    transition: .35s cubic-bezier(.2, .8, .2, 1);
  }

  #maxSubOverlay.ah-show .ah-maxSubBox {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  html.ah-darktheme .ah-maxSubBox {
    background: #1c1c1c;
    color: #fff;
  }

  .ah-maxSubTop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .ah-maxSubIcon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .ah-maxSubTitle {
    font-size: 17px;
    font-weight: 700;
  }

  .ah-maxSubText {
    font-size: 13.5px;
    opacity: .85;
    margin: 12px 0 16px;
  }

  .ah-maxSubActions {
    display: flex;
    gap: 10px;
  }

  .ah-maxBtnSub {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #27a177, #7C5CFF);
    color: #fff;
  }

  .ah-maxBtnClose {
    width: 42px;
    border-radius: 10px;
    border: none;
    background: #eee;
  }

  html.ah-darktheme .ah-maxBtnClose {
    background: #2a2a2a;
    color: #fff;
  }

  @media(min-width:768px) {
    #maxSubOverlay {
      display: none !important;
    }
  }

  /* ======================== */

  #uidLogButton {
    display: none;
  }

  #baseLogForm {
    display: block !important;
  }

  #uidLogButtonAjx {
    display: none;
  }

  #baseLogFormAjx {
    display: block !important;
  }
/* ===== SHARE BLOCK ===== */
.ah-f5-share {
  margin-top: 1rem;
}

.ah-f5-share-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ah-f5-share-label {
  font-size: 13px;
  font-weight: 700;
  opacity: .55;
  white-space: nowrap;
}

.ah-f5-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ah-f5-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
}

.ah-f5-share-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.ah-f5-share-vk  { background: #0077ff; }
.ah-f5-share-ok  { background: #f7931e; }
.ah-f5-share-tg  { background: #26a5e4; }
.ah-f5-share-wa  { background: #25d366; }
.ah-f5-share-rd  { background: #ff4500; }

/* ===== COMMENT FORM (inside .b-cont) ===== */
#addcomment .ah-f5-comment-wrap {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--form-control-brd);
  margin-top: .5rem;
}

#addcomment .ah-f5-comment-box {
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

#addcomment .ah-f5-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

#addcomment .ah-f5-comment-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

#addcomment .ah-f5-comment-icon svg {
  width: 18px;
  height: 18px;
}

#addcomment .ah-f5-comment-head h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.ah-f5-comment-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ah-f5-com-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ah-f5-com-avatar-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7C5CFF;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.ah-f5-com-name {
  font-size: 14px;
  font-weight: 700;
}

#addcomment .ah-f5-comment-body textarea {
  width: 100%;
  resize: vertical;
  min-height: 90px;
  border-radius: 14px;
  border: 1.5px solid var(--form-control-brd);
  background: var(--form-control-bg, rgba(0,0,0,.04));
  color: var(--tcolor);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
  box-shadow: none;
}

#addcomment .ah-f5-comment-body textarea:focus {
  border-color: #7C5CFF;
  box-shadow: 0 0 0 3px rgba(124, 92, 255,.12);
}

#addcomment .ah-f5-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  width: auto;
}

#addcomment .ah-f5-submit button {
  padding: 9px 24px;
  border-radius: 12px;
  border: none;
  background: #7C5CFF;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  width: auto;
}

#addcomment .ah-f5-submit button:hover { opacity: .85; transform: translateY(-1px); }
#addcomment .ah-f5-submit button:disabled { opacity: .5; cursor: default; transform: none; }

.ah-com-chars {
  font-size: 12px;
  opacity: .45;
}

.ah-com-msg {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ah-com-msg.ah-ok    { background: rgba(124, 92, 255,.12); color: #3bb375; }
.ah-com-msg.ah-error { background: rgba(248,113,113,.12); color: #ef4444; }

.ah-f5-comment-guest {
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(124, 92, 255,.06);
  border-radius: 14px;
  border: 1.5px dashed rgba(124, 92, 255,.3);
}

.ah-f5-comment-guest p {
  font-size: 14px;
  opacity: .7;
  margin-bottom: 14px;
  font-weight: 600;
}

/* Latest Comments */
.ah-lc-list { display:flex; flex-direction:column; gap:.5rem; }
.ah-lc-item { display:flex; align-items:flex-start; gap:.75rem; padding:.875rem; background:var(--block-bg); border:1.5px solid var(--line); border-radius:.75rem; }
.ah-lc-item.ah-lc-good { background:rgba(74,222,128,.08); border-color:rgba(74,222,128,.35); }
.ah-lc-item.ah-lc-bad  { background:rgba(239,68,68,.08);  border-color:rgba(239,68,68,.35); }
.ah-lc-avatar { flex-shrink:0; }
.ah-lc-avatar img { width:36px; height:36px; border-radius:50%; object-fit:cover; display:block; }
.ah-lc-body { flex:1; min-width:0; }
.ah-lc-meta { display:flex; align-items:center; gap:.4rem; flex-wrap:wrap; margin-bottom:.3rem; font-size:.85em; }
.ah-lc-author { font-weight:700; color:var(--tcolor); }
.ah-lc-app { color:var(--lcolor); text-decoration:none; font-weight:600; }
.ah-lc-app:hover { text-decoration:underline; }
.ah-lc-date { margin-left:auto; white-space:nowrap; color:var(--entry-info); font-size:.8em; }
.ah-lc-text { font-size:.875em; line-height:1.5; word-break:break-word; color:var(--tcolor); }
.ah-lc-votes { display:flex; gap:.5rem; margin-top:.5rem; }
.ah-lc-vote-btn { display:inline-flex; align-items:center; gap:.3rem; padding:.25rem .6rem; border-radius:999px; border:1.5px solid var(--line); background:transparent; color:var(--entry-info); font-size:.8em; font-weight:600; cursor:pointer; transition:border-color .15s,color .15s,background .15s; font-family:var(--font); }
.ah-lc-vote-btn:hover:not(:disabled) { border-color:var(--lcolor); color:var(--lcolor); }
.ah-lc-vote-btn.ah-lc-voted { border-color:var(--lcolor); color:var(--lcolor); background:rgba(var(--lcolor-rgb,74,222,128),.1); }
.ah-lc-vote-btn:disabled { opacity:.45; cursor:default; }
.ah-lc-vote-like.ah-lc-voted  { border-color:#7C5CFF; color:#7C5CFF; }
.ah-lc-vote-dislike.ah-lc-voted { border-color:#f9563d; color:#f9563d; }
.ah-lc-app-img { flex-shrink:0; }
.ah-lc-app-img img { width:48px; height:48px; border-radius:.5rem; object-fit:cover; display:block; }

/* Pagination (shared with category) */
.ah-pagination-wrap { padding:20px 0 36px; }
.ah-pagination { display:flex; align-items:center; justify-content:center; gap:5px; flex-wrap:nowrap; overflow:hidden; }
.ah-pg-item,.ah-pg-btn { display:flex; align-items:center; justify-content:center; flex-shrink:0; min-width:38px; height:38px; padding:0 6px; border-radius:10px; font-size:.875rem; font-weight:700; color:var(--tcolor); text-decoration:none; border:1.5px solid var(--line); background:var(--block-bg); transition:border-color .15s,color .15s,background .15s; cursor:pointer; font-family:var(--font); white-space:nowrap; }
.ah-pg-item:hover,.ah-pg-btn:hover { border-color:var(--lcolor); color:var(--lcolor); }
.ah-pg-item.ah-active { background:var(--lcolor); border-color:var(--lcolor); color:#fff; pointer-events:none; }
.ah-pg-btn.ah-pg-disabled { opacity:.4; pointer-events:none; }
.ah-pg-btn svg { width:18px; height:18px; flex-shrink:0; }
.ah-pg-dots { display:flex; align-items:center; justify-content:center; flex-shrink:0; min-width:30px; height:38px; color:var(--entry-info); font-weight:700; font-size:.9rem; letter-spacing:1px; }
.ah-pg-md-hide { display:flex; }
.ah-pg-md-only { display:none; }
@media(max-width:540px){
  .ah-pg-md-hide { display:none; }
  .ah-pg-md-only { display:flex; }
  .ah-pg-item,.ah-pg-btn { min-width:34px; height:34px; font-size:.8125rem; border-radius:8px; }
  .ah-pg-dots { min-width:22px; height:34px; font-size:.8rem; }
  .ah-pagination { gap:4px; }
  .ah-lc-app-img { display:none; }
  .ah-lc-date { margin-left:0; }
}
