.region-page .shelf.is-parsed-shelf .shelf-header {
  justify-content: flex-start;
  gap: 8px;
}

.region-page .shelf.is-parsed-shelf .shelf-title {
  cursor: pointer;
}

.region-page .shelf.is-parsed-shelf .shelf-title::after {
  content: none;
  display: none;
}

.region-page .shelf.is-parsed-shelf .shelf-more {
  margin-left: 2px;
  color: rgba(93, 231, 255, 0.95);
}

.region-page .shelf.is-parsed-shelf .shelf-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
  padding: 0 18px 12px;
  margin: 0 -18px;
  cursor: grab;
  user-select: none;
}

.region-page .shelf.is-parsed-shelf .shelf-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.region-page .shelf.is-parsed-shelf .shelf-row::-webkit-scrollbar {
  display: none;
}

.region-page .parser-game-card {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}

.region-page .parser-game-card img {
  pointer-events: none;
}

.region-page .parser-game-card-section {
  scroll-snap-align: none;
}

.region-page .parser-game-card-shelf {
  flex: 0 0 148px;
  width: 148px;
  min-width: 148px;
}

.region-page .parser-game-card:active {
  transform: scale(0.985);
}

.region-page .parser-game-cover {
  position: relative;
  overflow: hidden;
  width: 148px;
  height: 214px;
  border: 1px solid rgba(93, 231, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 26% 18%, rgba(93, 231, 255, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(31, 54, 96, 0.94), rgba(9, 16, 30, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.region-page .parser-game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(0deg, rgba(3, 7, 18, 0.56), transparent 44%);
}

.region-page .parser-game-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  pointer-events: none;
}


.region-page .parser-platform-badge {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 14, 30, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.region-page .parser-card-price-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 21px;
}
/* Скидка подписчика на плитке — ВСЕГДА отдельной строкой под ценой (единообразно на
   всех экранах, не «рядом на десктопе / под на мобиле»). */
.region-page .parser-sub-discount-row {
  margin-top: 3px;
}

.region-page .parser-store-price {
  min-height: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.region-page .parser-discount-pill {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 6px;
  border: 1px solid rgba(93, 231, 255, 0.22);
  border-radius: 999px;
  color: rgba(93, 231, 255, 0.94);
  background: rgba(11, 25, 45, 0.78);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
/* Скидка подписчика в слоте скидки: «−80% с PS+» (PS Plus — жёлтый, как уровень PS Plus)
   / «−10% с EA» (EA Play — красный). Показывается у игр со скидкой только для подписчиков. */
.region-page .parser-sub-discount-pill.is-plus {
  border-color: rgba(255, 196, 0, 0.42);
  color: rgba(255, 214, 70, 0.98);
  background: rgba(44, 34, 6, 0.82);
}
.region-page .parser-sub-discount-pill.is-ea {
  border-color: rgba(255, 96, 96, 0.42);
  color: rgba(255, 138, 138, 0.98);
  background: rgba(44, 12, 12, 0.82);
}

.region-page .parser-game-name {
  display: -webkit-box;
  margin: 0;
  color: #ffffff;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.region-page .parser-card-meta {
  display: flex;
  min-height: 14px;
  margin: 0;
}

.region-page .parser-card-meta span {
  display: block;
  max-width: 100%;
  color: rgba(226, 235, 255, 0.48);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.region-page .parser-game-card .game-meta {
  display: none;
}

.region-page .parser-subscription-pill {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border: 1px solid rgba(93, 231, 255, 0.3);
  border-radius: 999px;
  color: rgba(93, 231, 255, 0.95);
  background: rgba(8, 14, 30, 0.78);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Логотип подписки на обложке (PS Plus / EA Play) — вместо текстовой пилюли. */
.region-page .parser-sub-badge-img {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  height: 24px;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

/* Строка подписки между названием и жанром. PS Plus (уровень Extra/Deluxe) — жёлтая
   под цвет логотипа; EA Play — красная (.is-ea) под цвет логотипа EA. */
.region-page .parser-subscription-tier {
  font-size: 10px;
  font-weight: 800;
  color: #f5b301;
  letter-spacing: 0.2px;
  line-height: 1;
  margin: 2px 0 1px;
  white-space: nowrap;
}

.region-page .parser-subscription-tier.is-ea {
  color: #ff4747;
}

/* Кнопка «Есть в подписке …» на подробной карточке игры (под блоком цены). Акцент —
   под цвет логотипа: жёлтый PS Plus / красный EA Play. Ведёт на страницу тарифа. */
.parsed-sub-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 12px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(245, 179, 1, 0.45);
  border-radius: 16px;
  /* Современный градиент слева направо: насыщенный цвет под текстом (слева),
     плавно затухает в прозрачность справа. */
  background: linear-gradient(90deg,
    rgba(245, 179, 1, 0.28) 0%,
    rgba(245, 179, 1, 0.10) 55%,
    rgba(245, 179, 1, 0.02) 100%);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.parsed-sub-cta.is-ea {
  border-color: rgba(255, 71, 71, 0.45);
  background: linear-gradient(90deg,
    rgba(255, 71, 71, 0.30) 0%,
    rgba(255, 71, 71, 0.11) 55%,
    rgba(255, 71, 71, 0.02) 100%);
}

.parsed-sub-cta-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.parsed-sub-cta-caption {
  font-size: 11px;
  font-weight: 700;
  color: rgba(226, 235, 255, 0.6);
}

.parsed-sub-cta-title {
  font-size: 15px;
  font-weight: 900;
  color: #f5b301;
}

.parsed-sub-cta.is-ea .parsed-sub-cta-title {
  color: #ff4747;
}

.parsed-sub-cta-arrow {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
}

.parsed-sub-cta:active {
  transform: scale(0.99);
  opacity: 0.9;
}

.region-page .parser-included-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(226, 235, 255, 0.45);
  line-height: 1;
  margin-top: 1px;
}

.region-page .parser-included-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(93, 231, 255, 0.5);
  flex-shrink: 0;
}

.parsed-section-page {
  padding-bottom: 92px;
}

.parsed-section {
  padding: 18px 18px 24px;
}

.parsed-section-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(93, 231, 255, 0.18);
  border-radius: 19px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 20%, rgba(93, 231, 255, 0.14), transparent 42%),
    rgba(12, 22, 38, 0.92);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.parsed-section-back::before {
  content: "‹";
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.parsed-section-back:active {
  opacity: 0.8;
  transform: scale(0.97);
}

.parsed-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 18px;
}

.parsed-section-title {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 900;
}

.parsed-section-subtitle {
  margin: 7px 0 0;
  color: rgba(226, 235, 255, 0.62);
  font-size: 13px;
}

.parsed-section-badge {
  display: none;
}

.parsed-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 22px;
}

.parsed-section-grid .parser-game-card-section {
  width: 100%;
  min-width: 0;
}

.parsed-section-grid .parser-game-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 148 / 214;
}

@media (max-width: 430px) {
  .region-page .parser-game-card-shelf {
    flex-basis: 132px;
    width: 132px;
    min-width: 132px;
  }

  .region-page .parser-game-card-shelf .parser-game-cover {
    width: 132px;
    height: 190px;
  }

  .region-page .parser-store-price {
    font-size: 16px;
  }

  .parsed-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .parsed-section-title {
    font-size: 26px;
  }
}

/* Parsed product detail page - art background image */
.parsed-product-detail-art {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(93, 231, 255, 0.18) !important;
  box-shadow: none !important;
  aspect-ratio: 1 / 1;
  min-height: unset;
  background: #0e1625;
}

.parsed-product-detail-art::before,
.parsed-product-detail-art::after {
  display: none !important;
}

.parsed-product-detail-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  pointer-events: none;
}

/* Логотип подписки (PS Plus / EA Play) на большом арте — слева вверху, как на
   плитке (24px), но крупнее под масштаб детальной обложки. */
.parsed-detail-art-sub-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  height: 44px;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}


