/*
 * Страница аккаунта: галерея скриншотов с листанием и просмотр фото.
 *
 * Раскладка (ПК, слева вверху):
 *   ┌──────────────────────────────────────────────┐
 *   │      большой кадр + стрелки влево/вправо      │
 *   ├──────────────────────────────────────────────┤
 *   │     миниатюры — листаются вместе с кадром     │
 *   └──────────────────────────────────────────────┘
 *   под ними — блок покупки: описание, цена, «Купить»
 *
 * Кадры аккаунтов широкие (1618×654, ~2.5:1), поэтому большой кадр показываем
 * целиком (object-fit: contain) на размытой подложке из него же: обрезки нет,
 * а поля по бокам не выглядят пустыми.
 *
 * Дальше по файлу: миниатюры, стрелки, полноэкранный просмотр (magnific-popup).
 * На телефоне раскладка своя: кадр во всю ширину, миниатюры листаются пальцем.
 */

/* ============================================================
   1. Скрин слева вверху + блок покупки: одна карточка
   ============================================================ */
@media (min-width: 1101px) {
  .game__wrapper.d-flex-wrap {
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  .game__wrapper-left,
  .game__wrapper-right {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    align-self: stretch;
  }

  .game__wrapper-left {
    padding-right: 0 !important;
  }

  /* Скрытый статичный постер: его место заняла галерея */
  .game__wrapper-left > .game__img {
    display: none !important;
  }

  /* Блоки идут отдельными карточками, как нижние: галерея → блок покупки →
     описание. Отступ между ними — 20px, как у темы для блока покупки. */
  .game__wrapper-right .game__main {
    margin-top: 0 !important;
    /* margin-bottom оставляем темой (20px) — отступ до «Описания аккаунта» */
    border-radius: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
  }

  /* Нижние блоки («Описание аккаунта», «Скидка», «Об аккаунте» и далее) —
     тот же отступ, чтобы ритм страницы был ровным */
  .game__wrapper-left > .game__specs-card-dark,
  .game__wrapper-right > .game__specs-card-dark,
  .game__specs-card-dark {
    margin-bottom: 20px !important;
  }

  /* «Описание аккаунта»: шесть строк укладываем в две колонки по три —
     слева «Сервер, Первородки, Количество 6★», справа «Добавлен, Гарантия,
     Привязка почты». На телефоне остаётся один столбец (правило ниже). */
  .game__specs-card-dark .game__specs-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(3, auto) !important;
    gap: 10px 18px !important;
    align-items: stretch !important;
  }

  .game__specs-card-dark .game__specs-item {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Длинные значения («Глобал», «23 янв 2026») переносим, а не растягиваем */
  .game__specs-card-dark .game__specs-content {
    min-width: 0;
  }

  .game__specs-card-dark .game__specs-val {
    overflow-wrap: anywhere;
  }
}

/* ============================================================
   2. Галерея: большой кадр, стрелки, счётчик, миниатюры
   ============================================================ */
.sw-gallery {
  width: 100%;
  /* отдельная карточка: отступ до блока покупки такой же, как у блоков ниже */
  margin: 0 0 20px;
}

/* Сцена: фиксированная пропорция, кадр виден целиком */
.sw-gallery__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1618 / 654;
  min-height: 240px;
  max-height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: #0e0e13;
}

/* Размытая подложка из того же кадра: заполняет поля по бокам */
.sw-gallery__blur {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(26px) saturate(.85) brightness(.5);
  pointer-events: none;
  z-index: 1;
}

.sw-gallery__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(10, 10, 14, .35);
  pointer-events: none;
}

/* Основной кадр: целиком, по центру */
.sw-gallery__main {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  cursor: zoom-in;
  transition: filter .2s ease;
}

.sw-gallery__main:hover {
  filter: brightness(1.06);
}

/* Стрелки листания — по бокам кадра, спокойные и полупрозрачные */
.sw-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(20, 20, 26, .66) center / 42% 42% no-repeat;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
  cursor: pointer;
  opacity: .85;
  transition: background-color .2s ease, opacity .2s ease, transform .16s ease;
}

