/* Catalog and detail styling shared with the selected storefront identity. */
.sp-catalog, .sp-product {
  --sp-line: #41394f;
  --sp-panel: #1b1724;
  --sp-muted: #c1b6d2;
  --sp-accent: #cfbaff;
  padding: 18px 0 clamp(38px, 5vw, 72px);
  color: var(--ink, #f4f0ff);
}
.sp-catalog *, .sp-product * { box-sizing: border-box; }
.gm-product-container { width:100%; min-width:0; margin-inline:auto; }
.sp-catalog [hidden], .sp-product [hidden] { display: none !important; }
.sp-catalog a, .sp-product a { color: inherit; }
.sp-catalog :focus-visible, .sp-product :focus-visible { outline: 3px solid #ada4ff; outline-offset: 3px; }
.sp-crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 clamp(17px, 2vw, 31px); color: var(--sp-muted); font-size: .84rem; }
.sp-crumb a { text-decoration: none; }
.sp-crumb > * + *::before { content: "/"; margin-right: 10px; color: #887c9e; }
.sp-crumb a:hover, .sp-game-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sp-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: clamp(19px, 2.7vw, 37px); }
.sp-catalog-head h1, .sp-identity h1 { margin: 0; overflow-wrap: anywhere; font-weight: 710; letter-spacing: -.065em; line-height: 1.02; }
.sp-catalog-head h1 { font-size: clamp(2.35rem, 5vw, 5.1rem); }
.sp-count { color: var(--sp-muted); font-size: .92rem; white-space: nowrap; }
.sp-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 0 0 20px; }
.sp-filters label, .sp-choice, .sp-qty { display: grid; min-width: 0; gap: 5px; }
.sp-search { flex: 1 1 190px; }
.sp-filters label > span, .sp-choice > span, .sp-qty > span { color: var(--sp-muted); font-size: .84rem; font-weight: 550; line-height: 1.25; }
.sp-filters input, .sp-filters select, .sp-choice select, .sp-qty input {
  display: block; width: 100%; min-width: 0; min-height: 43px; padding: 7px 11px;
  border: 1px solid var(--sp-line); border-radius: 7px; color: #f3edf9; background: #17131f; font: inherit; line-height: 1.2;
}
.sp-choice select { text-overflow: ellipsis; }
.sp-filters input::placeholder { color: #ae9fbc; opacity: 1; }
.sp-filters button, .sp-buy-row button {
  border: 1px solid transparent; color: #231832; background: var(--sp-accent); border-radius: 7px; cursor: pointer;
  min-height: 43px; padding: 8px 18px; font: 680 .93rem/1.24 var(--store-font);
}
.sp-filters button:hover, .sp-buy-row button:hover:not(:disabled) { background: #eee4ff; }
.sp-filters .sp-reset { color: var(--sp-muted); padding: 10px 2px; text-underline-offset: 4px; }
.sp-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(9px, 1.35vw, 20px); }
.sp-card {
  min-width: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sp-line);
  border-radius: 12px; background: var(--sp-panel); text-decoration: none; transition: border-color .16s ease, background-color .16s ease;
}
.sp-card:hover { background: #272032; border-color: #8c77aa; }
.sp-thumb { display: block; overflow: hidden; width: 100%; aspect-ratio: 1.55; background: #100e17; }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .22s ease-out; }
.sp-card:hover .sp-thumb img { transform: scale(1.035); }
.sp-card-copy { display: grid; align-content: start; gap: 5px; padding: 12px 14px 9px; min-width: 0; }
.sp-category { font-size: .76rem; color: var(--sp-muted); overflow-wrap: anywhere; }
.sp-card-copy > strong { overflow-wrap: anywhere; line-height: 1.3; font-size: 1rem; font-weight: 650; }
.sp-card-price { display: block; padding: 0 14px 14px; margin-top: auto; color: #e7d9ff; font-size: .96rem; line-height: 1.35; font-weight: 690; }
.sp-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.sp-pages a, .sp-pages span[aria-current] { display: inline-flex; margin: 0; align-items: center; justify-content: center; min-width: 39px; min-height: 39px; border: 1px solid var(--sp-line); border-radius: 6px; padding: 5px 9px; text-decoration: none; }
.sp-pages a:hover { border-color: var(--sp-accent); }
.sp-pages span[aria-current] { color: #231832; background: var(--sp-accent); font-weight: 700; }
.sp-empty { grid-column: 1/-1; padding: 26px; border: 1px solid var(--sp-line); border-radius: 9px; text-align: center; }
.sp-empty h2 { margin: 0; font-size: 1.5rem; }
.sp-empty p { color: var(--sp-muted); }
.sp-empty a { text-decoration: underline; text-underline-offset: 4px; }
.sp-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(16px, 3vw, 48px); }
.sp-art { display: flex; align-items: center; justify-content: center; isolation: isolate; position: relative; min-width: 0; overflow: hidden; padding: clamp(9px, 2vw, 28px); border: 1px solid var(--sp-line); border-radius: 16px; background: radial-gradient(at center, #30263e, #13101b 78%); }
.sp-art img { width: 100%; height: auto; max-height: min(63vh, 550px); object-fit: contain; }
.sp-offer { min-width: 0; }
.sp-identity { margin: 0 0 18px; }
.sp-identity .sp-game-link { display: inline-block; margin-bottom: 9px; color: var(--sp-accent); font-size: .81rem; letter-spacing: .065em; text-transform: uppercase; }
.sp-identity h1 { font-size: clamp(2rem, 3.8vw, 4.5rem); }
.sp-purchase { display: grid; gap: 17px; padding: clamp(15px, 2.1vw, 31px); border: 1px solid var(--sp-line); border-radius: 12px; background: var(--sp-panel); }
.sp-cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; margin: 0; }
.sp-cost > span { width: 100%; color: var(--sp-muted); font-size: .83rem; }
.sp-cost strong { color: #f7f1ff; font-size: clamp(1.45rem, 2.55vw, 2.6rem); letter-spacing: -.052em; line-height: 1.1; overflow-wrap: anywhere; }
.sp-cost del { color: var(--sp-muted); }
.sp-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); align-items: end; gap: 12px; }
.sp-choices:empty { display: none; }
.sp-buy-row { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.sp-qty { width: 98px; }
.sp-buy-row button { min-width: min(160px, 100%); }
.sp-buy-row button:disabled { cursor: default; opacity: .61; }
.sp-stock, .sp-error { color: var(--sp-muted); margin: 0; font-size: .88rem; }
.sp-error { color: #ffd4e7; border-left: 2px solid #da94be; padding: 5px 10px; }
.sp-description, .sp-related { margin-top: clamp(28px, 4.4vw, 64px); padding-top: clamp(16px, 2.4vw, 33px); border-top: 1px solid var(--sp-line); }
.sp-description { display: grid; grid-template-columns: minmax(135px, .36fr) minmax(0, 1fr); gap: 16px 26px; }
.sp-description p { margin: 0 0 .8em; max-width: 78ch; line-height: 1.57; color: #d6cfdf; overflow-wrap: anywhere; }
.sp-description h2, .sp-related h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.7rem); line-height: 1.11; letter-spacing: -.055em; }
.sp-related h2 { margin-bottom: 16px; }

/* Журнал — крупные подписи и наборные колонки с тонкими линейками. */
.gm-journal .sp-identity h1, .gm-journal .sp-catalog-head h1, .gm-journal .sp-description h2, .gm-journal .sp-related h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; }
.gm-journal .sp-catalog-head { padding-bottom: 15px; border-bottom: 1px solid #675675; }
.gm-journal .sp-catalog .sp-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-journal .sp-card { border: 0; border-bottom: 1px solid var(--sp-line); border-radius: 0; background: none; }
.gm-journal .sp-card-copy, .gm-journal .sp-card-price { padding-inline: 0; }
.gm-journal .sp-card-copy > strong { font: 400 clamp(1.1rem,1.7vw,1.75rem)/1.12 Georgia, serif; }
.gm-journal .sp-detail-layout { align-items: center; }
.gm-journal .sp-art, .gm-journal .sp-purchase { border-radius: 0; }
.gm-journal .sp-art { background: linear-gradient(139deg, #3b2b51, #211a30); }
.gm-journal .sp-purchase { border-width: 1px 0; padding-inline: 0; background: none; }

/* Терминал — плотный реестр и отдельная панель осмотра. */
.gm-terminal .sp-catalog, .gm-terminal .sp-product { --sp-line: #32465c; --sp-panel: #101c2a; --sp-accent: #afceff; --sp-muted: #abc0d9; }
.gm-terminal .sp-catalog-head h1, .gm-terminal .sp-identity h1, .gm-terminal .sp-price, .gm-terminal .sp-card-price, .gm-terminal .sp-count { font-family: Consolas, "Courier New", monospace; }
.gm-terminal .sp-catalog .sp-items { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--sp-line); }
.gm-terminal .sp-catalog .sp-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(150px, 23%); align-items: center; gap: 14px; min-height: 72px; border-width: 0 0 1px; border-radius: 0; padding: 6px 12px; }
.gm-terminal .sp-catalog .sp-card:nth-child(even) { background: #111b28; }
.gm-terminal .sp-catalog .sp-card:hover { box-shadow: inset 3px 0 #a2baff; background: #19283b; }
.gm-terminal .sp-catalog .sp-thumb { width: 57px; aspect-ratio: 1; }
.gm-terminal .sp-catalog .sp-card-copy { display: grid; align-items: center; grid-template-columns: 1.9fr 1fr; padding: 0; }
.gm-terminal .sp-catalog .sp-card-copy strong { grid-row: 1; }
.gm-terminal .sp-catalog .sp-card-copy .sp-category { grid-column: 2; }
.gm-terminal .sp-catalog .sp-card-price { padding: 0; margin: 0; text-align: right; color: #bccfff; }
.gm-terminal .sp-detail-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); padding: clamp(13px, 2vw, 30px); border: 1px solid var(--sp-line); background: #0e1824; }
.gm-terminal .sp-art { border-radius: 2px; background: repeating-linear-gradient(0deg, transparent 0 21px, #293952 22px), #111d2a; }
.gm-terminal .sp-art img { max-height: 370px; }
.gm-terminal .sp-purchase, .gm-terminal .sp-filters button, .gm-terminal .sp-buy-row button { border-radius: 2px; }

/* По играм — подборка обложек, крупная коробка продукта. */
.gm-games .sp-catalog-head { background: radial-gradient(ellipse at 84% 0, #403668bb, transparent 69%), #1c1829; border: 1px solid var(--sp-line); border-radius: 17px; padding: clamp(15px,2.6vw,38px); }
.gm-games .sp-thumb { aspect-ratio: 1.04; }
.gm-games .sp-thumb img { object-fit: contain; }
.gm-games .sp-art { border-radius: 17px; padding: clamp(15px,2.8vw,40px); background: radial-gradient(ellipse at 25% 24%, #483b71, #161322 70%); }
.gm-games .sp-art img { filter: drop-shadow(0 12px 15px #08060c99); }
.gm-games .sp-identity .sp-game-link { border: 1px solid #554971; padding: 5px 9px; border-radius: 18px; letter-spacing: .02em; }
.gm-games .sp-description { border: 1px solid var(--sp-line); background: var(--sp-panel); padding: 20px; border-radius: 12px; }

/* Экспресс — компактные строки и покупка слева от предмета. */
.gm-express .sp-catalog-head { border-radius: 16px; padding: clamp(14px, 2vw, 30px); color: #181227; background: linear-gradient(110deg, #a6b2ff, #d6bcff); }
.gm-express .sp-catalog-head .sp-count { color: #3d3451; }
.gm-express .sp-catalog .sp-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.gm-express .sp-catalog .sp-card { display: grid; grid-template-columns: minmax(77px,.32fr) minmax(0,1fr); align-items: center; column-gap: 12px; padding: 8px; border-radius: 13px; }
.gm-express .sp-catalog .sp-thumb { grid-row: 1/3; width: 100%; height: 100%; min-height: 92px; max-height: 118px; aspect-ratio: 1; border-radius: 6px; }
.gm-express .sp-catalog .sp-card-copy, .gm-express .sp-catalog .sp-card-price { padding: 3px 0; }
.gm-express .sp-detail-layout { align-items: stretch; gap: 0; border: 1px solid #535070; border-radius: 19px; overflow: hidden; background: #28213a; }
.gm-express .sp-offer { padding: clamp(17px, 2.8vw, 42px); color: #21192d; background: linear-gradient(135deg, #a9b2ff, #c8a7e8); }
.gm-express .sp-identity .sp-game-link { color: #483357; }
.gm-express .sp-purchase { color: #f1edff; background: #261c39; }
.gm-express .sp-art { border: 0; border-radius: 0; padding: clamp(15px, 4.7vw, 68px); }
.gm-express .sp-buy-row button { border-radius: 25px; }

/* Подбор — центрированная шапка и визуально связанные варианты. */
.gm-selector .sp-catalog-head { display: grid; justify-content: center; gap: 7px; border-bottom: 1px solid var(--sp-line); text-align: center; padding: 12px 0 26px; }
.gm-selector .sp-filters { padding: 14px; border: 1px solid var(--sp-line); border-radius: 14px; background: #1c1829; }
.gm-selector .sp-card { border-radius: 15px; }
.gm-selector .gm-product-container > .sp-identity { text-align: center; margin: 0 auto clamp(18px,3vw,40px); max-width: 85ch; }
.gm-selector .sp-detail-layout { max-width: 1020px; margin-inline: auto; align-items: stretch; gap: 0; border: 1px solid #4c405f; border-radius: 16px; overflow: hidden; }
.gm-selector .sp-purchase { border: 0; border-radius: 0; height: 100%; align-content: center; }
.gm-selector .sp-art { border: 0; border-radius: 0; background: radial-gradient(ellipse at 25% 40%, #393052, #171222 80%); }

@media(max-width:900px) {
  .sp-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gm-journal .sp-catalog .sp-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-detail-layout { gap: 16px; }
}
@media(max-width:700px) {
  .sp-catalog, .sp-product { padding-top: 12px; }
  .sp-items, .gm-journal .sp-catalog .sp-items { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sp-catalog-head { align-items: start; flex-direction: column; gap: 5px; }
  .sp-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; }
  .sp-search { grid-column: 1/-1; }
  .sp-filters .sp-reset { justify-self: start; }
  .sp-filters select { font-size: .87rem; }
  .sp-detail-layout, .gm-terminal .sp-detail-layout { grid-template-columns: minmax(0,1fr); }
  .sp-art img { max-height: 340px; }
  .gm-journal .sp-art { grid-row: 1; }
  .gm-selector .sp-art img { max-height: 280px; }
  .gm-express .sp-catalog .sp-items { grid-template-columns: minmax(0,1fr); }
  .gm-express .sp-catalog .sp-card { grid-template-columns: 75px minmax(0,1fr); }
  .gm-express .sp-catalog .sp-thumb { min-height: 72px; }
  .gm-express .sp-art img { max-height: 210px; }
  .sp-description { display: block; }
  .sp-description h2 { margin-bottom: 12px; }
  .gm-terminal .sp-catalog .sp-card { grid-template-columns: 42px minmax(0,1fr) minmax(76px,.5fr); gap: 8px; min-height: 59px; padding: 6px; }
  .gm-terminal .sp-catalog .sp-thumb { width: 42px; }
  .gm-terminal .sp-catalog .sp-card-copy { display: flex; flex-direction: column-reverse; align-items: start; gap: 2px; }
  .gm-terminal .sp-catalog .sp-card-copy strong { font-size: .86rem; }
  .gm-terminal .sp-catalog .sp-card-price { font-size: .79rem; }
}
@media(max-width:420px) {
  .sp-count { white-space: normal; }
  .sp-card-copy { padding: 9px 8px; }
  .sp-card-copy strong { font-size: .87rem; }
  .sp-card-price { font-size: .83rem; padding: 0 8px 10px; }
  .sp-crumb { font-size: .76rem; margin-bottom: 12px; }
  .sp-buy-row { display: grid; grid-template-columns: 82px minmax(0,1fr); }
  .sp-qty { width: 100%; }
  .sp-buy-row button { min-width: 0; }
  .sp-choices { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .sp-card, .sp-thumb img { transition: none; }
  .sp-card:hover .sp-thumb img { transform: none; }
}

/* Арена: обложки товарных наборов, параметры и строка покупки. */
.gm-arena .sp-catalog, .gm-arena .sp-product {
  --sp-accent: #a59bff; --sp-line: #383941; --sp-panel: #1d1e24; --sp-muted: #afb0c1;
  padding-top: clamp(7px,1vw,15px);
}
.arena-item-grid, .gm-arena .sp-items {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.1vw,18px);
}
.ar-pack {
  position: relative; isolation: isolate; display: flex; min-width: 0; flex-direction: column;
  border: 1px solid #363740; border-radius: 4px; background: #1a1b22; color: #f0f1fa; overflow: hidden;
  transition: border-color .3s ease, background-color .3s ease;
}
.ar-pack:focus-within { border-color:#77748c; }
.ar-pack:focus-within { outline: 2px solid #aaa2ff; outline-offset: 2px; }
.ar-pack-art { overflow:hidden; aspect-ratio:1; width:100%; }
.ar-pack-art img { display:block; width:100%; height:100%; object-fit:contain; }
.ar-pack-art img, .ar-detail-art .sp-art > img:not(.ar-cover-glow) {
  --edge:12%;
  mask-image:linear-gradient(to right,transparent 2px,#000 var(--edge),#000 calc(100% - var(--edge)),transparent calc(100% - 2px)),
             linear-gradient(to bottom,transparent 2px,#000 var(--edge),#000 78%,transparent calc(100% - 2px));
  mask-composite:intersect;
}
.ar-cover-glow {
  position:absolute; z-index:-1; pointer-events:none; inset:0 0 auto;
  display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover;
  filter:blur(20px) saturate(1.12); opacity:.55;
  /* Keep the fade inside every edge, including on wide product detail panels. */
  mask-image:radial-gradient(ellipse 50% 50% at center,#000 30%,rgba(0,0,0,.8) 58%,rgba(0,0,0,.18) 84%,transparent 98%);
}
.ar-pack-content { min-width:0; flex:1; padding:clamp(12px,1.14vw,18px) clamp(12px,1.15vw,18px) 10px; }
.ar-pack-game { display:block; color:#b3b1d2; font:620 .76rem/1.25 var(--store-font); letter-spacing:.04em; }
.ar-pack h3 { margin:5px 0 10px; text-wrap:pretty; overflow-wrap:anywhere; font:700 clamp(1.04rem,1.45vw,1.52rem)/1.14 var(--store-font); letter-spacing:-.025em; }
.ar-pack .ar-pack-hit, .ar-pack .ar-pack-hit:hover {
  display:flex; flex:1; flex-direction:column; position:relative; min-width:0; height:auto;
  padding:0; border:0; border-radius:0; outline:none; overflow:hidden; isolation:isolate;
  background:transparent; color:inherit; text-decoration:none; font:inherit;
}
.ar-pack-bar {
  display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0;
  padding:10px clamp(12px,1.15vw,18px); border-top:1px solid #35343f; background:#15161d;
}
.ar-pack-bar strong { color:#f6f5fc; font:700 clamp(.97rem,1.12vw,1.18rem)/1.2 var(--store-font); letter-spacing:-.035em; }
.ar-pack-open { flex:none; min-height:33px; padding:6px 12px; font:750 .78rem/1.25 var(--store-font); }
.ar-pack-bar form { margin:0; }
.ar-pack-bar button {cursor:pointer;}
.gm-arena .sp-crumb { align-items:center; gap:7px 5px; margin-bottom:16px; color:#f6f3ff; }
.gm-arena .sp-crumb > * {
  position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center;
  min-height:32px; max-width:100%; padding:5px 16px;
  font:650 .88rem/1.15 var(--store-font); text-transform:uppercase; text-align:center; overflow-wrap:anywhere;
}
.gm-arena .sp-crumb > *::before {
  content:""; position:absolute; inset:0 4px; z-index:-1; margin:0; pointer-events:none;
  transform:skewX(-14deg); border-radius:1px; background:#49435d;
}
.gm-arena .sp-crumb > a:is(:hover,:focus-visible) { text-decoration:none; }
.gm-arena .sp-crumb > a:is(:hover,:focus-visible)::before { background:#61499b; box-shadow:3px 3px 0 #24458f; }
@media (pointer:coarse) {
  .gm-arena .sp-crumb > * { min-height:44px; }
}
.gm-arena .gm-product-container {
  padding:clamp(16px,2.4vw,34px);
  background:linear-gradient(135deg,#181a2bde,#141522d9);
  border:1px solid #81779e58; border-radius:6px;
}
.gm-arena .sp-related { margin-top:clamp(18px,2vw,28px); padding-top:0; border:0; }
@media (min-width:791px) and (max-width:1099px) {
  .gm-arena .sp-related .sp-items:has(> :nth-child(4)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .gm-arena .gm-product-container { padding:14px 10px; }
}
.gm-arena .sp-catalog-head {
  position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column;
  justify-content:center; align-items:flex-start; gap:8px; min-height:clamp(175px,18vw,245px);
  margin-bottom:18px; padding:22px clamp(18px,3.4vw,54px); background:#111426;
}
.gm-arena .sp-catalog-head::before,.gm-arena .sp-catalog-head::after {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
}
.gm-arena .sp-catalog-head::before {
  background:linear-gradient(90deg,#101222b8,#11132687),var(--store-panorama) center 49%/cover;
}
.gm-arena .sp-catalog-head::after {
  left:auto; height:100%; aspect-ratio:16/9; max-width:58%;
  background:url("/assets/god-mode-temple.webp") center/contain no-repeat;
  mask-image:linear-gradient(90deg,transparent,#000 13%);
}
.gm-arena .sp-catalog-head :is(h1,.sp-count) { max-width:48%; }
@media(max-width:600px) {
  .gm-arena .sp-catalog-head { --art-height:clamp(145px,51vw,306px); min-height:0; gap:4px; padding:calc(var(--art-height) + 8px) 16px 15px; }
  .gm-arena .sp-catalog-head::after { inset:0 0 auto; max-width:none; width:100%; height:var(--art-height); background-size:cover; mask-image:linear-gradient(#000 85%,transparent); }
  .gm-arena .sp-catalog-head :is(h1,.sp-count) { max-width:100%; }
}
.gm-arena .sp-catalog-head h1 { font:700 clamp(2.1rem,3.8vw,4rem)/1.04 var(--store-font); letter-spacing:-.035em; }
.gm-arena .sp-filters { display:grid; grid-template-columns:minmax(140px,1.3fr) minmax(110px,.8fr) minmax(130px,.8fr) auto; margin-bottom:17px; padding:12px 14px; background:#1a1b22; border:1px solid #303139; border-radius:3px; }
.gm-arena .sp-filters .sp-reset { grid-column:1/-1; padding:0; width:fit-content; }
.gm-arena .sp-filters input, .gm-arena .sp-filters select, .gm-arena .sp-choice select, .gm-arena .sp-qty input {
  min-height:40px; border-radius:3px; border-color:#45444e; background:#15151c;
}
.gm-arena .sp-filters button {
  min-height:40px; padding:8px 17px; border-radius:3px; background:#6c52d3; color:white;
}
.gm-arena .sp-filters button:hover{background:#785ce6}

.gm-arena .ar-cta, .gm-arena .ar-cta:not(:disabled):hover {
  --cta-active-shadow:4px 4px 0 #24458f;
  position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center;
  gap:.42em; border:0; border-radius:0; background:transparent; color:#fff; text-decoration:none;
  font-style:italic; font-weight:800; letter-spacing:.02em; text-transform:uppercase;
}
.ar-cta::before {
  content:""; position:absolute; inset:0 4px; z-index:-1; pointer-events:none;
  transform:skewX(-14deg); border-radius:1px;
  background:linear-gradient(110deg,#4934af,#673ccc 65%,#5542bd);
  box-shadow:var(--cta-shadow,2px 3px 0 #262342); transition:box-shadow .28s ease;
}
.ar-cta-arrows { display:block; flex:none; width:1.8em; height:1.2em; pointer-events:none; }
.ar-cta-arrows path {
  transform:translateX(7px); transition:transform .28s ease,opacity .2s ease;
  animation:var(--cta-pulse,none) 1.4s ease-in-out infinite;
}
.ar-cta-arrows path:first-child { transform:translateX(var(--cta-first,7px)); animation-delay:.32s; }
.ar-cta-arrows path:nth-child(2) { opacity:var(--cta-open,0); color:#d8ceff; animation-delay:.16s; }
.ar-cta-arrows path:last-child { opacity:var(--cta-open,0); color:#9ed5ff; transform:translateX(var(--cta-last,7px)); }
.ar-cta:disabled::before { background:#49435d; box-shadow:none; }
.ar-cta:disabled .ar-cta-arrows { visibility:hidden; }
.ar-cta:not(:disabled):is(:focus-visible,:active) {
  --cta-shadow:var(--cta-active-shadow); --cta-first:0px; --cta-last:14px; --cta-open:1; --cta-pulse:ar-chevron-light;
}
.ar-cta:focus-visible { outline:2px solid #b6caff; outline-offset:4px; }
@media (hover:hover) and (pointer:fine) {
  .ar-cta:not(:disabled):hover {
    --cta-shadow:var(--cta-active-shadow); --cta-first:0px; --cta-last:14px; --cta-open:1; --cta-pulse:ar-chevron-light;
  }
}
@keyframes ar-chevron-light { 55% { stroke:#b9c9ff; } }
@media (prefers-reduced-motion:reduce) {
  .ar-cta::before, .ar-cta-arrows path { transition:none; animation:none; }
}
.gm-arena .sp-pages a, .gm-arena .sp-pages span[aria-current]{border-radius:3px;}
.gm-arena .sp-detail-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); align-items:stretch; gap:clamp(13px,2vw,32px);}
.ar-detail-art{min-width:0;display:grid}
.gm-arena .sp-art{padding:0;border:0;border-radius:0;background:transparent;}
.gm-arena .sp-art > img:not(.ar-cover-glow){display:block;width:100%;max-width:510px;max-height:none;}
.ar-detail-art .sp-art > .ar-cover-glow {
  inset:0; height:100%; max-height:none; object-fit:cover; opacity:.65;
  filter:blur(clamp(24px,3vw,46px)) saturate(1.12);
}
.gm-arena .sp-offer{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:clamp(17px,2.4vw,38px);border:1px solid #393844;border-radius:3px;background:#202028;}
.gm-arena .sp-identity{padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #41404a;}
.gm-arena .sp-identity h1{font-size:clamp(1.9rem,3.25vw,3.7rem);line-height:1.02;letter-spacing:-.065em;}
.gm-arena .sp-identity .sp-game-link{color:#b8b0fa;letter-spacing:.045em;font-weight:640;}
.gm-arena .sp-purchase{padding:0;border:0;background:transparent;gap:14px;}
.gm-arena .sp-buy-row{flex-wrap:nowrap;}
.gm-arena .sp-buy-row button{flex:1;min-width:0;min-height:43px;}
.gm-arena .sp-qty{width:80px;}
.gm-arena .sp-related h2, .gm-arena .sp-description h2, .ar-details-summary h2{margin:0 0 14px;font:700 clamp(1.4rem,2.15vw,2.4rem)/1.12 var(--store-font);letter-spacing:-.03em;}
.ar-details-summary{margin-top:clamp(22px,2.8vw,42px);border-top:1px solid #3b3945;padding-top:20px;}
.ar-detail-facts{display:flex;flex-wrap:wrap;gap:8px 25px;margin:0;padding:0;}
.ar-detail-facts div{display:grid;align-content:start;gap:3px;padding-right:20px;border-right:1px solid #423f4b;min-width:100px;max-width:100%}
.ar-detail-facts div:last-child{border-right:0}
.ar-detail-facts dt{font-size:.78rem;color:#acacbe;}.ar-detail-facts dd{margin:0;font-size:.9rem;overflow-wrap:anywhere;color:#eceaf4;}
@media(max-width:1099px){.arena-item-grid,.gm-arena .sp-items{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:790px){.arena-item-grid,.gm-arena .sp-items{grid-template-columns:repeat(2,minmax(0,1fr));}.gm-arena .sp-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.gm-arena .sp-offer{padding:15px}.gm-arena .sp-filters{grid-template-columns:1fr 1fr}.gm-arena .sp-search{grid-column:auto}}
@media(max-width:610px){.gm-arena .sp-detail-layout{grid-template-columns:1fr;}.ar-pack-content{padding:10px 9px}.ar-pack-game{font-size:.75rem}.ar-pack h3{font-size:1rem}.ar-pack-bar{flex-wrap:wrap;gap:5px;padding:8px 9px}.ar-pack-open{min-height:30px;padding:5px 9px}.ar-detail-facts{gap:10px 14px}.ar-detail-facts div{padding-right:12px}.gm-arena .sp-filters{padding:10px}.gm-arena .sp-filters input[type=search]{font-size:1rem}}
@media(max-width:390px){.arena-item-grid,.gm-arena .sp-items{grid-template-columns:minmax(0,1fr)}.ar-pack-open{min-height:34px}.ar-pack-bar,.ar-pack-content{padding:10px 13px}.ar-pack h3{font-size:1.18rem}}
/* On touch the short description stays in the document flow. A fine pointer reveals the
   same information inside the card, leaving its purchase controls stationary. */
.ar-pack-excerpt { margin:0; color:#d2d4e1; font:.88rem/1.45 var(--store-font); overflow-wrap:anywhere; }
.ar-pack-stock { margin:6px 0 0; color:#c6b9e5; font:.8rem/1.4 var(--store-font); }
@media (hover:hover) and (pointer:fine) {
  .ar-pack .ar-pack-hit { container-type:inline-size; --reveal-travel:clamp(68px,30cqi,106px); }
  .ar-pack-content {
    position:relative;
    margin-top:calc(0px - var(--reveal-travel));
    transform:translateY(var(--reveal-travel));
    transition:transform .3s ease;
  }
  .ar-pack-reveal { min-height:var(--reveal-travel); opacity:0; transition:opacity .3s ease; }
  .ar-pack-art { flex:none; transition:transform .3s ease,opacity .3s ease; }
  .ar-pack-art img { margin-inline:auto; transition:width .3s ease,height .3s ease,transform .3s ease; }
  .ar-pack:is(:hover,:focus-within) { background:#10121d; border-color:#746f94; }
  .ar-pack:is(:hover,:focus-within) .ar-pack-art { transform:translateY(-25%); opacity:.30; }
  .ar-pack:is(:hover,:focus-within) .ar-pack-art img {
    --edge:18%;
    --visible-size:min(75cqi,calc(100cqi - var(--reveal-travel)));
    width:var(--visible-size); height:var(--visible-size); transform:translateY(25cqi);
  }
  .ar-pack:is(:hover,:focus-within) .ar-pack-content { transform:translateY(0); }
  .ar-pack:is(:hover,:focus-within) .ar-pack-reveal { opacity:1; }
}
@media (prefers-reduced-motion:reduce) {
  .ar-pack,.ar-pack-art,.ar-pack-art img,.ar-pack-content,.ar-pack-reveal { transition:none; }
}