.parsed-product-detail-buy {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0070d1, #003087);
  /* White text in the app's heavy weight — brand-checkout-fix.css forces a near-black
     color via !important, so override it here (this file loads later). */
  color: #fff !important;
  font-size: 17px;
  font-weight: 1000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
}

.parsed-product-detail-buy:active {
  opacity: 0.85;
}

.shelf-more-btn {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.shelf-more-cover {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 76px !important;
  height: 214px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #a0b4cc;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

@media (max-width: 430px) {
  .shelf-more-cover {
    height: 190px !important;
  }
}

.shelf-more-btn:active .shelf-more-cover,
.shelf-more-btn:hover .shelf-more-cover {
  background: rgba(0,112,209,0.18) !important;
  border-color: rgba(0,112,209,0.5) !important;
  color: #4fc3f7;
}

.shelf-more-btn__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.shelf-more-btn__arrow {
  font-size: 20px;
  line-height: 1;
}

.parsed-detail-price-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.parsed-detail-old-price {
  color: rgba(201, 211, 230, 0.5);
  font-size: 15px;
  font-weight: 500;
  text-decoration: line-through;
}

.parsed-detail-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(93, 231, 255, 0.28);
  border-radius: 999px;
  background: rgba(11, 25, 45, 0.85);
  color: rgba(93, 231, 255, 0.94);
  font-size: 13px;
  font-weight: 700;
}
/* Строка деталей скидки под крупной ценой: старая цена · −N% · срок — единый блок «про
   скидку» (цена сверху якорем, детали одной строкой под ней). Карточка цены grid gap:16px,
   отрицательным margin подтягиваем детали ближе к цене. */
.parsed-detail-discount-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: -6px;
}
/* Товар без скидки: контейнер деталей рисуется всегда (на него завязан выбор изданий —
   game-detail-editions.js добавляет бейдж), но пустой не должен занимать место/давать отступ. */