.sw-gallery__arrow:hover {
  opacity: 1;
  background-color: rgba(255, 198, 7, .92);
  border-color: rgba(255, 198, 7, .92);
}

.sw-gallery__arrow:active {
  transform: scale(.96);
}

.sw-gallery__arrow--prev {
  left: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f4'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.sw-gallery__arrow--next {
  right: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f4'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

.sw-gallery__arrow[disabled] {
  opacity: .25;
  cursor: default;
  background-color: rgba(20, 20, 26, .5);
}

/* Счётчик кадров — в углу кадра */
.sw-gallery__counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 20, 26, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #f0f0f4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.sw-gallery__counter b {
  color: #ffc607;
}

/* Кнопка «открыть в полный экран» — в правом верхнем углу кадра */
.sw-gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(20, 20, 26, .66) center / 46% 46% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0f0f4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E");
  cursor: pointer;
  opacity: .85;
  transition: background-color .2s ease, opacity .2s ease;
}

.sw-gallery__zoom:hover {
  opacity: 1;
  background-color: rgba(255, 198, 7, .92);
  border-color: rgba(255, 198, 7, .92);
}

/* ---------- Миниатюры: отдельная карточка под кадром ---------- */
.sw-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px;
  /* отступ сверху отделяет полосу миниатюр от большого кадра */
  margin: 12px 0 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
  /* тот же фон, рамка и размытие, что у блока с ценой */
  background: rgba(22, 25, 32, .70);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.sw-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.sw-gallery__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .25);
  border-radius: 3px;
}

.sw-gallery__thumb {
  flex: 0 0 auto;
  width: 132px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #14141a;
  overflow: hidden;
  cursor: pointer;
  opacity: .62;
  transition: opacity .2s ease, border-color .2s ease, transform .16s ease;
}

.sw-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-gallery__thumb:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.sw-gallery__thumb.is-active {
  opacity: 1;
  border-color: #ffc607;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}

.sw-gallery__thumb:focus-visible {
  outline: 2px solid #ffc607;
  outline-offset: 2px;
}

/* ============================================================
   3. Просмотр фото в полный экран (.mfp-sw-gallery)
   ============================================================ */
.mfp-sw-gallery.mfp-bg {
  background: #08080b;
  opacity: .94;
  /* Поверх всего сайта: у темы шапка и баннер имеют z-index до 999999 */
  z-index: 999990 !important;
}

.mfp-sw-gallery.mfp-wrap {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999991 !important;
}

.mfp-sw-gallery .mfp-container {
  width: 100% !important;
  height: 100% !important;
  padding: 70px 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}

.mfp-sw-gallery .mfp-container:before {
  display: none !important;
}

.mfp-sw-gallery .mfp-content,
.mfp-sw-gallery .mfp-image-holder .mfp-content {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mfp-sw-gallery .mfp-figure,
.mfp-sw-gallery .mfp-figure figure {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  margin: 0 !important;
}

.mfp-sw-gallery .mfp-figure:after,
.mfp-sw-gallery .mfp-figure small {
  display: none !important;
}

/* Само фото: вписывается в экран, ничего не перекрывает */
.mfp-sw-gallery img.mfp-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 200px) !important;
  max-height: calc(100vh - 150px) !important;
  padding: 0 !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .7);
  background: #101015;
}

/* Подпись и счётчик кадров */
.mfp-sw-gallery .mfp-bottom-bar {
  position: static !important;
  margin: 12px 0 0 !important;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 26, .82);
  border: 1px solid rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto !important;
  max-width: 100%;
}

.mfp-sw-gallery .mfp-title {
  color: #e9e9ef;
  font-size: 13px;
  line-height: 1.35;
  padding-right: 0;
  text-align: left;
}

.mfp-sw-gallery .mfp-counter {
  position: fixed !important;
  top: 16px !important;
  left: 18px !important;
  right: auto !important;
  padding: 8px 14px !important;
  border-radius: 999px;
  background: rgba(28, 28, 34, .85);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #ffc607 !important;
  font-size: 13px !important;
  font-weight: 700;
  z-index: 999993;
}

