/* ====== User Details Block (updated, with typography) ====== */

/* Базовая карточка из макета: скругление 32px и двойная тень */
.card,
.card * { box-sizing: border-box; }

.card {
  background: #ffffff;
  border-radius: 32px;
  padding: var(--padding-15, 24px);
  /* В макете фиксированная высота 290px. Для адаптивности отключайте через .card--auto */
  height: 290px;
  position: relative;
  box-shadow: var(--card-shadow-box-shadow,
    0px 2px 16px 0px rgba(0, 0, 0, 0.06),
    0px -10px 22px 0px rgba(0, 0, 0, 0.03));
  overflow: hidden;
}

/* Авто-высота, если контент может быть выше 290px */
.card--auto { height: auto; overflow: visible; }

/* ====== Грид страницы профиля ====== */
.cards-grid--profile {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card--full { grid-column: 1 / -1; }
.span-4     { grid-column: span 4; }   /* 3 колонки в ряду */
.span-6     { grid-column: span 6; }   /* 2 колонки 50/50 */

@media (max-width: 991px) {
  .cards-grid--profile { grid-template-columns: 1fr; }
  .card--full, .span-4, .span-6 { grid-column: 1 / -1; }
}

/* ====== Шапка объединённой карточки ====== */
.profile-top__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

/* Информация идёт СТРОГО вниз одной колонкой */
.profile-top__info {
  display: flex;
  flex-direction: column;
  gap: 10px; /* интервалы между строками */
}

/* Запись-строка: иконка + метка + значение */
.profile_row {
  display: flex;
  align-items: flex-start;   /* многострочное значение по верху */
  gap: 8px;
  line-height: 1.4;
  flex-wrap: wrap;           /* перенос внутри строки */
}

/* Иконка фиксированной ширины */
.profile_row img { width: 18px; height: 18px; flex: 0 0 18px; }

/* Метка и значение — обычный текст по ТЗ */
.profile_row span,
.profile_row b {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #000000;
}
.profile_row b {
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

/* ====== Типографика заголовков по ТЗ ====== */
.profile_stat_header,
.stats__title {
  font-size: 2.8rem;
  line-height: 3.4rem;
  font-family: "t2_serif-bold", serif;
  font-weight: bold;
  color: #000000;
  text-align: left;
  padding: 0 0 8px 0;
}

/* ====== Статистика (таблица .stats — как в макете) ====== */
.card .stats {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* ровные столбцы */
}

.stats__icons th { padding: 0 0 10px 0; }
.stats__icon-cell { text-align: right; }
.stats__icon { width: 22px; height: 22px; display: inline-block; }

/* строки */
.stats__row td { padding: 8px 0; }

/* подписи слева — обычный текст по ТЗ */
.stats__label {
  text-align: left;
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #000000;
  white-space: nowrap;
}

/* числа справа — обычный текст по ТЗ + фикс ширины колонок */
.stats__num {
  text-align: right;
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #000000;
  width: 84px;          /* подровнять при необходимости */
  white-space: nowrap;
}

/* адаптив для очень узких экранов */
@media (max-width: 480px) {
  .stats__title { font-size: 2.2rem; line-height: 2.6rem; }
  .stats__label, .stats__num { font-size: 18px; }
  .stats__num { width: 68px; }
}

/* ====== (legacy) минимальные стили старой таблицы статистики,
   если где-то ещё используется profile_stat_table */
.card .profile_stat_table { width: 100%; border-collapse: collapse; }
.card .profile_stat_table td { vertical-align: middle; padding: 6px 0; }
.card .profile_stat_table img { display: inline-block; width: 20px; height: 20px; }

/* ====== ThanksSection ====== */
.thanks-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ====== Рейтинги ====== */
/* ===== RATING: типографика и аккуратные отступы ===== */
/* таблица рейтингов на всю ширину */
.profile_rating_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* заголовок рейтинга — растягиваем и не даём рваться строкам некрасиво */
.profile_rating_name {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* строки "Место" и "Очки" — как раньше */
.profile_rating_place,
.profile_rating_points {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.2;
  color: #000000;
}
/* Метка слева ("Место:", "Очки:") немного светлее */
.profile_rating_place > span:first-child,
.profile_rating_points > span:first-child {
  color: #666666;
}


/* ====== Totals (игра) ====== */
.game-totals {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.game-totals .skill__item2 { display: grid; gap: 4px; }
.game-totals .skill__item3 { 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

/* Увеличиваем ширину колонки с телекоинами */
.game-totals .skill__item3:nth-child(2) {
  flex: 1.2;
}
.game-totals .skill__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-totals .skill__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.game-totals .skill__icon .thanks-icon {
  font-size: 18px;
  line-height: 1;
}
.game-totals .skill__name,
.game-totals .skill__value {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  color: #000000;
  text-align: center;
}
/* GameTotals: шрифт для названия и значения */
.game-totals .skill__name {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #000000;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.game-totals .skill__name-text {
  display: inline-block;
}

.game-totals .skill__value {
  font-family: "t2_textsans_bold", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 1.2;
}

/* Кнопка информации в GameTotals */
.game-totals .skill__info-btn {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #666;
  color: white;
  border: none;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  margin-left: 4px;
  position: relative;
  vertical-align: middle;
}

.game-totals .skill__info-btn:hover {
  background-color: #333;
}

.game-totals .skill__tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.3;
  min-width: 200px;
  max-width: 250px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-bottom: 8px;
}

.game-totals .skill__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.game-totals .skill__info-btn:hover .skill__tooltip {
  opacity: 1;
  visibility: visible;
}

/* ====== Таблица истории ====== */
.table-responsive { padding-left: 0; }

/* ====== Доп. утилиты ====== */
.muted {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #808080;
}

/* Ряд-герой: 2 колонки — 3/4 и 1/4 */
.row-hero {
  display: grid;
  grid-template-columns: 3fr 1fr; /* левая — 75%, правая — 25% */
  gap: 16px;
  margin-bottom: 16px;
}

/* Правая колонка — стек из двух карточек */
.col-stack {
  display: grid;
  grid-auto-rows: min-content;
  gap: 16px;
}

/* Прогресс-статус (SocialActivityCard) *//* Progress / SocialActivityCard */
.progress-card { display: flex; flex-direction: column; gap: 8px; }

/* заголовок: число/иконка */
.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* число слева */
.progress-number {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #000000;
}

/* кнопка-алерт справа */
.progress-alert {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  padding: 0;
}

/* тултип (по умолчанию скрыт) */
.progress-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);

  /* было: max-width: 320px; — убираем/переопределяем */
  inline-size: clamp(300px, 42vw, 460px); /* ширина тултипа */
  white-space: normal;                     /* переносы по пробелам */
  word-break: break-word;                  /* если попадётся длинное слово */

  background: #2b2b2b;
  color: #ffffff;
  font-family: "t2_textsans_regular", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s;
  z-index: 10;
  pointer-events: none;
}

/* хвостик останется у правого края */
.progress-tooltip::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: #2b2b2b;
}

/* показывать при hover и при фокусе */
.progress-alert:hover .progress-tooltip,
.progress-alert:focus .progress-tooltip,
.progress-alert:focus-visible .progress-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* прогресс-бар */
.progress-bar {
  height: 8px; border-radius: 8px;
  background: #f2f2f2; position: relative; overflow: hidden;
}
.progress-fill {
  position: absolute; inset: 0 auto 0 0;
  background: #0000ff; border-radius: 8px; width: 0%;
}

/* подпись под полоской */
.progress-label {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal; font-size: 14px;
  color: #808080;
}

/* на очень узких экранах не вылезаем за край */
@media (max-width: 480px) {
  .progress-tooltip { inline-size: calc(100vw - 48px); }
}


/* Адаптив: на узких — колонки в столбик */
@media (max-width: 991px) {
  .row-hero { grid-template-columns: 1fr; }
}

/* Контейнер с тайлами внутри карточки: две строки одинаковой высоты */
.thanks-section {
  height: 100%;                     /* занять всю высоту карточки */
  display: grid;
  grid-template-rows: 1fr 1fr;      /* две равные строки */
  grid-template-columns: 1fr;       /* одна колонка */
  gap: 16px;                        /* тот же отступ между тайлами */
}

/* Тайлы — внешний стиль как был, добавляем только высоту */
.thanks-tile {
  width: 100%;
  height: 100%;                     /* занять всю высоту своей строки (1/2 карточки минус gap) */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #F9FAFB;
  border-radius: 24px;
  text-decoration: none;
  color: #000;
  box-shadow: none;
}

/* Иконка и заголовок — без изменений */
.thanks-tile__icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: #E3E6E9;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 40px;
}
.thanks-tile__icon img { width: 22px; height: 22px; }

