.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-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;
}

.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 page */
.parsed-product-detail {
  padding: 0 0 100px;
}

.parsed-product-detail-back {
  display: block;
  margin: 12px 16px 8px;
}

.parsed-product-detail-hero {
  display: flex;
  gap: 14px;
  padding: 0 16px;
  align-items: flex-start;
}

.parsed-product-detail-cover {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  height: 158px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.parsed-product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parsed-product-detail-cover .parser-preorder-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  padding: 2px 5px;
}

.parsed-product-detail-hero-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.parsed-product-detail-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.parsed-product-detail-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.parsed-product-detail-edition {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.parsed-product-detail-body {
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.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;
}

.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;
}