.parsed-detail-discount-line:empty {
  display: none;
}

/* Срок скидки внутри строки деталей: спокойный акцент, не спорит с ценой и бейджем. */
.parsed-detail-until-inline {
  color: rgba(201, 211, 230, 0.82);
  font-size: 13px;
  font-weight: 600;
}


/* Единый блок скидки подписчика (PS Plus / EA Play): метка + процент слева, цена справа.
   Заменяет прежние два разнесённых элемента (пилюля цены + строка процента) — одна скидка =
   один блок, один цвет подписки (§6). Цена наследует цвет блока и крупнее — читаемый «крючок». */
.parsed-detail-plus-offer {
  display: inline-flex;      /* по содержимому, не на всю ширину */
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  justify-self: start;       /* grid: не растягивать блок на всю ширину карточки (десктоп) */
  max-width: 100%;           /* но не вылезать за карточку на узком экране */
}
.parsed-detail-plus-offer.is-plus {
  border-color: rgba(255, 196, 0, 0.42);
  background: rgba(44, 34, 6, 0.6);
  color: rgba(255, 214, 70, 0.98);
}
.parsed-detail-plus-offer.is-ea {
  border-color: rgba(255, 96, 96, 0.42);
  background: rgba(44, 12, 12, 0.6);
  color: rgba(255, 138, 138, 0.98);
}
.parsed-detail-plus-tag {
  font-size: 13px;
  font-weight: 800;
}
.parsed-detail-plus-pct {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}
.parsed-detail-plus-price {
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
/* Разделитель между ценой (слева) и меткой+% (справа) — только когда цена есть. */
.parsed-detail-plus-price + .parsed-detail-plus-tag {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* Блок обратного отсчёта до релиза — отдельная карточка под ценой (предзаказы). Цифры в
   аккуратных ячейках; tabular-nums, чтобы ширина не «прыгала» при тике секунд. */
.preorder-timer {
  padding: 14px 16px;
  border: 1px solid rgba(93, 231, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 231, 255, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(20, 30, 52, 0.92), rgba(15, 15, 22, 0.92));
}
.preorder-timer-title {
  margin-bottom: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(201, 211, 230, 0.78);
}
.preorder-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.preorder-timer-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 4px;
  border-radius: 14px;
  background: rgba(8, 20, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.preorder-timer-num {
  font-size: clamp(22px, 7vw, 30px);
  font-weight: 900;
  line-height: 1;
  color: #fffdf8;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.preorder-timer-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(201, 211, 230, 0.5);
}
.preorder-timer.is-released .preorder-timer-num {
  opacity: 0.5;
}

.parsed-similar-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
  padding: 4px 0 12px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
}

.parsed-similar-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.parsed-similar-row::-webkit-scrollbar {
  display: none;
}