/* Стрелки: по бокам, на уровне фото, снимок не перекрывают */
.mfp-sw-gallery .mfp-arrow {
  position: fixed !important;
  top: 50% !important;
  bottom: auto !important;
  width: 54px !important;
  height: 54px !important;
  margin: -27px 0 0 !important;
  border-radius: 50% !important;
  background: rgba(20, 20, 26, .74) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4) !important;
  opacity: .88;
  z-index: 999993;
  transition: background .2s ease, opacity .2s ease;
}

.mfp-sw-gallery .mfp-arrow-left {
  left: 18px !important;
  right: auto !important;
}

.mfp-sw-gallery .mfp-arrow-right {
  right: 18px !important;
  left: auto !important;
}

/* Свои стрелки-«шевроны» вместо стандартных полосок magnific */
.mfp-sw-gallery .mfp-arrow:before,
.mfp-sw-gallery .mfp-arrow:after {
  border: 0 !important;
  margin: 0 !important;
}

.mfp-sw-gallery .mfp-arrow:after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 46% 46%;
}

.mfp-sw-gallery .mfp-arrow-left:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f4'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.mfp-sw-gallery .mfp-arrow-right:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f4'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

.mfp-sw-gallery .mfp-arrow:hover {
  background: rgba(255, 198, 7, .92) !important;
  border-color: rgba(255, 198, 7, .92) !important;
  opacity: 1;
}

.mfp-sw-gallery .mfp-arrow-left:hover:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23241d09'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.mfp-sw-gallery .mfp-arrow-right:hover:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23241d09'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

/* Крестик закрытия — круглый, в правом верхнем углу */
.mfp-sw-gallery .mfp-close,
.mfp-sw-gallery .mfp-image-holder .mfp-close {
  position: fixed !important;
  top: 16px !important;
  right: 18px !important;
  left: auto !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(28, 28, 34, .85) !important;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #f0f0f4 !important;
  font-size: 26px !important;
  line-height: 42px !important;
  text-align: center;
  opacity: .92;
  z-index: 999994;
  transition: background .2s ease, color .2s ease;
}

.mfp-sw-gallery .mfp-close:hover {
  background: #ffc607 !important;
  color: #241d09 !important;
  opacity: 1;
}

.mfp-sw-gallery .mfp-preloader {
  color: #c9c9d2;
}

/* ============================================================
   4. Телефон и планшет: кадр во всю ширину, миниатюры пальцем
   ============================================================ */
