/* KEEK 2.45 — витрина: лента популярных разделов, сетка всех игр, живые карточки, блок доверия. */
:root{--mx-accent:#7c3aed;--mx-accent2:#22d3ee;--mx-gold:#fbbf24;--mx-green:#22c55e;--mx-glass:#ffffff0b;--mx-glass-line:#ffffff17}
html[data-theme=light]{--mx-glass:#ffffffb8;--mx-glass-line:#2a223c1a}

/* Популярное — горизонтальная лента карточек разделов */
.mx-strip-head,.mx-cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}
.mx-strip-head h2,.mx-cat-head h2{margin:0;font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.02em;color:var(--text)}
.mx-cat-head{margin:30px 0 14px}
.mx-live{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:99px;background:#22c55e17;border:1px solid #22c55e45;color:#86efac;font-size:13px;line-height:1.2;white-space:nowrap}
.mx-live i{width:8px;height:8px;border-radius:50%;background:var(--mx-green);animation:mx-ping 1.8s infinite}

#products.cards,#products.cards[data-selection]{display:flex;grid-template-areas:none;height:auto;max-width:none;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 2px 10px;margin:-6px -2px 0}
#products::-webkit-scrollbar{display:none}
#products .product-card{flex:0 0 calc((100% - 42px) / 4);min-width:250px;aspect-ratio:4/5;display:flex;flex-direction:column;scroll-snap-align:start}
#products .product-card[hidden]{display:none}
#products .product-card .card-art{flex:1;min-height:0}
#products [data-category=telegram].product-card{display:flex}
#products [data-category=telegram] .card-art{position:relative;inset:auto;justify-content:center;background:var(--art-bg) var(--tg-scene) center/cover no-repeat}
#products [data-category=telegram] .card-cover{position:static;width:auto;height:58%;max-width:62%}
#products .card-caption,#products [data-category=telegram] .card-caption{position:static;height:auto;min-height:0;padding:14px 14px 14px 16px}
#products .card-caption h2,#products [data-category=telegram] .card-caption h2{font-size:clamp(19px,1.7vw,24px)}

/* Все игры и сервисы — сетка компактных плиток */
.mx-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.mx-game{position:relative;display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 16px 14px 14px;border-radius:20px;background:var(--card-panel);border:1px solid var(--line);color:var(--text);text-decoration:none;opacity:0;animation:mx-rise .5s cubic-bezier(.2,.8,.2,1) forwards;transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .25s,box-shadow .25s}
.mx-game img{width:56px;height:56px;flex:none;object-fit:contain;border-radius:15px;filter:drop-shadow(0 4px 10px #0005)}
.mx-game-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.mx-game b{font-size:16px;line-height:1.2}
.mx-game small{margin-top:3px;font-size:13px;color:var(--muted);line-height:1.3}
.mx-game .mx-price{margin-top:7px;padding:3px 8px;font-size:12px}
.mx-game .card-chevron{flex:none}
.mx-games .mx-game:nth-child(2){animation-delay:.05s}.mx-games .mx-game:nth-child(3){animation-delay:.1s}.mx-games .mx-game:nth-child(4){animation-delay:.15s}.mx-games .mx-game:nth-child(n+5){animation-delay:.2s}
.mx-soon{border-style:dashed;color:var(--muted)}
.mx-soon-ic{width:56px;height:56px;flex:none;border-radius:15px;display:grid;place-items:center;background:var(--mx-glass);border:1px solid var(--line);color:var(--text)}
.mx-soon-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(hover:hover){
  a.mx-game:hover{transform:translateY(-3px);border-color:var(--mx-accent);box-shadow:0 14px 30px -16px #7c3aedaa}
  a.mx-game:hover .card-chevron{background:var(--text);color:var(--bg)}
}

/* Карточки каталога: появление, блик, цена */
.cards .product-card{opacity:0;animation:mx-rise .6s cubic-bezier(.2,.8,.2,1) forwards}
.cards .product-card:nth-child(2){animation-delay:.07s}.cards .product-card:nth-child(3){animation-delay:.14s}.cards .product-card:nth-child(4){animation-delay:.21s}
.product-card .card-art::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,#ffffff22 50%,transparent 65%);transform:translateX(-120%);transition:transform .9s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:2}
.mx-price{display:inline-block;margin-top:8px;padding:4px 10px;border-radius:9px;background:var(--mx-gold);color:#1a1300;font-size:13px;font-weight:800;line-height:1.2;width:max-content}
.mx-price-blue{background:var(--mx-accent2);color:#032229}
.mx-price[hidden]{display:none}
@media(hover:hover){
  .product-card{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
  .product-card:not([aria-disabled=true]):hover{transform:translateY(-6px);box-shadow:0 22px 50px -18px #7c3aed80}
  .product-card:not([aria-disabled=true]):hover .card-cover{transform:scale(1.06);transition:transform .8s cubic-bezier(.2,.8,.2,1)}
  .product-card:not([aria-disabled=true]):hover .card-art::after{transform:translateX(120%)}
  .product-card:not([aria-disabled=true]):hover::after{border-color:#8b5cf680}
}

/* Доверие */
.mx-trust{list-style:none;margin:0 0 var(--catalog-gap);padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--catalog-gap)}
.mx-trust li{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center;padding:18px;border-radius:20px;background:var(--card-panel);border:1px solid var(--line)}
.mx-trust b{font-size:16px;color:var(--text)}
.mx-trust small{grid-column:2;color:var(--muted);font-size:13.5px;line-height:1.35;margin-top:2px}
.mx-ic{grid-row:span 2;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#7c3aed26;color:#c4b5fd}
.mx-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mx-ic-blue{background:#22d3ee1f;color:#67e8f9}.mx-ic-green{background:#22c55e1f;color:#86efac}
html[data-theme=light] .mx-ic{color:#6232b8}html[data-theme=light] .mx-ic-blue{color:#0e7490}html[data-theme=light] .mx-ic-green{color:#15803d}
html[data-theme=light] .mx-live{color:#166534}

#catalog-page[hidden] ~ .shop-footer .mx-trust,
#catalog-page:has(.cards:not([data-selection=all])) ~ .shop-footer .mx-trust,
#catalog-page:has(.cards:not([data-selection=all])) .mx-strip-head,
#catalog-page:has(.cards:not([data-selection=all])) .mx-cat-head,
#catalog-page:has(.cards:not([data-selection=all])) .mx-games{display:none}

@media(max-width:760px){
  .mx-strip-head h2,.mx-cat-head h2{font-size:19px}
  .mx-strip-head{margin-top:0}
  .mx-cat-head{margin:22px 0 10px}
  .mx-live{font-size:11.5px;padding:5px 9px}
  #products.cards,#products.cards[data-selection]{gap:10px;margin:-6px -16px 0;padding:6px 16px 8px;scroll-padding-left:16px}
  #products .product-card{flex-basis:62%;min-width:0;aspect-ratio:3/4;border-radius:18px}
  #products .card-caption,#products [data-category=telegram] .card-caption{padding:10px 10px 11px 12px}
  #products .card-caption h2,#products [data-category=telegram] .card-caption h2{font-size:clamp(16px,4.6vw,20px)}
  #products .card-info{font-size:12px}
  .product-card .mx-price{position:absolute;z-index:3;top:9px;left:9px;margin:0;padding:3px 8px;font-size:11.5px;box-shadow:0 4px 12px #0007}
  .mx-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mx-game{flex-direction:column;align-items:flex-start;gap:10px;min-height:0;padding:12px;border-radius:16px}
  .mx-game img,.mx-soon-ic{width:44px;height:44px;border-radius:12px}
  .mx-game b{font-size:14.5px}
  .mx-game small{font-size:12px}
  .mx-game .card-chevron{position:absolute;top:12px;right:12px}
  .mx-trust{grid-template-columns:1fr;gap:8px}
  .mx-trust li{padding:13px 14px;border-radius:16px}
  .mx-ic{width:40px;height:40px}
}

@keyframes mx-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes mx-ping{0%{box-shadow:0 0 0 0 #22c55e80}70%{box-shadow:0 0 0 8px #22c55e00}100%{box-shadow:0 0 0 0 #22c55e00}}
@media(prefers-reduced-motion:reduce){
  .mx-live i{animation:none}
  .cards .product-card,.mx-game{animation:none;opacity:1}
}

/* Новые разделы, которые ещё не открыты */
.pubg .card-cover{object-position:50% 30%}
.roblox{--art-bg:#3b1f6e}
.roblox .card-cover{object-position:50% 25%}
.mx-coming{cursor:default}
.mx-coming .card-cover,.mx-game.mx-coming img{filter:saturate(.9)}
.mx-soon-badge{position:absolute;top:12px;left:12px;z-index:3;padding:5px 11px;border-radius:9px;background:#0b0b0ecc;border:1px solid #ffffff2e;color:#fff;font-size:13px;font-weight:800;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.mx-price-soon{background:var(--mx-glass);color:var(--text);border:1px solid var(--line)}
.mx-game img{object-fit:cover}
@media(hover:hover){#products .mx-coming:hover{transform:none;box-shadow:var(--card-shadow)}#products .mx-coming:hover .card-cover{transform:none}#products .mx-coming:hover .card-art::after{transform:translateX(-120%)}}
@media(max-width:760px){.mx-soon-badge{top:9px;left:9px;font-size:11.5px;padding:3px 8px}}
.steam .card-cover{object-position:50% 50%}

/* Без рамок: большие карточки отделяет тень, плитки — едва заметный контур с бликом сверху */
#products .product-card{box-shadow:0 18px 40px -22px #000d,0 2px 8px -4px #0008}
#products .product-card::after{border-color:transparent;transition:border-color .3s,box-shadow .3s}
#products .product-card:not(.pubg):not([data-category=telegram]) .card-art{background:var(--card-panel)}
#products .product-card:not([data-category=telegram]) .card-cover{-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 100%);mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}
#products .pubg .card-art{background:var(--card-panel)}
#products [data-category=telegram] .card-art{-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%)}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover::after{border-color:#8b5cf6aa;box-shadow:inset 0 0 0 1px #8b5cf640}
}
.mx-game,.mx-trust li,.service-card{border-color:#ffffff10 !important;box-shadow:inset 0 1px 0 #ffffff0d}
.mx-soon{border-color:#ffffff1f !important}
html[data-theme=light] .mx-game,html[data-theme=light] .mx-trust li,html[data-theme=light] .service-card{border-color:#2a223c14 !important;box-shadow:0 1px 2px #2a223c0d}
html[data-theme=light] #products .product-card{box-shadow:0 12px 30px -18px #2a223c55}

/* Без обводок вообще: блоки отделяет только чуть более светлый фон */
.mx-game,.mx-trust li,.service-card{border-color:transparent !important;box-shadow:none !important;background:#141318}
.mx-soon,.mx-soon-ic{border-color:transparent !important}
.mx-soon{background:#ffffff06}
.mx-soon-ic{background:#ffffff0d}
.mx-price-soon{border:0;background:#ffffff14}
@media(hover:hover){
  a.mx-game:hover,.service-card:hover{border-color:transparent !important;background:#1c1a22;box-shadow:0 16px 34px -20px #000 !important}
}
html[data-theme=light] .mx-game,html[data-theme=light] .mx-trust li,html[data-theme=light] .service-card{background:#fff;box-shadow:0 1px 3px #2a223c12 !important}
html[data-theme=light] .mx-soon{background:#2a223c08}
.card-chevron{border:0 !important;box-shadow:none !important;background:#ffffff14}
html[data-theme=light] .card-chevron{background:#2a223c0f}

/* Обложка PUBG как есть: без наложенного логотипа и значков */
#products .pubg-wordmark,#products .pubg-badges{display:none}
/* Подписи карточек одной высоты */
#products .card-caption,#products [data-category=telegram] .card-caption{min-height:112px;align-items:flex-start}
#products .card-chevron{align-self:center}
@media(max-width:760px){#products .card-caption,#products [data-category=telegram] .card-caption{min-height:72px}}

/* Обложки показываем как есть: без логотипа и значков поверх, подписи на одной высоте */
#products .pubg-wordmark,#products .pubg-badges{display:none}
#products .card-caption{min-height:104px;align-items:flex-start}
#products .card-copy{min-width:0}
@media(max-width:760px){#products .card-caption{min-height:74px}}

/* Telegram Stars и Premium — полноразмерные обложки, как у остальных */
#products [data-category=telegram] .card-art{background:var(--card-panel);-webkit-mask-image:none;mask-image:none}
#products [data-category=telegram] .card-cover{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;filter:none;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 100%);mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}

/* Наведение: без рамки — лёгкий подъём и очень мягкое свечение */
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover::after{border-color:transparent;box-shadow:none}
  #products .product-card:not(.mx-coming):hover{transform:translateY(-4px);box-shadow:0 22px 44px -20px #000e,0 10px 36px -14px #8b5cf633}
  a.mx-game:hover{box-shadow:0 14px 32px -18px #000,0 6px 26px -14px #8b5cf62b !important}
}

/* Стрелки: в плитках не нужны, на больших карточках — только на компьютере */
.mx-game .card-chevron{display:none}
@media(max-width:760px),(hover:none){#products .card-chevron{display:none}}

/* Стрелки ленты «Популярное» — только на компьютере */
.mx-rail{position:relative}
.mx-nav{position:absolute;z-index:5;top:calc(50% - 26px);width:52px;height:52px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#fff;background:#1b1a21e6;box-shadow:0 10px 30px -8px #000c;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:transform .2s,background .2s,opacity .2s}
.mx-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mx-prev{left:-20px}.mx-next{right:-20px}
.mx-nav:hover{background:#fff;color:#111;transform:scale(1.06)}
.mx-nav:active{transform:scale(.96)}
.mx-nav[hidden]{display:none}
.mx-rail::before,.mx-rail::after{content:"";position:absolute;z-index:4;top:0;bottom:10px;width:56px;pointer-events:none;opacity:0;transition:opacity .25s}
.mx-rail::before{left:-2px;background:linear-gradient(90deg,var(--bg),transparent)}
.mx-rail::after{right:-2px;background:linear-gradient(270deg,var(--bg),transparent)}
.mx-rail.can-prev::before,.mx-rail.can-next::after{opacity:1}
html[data-theme=light] .mx-nav{background:#ffffffe6;color:#17151d}
@media(max-width:760px),(hover:none){.mx-nav{display:none!important}.mx-rail::before,.mx-rail::after{display:none}}
#catalog-page:has(.cards:not([data-selection=all])) .mx-nav{display:none!important}

/* Поиск */
.mx-search{position:relative;display:flex;align-items:center;margin:4px 0 22px;height:52px;border-radius:16px;background:#141318;transition:background .2s,box-shadow .2s}
.mx-search:focus-within{background:#1a1920;box-shadow:0 0 0 2px #8b5cf655}
.mx-search>svg{position:absolute;left:17px;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.mx-search input{flex:1;min-width:0;height:100%;padding:0 48px 0 50px;border:0;outline:0;background:none;color:var(--text);font:inherit;font-size:16px}
.mx-search input::placeholder{color:var(--muted)}
.mx-search input::-webkit-search-cancel-button{display:none}
.mx-clear{position:absolute;right:8px;width:36px;height:36px;border:0;border-radius:11px;display:grid;place-items:center;background:#ffffff12;color:var(--text);cursor:pointer}
.mx-clear svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.mx-clear[hidden],.mx-empty[hidden],.mx-game[hidden]{display:none}
.mx-empty{grid-column:1/-1;margin:0;padding:22px 18px;border-radius:20px;background:#141318;color:var(--muted);text-align:center;font-size:15px}
#catalog-page.mx-searching .mx-strip-head,#catalog-page.mx-searching .mx-rail{display:none}
#catalog-page.mx-searching .mx-cat-head{margin-top:0}
#catalog-page.mx-searching .mx-soon{display:none}
#catalog-page.mx-searching .mx-game{animation:none;opacity:1}
html[data-theme=light] .mx-search,html[data-theme=light] .mx-empty{background:#fff;box-shadow:0 1px 3px #2a223c12}
#catalog-page:has(.cards:not([data-selection=all])) .mx-search{display:none}
@media(max-width:760px){.mx-search{height:48px;margin:0 0 16px;border-radius:14px}.mx-search>svg{left:15px}.mx-search input{padding-left:46px}}
#catalog-page.mx-searching ~ .shop-footer .mx-trust{display:none}

/* Кнопка-стрелка на карточках: фиолетовый контур, при наведении — заливка */
#products .card-chevron{background:transparent !important;box-shadow:inset 0 0 0 1.5px #8b5cf6 !important;color:#c4b5fd;transition:background .25s,color .25s,box-shadow .25s,transform .25s}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{background:#7c3aed !important;box-shadow:inset 0 0 0 1.5px #7c3aed,0 6px 18px -4px #7c3aedaa !important;color:#fff;transform:translateX(2px)}
}
html[data-theme=light] #products .card-chevron{box-shadow:inset 0 0 0 1.5px #7c3aed !important;color:#6232b8}

/* Наведение спокойнее: без блика, обложка приближается едва заметно */
.product-card .card-art::after{display:none}
@media(hover:hover){
  #products .product-card:not([aria-disabled=true]):not(.mx-coming):hover .card-cover{transform:scale(1.025);transition:transform .9s cubic-bezier(.2,.8,.2,1)}
}

/* Вкладки каталога: Игры · Сервисы · Ключи */
.mx-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:16px;background:#141318}
.mx-tab{min-width:104px;height:42px;padding:0 20px;border:0;border-radius:12px;background:transparent;color:var(--muted);font:inherit;font-size:15px;font-weight:800;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s}
.mx-tab:hover{color:var(--text)}
.mx-tab[aria-selected=true]{background:#7c3aed;color:#fff;box-shadow:0 8px 22px -10px #7c3aedcc}
.mx-tab:focus-visible{outline:2px solid #a070ff;outline-offset:2px}
#mx-cat-title[hidden]{display:none}
.mx-games[data-kind=games] .mx-game:not([data-kind=games]),
.mx-games[data-kind=services] .mx-game:not([data-kind=services]),
.mx-games[data-kind=keys] .mx-game:not([data-kind=keys]){display:none}
#catalog-page.mx-searching .mx-tabs{display:none}
#catalog-page.mx-searching .mx-games .mx-game:not(.mx-soon):not([hidden]){display:flex}
html[data-theme=light] .mx-tabs{background:#fff;box-shadow:0 1px 3px #2a223c12}
@media(max-width:760px){
  .mx-tabs{display:flex;width:100%}
  .mx-tab{flex:1;min-width:0;height:40px;padding:0 8px;font-size:14px}
  .mx-game.mx-coming,.mx-game{animation:none;opacity:1}
}

/* Кружок со стрелкой: ровный круг 36 px и векторная стрелка строго по центру */
#products .card-chevron{width:36px;height:36px;box-sizing:border-box;border:1.5px solid #8b5cf6 !important;box-shadow:none !important;border-radius:50%;display:grid;place-items:center;transform:translateZ(0)}
#products .card-chevron::after{display:none}
#products .card-chevron::before{content:"";position:static;width:16px;height:16px;transform:none;background:currentColor;border-radius:0;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{border-color:#7c3aed !important;box-shadow:0 6px 18px -4px #7c3aedaa !important;transform:translateX(2px) translateZ(0)}
}
html[data-theme=light] #products .card-chevron{border-color:#7c3aed !important;box-shadow:none !important}

/* Кружок и галочка — одна векторная иконка с одинаковой толщиной линии 1,5 px */
#products .card-chevron{border:0 !important;box-shadow:none !important;background:transparent !important;color:#8b5cf6}
#products .card-chevron::before{width:36px;height:36px;transform:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M16 13l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px 36px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M16 13l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px 36px no-repeat}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{background:#7c3aed !important;color:#fff;box-shadow:0 6px 18px -4px #7c3aedaa !important}
}
html[data-theme=light] #products .card-chevron{color:#7c3aed}

/* Контур и галочка — отдельные слои одной толщины: при наведении белеет только галочка */
#products .card-chevron{position:relative;--ring:#8b5cf6;--arrow:#8b5cf6}
#products .card-chevron::before,#products .card-chevron::after{content:"";display:block;position:absolute;inset:0;width:36px;height:36px;margin:auto;transform:none;border-radius:0;transition:background-color .25s}
#products .card-chevron::before{background:var(--ring);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/36px 36px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/36px 36px no-repeat}
#products .card-chevron::after{background:var(--arrow);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M16 13l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px 36px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M16 13l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px 36px no-repeat}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{--ring:#7c3aed;--arrow:#fff;background:#7c3aed !important}
}
html[data-theme=light] #products .card-chevron{--ring:#7c3aed;--arrow:#7c3aed}

/* Кружок стоит на месте, при наведении чуть сдвигается только галочка */
#products .card-chevron::after{transition:background-color .25s,transform .3s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{transform:translateZ(0) !important}
  #products .product-card:not(.mx-coming):hover .card-chevron::after{transform:translateX(2px)}
}

/* Без кружка: тонкая длинная стрелка; при наведении белеет и сдвигается вправо */
#products .card-chevron{width:28px;height:20px;background:transparent !important;box-shadow:none !important;border:0 !important;border-radius:0}
#products .card-chevron::before{display:none !important}
#products .card-chevron::after{width:28px;height:20px;background:var(--arrow);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath d='M3 10h21M17 3.5 24 10l-7 6.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath d='M3 10h21M17 3.5 24 10l-7 6.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px 20px no-repeat}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover .card-chevron{background:transparent !important;box-shadow:none !important;--arrow:#fff}
  #products .product-card:not(.mx-coming):hover .card-chevron::after{transform:translateX(4px)}
}

/* Длинная галочка › без кружка */
#products .card-chevron{width:16px;height:24px;margin-right:4px}
#products .card-chevron::after{width:16px;height:24px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M5 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 24px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M5 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 24px no-repeat}
@media(hover:hover){#products .product-card:not(.mx-coming):hover .card-chevron::after{transform:translateX(3px)}}

/* Галочка: в покое приглушённо-белая, при наведении — фиолетовая */
#products .card-chevron{--arrow:#ffffff9e}
@media(hover:hover){#products .product-card:not(.mx-coming):hover .card-chevron{--arrow:#a78bfa}}
html[data-theme=light] #products .card-chevron{--arrow:#17151d80}
html[data-theme=light] #products .product-card:not(.mx-coming):hover .card-chevron{--arrow:#7c3aed}

/* Лёгкая фиолетовая подсветка вокруг карточки при наведении */
#products.cards,#products.cards[data-selection]{padding:18px 18px 22px;margin:-18px -18px -12px}
.mx-prev{left:-2px}.mx-next{right:-2px}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover{box-shadow:0 0 0 1px #8b5cf61f,0 0 26px -2px #8b5cf640,0 22px 44px -20px #000e !important}
}
@media(max-width:760px){#products.cards,#products.cards[data-selection]{padding:6px 16px 8px;margin:-6px -16px 0}}
/* Below 351px the frame inset is 12px: the edge-to-edge rail must not widen the page. */
@media(max-width:350px){#products.cards,#products.cards[data-selection]{padding:6px 12px 8px;margin:-6px -12px 0;scroll-padding-left:12px}}
#products.cards,#products.cards[data-selection]{scroll-padding-inline:18px}
@media(max-width:760px){#products.cards,#products.cards[data-selection]{scroll-padding-inline:16px}}
@media(max-width:760px),(hover:none){#products .card-chevron{display:none !important}}
/* Лента не «прилипает» к середине: мягкое притяжение к карточкам */
#products.cards,#products.cards[data-selection]{scroll-snap-type:x proximity}

/* Компьютер: 4 карточки и четверть следующей, чтобы было видно, что лента листается */
#products .product-card{flex:0 0 calc((100% - 4 * 14px) / 4.25);min-width:230px}
@media(max-width:760px){#products .product-card{flex-basis:62%;min-width:0}}

/* Без затемняющих полос по краям: лента ровно обрезается по краю страницы */
.mx-rail::before,.mx-rail::after{display:none !important}
#products.cards,#products.cards[data-selection]{clip-path:inset(-40px 18px -40px 18px)}
@media(max-width:760px){#products.cards,#products.cards[data-selection]{clip-path:none}}

/* Подсветка вокруг карточки тоньше и слабее */
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover{box-shadow:0 0 0 1px #8b5cf614,0 0 14px -4px #8b5cf62e,0 18px 36px -20px #000d !important}
}

/* Стрелки листания стоят ровно на краю ленты: половина на карточке, половина снаружи */
.mx-prev{left:-26px}.mx-next{right:-26px}
.mx-nav{top:calc(50% - 30px)}

/* Перетаскивание ленты мышью */
@media(hover:hover) and (pointer:fine){#products.cards{cursor:grab}}
#products.mx-dragging{cursor:grabbing;scroll-snap-type:none !important;scroll-behavior:auto;user-select:none}
#products.mx-dragging .product-card{pointer-events:none}
#products .card-cover,#products img{-webkit-user-drag:none;user-select:none}
.playstation{--art-bg:#071a4a}

/* Нижняя часть у всех карточек одинаковая; ценники — сверху слева, на обложке */
#products .product-card .card-caption,#products .product-card[data-category] .card-caption{position:static;flex:none;height:96px;min-height:0;box-sizing:border-box;padding:0 16px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#products .product-card .card-copy{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
#products .product-card .card-caption h2,#products .product-card[data-category] .card-caption h2{margin:0;font-size:clamp(19px,1.7vw,24px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#products .product-card .card-info{display:block;margin:0;font-size:13.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#products .product-card .product-type{display:none}
#products .product-card .card-art{flex:1;min-height:0}
#products .product-card .mx-price{position:absolute;z-index:3;top:12px;left:12px;margin:0;padding:5px 11px;font-size:13px;box-shadow:0 4px 14px #0008}
@media(max-width:760px){
  #products .product-card .card-caption,#products .product-card[data-category] .card-caption{height:74px;padding:0 12px}
  #products .product-card .card-caption h2,#products .product-card[data-category] .card-caption h2{font-size:clamp(16px,4.6vw,20px)}
  #products .product-card .card-info{font-size:12px}
  #products .product-card .mx-price{top:9px;left:9px;padding:3px 8px;font-size:11.5px}
}
.mlbb{--art-bg:#1a1f4a}.mlbb .card-cover{object-position:50% 25%}

/* Светлая тема: одна мягкая тень для всех блоков, обложки без «молочного» перехода */
html[data-theme=light]{--mx-shadow:0 1px 2px #2a223c0d,0 6px 20px -10px #2a223c2e;--mx-shadow-hover:0 2px 4px #2a223c10,0 14px 32px -14px #5b3fb04d}
html[data-theme=light] #products.cards,html[data-theme=light] #products.cards[data-selection]{padding-bottom:30px;margin-bottom:-20px}
html[data-theme=light] #products .product-card{box-shadow:var(--mx-shadow) !important}
html[data-theme=light] #products .product-card .card-cover,html[data-theme=light] #products [data-category=telegram] .card-cover{-webkit-mask-image:none;mask-image:none}
html[data-theme=light] #products .product-card .card-art{background:#e9e7f0}
html[data-theme=light] .mx-game,html[data-theme=light] .mx-trust li,html[data-theme=light] .service-card,html[data-theme=light] .mx-search,html[data-theme=light] .mx-tabs,html[data-theme=light] .mx-empty{background:#fff;border:0 !important;box-shadow:var(--mx-shadow) !important}
html[data-theme=light] .mx-game img{filter:none}
html[data-theme=light] .mx-soon{background:transparent;box-shadow:inset 0 0 0 1.5px #2a223c1f !important}
html[data-theme=light] .mx-soon-ic{background:#f1eff6;color:#17151d}
html[data-theme=light] .mx-price-soon{background:#f1eff6;color:#4a4458}
html[data-theme=light] .mx-tab[aria-selected=true]{box-shadow:0 6px 16px -8px #7c3aed99}
html[data-theme=light] .mx-search:focus-within{box-shadow:0 0 0 2px #7c3aed40,var(--mx-shadow) !important}
html[data-theme=light] .mx-nav{background:#fff;color:#17151d;box-shadow:0 2px 6px #2a223c1a,0 10px 24px -10px #2a223c40}
html[data-theme=light] .mx-nav:hover{background:#7c3aed;color:#fff}
@media(hover:hover){
  html[data-theme=light] #products .product-card:not(.mx-coming):hover{box-shadow:var(--mx-shadow-hover) !important}
  html[data-theme=light] a.mx-game:hover,html[data-theme=light] .service-card:hover{background:#fff;box-shadow:var(--mx-shadow-hover) !important}
}
html[data-theme=light] .product-card .mx-price{box-shadow:0 2px 8px #0000002e}

/* Светлая тема: стрелки листания тёмные, как кнопка «Войти»; при наведении — фиолетовые */
html[data-theme=light] .mx-nav{background:#1c1a24;color:#fff;box-shadow:0 2px 6px #17151d26,0 10px 24px -10px #17151d59}
html[data-theme=light] .mx-nav:hover{background:#7c3aed;color:#fff;box-shadow:0 8px 22px -8px #7c3aedaa}

/* Тени карточек ленты не выходят вбок — у края ленты больше нет обрезанного уголка тени */
html[data-theme=light]{--mx-shadow:0 1px 2px #2a223c0d,0 8px 18px -9px #2a223c33;--mx-shadow-hover:0 1px 2px #2a223c0d,0 16px 26px -13px #5b3fb059}
#products .product-card{box-shadow:0 14px 26px -14px #000d !important}
@media(hover:hover){
  #products .product-card:not(.mx-coming):hover{box-shadow:0 0 0 1px #8b5cf614,0 16px 26px -12px #000e,0 10px 22px -11px #8b5cf659 !important}
}
html[data-theme=light] #products .product-card{box-shadow:var(--mx-shadow) !important}
@media(hover:hover){html[data-theme=light] #products .product-card:not(.mx-coming):hover{box-shadow:var(--mx-shadow-hover) !important}}
/* Тень только под карточкой, без выхода за боковые края */
html[data-theme=light]{--mx-shadow:0 10px 18px -12px #2a223c40;--mx-shadow-hover:0 16px 22px -14px #5b3fb066}
#products .product-card{box-shadow:0 14px 22px -15px #000e !important}
@media(hover:hover){#products .product-card:not(.mx-coming):hover{box-shadow:0 0 0 1px #8b5cf614,0 16px 22px -14px #000,0 12px 20px -14px #8b5cf670 !important}}

/* Обрезаем ленту только с той стороны, где есть скрытые карточки — свечение у крайней карточки не срезается прямой линией */
.mx-rail:not(.can-prev) #products.cards{clip-path:inset(-40px 18px -40px -40px)}
.mx-rail:not(.can-next) #products.cards{clip-path:inset(-40px -40px -40px 18px)}
.mx-rail:not(.can-prev):not(.can-next) #products.cards{clip-path:none}
@media(max-width:760px){.mx-rail #products.cards{clip-path:none}}

/* Иконки во вкладках «Игры / Сервисы / Ключи» */
.mx-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.mx-tab-ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.mx-tab-ic .f{fill:currentColor;stroke:none}
.mx-tab:hover .mx-tab-ic{transform:scale(1.08)}
@media(max-width:760px){.mx-tab{gap:6px}.mx-tab-ic{width:18px;height:18px}}

/* Поиск на компьютере крупнее */
@media(min-width:761px){
  .mx-search{height:64px;border-radius:20px;margin-bottom:26px}
  .mx-search>svg{left:22px;width:22px;height:22px}
  .mx-search input{padding:0 56px 0 58px;font-size:17px}
  .mx-clear{right:12px;width:40px;height:40px;border-radius:12px}
}

/* Подсказки поиска */
.mx-search{z-index:20}
.mx-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;max-height:min(70vh,520px);overflow-y:auto;padding:8px;border-radius:20px;background:#17161c;box-shadow:0 24px 60px -16px #000,0 0 0 1px #ffffff0d;animation:mx-sg-in .18s cubic-bezier(.2,.8,.2,1)}
.mx-suggest[hidden]{display:none}
@keyframes mx-sg-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.mx-sg-head{margin:10px 12px 6px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mx-sg-head:first-child{margin-top:6px}
.mx-sg-row{display:flex;align-items:center;gap:14px;padding:8px 12px 8px 8px;border-radius:14px;color:var(--text);text-decoration:none;cursor:pointer}
.mx-sg-row.on,.mx-sg-row:hover{background:#ffffff0d}
.mx-sg-row.soon{cursor:default;opacity:.75}
.mx-sg-row img{width:44px;height:44px;flex:none;border-radius:12px;object-fit:cover}
.mx-sg-text{flex:1;min-width:0;display:flex;flex-direction:column}
.mx-sg-text b{font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-sg-text small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-sg-side{display:flex;align-items:center;gap:10px;flex:none}
.mx-sg-kind{font-size:12.5px;color:var(--muted)}
.mx-sg-price{padding:3px 8px;border-radius:8px;background:var(--mx-gold);color:#1a1300;font-size:12px;font-weight:800}
.mx-sg-tag{padding:3px 8px;border-radius:8px;background:#ffffff14;color:var(--text);font-size:12px;font-weight:800}
.mx-sg-chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 12px 10px}
.mx-sg-chip{height:36px;padding:0 14px;border:0;border-radius:11px;background:#ffffff0f;color:var(--text);font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s,color .2s}
.mx-sg-chip:hover{background:#7c3aed;color:#fff}
.mx-sg-all{display:block;width:100%;margin-top:4px;height:44px;border:0;border-radius:14px;background:transparent;color:#a78bfa;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.mx-sg-all:hover{background:#ffffff0d}
.mx-sg-none{display:flex;flex-direction:column;gap:3px;padding:18px 14px;text-align:center}
.mx-sg-none small{color:var(--muted)}
html[data-theme=light] .mx-suggest{background:#fff;box-shadow:0 24px 50px -18px #2a223c55,0 0 0 1px #2a223c0f}
html[data-theme=light] .mx-sg-row.on,html[data-theme=light] .mx-sg-row:hover,html[data-theme=light] .mx-sg-all:hover{background:#f3f1f8}
html[data-theme=light] .mx-sg-chip,html[data-theme=light] .mx-sg-tag{background:#f1eff6}
html[data-theme=light] .mx-sg-chip:hover{background:#7c3aed;color:#fff}
html[data-theme=light] .mx-sg-all{color:#6d28d9}
@media(max-width:760px){
  .mx-suggest{border-radius:16px;padding:6px}
  .mx-sg-kind{display:none}
  .mx-sg-row{gap:12px}
  .mx-sg-row img{width:40px;height:40px}
}
.mx-sg-price.blue{background:var(--mx-accent2);color:#032229}

/* «Популярное» — спокойная подпись к полке и ссылка «Весь каталог» */
.mx-strip-head{margin:0 0 12px}
.mx-strip-head h2{font-family:inherit;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mx-all-link{display:inline-flex;align-items:center;gap:6px;padding:6px 4px;font-size:14px;font-weight:700;color:var(--muted);text-decoration:none;transition:color .2s}
.mx-all-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.mx-all-link:hover{color:#a78bfa}.mx-all-link:hover svg{transform:translateY(2px)}
html[data-theme=light] .mx-all-link:hover{color:#6d28d9}
#mx-catalog{scroll-margin-top:24px}
@media(max-width:760px){.mx-strip-head h2{font-size:12px}.mx-all-link{font-size:13px}}

/* Подпись «Популярное» тише; на телефоне без ссылки «Весь каталог» */
.mx-strip-head h2{font-size:12.5px;font-weight:700;letter-spacing:.05em}
@media(max-width:760px){.mx-all-link{display:none}.mx-strip-head h2{font-size:12px}}

/* Подписи обычным регистром: «Популярное» и заголовки в подсказках поиска */
.mx-strip-head h2{text-transform:none;letter-spacing:0;font-size:15px;font-weight:700;color:var(--muted)}
.mx-sg-head{text-transform:none;letter-spacing:0;font-size:13.5px;font-weight:700}
@media(max-width:760px){.mx-strip-head h2{font-size:14px}}

/* Телефон: лёгкий фиолетовый градиент от верха шапки до середины карточек «Популярное» */
@media(max-width:760px){
  body:has(#catalog-page:not([hidden])){position:relative;isolation:isolate}
  body:has(#catalog-page:not([hidden]))::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:420px;pointer-events:none;
    background:radial-gradient(120% 80% at 50% 0%,#7c3aed38 0%,#7c3aed14 45%,transparent 75%),linear-gradient(180deg,#7c3aed1a 0%,transparent 100%)}
  html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{
    background:radial-gradient(120% 80% at 50% 0%,#8b5cf62e 0%,#8b5cf612 45%,transparent 75%),linear-gradient(180deg,#8b5cf614 0%,transparent 100%)}
}
@media(max-width:760px){body:has(#catalog-page:not([hidden])) .keek-header{background:transparent}}

/* Светлая тема: градиент примерно на треть мягче */
@media(max-width:760px){
  html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{
    background:radial-gradient(120% 80% at 50% 0%,#8b5cf61f 0%,#8b5cf60c 45%,transparent 75%),linear-gradient(180deg,#8b5cf60e 0%,transparent 100%)}
}

/* WebKit/Safari: после скрытия ленты (поиск) анимация не перезапускалась и карточки оставались прозрачными.
   Карточки видимы по умолчанию, анимация только «въезжает» из прозрачности. */
.cards .product-card,.mx-game{opacity:1 !important;animation-fill-mode:backwards !important}
#catalog-page.mx-searching .mx-rail .product-card,#catalog-page.mx-searching .mx-game{animation:none !important}

/* Компьютер: такой же лёгкий градиент от самого верха до середины карточек «Популярное» */
@media(min-width:761px){
  body:has(#catalog-page:not([hidden])){position:relative;isolation:isolate}
  body:has(#catalog-page:not([hidden])) .keek-header{background:transparent}
  body:has(#catalog-page:not([hidden]))::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:460px;pointer-events:none;
    background:radial-gradient(70% 100% at 50% 0%,#7c3aed30 0%,#7c3aed12 45%,transparent 78%),linear-gradient(180deg,#7c3aed14 0%,transparent 100%)}
  html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{
    background:radial-gradient(70% 100% at 50% 0%,#8b5cf61c 0%,#8b5cf60a 45%,transparent 78%),linear-gradient(180deg,#8b5cf60c 0%,transparent 100%)}
}
/* На градиенте элементы шапки остаются заметными */
html[data-theme=light] body:has(#catalog-page:not([hidden])) .desktop-nav a[aria-current=page]{background:#fff;box-shadow:0 1px 3px #2a223c14}
html[data-theme=light] body:has(#catalog-page:not([hidden])) .keek-header-actions>button:not(.keek-header-profile){background:#ffffffcc}
body:has(#catalog-page:not([hidden])) .desktop-nav a[aria-current=page]{background:#ffffff14}
html[data-theme=light] body:has(#catalog-page:not([hidden])) .desktop-nav a[aria-current=page]{background:#fff}

/* Телефон: карточки «Популярного» компактнее — две на экране и четверть третьей */
@media(max-width:760px){
  #products .product-card{flex:0 0 calc((100% - 2 * 10px) / 2.25) !important;aspect-ratio:auto !important}
  #products .product-card .card-art{flex:none;aspect-ratio:1/1}
  #products .product-card .card-caption,#products .product-card[data-category] .card-caption{height:58px;padding:0 10px}
  #products .product-card .card-caption h2,#products .product-card[data-category] .card-caption h2{font-size:15px}
  #products .product-card .card-info{font-size:11.5px}
  #products .product-card .mx-price,#products .mx-soon-badge{top:7px;left:7px;padding:2px 7px;font-size:10.5px;border-radius:7px}
  #products .product-card{border-radius:16px}
}

/* Свет из обложек: цвета берутся из карточек «Популярного» (modern.js → --mx-glow) */
body:has(#catalog-page:not([hidden]))::before{height:640px !important;
  background:var(--mx-glow,none),radial-gradient(70% 70% at 50% 0%,#7c3aed2e 0%,transparent 75%) !important;
  filter:blur(8px);-webkit-mask-image:linear-gradient(180deg,#000 45%,transparent);mask-image:linear-gradient(180deg,#000 45%,transparent);
  transition:opacity .4s}
html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{opacity:.6;
  background:var(--mx-glow,none),radial-gradient(70% 70% at 50% 0%,#8b5cf61f 0%,transparent 75%) !important}
@media(max-width:760px){body:has(#catalog-page:not([hidden]))::before{height:520px !important;filter:blur(12px)}}
@media(prefers-reduced-transparency:reduce){body:has(#catalog-page:not([hidden]))::before{filter:none}}
body:has(#catalog-page:not([hidden]))::before{filter:blur(22px)}
/* Свет из обложек мягче: сильнее размытие, цвета сливаются в общий фон */
body:has(#catalog-page:not([hidden]))::before{filter:blur(36px) saturate(.85)}
html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{opacity:.45}
@media(max-width:760px){body:has(#catalog-page:not([hidden]))::before{filter:blur(28px) saturate(.85)}}
/* Широкие мониторы: мягкий общий фон на всю ширину, чтобы края не были пустыми */
body:has(#catalog-page:not([hidden]))::before{
  background:var(--mx-glow,none),radial-gradient(70% 70% at 50% 0%,#7c3aed2e 0%,transparent 75%),linear-gradient(180deg,#7c3aed12 0%,transparent 70%) !important}
html[data-theme=light] body:has(#catalog-page:not([hidden]))::before{
  background:var(--mx-glow,none),radial-gradient(70% 70% at 50% 0%,#8b5cf61f 0%,transparent 75%),linear-gradient(180deg,#8b5cf60c 0%,transparent 70%) !important}

/* 2.46.1: метки на карточках — тёмное стекло + иконки */
/* Метки: тёмное стекло (A) с цветной иконкой по смыслу (C) */
#products .product-card .mx-price,#products .mx-soon-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 11px 6px 8px;border-radius:10px;background:#0c0b10b3 !important;color:#fff !important;border:0 !important;box-shadow:0 4px 14px #0006;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-weight:700;font-size:13px;line-height:1.2}
#products .product-card .mx-price::before,#products .mx-soon-badge::before{content:"";width:13px;height:13px;flex:none;background:var(--ic-color);-webkit-mask:var(--ic) 50% calc(50% + var(--ic-dy,-.4px))/var(--ic-size,10.3px) no-repeat;mask:var(--ic) 50% calc(50% + var(--ic-dy,-.4px))/var(--ic-size,10.3px) no-repeat}
#products .product-card .mx-price{--ic-color:#fb923c;--ic-size:12px;--ic-dy:-.95px;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath transform='translate(0 -.8)' d='M12.3 1.5c.7 3.4 3.3 5.5 5.2 7.9 1.6 2 2.7 4 2.7 6.3A8.2 8.2 0 0 1 3.8 15.7c0-2.8 1.3-5.1 3.2-6.8.1 2 1 3.6 2.6 4.5-.7-4 .5-8.6 2.7-11.9Z'/%3E%3C/svg%3E")}
#products .product-card .mx-price-blue{--ic-color:#22d3ee;--ic-size:14px;--ic-dy:-.8px;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2 4.5 4.8v6.1c0 4.8 3.2 9 7.5 10.6 4.3-1.6 7.5-5.8 7.5-10.6V4.8L12 2Zm-1.15 13.2-3.3-3.3 1.35-1.35 1.95 1.95 4.25-4.25 1.35 1.35-5.6 5.6Z'/%3E%3C/svg%3E")}
#products .mx-soon-badge{--ic-color:#a78bfa;--ic-size:12.6px;--ic-dy:-.45px;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10.5 5.5c.68 5.44 3.06 7.82 8.5 8.5-5.44.68-7.82 3.06-8.5 8.5-.68-5.44-3.06-7.82-8.5-8.5 5.44-.68 7.82-3.06 8.5-8.5Z'/%3E%3Cpath d='M19 1.5c.3 2.4 1.1 3.2 3.5 3.5-2.4.3-3.2 1.1-3.5 3.5-.3-2.4-1.1-3.2-3.5-3.5 2.4-.3 3.2-1.1 3.5-3.5Z'/%3E%3C/svg%3E")}
@media(max-width:760px){
  #products .product-card .mx-price,#products .mx-soon-badge{gap:4px;padding:3px 8px 3px 6px;border-radius:8px;font-size:11px}
  #products .product-card .mx-price::before,#products .mx-soon-badge::before{width:15px;height:15px;-webkit-mask-size:calc(var(--ic-size,10.3px) * .92);mask-size:calc(var(--ic-size,10.3px) * .92)}
}

/* 2.46.2: монета UC и звезда Telegram в метках, полужирный 12px, центровка текста */
#products .product-card .mx-price,#products .mx-soon-badge{font-weight:600 !important}
#products .product-card.pubg .mx-price::before{width:20px;height:16px;background:url(/site/art/uc-coin.webp) center/contain no-repeat;-webkit-mask:none;mask:none;filter:drop-shadow(0 1px 1.5px #0009);transform:translateY(1px)}
@media(max-width:760px){#products .product-card.pubg .mx-price::before{width:17px;height:13.5px;-webkit-mask:none;mask:none;transform:translateY(.75px)}}
#products .product-card .mx-price,#products .mx-soon-badge{font-size:12px}
#products .product-card .mx-price::before,#products .mx-soon-badge::before{-webkit-mask-size:calc(var(--ic-size,10.3px)*.92);mask-size:calc(var(--ic-size,10.3px)*.92)}
#products .product-card.pubg .mx-price::before{width:18.5px;height:15px}
@media(max-width:760px){
#products .product-card .mx-price,#products .mx-soon-badge{font-size:10.5px}
#products .product-card .mx-price::before,#products .mx-soon-badge::before{-webkit-mask-size:calc(var(--ic-size,10.3px)*.88);mask-size:calc(var(--ic-size,10.3px)*.88)}
#products .product-card.pubg .mx-price::before{width:16px;height:13px}
}
#products .product-card.pubg .mx-price::before{transform:translateY(-.4px)}@media(max-width:760px){#products .product-card.pubg .mx-price::before{transform:translateY(.5px)}}
#products .product-card .mx-price,#products .mx-soon-badge{padding-top:6.9px;padding-bottom:5.1px}@media(max-width:760px){#products .product-card .mx-price,#products .mx-soon-badge{padding-top:4px;padding-bottom:2px}}
#products .product-card .mx-price-stars::before{width:15px;height:15px;background:url(/site/art/stars.svg) center/contain no-repeat;-webkit-mask:none;mask:none;filter:drop-shadow(0 1px 1.5px #0009);transform:translateY(-.4px)}
@media(max-width:760px){#products .product-card .mx-price-stars::before{width:13px;height:13px;transform:none}}

/* 2.46.4: лента листается свободно — без доводки и возврата к карточке */
#products.cards,#products.cards[data-selection]{scroll-snap-type:none !important;scroll-behavior:auto}
#products .product-card{scroll-snap-align:none !important}

/* 2.46.5: телефон — зазор между карточками 8px, углы 14px */
@media(max-width:760px){#products.cards,#products.cards[data-selection]{gap:8px !important}#products .product-card{border-radius:14px !important}}