.thanks-tile__title {
  font-family: "t2_serif-bold", serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2;
  color: #000;
  white-space: normal;
}
.thanks-tile__count { white-space: nowrap; }

/* Блок истории: увеличенный отступ после заголовка */
.history-card .profile_stat_header {
  margin: 0 0 24px;  /* было почти без отступа */
}

/* На случай, если внутри есть собственные отступы/сбросы */
.history-card .table-responsive {
  margin-top: 0;    /* управляем отступом только заголовком */
}

/* ====== Left Column Background (только для ViewProfile) ====== */
.view-profile .row > .col-md-6:first-child {
  background-color: #f5f5fa;
  padding-left: 12px;
  min-height: 400px; /* Минимальная высота для предотвращения "прыжков" */
}

/* ====== Thanks Button Info ====== */
.thanks-info-btn {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #666;
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  font-size: 12px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

/* Стили для кнопки благодарности - убираем margin */
.thanks-btn {
  margin: 0 !important;
}

/* Серая кнопка когда монет нет */
.thanks-btn.disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* Стили для контейнера с информацией о монетах */
.thanks-coins-info {
  font-size: 12px !important;
  color: #666 !important;
  line-height: 1.3 !important;
  margin: 2px 0 0 0 !important;
  text-align: center !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  white-space: normal !important;
  display: block !important;
  width: 100% !important;
}

.thanks-coins-info span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 20px;
}