@media (max-width: 1100px) {
  .sw-gallery__stage {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: 62vh;
    border-radius: 14px;
  }

  .sw-gallery__arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .sw-gallery__arrow--prev {
    left: 8px;
  }

  .sw-gallery__arrow--next {
    right: 8px;
  }

  .sw-gallery__counter {
    left: 8px;
    bottom: 8px;
    font-size: 11px;
    padding: 4px 10px;
  }

  .sw-gallery__zoom {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .sw-gallery__thumbs {
    gap: 8px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .sw-gallery__thumb {
    width: 104px;
    height: 50px;
  }

  .mfp-sw-gallery .mfp-container {
    padding: 64px 12px 84px !important;
  }

  .mfp-sw-gallery img.mfp-img {
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 170px) !important;
    border-radius: 10px;
  }

  .mfp-sw-gallery .mfp-bottom-bar {
    margin-top: 10px !important;
    font-size: 12px;
  }

  .mfp-sw-gallery .mfp-arrow {
    top: auto !important;
    bottom: 22px !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
  }

  .mfp-sw-gallery .mfp-arrow-left {
    left: 16px !important;
  }

  .mfp-sw-gallery .mfp-arrow-right {
    right: 16px !important;
  }
}

/* ============================================================
   5. Рекомендации (только ПК): карточка как в каталоге
   Состав: название → скрин → монстры → «Гарантия / наличие» + цена → кнопка.
   Всё лишнее убрано.
   ============================================================ */
@media (min-width: 1101px) {
  /* Карточка: тот же фон, рамка и скругление, что у карточек каталога */
  body .game__recommendations-list > .cases__item {
    background: rgba(30, 30, 30, .45) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .22) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  body .game__recommendations-list > .cases__item:hover {
    border-color: rgba(255, 198, 7, .45) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .32) !important;
  }

  body .game__recommendations .cases__link {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 14px !important;
    box-sizing: border-box;
  }

  /* Название аккаунта — как подпись карточки в каталоге */
  body .game__recommendations .cases__name_2 {
    order: 1;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: #f2f2f6 !important;
    text-align: left !important;
    min-height: 2.8em !important;
    height: auto !important;
    max-height: 2.8em;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
  }


  /* Украшение темы под названием (жёлтая полоса с черепами) — убрано */
  body .game__recommendations .cases__name_2::before,
  body .game__recommendations .cases__name_2::after,
  body .game__recommendations .cases__name::before,
  body .game__recommendations .cases__name::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Скрин: только фото, без тёмной подложки */
  body .game__recommendations .cases__image-wrapper {
    order: 2;
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 12px;
    /* фон убран — вокруг фото не должно быть тёмных полос */
    background: none !important;
    overflow: hidden;
    flex: none;
    line-height: 0;
  }

  body .game__recommendations .cases__image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    filter: none !important;
    transform: none !important;
  }

  /* Монстры аккаунта — как на карточках LD / Мульти LD */
  body .game__recommendations .swcf-monsters {
    order: 3;
    margin: 0 !important;
  }

  /* ---------- Низ карточки: гарантия слева, цена справа ---------- */
  body .game__recommendations .cases__summary.sw-rec-meta {
    order: 4;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: auto 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .14) !important;
    border-bottom: 0 !important;
    width: 100% !important;
  }

  /* Две строки: «Гарантия SW Shops» и «Проверенный аккаунт» / «В наличии N шт» */
  body .game__recommendations .cases__support {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #95959f;
    text-align: left;
  }

  body .game__recommendations .cases__support i {
    color: #ffc607;
    margin-right: 5px;
  }

  body .game__recommendations .cases__support b {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #95959f !important;
    line-height: 1.6 !important;
    display: inline;
  }

  body .game__recommendations .cases__support b i {
    font-size: inherit !important;
    color: #ffc607 !important;
    margin-right: 5px !important;
  }

  /* Цена — золотая плашка, как на всех карточках сайта */
  body .game__recommendations .cases__summary .cases__price {
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    display: inline-flex !important;
    align-items: baseline !important;
    white-space: nowrap;
    padding: 6px 13px !important;
    background: linear-gradient(180deg, #ffd95e, #ffc607 55%, #efa900) !important;
    border: 1px solid rgba(255, 236, 150, .85) !important;
    border-radius: 12px !important;
    color: #33260a !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .45) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 6px rgba(146, 88, 0, .4), 0 4px 12px rgba(0, 0, 0, .3) !important;
    filter: none !important;
    transform: none !important;
  }

  body .game__recommendations .cases__summary .cases__price::before,
  body .game__recommendations .cases__summary .cases__price::after {
    display: none !important;
  }

  body .game__recommendations .cases__curr {
    font-size: inherit !important;
    color: inherit !important;
  }

  /* Старый блок цены (отдельной строкой) — убран: цена теперь в строке гарантии */
  body .game__recommendations .cases__price-wrapper {
    display: none !important;
  }

  /* Кнопка «Посмотреть аккаунт» — как в каталоге */
  body .game__recommendations .recommendations-open {
    order: 5;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 36px !important;
    /* отступы от краёв обводки, чтобы кнопка не прилипала */
    margin: 6px 10px 4px !important;
    padding: 12px 36px !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, rgba(38, 38, 45, .85), rgba(28, 28, 34, .9)) !important;
    color: #f0f0f4 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .25) !important;
    transition: filter .2s ease !important;
  }

  body .game__recommendations .recommendations-open:hover {
    filter: brightness(1.18);
  }
}
/* ============================================================
   6. Блок покупки (только ПК): список слева — цена и кнопка справа
   Оба столбца одной высоты, карточка с ровными отступами со всех сторон.
   Слева четыре плашки сеткой 2×2, справа блок цены растянут по их высоте,
   кнопка «Купить» — во всю ширину блока.
   ============================================================ */