.thanks-info-btn:hover {
  background: #333;
}

/* тултип для кнопки благодарности */
.thanks-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  
  inline-size: clamp(280px, 40vw, 400px);
  white-space: normal;
  word-break: break-word;
  
  background: #2b2b2b;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  
  z-index: 9999;
  pointer-events: none;
}

/* хвостик тултипа */
.thanks-tooltip::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: #2b2b2b;
}

/* показывать при hover */
.thanks-info-btn:hover .thanks-tooltip,
.thanks-info-btn:focus .thanks-tooltip,
.thanks-info-btn:focus-visible .thanks-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* на очень узких экранах не вылезаем за край */
@media (max-width: 480px) {
  .thanks-tooltip { 
    inline-size: calc(100vw - 48px); 
  }
}

/* ====== Game Stats Footer ====== */
.game-stats-footer {
  background: #EEEEEE;
  margin: 0;
  padding: 12px 0;
  /* Компенсируем отступы Bootstrap колонок */
  margin-left: -15px;
  margin-right: -15px;
}

.game-stats-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 1fr;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.game-stat-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.game-stat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  flex-shrink: 0;
}

.game-stat-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.game-stat-icon .thanks-icon,
.game-stat-icon .ksa-icon {
  font-size: 18px;
}

.game-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0px;
  flex: 1;
}

/* Кнопка информации в game-stats-footer */
.game-stat-info-btn {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #666;
  color: white;
  border: none;
  font-size: 9px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  margin-left: 4px;
  position: relative;
  vertical-align: middle;
}

.game-stat-info-btn:hover {
  background-color: #333;
}

.game-stat-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.3;
  min-width: 180px;
  max-width: 220px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-bottom: 6px;
}

/* Адаптивное позиционирование для game-stat-tooltip */
.game-stat-info-btn {
  position: relative;
}

/* Базовые стили для предотвращения выхода за границы */
.game-stat-tooltip {
  max-width: calc(100vw - 20px) !important;
  word-wrap: break-word;
  white-space: normal;
}

/* Если тултип выходит за правую границу экрана */
@media (max-width: 768px) {
  .game-stat-tooltip {
    left: auto !important;
    right: 0 !important;
    transform: translateX(0) !important;
    max-width: calc(100vw - 40px) !important;
  }
}

/* Если тултип выходит за верхнюю границу, показываем его снизу */
@media (max-height: 500px) {
  .game-stat-tooltip {
    bottom: auto !important;
    top: 100% !important;
    margin-bottom: 0 !important;
    margin-top: 6px !important;
  }
  
  .game-stat-tooltip::after {
    top: auto !important;
    bottom: 100% !important;
    border-top-color: transparent !important;
    border-bottom-color: #333 !important;
  }
}

.game-stat-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #333;
}

.game-stat-info-btn:hover .game-stat-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Стандартизированные стили для всех tooltip */
.skill__tooltip,
.game-stat-tooltip,
.thanks-tooltip,
.progress-tooltip {
  font-family: "t2_textsans_regular", sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  position: relative !important;
  z-index: 9999 !important;
}

/* Специальные стили для тултипов в ViewProfile - используем fixed позиционирование */
.game-stat-card .game-stat-tooltip,
.game-stat-card .game-stat-tooltip--tiny,
.progress-card .progress-tooltip,
.skill__item3 .game-stat-tooltip--tiny,
.thanks-block .thanks-tooltip {
  position: fixed !important;
  z-index: 99999 !important;
  max-width: 300px !important;
  min-width: 200px !important;
  width: auto !important;
}