@media (min-width: 1101px) {
  /* Карточка блока покупки: одинаковые отступы со всех сторон */
  body .game__wrapper-right .game__main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: 12px;
    align-items: stretch !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  /* Левая колонка — плашки в столбик */
  body .game__main .game__main-features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0 !important;
    align-content: stretch;
  }

  body .game__main .game__main-feature {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 11px !important;
    box-sizing: border-box !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    color: #e9e9ef !important;
  }

  /* Иконка — в плашке с золотым фоном, как у полей описания */
  body .game__main .game__main-feature-img {
    float: none !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    flex: 0 0 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    background: rgba(255, 198, 7, .14) !important;
  }

  body .game__main .game__main-feature-img img {
    width: 18px !important;
    height: 18px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  body .game__main .game__main-feature-text {
    min-width: 0;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 600;
    color: #f2f2f6 !important;
  }

  body .game__main .game__main-feature span {
    color: #ffc607 !important;
    font-weight: 700 !important;
  }

  body .game__main .game__main-feature-text a {
    color: #ffc607 !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 198, 7, .5);
  }

  body .game__main .game__main-feature-text a:hover {
    color: #ffd95e !important;
    border-bottom-color: rgba(255, 217, 94, .9);
  }

  /* Правая колонка: цена и кнопка, блок растянут по высоте левой */
  body .game__main .game__main-data {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    margin: 0 !important;
    padding: 16px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 11px !important;
    box-sizing: border-box !important;
  }

  body .game__main .game__main-data-top {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0;
  }

  body .game__main .game__main-data-prices {
    min-width: 0;
    text-align: center;
  }

  /* Цена — крупная, как в макете */
  body .game__main .game__main-data-new {
    font-size: 34px !important;
    line-height: 1.1 !important;
  }

  /* Кнопка — во всю ширину блока и высокая */
  body .game__main .game__main-data-buy {
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
  }
}

/* Узкие ПК-экраны: правая колонка меньше, чтобы список не сжимался */
@media (min-width: 1101px) and (max-width: 1400px) {
  body .game__wrapper-right .game__main {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  }

  body .game__main .game__main-data-new {
    font-size: 29px !important;
  }

  body .game__main .game__main-data-buy {
    min-height: 52px !important;
    font-size: 16px !important;
  }
}

/* ============================================================
   8. Рекомендации: только фото, без тёмных полос и декора (только ПК)
   У обёртки фото в теме были свой тёмный фон (#202027), min-height 160px и
   внутренние отступы — из-за них сверху и снизу снимка появлялись полосы.
   Под названием тема рисует жёлтую полосу со «черепами» (game-title.png) —
   здесь она тоже не нужна.
   ============================================================ */