/* Позиционирование стрелочек для fixed тултипов */
.game-stat-card .game-stat-tooltip::after,
.game-stat-card .game-stat-tooltip--tiny::after,
.progress-card .progress-tooltip::after,
.skill__item3 .game-stat-tooltip--tiny::after,
.thanks-block .thanks-tooltip::after {
  left: var(--arrow-position, 50%) !important;
  transform: translateX(-50%) !important;
  right: auto !important;
}

/* Специальные стили для больших стрелочек (xlarge размер) */
.progress-card .progress-tooltip::after {
  border-width: 4px !important; /* Уменьшаем размер стрелочки для xlarge */
}

/* Адаптивное позиционирование для всех tooltip */
.skill__info-btn,
.thanks-info-btn,
.progress-alert {
  position: relative;
}

/* Базовые стили для предотвращения выхода за границы */
.skill__tooltip,
.thanks-tooltip,
.progress-tooltip {
  max-width: calc(100vw - 20px) !important;
  word-wrap: break-word;
  white-space: normal;
}

/* Если тултип выходит за правую границу экрана */
@media (max-width: 768px) {
  .skill__tooltip,
  .thanks-tooltip,
  .progress-tooltip {
    left: auto !important;
    right: 0 !important;
    transform: translateX(0) !important;
    max-width: calc(100vw - 40px) !important;
  }
}

/* Если тултип выходит за верхнюю границу, показываем его снизу */
@media (max-height: 500px) {
  .skill__tooltip,
  .thanks-tooltip,
  .progress-tooltip {
    bottom: auto !important;
    top: 100% !important;
    margin-bottom: 0 !important;
    margin-top: 6px !important;
  }
  
  .skill__tooltip::after,
  .thanks-tooltip::after,
  .progress-tooltip::after {
    top: auto !important;
    bottom: 100% !important;
    border-top-color: transparent !important;
    border-bottom-color: #333 !important;
  }
}

/* Специальные стили для tiny размера tooltip */
.game-stat-tooltip--tiny {
  min-width: 200px !important;
  max-width: 300px !important;
  font-size: 12px !important;
  padding: 12px !important;
  line-height: 16px !important;
  border-radius: 8px !important;
  font-weight: 400 !important;
  max-width: calc(100vw - 20px) !important;
  word-wrap: break-word;
  white-space: normal;
  position: relative !important;
  z-index: 9999 !important;
}

/* Стили для tiny кнопок - увеличенный размер */
.game-stat-info-btn[style*="width: 16px"] {
  width: 16px !important;
  height: 16px !important;
  font-size: 10px !important;
}

/* Адаптивные стили для tiny tooltip */
@media (max-width: 768px) {
  .game-stat-tooltip--tiny {
    max-width: calc(100vw - 40px) !important;
    min-width: 120px !important;
  }
}

/* Стили для tooltip, показываемого снизу */
.tooltip-below::after {
  top: auto !important;
  bottom: 100% !important;
  border-top-color: transparent !important;
  border-bottom-color: #333 !important;
}

/* Стили для всех типов тултипов, показываемых снизу */
.game-stat-tooltip.tooltip-below::after,
.game-stat-tooltip--tiny.tooltip-below::after,
.skill__tooltip.tooltip-below::after,
.thanks-tooltip.tooltip-below::after,
.progress-tooltip.tooltip-below::after {
  top: auto !important;
  bottom: 100% !important;
  border-top-color: transparent !important;
  border-bottom-color: #333 !important;
}





.game-stat-label {
  font-family: "t2_textsans_regular", sans-serif;
  font-weight: normal;
  font-size: 11px;
  color: #666666;
  line-height: 1.2;
}

.game-stat-value {
  font-family: "t2_textsans_bold", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 1.2;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  .view-profile .row > .col-md-6:first-child {
    min-height: 300px; /* Меньшая минимальная высота на мобильных */
  }
  
  .game-stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 12px;
    max-width: 100%;
  }
  
  .game-stat-card {
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .game-stats-container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 12px;
    max-width: 100%;
  }
  
  .game-stat-card {
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .game-stats-footer {
    margin-top: 0;
    padding: 10px 0;
    /* Компенсируем отступы Bootstrap колонок на мобильных */
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .game-stat-card {
    padding: 14px 16px;
    gap: 10px;
  }
  
  .game-stat-icon {
    width: 36px;
    height: 36px;
  }
  
  .game-stat-icon img {
    width: 20px;
    height: 20px;
  }
  
  .game-stat-icon .thanks-icon {
    font-size: 20px;
  }
  
  .game-stat-label {
    font-size: 13px;
  }
  
  .game-stat-value {
    font-size: 18px;
  }
}