@media (min-width: 1101px) {
  body .game__recommendations .cases__image-wrapper {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    line-height: 0 !important;
  }

  body .game__recommendations .cases__image-wrapper::before,
  body .game__recommendations .cases__image-wrapper::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  /* Само фото — во всю ширину карточки, без обрезки и полей */
  body .game__recommendations .cases__image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: none !important;
  }

  /* Декор под названием: жёлтая полоса с черепами — убрана полностью */
  body .game__recommendations .cases__name_2,
  body .game__recommendations .cases__name {
    background: none !important;
    background-image: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  body .game__recommendations .cases__name_2::before,
  body .game__recommendations .cases__name_2::after,
  body .game__recommendations .cases__name::before,
  body .game__recommendations .cases__name::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    background-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ровные отступы внутри карточки: одинаковые со всех сторон */
  body .game__recommendations .cases__link {
    gap: 12px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  body .game__recommendations .swcf-monsters {
    margin: 0 !important;
  }

  body .game__recommendations .cases__summary.sw-rec-meta {
    margin-top: auto !important;
  }
}

/* ============================================================
   9. Монстры в рекомендациях (только ПК)
   Карточки на странице аккаунта не находятся внутри .swcf-catalog, поэтому
   правила оформления монстров из catalog-filters.css к ним не применялись:
   портреты были без скругления, а имена — мелким шрифтом темы.
   Здесь повторяем тот же вид, что на карточках каталога.
   ============================================================ */
@media (min-width: 1101px) {
  body .game__recommendations .swcf-monsters {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  body .game__recommendations .swcf-monsters__portraits {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Портреты: скруглённые плитки, как на карточках каталога */
  body .game__recommendations .swcf-monsters__portraits img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    display: block;
  }

  /* Счётчик «+N» для остальных монстров */
  body .game__recommendations .swcf-monsters__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 9px;
    background: rgba(255, 198, 7, .14);
    border: 1px solid rgba(255, 198, 7, .4);
    color: #ffc607;
    font-size: 12px;
    font-weight: 700;
  }

  /* Имена монстров: крупнее мелкого текста темы */
  body .game__recommendations .swcf-monsters__names {
    margin: 0 !important;
    padding: 0 !important;
    color: #a9a9b6 !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 400;
    text-align: center;
    overflow-wrap: break-word;
  }
}

/* ============================================================
   10. Рекомендации (только ПК): подсказка «Листайте, чтобы посмотреть
   другие аккаунты →» не нужна — под каруселью есть стрелки и счётчик.
   На телефоне подсказку по-прежнему показывает recommendations-carousel.css.
   ============================================================ */
@media (min-width: 1101px) {
  body .game__recommendations .recommendations-hint {
    display: none !important;
  }
}
/* ============================================================
   11. Название аккаунта (только ПК): обводка во всю ширину,
       текст и иконки подгоняются под неё
   Обводка (плашка) всегда одной ширины — как строка под заголовком. Внутри
   помещаются: иконка, текст и вторая иконка. Кегль считается от ширины окна
   (vw) так, чтобы влезло даже самое длинное название в базе — 102 символа
   («LD70 | Глобал | 67 перв | Джулианн | Арена С1 | 209м манны, 10к камней,
   21 костюм | Норм руны | 151x6*», это 48 em по метрикам Roboto Condensed).
   Проверка: 48em текста + 3.4em иконок + 0.36em зазоров при 1.5vw занимает
   0.8 ширины на 1100px и 0.79 на 1920px — всегда влезает с запасом.
   ============================================================ */
@media (min-width: 1101px) {
  body .sw-title-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    /* кегль: 1.15vw рассчитан по самому длинному названию (102 символа)
       и по самому широкому шрифту — влезает на всех ПК-ширинах */
    font-size: clamp(12px, 0.98vw, 26px) !important;
    /* шрифт задаём явно: от него напрямую зависит ширина строки */
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important;
  }

  /* Обводка: всегда во всю ширину, высота по строке */
  body .cases__name_game {
    /* фон всегда во всю ширину — как блок под заголовком */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: .18em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* строка одна: текст и иконки внутри фона */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    text-align: center;
    font-size: inherit !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: .3em .6em !important;
    margin: 0 !important;
  }

  /* Текст и иконки не растягиваются и не сжимаются: их размер задаёт кегль */
  body .cases__name_game .cases__name_game-text {
    display: inline-block !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  body .cases__name_game::before,
  body .cases__name_game::after {
    flex: 0 0 auto !important;
    width: 1.7em !important;
    height: 1.7em !important;
    max-height: none !important;
    margin: 0 !important;
    align-self: center !important;
    background-size: contain !important;
    background-position: center !important;
  }
}

/* ============================================================
   12. Название: никаких эффектов при наведении (только ПК)
   Тема давала заголовку transition и transform: scale(1.03) на :hover,
   поэтому блок «подрастал» под курсором.
   ============================================================ */
@media (min-width: 1101px) {
  body .sw-title-wrap,
  body .sw-title-wrap:hover,
  body .sw-title-wrap:active,
  body .cases__name_game,
  body .cases__name_game:hover,
  body .cases__name_game:active,
  body .cases__name_game .cases__name_game-text,
  body .sw-title-wrap:hover .cases__name_game,
  body .sw-title-wrap:hover .cases__name_game-text {
    transform: none !important;
    scale: none !important;
    translate: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    box-shadow: none !important;
  }

  body .cases__name_game::before,
  body .cases__name_game::after,
  body .sw-title-wrap:hover .cases__name_game::before,
  body .sw-title-wrap:hover .cases__name_game::after {
    transform: none !important;
    scale: none !important;
    transition: none !important;
    animation: none !important;
  }

  body .sw-title-wrap,
  body .cases__name_game {
    cursor: default;
  }
}
