/* ملك الألعاب · KING GAMES — طبقة التصميم فوق ثيم ملاك (خانة CSS المخصص).
   الأقسام والمنتجات من عناصر سلة نفسها؛ هذا الملف يغيّر الشكل فقط. الحركة كلها transform/opacity. */

:root{
  --kg-ink:#0D0714; --kg-ink2:#150C20; --kg-ink3:#1E122B; --kg-glass:rgba(21,12,32,.86);
  --kg-line:rgba(226,206,255,.10); --kg-line2:rgba(226,206,255,.18);
  --kg-royal:#7F16AE; --kg-lite:#A53CD4; --kg-lilac:#D7BFF0;
  --kg-gold:#E0BC5A; --kg-gold-hi:#F3D88E; --kg-gold-lo:#C99B33;
  --kg-text:#F5F0FA; --kg-muted:#B4A9C1;
  --kg-acc:var(--kg-gold); --kg-acc-ink:#1A0F05; --kg-deep:#170C22;
  --kg-ease:cubic-bezier(.22,.8,.24,1);
}

/* the page: black with a soft mauve glow (a fixed layer, scrolling never repaints it) */
html{background:var(--kg-ink)!important}
body#app{background:transparent!important}
html::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(70% 55% at 88% 6%,rgba(127,22,174,.20),transparent 70%),radial-gradient(60% 50% at 8% 90%,rgba(165,60,212,.12),transparent 70%),radial-gradient(45% 40% at 50% 50%,rgba(89,0,136,.08),transparent 70%)}

/* header */
/* the header is see-through, part of the page: at the top only a light shade from above keeps its icons readable over a bright
   picture, and it sits over the hero, which runs up under it. Once it sticks on scroll it gets its dark bar back over the content */
.store-header .main-nav-container{position:relative;z-index:40;background:transparent!important;border-bottom:0!important;box-shadow:none!important}
.store-header .main-nav-container .header-inner.inner{--header-bg:transparent;background-image:linear-gradient(180deg,rgba(13,7,20,.6),rgba(13,7,20,0))!important;box-shadow:none!important}
/* pinned: its own gradient bar (purple at the sides, dark behind the logo) and a gold line, so it stands apart from the page under it.
   Salla paints the bar with an inline background-color:var(--header-bg)!important, so the colour goes through --header-bg */
.store-header .main-nav-container.fixed-pinned .header-inner.inner{opacity:1!important;box-shadow:0 1px 0 rgba(224,188,90,.35),0 18px 36px -16px rgba(0,0,0,.9)!important}

/* section titles */
.s-block__title h2,.dark .s-block__title h2.da-cp,.dark .s-slider-block__title h2{color:var(--kg-text)!important;font-weight:700!important}

/* product cards */
.s-product-card-entry{background:var(--kg-ink2)!important;border:1px solid var(--kg-line)!important;border-radius:18px!important;overflow:hidden;position:relative;transition:transform .5s var(--kg-ease)!important}
.s-product-card-entry::after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid var(--kg-gold);opacity:0;transition:opacity .4s ease;pointer-events:none;z-index:4}
.s-product-card-image{overflow:hidden}
.s-product-card-image img{transition:transform .9s var(--kg-ease)!important}
.s-product-card-entry .s-product-card-price,.s-product-card-entry .s-product-card-sale-price h4,.s-product-card-entry .s-product-card-sale-price{color:var(--kg-gold)!important}
.s-product-card-entry .s-product-card-content-title a{color:var(--kg-text)!important}
.s-product-card-entry salla-add-product-button button,.s-product-card-entry .s-button-primary{background:var(--kg-royal)!important;border-color:var(--kg-royal)!important;border-radius:12px!important;color:#fff!important;transition:transform .25s var(--kg-ease)!important}
.s-product-card-entry salla-add-product-button button:active{transform:scale(.96)}
@media (hover:hover){
  .s-product-card-entry:hover{transform:translateY(-6px)}
  .s-product-card-entry:hover::after{opacity:.75}
  .s-product-card-entry:hover .s-product-card-image img{transform:scale(1.06)}
}

/* square banners and banner images */
.s-block--banners .swiper-slide a,.s-block--banners .banner-entry{display:block;position:relative;border-radius:20px;overflow:hidden;isolation:isolate;transition:transform .5s var(--kg-ease)}
.s-block--banners .swiper-slide img,.s-block--banners .banner-entry img{transition:transform .9s var(--kg-ease)}
/* the icon pictures sit on black: lighten lets a tile in the design's colours show through the black and leaves the icon itself as it is. The tile is opaque, so the moving wall behind it never re-blends */
.s-block--banners.kg-ico .box-img{isolation:isolate;overflow:hidden;border-radius:20px;background-color:var(--kg-ink2);background-image:radial-gradient(90% 80% at 50% 0%,color-mix(in srgb,var(--kg-sq,#3D8BFF) 22%,transparent),transparent 72%);box-shadow:inset 0 0 0 1px var(--kg-line)}
.s-block--banners.kg-ico .box-img img{mix-blend-mode:lighten}
/* the icons light up one after the other along each row: a ring of light on the icon's ring and a small swell (home squares and the
   category pages' squares). Only opacity and transform move; the delay comes from the square's place in its row, so nothing is written */
.s-block--banners.kg-ico .box-img{position:relative}
html.kg-motion .s-block--banners.kg-ico .box-img img,html.kg-motion .kg-subsq-box img{animation:kgWaveIco 3.2s var(--kg-ease) var(--kg-wd,0s) infinite}
html.kg-motion .s-block--banners.kg-ico .box-img::after,html.kg-motion .kg-subsq-box::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle closest-side,transparent 58%,color-mix(in srgb,var(--kg-sq,#3D8BFF) 75%,transparent) 75%,transparent 94%);opacity:0;animation:kgWave 3.2s ease-out var(--kg-wd,0s) infinite}
.s-block--banners .swiper-slide:nth-child(8n+2),.kg-subsq:nth-child(8n+2){--kg-wd:.35s}
.s-block--banners .swiper-slide:nth-child(8n+3),.kg-subsq:nth-child(8n+3){--kg-wd:.7s}
.s-block--banners .swiper-slide:nth-child(8n+4),.kg-subsq:nth-child(8n+4){--kg-wd:1.05s}
.s-block--banners .swiper-slide:nth-child(8n+5),.kg-subsq:nth-child(8n+5){--kg-wd:1.4s}
.s-block--banners .swiper-slide:nth-child(8n+6),.kg-subsq:nth-child(8n+6){--kg-wd:1.75s}
.s-block--banners .swiper-slide:nth-child(8n+7),.kg-subsq:nth-child(8n+7){--kg-wd:2.1s}
.s-block--banners .swiper-slide:nth-child(8n),.kg-subsq:nth-child(8n){--kg-wd:2.45s}
@keyframes kgWave{0%{opacity:0}9%{opacity:1}34%,100%{opacity:0}}
@keyframes kgWaveIco{0%{transform:scale(1)}9%{transform:scale(1.07)}34%,100%{transform:scale(1)}}
.kg-subrow.kg-off *,.kg-subrow.kg-off *::before,.s-block--banners .kg-off .box-img::after,html.kg-lite .s-block--banners.kg-ico .box-img img,html.kg-lite .s-block--banners.kg-ico .box-img::after,html.kg-lite .kg-subsq-box img,html.kg-lite .kg-subsq-box::before{animation:none!important}
.s-block--banners .swiper-slide a::after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid var(--kg-sq,var(--kg-gold));opacity:0;transition:opacity .4s ease;pointer-events:none;z-index:3}
@media (hover:hover){
  .s-block--banners .swiper-slide a:hover::after{opacity:.8}
  .s-block--banners .swiper-slide a:hover img{transform:scale(1.05)}
}
/* each platform square gets its own moving backdrop (added by the JS) */

/* hero slider: a dark fade into the page */
.s-block--hero-slider{position:relative}
.s-block--hero-slider.full-banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:18%;pointer-events:none;z-index:2;background:linear-gradient(180deg,transparent,var(--kg-ink))}

/* each card glows in its game's genre colour (set by the JS as --kg-cg) */
.s-product-card-entry::after{border-color:var(--kg-cg,var(--kg-gold));box-shadow:inset 0 -70px 70px -60px var(--kg-cg,var(--kg-gold))}

/* hero: a slow light sweep and gold sparks over the store's own banner */
.kg-hero-fx{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;color:var(--kg-gold)}
.kg-sweep{position:absolute;top:-20%;bottom:-20%;left:0;width:22%;background:linear-gradient(100deg,transparent,rgba(255,236,190,.16),transparent);transform:translateX(-140%) skewX(-14deg)}

/* features, questions, reviews */
.angel-feature{padding:18px 10px;border-radius:18px;background:var(--kg-glass);border:1px solid var(--kg-line);transition:transform .45s var(--kg-ease)}
.angel-feature i{color:var(--kg-gold)!important}
.faqs-list__item{background:var(--kg-ink2)!important;border:1px solid var(--kg-line)!important;border-radius:16px!important}
.faqs-list__item .open-badge{background:rgba(224,188,90,.14)!important;color:var(--kg-gold)!important}
.faq-container input:checked+.faqs-list__item{border-color:rgba(224,188,90,.42)!important}
.testimonials-slider .swiper-slide>div{background:var(--kg-ink2)!important;border:1px solid var(--kg-line);border-radius:18px!important}
@media (hover:hover){.angel-feature:hover{transform:translateY(-4px)}}

/* game page gallery framed in the genre colour */
/* the frame and glow go round the big picture only; the small pictures under it sit apart, each in its own rounded frame */
body.kg-genre [id^="product-"] salla-slider{overflow:visible}
body.kg-genre [id^="product-"] salla-slider>.s-slider-container{border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px color-mix(in srgb,var(--kg-acc) 45%,transparent),0 30px 70px -40px var(--kg-acc)}
body.kg-genre [id^="product-"] .s-slider-thumbs{margin-top:12px}
body.kg-genre [id^="product-"] .s-slider-thumbs .swiper-slide{border-radius:10px;overflow:hidden;border:1px solid var(--kg-line2)!important;opacity:.7;transition:opacity .25s ease}
body.kg-genre [id^="product-"] .s-slider-thumbs .swiper-slide-thumb-active{opacity:1;border-color:var(--kg-acc)!important}

/* section titles like the design: a gold kicker above, a big title on the right */
.s-block__title>.flex{align-items:flex-start!important}
.s-block__title h2{text-align:right!important;font-size:clamp(24px,3vw,36px)!important}
.s-block__title h2::after{display:none!important}
.s-block__title p{order:-1;display:flex!important;align-items:center;gap:10px;margin:0 0 6px!important;color:var(--kg-gold)!important;font-size:13px!important;font-weight:600;text-align:right!important}
.s-block__title p::before{content:"";width:26px;height:1px;background:var(--kg-gold);flex:none}

/* sections the design replaces are hidden from the very first paint, so the old banners never flash in: the hero's data banners
   («صور متحركة» with a cover over each slide), the services banners (Discord / app links), the old payment slider, and the
   «مميزات المتجر» section above the category squares (its lines become the yellow tapes) */
.app-inner>section.s-block--hero-slider:has(img.flying-obj):has(.hero-slider-btn a),.app-inner>section.s-block--hero-slider:not(:has(img.flying-obj)):has(img[alt*="دفع"]),.app-inner>section.s-block--hero-slider:has(a[href*="discord."],a[href*="drive.google"]),.app-inner>section.s-block--features:has(~section.s-block--banners){display:none!important}

/* ===== console hero (built by the JS from the store's own products) ===== */
/* the same height as soon as the page opens (an empty frame on a first visit), so nothing below it jumps when it fills in */
/* it starts under the see-through header (--kg-hdr: the header's height, set by the JS), so the game's art runs to the top of the page;
   on wider screens it grows with the width up to one full window, so the wide art shows nearly whole */
.kg-hero{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:center;margin-top:calc(var(--kg-hdr,0px) * -1);padding:calc(var(--kg-hdr,0px) + 34px) 0 64px;min-height:calc(598px + var(--kg-hdr,0px));min-height:max(calc(598px + var(--kg-hdr,0px)),min(calc(48vw + var(--kg-hdr,0px)),100vh));box-sizing:border-box;--kg-acc:var(--kg-gold);--kg-acc-ink:#1A0F05}
/* until the JS has measured the header (a frame after the hero is inserted), the usual height stands in; :where() keeps it weaker than
   the JS's own rule, which sits earlier in the page than this file */
:where(.kg-hero){--kg-hdr:88px}
.kg-hero-bg{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.kg-wmv,.kg-wmy{position:absolute;inset:0}
.kg-wall{position:absolute;inset:-28% -22%;direction:ltr;display:flex;flex-direction:column;justify-content:center;gap:16px;transform:rotate(-8deg)}
.kg-wrow{display:flex;width:max-content}
.kg-bg{--kg-cw:clamp(90px,10vw,150px)}
.kg-wrow img{flex:none;width:var(--kg-cw,150px);aspect-ratio:3/4;object-fit:cover;border-radius:12px;margin-right:16px}
.kg-hl{position:absolute;inset:-8%;opacity:0;background:var(--cd,var(--kg-ink));transition:opacity 1.1s var(--kg-ease)}
.kg-hl.on{opacity:.82}
.kg-hl img{width:100%;height:100%;object-fit:cover;filter:blur(34px) saturate(1.25);opacity:.75;transform:scale(1.15)}
.kg-hl::after{content:"";position:absolute;inset:0;background:radial-gradient(50% 60% at 28% 42%,color-mix(in srgb,var(--c,var(--kg-royal)) 40%,transparent),transparent 72%)}
.kg-hero-shade{position:absolute;inset:0;background:linear-gradient(270deg,rgba(13,7,20,.55),rgba(13,7,20,0) 62%)}
/* the hero's art, glow and shade fade out only along its bottom edge, into the wall that runs behind the whole store (no seam) */
.kg-hero-bg{-webkit-mask-image:linear-gradient(180deg,#000 76%,transparent);mask-image:linear-gradient(180deg,#000 76%,transparent)}
html.kg-has-bg .kg-hl.on{opacity:.55}
/* a game with its own wide key art: the art fills the hero behind the cover, sharp and solid (the wall never shows through it,
   not even while two games crossfade), kept from its top so faces are not cut */
.kg-hl.art{inset:0}
.kg-hl.art img{filter:none;opacity:1;transform:none;object-position:50% 18%}
.kg-hero-bg:has(.kg-hl.on.art){background:var(--kg-ink)}
html.kg-motion .kg-hl.art{animation:kgArt 26s ease-in-out infinite alternate}
@keyframes kgArt{from{transform:scale(1)}to{transform:scale(1.045) translate3d(-1%,0,0)}}
.kg-hl.art::after{background:linear-gradient(90deg,rgba(13,7,20,.3),rgba(13,7,20,.05) 35%,rgba(13,7,20,.62) 60%,rgba(13,7,20,.82))}
html.kg-has-bg .kg-hl.on.art{opacity:1}
.kg-hero-atm .kg-fx-g{position:absolute;inset:0;opacity:0;visibility:hidden;color:var(--gc);transition:opacity 1s var(--kg-ease),visibility 0s linear 1s;--h:640px}
.kg-hero-atm .kg-fx-g.on{opacity:1;visibility:visible;transition:opacity 1s var(--kg-ease),visibility 0s}
/* the hidden genres' sparks and the hero's effects while scrolled away drop their animations altogether (fewer layers for the browser
   to sort every frame); anything else off screen just pauses */
.kg-fx-g:not(.on) *,.kg-hero.kg-off .kg-fx *,.kg-hero.kg-off .kg-halo,.kg-hero.kg-off .kg-btn-acc::after{animation:none!important}
.kg-off *{animation-play-state:paused!important}
/* the backdrop and the cover that are fading out stop drifting where they are (no jump), and the page glow under the wall or a
   scene (never seen there) does not move at all */
.kg-hl:not(.on),.kg-cv:not(.on) .kg-cv-in{animation-play-state:paused!important}
html.kg-covered::before{content:none}
/* weaker devices (the JS times the first seconds): the decorative loops stop and settle at rest. Stopped, not paused: a paused
   animation keeps its own layer, and every one of them is redrawn each frame while the wall flows (measured: 30 fps paused, 60 stopped).
   The wall, the game switching, the payment strip, the tapes, the entrances and every hover keep moving */
/* on those devices the game's backdrop also changes at once instead of crossfading (measured on a weak PC: the fade alone cost ~0.7 s
   of dropped frames at every switch); the cover still slides in */
html.kg-lite .kg-hl{transition:none}
html.kg-lite .kg-shine,html.kg-lite::before,html.kg-lite .kg-hero-atm *,html.kg-lite .kg-hl,html.kg-lite .kg-halo,html.kg-lite .kg-cv-in,html.kg-lite .kg-pay-sheen,html.kg-lite .kg-pay-line,html.kg-lite .kg-pay-tam,html.kg-lite .kg-scene-art,html.kg-lite .kg-scene-glow,html.kg-lite .kg-fx *,html.kg-lite .kg-btn-acc::after,html.kg-lite .kg-hero-fx *{animation:none!important}
/* a section of squares off screen drops its moving layers altogether */
.s-block--banners .kg-off *{animation:none!important}
.kg-hero-grid{width:100%;box-sizing:border-box;max-width:1240px;margin:0 auto;padding:0 16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"info stage" "picks stage";gap:26px 44px;align-items:center}
.kg-hero-info{grid-area:info;align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-height:360px;justify-content:flex-end}
.kg-h-title{margin:0;width:100%;color:var(--kg-text);font-family:var(--kg-tfont,inherit);font-weight:var(--kg-tw,700);font-style:var(--kg-tst,normal);font-size:clamp(32px,4.4vw,60px);line-height:1.08;unicode-bidi:plaintext;text-align:right;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-block:.06em}
.kg-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kg-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;background:var(--kg-glass);border:1px solid var(--kg-line2);font-size:12.5px;color:var(--kg-text)}
.kg-pill.a{color:var(--kg-acc);border-color:color-mix(in srgb,var(--kg-acc) 45%,transparent)}
/* the platforms: one segmented switch, a button per platform (mark + name, equal widths) and a thumb that slides under the picked one
   (transform only); the thumb's colour layers crossfade and its bottom line fills while the hero stays on that platform */
.kg-plats{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;padding:4px;border-radius:16px;background:rgba(13,7,20,.62);border:1px solid var(--kg-line2);--s:-1}
.kg-plats:dir(ltr){--s:1}
.kg-plats button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;min-width:124px;height:48px;padding:0 16px;border:0;border-radius:12px;background:none;color:var(--kg-text);font:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.kg-plats button span{opacity:.62;transition:opacity .3s ease}
.kg-plats button[aria-pressed="true"] span,.kg-plats button:hover span{opacity:1}
.kg-plats button:focus-visible{outline:2px solid var(--kg-sq);outline-offset:2px}
.kg-plats svg{width:22px;height:22px;flex:none;color:var(--kg-sq)}
.kg-plat-thumb{position:absolute;top:4px;bottom:4px;inset-inline-start:4px;width:calc((100% - 8px - (var(--n) - 1) * 4px) / var(--n));border-radius:12px;overflow:hidden;transform:translateX(calc(var(--i,0) * (100% + 4px) * var(--s)));transition:transform .5s var(--kg-ease)}
.kg-plat-thumb i{position:absolute;inset:0;border-radius:inherit;border:1px solid var(--kg-sq);background:linear-gradient(180deg,color-mix(in srgb,var(--kg-sq) 30%,#1E122B),color-mix(in srgb,var(--kg-sq) 14%,#140B1F));opacity:0;transition:opacity .45s ease}
.kg-plat-thumb i.on{opacity:1}
.kg-plat-thumb b{position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:rgba(255,255,255,.8);transform:scaleX(0);transform-origin:right}
.kg-plats:dir(ltr) .kg-plat-thumb b{transform-origin:left}
/* the picked platform's edition line, price, and a soft glow in its colour behind the cover (two layers crossfade) */
.kg-h-ed{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.kg-h-sub{margin:0;color:var(--kg-muted);font-size:13.5px;font-weight:600}
.kg-h-price>span:first-child:not(:only-of-type){font-size:13px;color:var(--kg-muted)}
.kg-pgl{position:absolute;inset:6%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--pg,transparent) 42%,transparent),transparent);opacity:0;transition:opacity .7s ease}
.kg-pgl.on{opacity:1}
.kg-h-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;color:var(--kg-muted)}
.kg-h-price b{font-size:34px;font-weight:700;color:var(--kg-gold);font-variant-numeric:tabular-nums}
.kg-h-price small{font-size:13px;color:var(--kg-lilac)}
.kg-cta{display:flex;flex-wrap:wrap;gap:12px}
.kg-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;font-size:16px;font-weight:600;border:0;cursor:pointer;overflow:hidden;text-decoration:none;transition:transform .35s var(--kg-ease)}
.kg-btn:hover{transform:translateY(-2px)}
.kg-btn:active{transform:scale(.98)}
.kg-btn-acc{background:var(--kg-acc);color:var(--kg-acc-ink)!important}
.kg-btn-ghost{background:rgba(13,7,20,.5);color:var(--kg-text);box-shadow:inset 0 0 0 1px var(--kg-line2)}
.kg-btn-acc::after{content:"";position:absolute;top:0;bottom:0;left:0;width:38%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-160%) skewX(-16deg)}
/* (more games added in Salla wrap onto a second row instead of running off the screen) */
.kg-picks{grid-area:picks;align-self:start;display:flex;flex-wrap:wrap;gap:22px 12px;padding-bottom:16px}
.kg-pick{position:relative;flex:none;width:68px;aspect-ratio:3/4;padding:0;border:0;border-radius:11px;background:var(--kg-ink3);cursor:pointer;transition:transform .5s var(--kg-ease)}
.kg-pick img{width:100%;height:100%;object-fit:cover;border-radius:11px;opacity:.5;transition:opacity .4s}
.kg-pick::after{content:"";position:absolute;inset:-4px;border-radius:14px;border:2px solid var(--kg-acc);opacity:0;transition:opacity .4s}
.kg-pick:hover img{opacity:.85}
.kg-pick[aria-pressed="true"]{transform:translateY(-6px) scale(1.06)}
.kg-pick[aria-pressed="true"] img,.kg-pick[aria-pressed="true"]::after{opacity:1}
.kg-bar{position:absolute;left:8px;right:8px;bottom:-13px;height:2px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden;opacity:0}
.kg-pick[aria-pressed="true"] .kg-bar{opacity:1}
.kg-bar i{display:block;height:100%;background:var(--kg-gold);transform:scaleX(0);transform-origin:right}
.kg-stage{grid-area:stage;position:relative;display:block;width:100%;max-width:500px;aspect-ratio:1/1;justify-self:center}
.kg-halo{position:absolute;inset:3%;border-radius:50%;border:1px dashed color-mix(in srgb,var(--kg-acc) 50%,transparent)}
.kg-cv{position:absolute;left:50%;top:48%;width:54%;aspect-ratio:3/4;opacity:0;transform:translate(-50%,-50%)}
.kg-cv-in{display:block;width:100%;height:100%;border-radius:18px;overflow:hidden;background:var(--kg-ink3);box-shadow:0 46px 80px -30px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.12)}
.kg-cv-in img{width:100%;height:100%;object-fit:cover}
.kg-plinth{position:absolute;left:16%;right:16%;bottom:4%;height:12%;border-radius:50%;border:1px solid rgba(224,188,90,.38)}
@media (max-width:860px){
  .kg-hero{padding:calc(var(--kg-hdr,0px) + 14px) 0 44px;min-height:calc(721px + var(--kg-hdr,0px))}
  .kg-hl.art::after{background:linear-gradient(180deg,rgba(13,7,20,.15) 30%,rgba(13,7,20,.78) 48%,rgba(13,7,20,.88))}
  .kg-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "info" "picks";gap:14px}
  .kg-stage{max-width:260px}
  .kg-hero-info{min-height:284px;gap:11px}
  .kg-picks{justify-content:center}
  .kg-pick{width:56px}
  .kg-h-price b{font-size:28px}
  .kg-cta .kg-btn{flex:1 1 auto}
  .kg-plats{display:grid;width:100%;box-sizing:border-box}
  .kg-plats button{min-width:0;height:46px;padding:0 8px;gap:7px;font-size:13.5px}
}

/* category page like the design: gold kicker, big title, glowing category image, glass sub-category tiles */
body.product-index .nav-header.py-6{background:transparent!important;padding-top:34px!important;padding-bottom:18px!important}
body.product-index .category_title_wrapper::before{content:"الأقسام";display:flex;align-items:center;gap:10px;margin-bottom:6px;color:var(--kg-gold);font-size:13px;font-weight:600}
body.product-index #page-main-title{font-size:clamp(32px,5.2vw,64px)!important;font-weight:700!important;line-height:1.12!important;color:var(--kg-text)!important}
body.product-index .cat_profile{width:84px!important;height:84px!important;flex:none;border-radius:22px!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--kg-acc) 55%,transparent),0 22px 50px -22px var(--kg-acc)}
body.product-index .sub-categories{padding:14px 8px;border-radius:18px;background:var(--kg-glass);border:1px solid var(--kg-line);transition:transform .4s var(--kg-ease)}
@media (hover:hover){body.product-index .sub-categories:hover{transform:translateY(-4px)}}
/* inside sliders (they clip their edges) nothing lifts on hover, so nothing gets cut at the top */
.swiper .s-product-card-entry:hover,.swiper .sub-categories:hover,.swiper .angel-feature:hover{transform:none!important}
.kg-badge{display:inline-flex;align-self:flex-start;max-width:100%;align-items:center;gap:8px;margin:6px 0 10px;padding:5px 13px;border-radius:999px;font-size:13px;font-weight:600;color:var(--kg-acc);border:1px solid color-mix(in srgb,var(--kg-acc) 45%,transparent);background:color-mix(in srgb,var(--kg-acc) 12%,transparent)}
.kg-badge b{color:var(--kg-text);font-weight:600}

/* footer */
.store-footer,.store-footer__inner{background:var(--kg-ink2)!important}
.store-footer{border-top:1px solid var(--kg-line)}

/* game page: the theme follows the game's genre (class set by the JS) */
body.kg-genre .kg-title{font-family:var(--kg-tfont,inherit)!important;font-weight:var(--kg-tw,700)!important;font-style:var(--kg-tst,normal)!important;letter-spacing:0}
body.kg-genre [id^="product-"] .price,body.kg-genre [id^="product-"] .total-price{color:var(--kg-acc)!important}
body.kg-genre [id^="product-"] salla-add-product-button button,body.kg-genre .sticky-product-bar salla-add-product-button button{background:var(--kg-acc)!important;border-color:var(--kg-acc)!important;color:var(--kg-acc-ink)!important}

/* game page side boxes (payment methods, times bought, gifting): the same dark glass cards */
body.product-single .main-content .details,body.product-single .s-list-tile-item,salla-bought-together,.s-bought-together-entry,.kg-glass{background:var(--kg-glass)!important;border:1px solid var(--kg-line)!important;border-radius:18px!important}
html body salla-bought-together.s-bought-together-entry,html body .kg-glass{background:var(--kg-glass)!important;border:1px solid var(--kg-line)!important;border-radius:18px!important}
.main-content .mb-5:has(> tamara-widget){background:transparent!important}
/* edition options (نوع الحساب / إصدار اللعبة): glass chips, the chosen one in the game's colour */
.s-product-options-grid-mode-span{background:rgba(30,18,43,.7)!important;border:1px solid var(--kg-line2)!important;border-radius:12px!important;color:var(--kg-text)!important}
.s-product-options-thumbnails-wrapper div p{color:var(--kg-text)!important}
label:hover>.s-product-options-grid-mode-span{border-color:color-mix(in srgb,var(--kg-acc) 55%,transparent)!important}
input:checked+.s-product-options-grid-mode-span{background:color-mix(in srgb,var(--kg-acc) 18%,var(--kg-ink2))!important;border-color:var(--kg-acc)!important;color:var(--kg-acc)!important}
input:focus-visible+.s-product-options-grid-mode-span{outline:2px solid var(--kg-acc);outline-offset:2px}
/* the rest of the theme's black: sub-category tiles, sort menu and inputs, footer, empty cart */
body.product-index a.sub-categories{background:var(--kg-glass)!important}
.form-input,select.form-input{background-color:var(--kg-ink2)!important;border-color:var(--kg-line2)!important;color:var(--kg-text)!important;border-radius:12px!important}
.store-footer .store-footer__inner{background:transparent!important}
i.sicon-shopping-bag.icon{background:var(--kg-glass)!important;border:1px solid var(--kg-line)!important;color:var(--kg-gold)!important}
.s-payments-list{gap:10px!important}
.s-payments-list-item{border-radius:10px!important;box-shadow:0 8px 18px -10px rgba(0,0,0,.7);transition:transform .3s var(--kg-ease)}
@media (hover:hover){.s-payments-list-item:hover{transform:translateY(-2px)}}
/* the gift button stays purple with white words, under the mouse too (the theme turned it blank white on hover) */
.s-gifting-widget-action.s-button-element{background:var(--kg-royal)!important;border-color:var(--kg-royal)!important;color:#fff!important;fill:#fff!important;border-radius:12px!important}
.s-gifting-widget-action.s-button-element:hover,.s-gifting-widget-action.s-button-element:focus-visible{background:var(--kg-lite)!important;border-color:var(--kg-lite)!important;color:#fff!important;fill:#fff!important}
.s-gifting-widget-action svg{fill:currentColor}
/* other outline buttons keep readable words on hover */
.s-button-primary-outline:hover{background:color-mix(in srgb,var(--kg-royal) 28%,transparent)!important;color:#fff!important;fill:#fff!important;border-color:var(--kg-royal)!important}

/* game page: details / reviews tabs and the description, as a dark glass card that reads well */
.s-product-tabs .tabs__product{display:flex;gap:8px;border:0!important;background:none!important;margin-bottom:10px}
.s-product-tabs .tab-trigger{min-height:42px;padding:0 18px!important;border-radius:999px!important;border:1px solid var(--kg-line2)!important;background:var(--kg-glass)!important;color:var(--kg-muted)!important;font-weight:600}
.s-product-tabs .tab-trigger.is-active,.s-product-tabs .tabs__product:not(:has(.is-active)) .tab-trigger:first-child{background:color-mix(in srgb,var(--kg-acc) 16%,var(--kg-ink2))!important;border-color:color-mix(in srgb,var(--kg-acc) 55%,transparent)!important;color:var(--kg-acc)!important}
.s-product-tabs .tabs-wrapper{background:var(--kg-glass)!important;border:1px solid var(--kg-line)!important;border-radius:20px!important}
.kg-desc{color:#DDD4E8!important;font-size:15.5px!important;line-height:1.95!important}
.kg-desc p{margin:0 0 10px;text-align:start!important}
.kg-desc .ql-ui{display:none!important}
.kg-desc p:empty,.kg-desc p:has(> br:only-child){display:none}
.kg-desc h1,.kg-desc h2,.kg-desc h3,.kg-desc h4{display:flex;align-items:center;gap:10px;margin:26px 0 12px!important;color:var(--kg-text)!important;font-size:19px!important;font-weight:700!important;line-height:1.5!important}
.kg-desc h1::before,.kg-desc h2::before,.kg-desc h3::before,.kg-desc h4::before{content:"";flex:none;width:4px;height:20px;border-radius:4px;background:var(--kg-acc)}
.kg-desc h1:first-child,.kg-desc h2:first-child,.kg-desc h3:first-child,.kg-desc h4:first-child{margin-top:4px!important}
.kg-desc ul,.kg-desc ol{margin:0 0 14px!important;padding:0!important;list-style:none!important;display:grid;gap:8px}
.kg-desc li{position:relative;padding-inline-start:20px!important}
.kg-desc li::before{content:"";position:absolute;inset-inline-start:2px;top:.75em;width:7px;height:7px;border-radius:2px;transform:rotate(45deg);background:var(--kg-acc)}
.kg-desc strong,.kg-desc b{color:var(--kg-acc)!important}
.kg-desc li::marker{content:none}
.kg-desc a{color:var(--kg-acc)!important;text-decoration:underline;text-underline-offset:3px}
.kg-desc img{max-width:100%;height:auto;border-radius:14px}
.kg-desc .kg-video{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:16px;margin:8px 0 16px;background:#000}

/* the scene behind game and category pages */
.kg-scene{position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--kg-deep);color:var(--kg-acc)}
.kg-scene-art{position:absolute;inset:-8%}
.kg-scene-art img{width:100%;height:100%;object-fit:cover;opacity:.5;filter:blur(26px) saturate(1.2);transform:scale(1.15)}
.kg-scene-glow{position:absolute;inset:-12%;background:radial-gradient(55% 45% at 72% 22%,color-mix(in srgb,currentColor 30%,transparent),transparent 70%),radial-gradient(50% 45% at 14% 86%,color-mix(in srgb,currentColor 16%,transparent),transparent 70%)}
.kg-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,7,20,.25),rgba(13,7,20,.72) 55%,var(--kg-ink))}
/* game page: the game's own picture is the background, clear, with a shade that keeps the text readable */
body.product-single .kg-scene-art img{opacity:.62;filter:blur(2px) saturate(1.1);transform:scale(1.04)}
body.product-single .kg-scene-shade{background:linear-gradient(180deg,rgba(13,7,20,.3),rgba(13,7,20,.55) 45%,rgba(13,7,20,.88))}
/* the wall of game covers behind every page (fixed: scrolling never repaints it) */
.kg-bg{position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(70% 55% at 88% 6%,rgba(127,22,174,.24),transparent 70%),radial-gradient(60% 50% at 8% 90%,rgba(165,60,212,.16),transparent 70%),var(--kg-ink)}
/* the covers are dimmed in place (no shade layer on top), and every other row is shifted half a cover */
.kg-bg .kg-wrow{opacity:.26}
.kg-bg .kg-wrow.r{margin-left:calc(var(--kg-cw) * -.5)}
/* game and category pages: their scene sits on the wall instead of hiding it */
html.kg-has-bg .kg-scene{background:transparent}
html.kg-has-bg .kg-scene-art img{opacity:.34}
html.kg-has-bg .kg-scene-shade{background:linear-gradient(180deg,rgba(13,7,20,.1),rgba(13,7,20,.45) 60%,rgba(13,7,20,.7))}
.kg-fx{position:absolute;inset:0;--h:100vh}
.kg-pt{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;background:currentColor;opacity:0}
.kg-grid{position:absolute;inset:0;opacity:.1;background-image:linear-gradient(currentColor 1px,transparent 1px),linear-gradient(90deg,currentColor 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(70% 70% at 60% 35%,#000,transparent);mask-image:radial-gradient(70% 70% at 60% 35%,#000,transparent)}
.kg-sun{position:absolute;left:6%;top:-20%;width:48%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,currentColor 50%,transparent),transparent);opacity:.6}
.kg-shape{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);fill:none;stroke:currentColor;stroke-width:1.4;opacity:var(--o)}
.kg-ring{position:absolute;left:50%;top:38%;width:64vmax;height:64vmax;margin:-32vmax 0 0 -32vmax;border-radius:50%;border:2px solid currentColor;opacity:0}
.kg-eq{position:absolute;left:0;right:0;bottom:0;height:46%;display:flex;align-items:flex-end;gap:1%;padding:0 2%}
.kg-eq i{flex:1;height:100%;border-radius:8px 8px 0 0;background:linear-gradient(0deg,color-mix(in srgb,currentColor 40%,transparent),transparent);transform-origin:50% 100%;transform:scaleY(.3);opacity:.55}
.kg-line{position:absolute;left:0;top:var(--y);width:30vw;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,currentColor,transparent);opacity:.7;transform:translateX(-40vw)}
/* game and category pages let the scene show through the theme's panels */
body.kg-has-scene .app-inner>div,body.kg-has-scene .app-inner>section:not(.s-block--hero-slider){background-color:transparent!important}

/* motion button for visitors whose device asks for less motion */
.kg-motion-btn{position:fixed;left:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:60;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(224,188,90,.4);background:var(--kg-glass);color:var(--kg-gold);font-size:13.5px;font-weight:600;cursor:pointer}
body.product-single .kg-motion-btn,body.cart .kg-motion-btn{left:auto;right:16px;bottom:calc(128px + env(safe-area-inset-bottom,0px))}
@media (max-width:640px){.kg-motion-btn{left:auto;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));min-height:36px;padding:0 12px;font-size:12px}}

.kg-cap-off,.kg-sec-off{display:none!important}
/* the design's stroke icons in place of the theme's icon font */
.kg-svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kg-logo{fill:currentColor}

/* home: the payment band (Tamara + every payment way), cut from the store's own two pictures */
.kg-pay{position:relative;width:100%;max-width:1280px;margin:28px auto;padding:0 16px;box-sizing:border-box}
/* the band's and the cards' places are taken as the page opens, empty until filled */
.kg-pay:empty,.kg-svc:empty{display:none}
.kg-pay-in{position:relative;display:flex;align-items:center;gap:clamp(16px,3vw,40px);padding:clamp(16px,2.4vw,28px) clamp(16px,3vw,36px);border-radius:24px;background:linear-gradient(120deg,rgba(127,22,174,.2),rgba(21,12,32,.9) 38%,rgba(21,12,32,.9) 70%,rgba(61,139,255,.14));border:1px solid var(--kg-line);overflow:hidden}
.kg-pay-tam{position:relative;flex:none;width:clamp(120px,17vw,240px);border-radius:9.5%/30%;overflow:hidden;box-shadow:0 14px 34px -16px rgba(240,140,200,.55)}
.kg-pay-tam img{display:block;width:100%;height:auto}
.kg-pay-sheen{position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-120%)}
/* the Tamara line stays still (the owner's choice) */
.kg-pay-txt{flex:1;min-width:0}
.kg-pay-txt h3{margin:0;color:var(--kg-text);font-size:clamp(18px,2.4vw,32px);font-weight:700;line-height:1.3}
.kg-pay-txt p{margin:6px 0 0;color:var(--kg-gold);font-size:clamp(13px,1.3vw,17px)}
.kg-pay-all{flex:none;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(460px,38%)}
.kg-pay-all>span{color:var(--kg-muted);font-size:13px}
.kg-pay-mq{width:100%;height:42px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.kg-pay-track{display:flex;width:max-content;height:100%;direction:ltr}
/* one copy = the payment marks picture from Salla, shown whole at the strip's height */
.kg-pay-track>span{display:flex;align-items:center;flex:none;height:100%;margin-right:34px}
.kg-pay-track img{display:block;flex:none;height:100%;width:auto}
.kg-pay-line{position:absolute;left:0;z-index:1;width:40%;height:1px;background:linear-gradient(90deg,transparent,var(--kg-gold),transparent);opacity:.85;pointer-events:none}
.kg-pay-line.t{top:0}.kg-pay-line.b{bottom:0}
@media (max-width:760px){.kg-pay-in{flex-wrap:wrap;gap:12px 16px}.kg-pay-all{width:100%}.kg-pay-mq{height:34px}}
html.kg-motion .kg-pay-tam{animation:kgPayFloat 4.8s ease-in-out infinite alternate}
html.kg-motion .kg-pay-sheen{animation:kgPaySheen 4.2s ease-in-out infinite}
/* the payment marks travel to the right without a gap: whatever leaves on the right is already coming back in on the left */
html.kg-motion .kg-pay-track{animation:kgPayMq 12s linear infinite}
html.kg-motion .kg-pay-line.t{animation:kgPayLine 6s linear infinite}
html.kg-motion .kg-pay-line.b{animation:kgPayLine 6s linear -3s infinite reverse}
.kg-pay.kg-off *{animation:none!important}
@keyframes kgPayFloat{from{transform:translate3d(0,3px,0)}to{transform:translate3d(0,-4px,0)}}
@keyframes kgPaySheen{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
/* the strip sits against the right edge (the page is RTL), so it slides right by one copy and starts over: never an empty gap */
@keyframes kgPayMq{from{transform:translate3d(0,0,0)}to{transform:translate3d(50%,0,0)}}
@keyframes kgPayLine{from{transform:translateX(-100%)}to{transform:translateX(250%)}}

/* ===== the logo's combo (timings are written by the JS): the store's picture cut into parts that sit exactly on each other, glows
   for the buttons and the crown, rings, sparks, the strip of inputs and LEVEL UP under the logo ===== */
.kg-cb{position:relative;display:inline-block;line-height:0;vertical-align:middle}
.kg-cb>img{clip-path:url(#kgHeadClip)}
.kg-cb-head{transform-origin:50% 80%}
.kg-cb-p{position:absolute;inset:0;pointer-events:none}
.kg-cb-p img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;clip-path:var(--cl)}
.kg-cb-crown{--cl:polygon(32% 0,68% 0,67.2% 8.16%,66% 11.43%,64% 18.98%,62% 22.04%,38% 22.04%,36% 20%,34% 11.84%,32.8% 8.16%);transform-origin:50% 22%}
.kg-cb-pad{--cl:inset(37.55% 55.2% 48.57% 31.2%);transform-origin:38% 44.5%}
.kg-cb-btn{transform-origin:var(--x) var(--y)}
.kg-cb-gl{position:absolute;left:var(--x);top:var(--y);width:var(--s,16%);aspect-ratio:1;margin:calc(var(--s,16%) / -2) 0 0 calc(var(--s,16%) / -2);border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);opacity:0;pointer-events:none}
.kg-cb-ring{position:absolute;left:50%;top:14%;width:70%;aspect-ratio:1;margin:-35% 0 0 -35%;border-radius:50%;border:2px solid var(--kg-gold);opacity:0;pointer-events:none}
.kg-cb-sp{position:absolute;left:50%;top:12%;width:4%;aspect-ratio:1;border-radius:50%;background:#ffe07a;box-shadow:0 0 6px #ffd34a;opacity:0;pointer-events:none}
.kg-cb-hud{position:absolute;left:50%;top:calc(100% + 6px);display:flex;gap:4px;padding:5px 7px;border-radius:999px;background:rgba(13,7,20,.74);border:1px solid var(--kg-line2);direction:ltr;opacity:0;pointer-events:none;transform:translateX(-50%)}
.kg-cb-hud i{display:grid;place-items:center;width:17px;height:17px;border-radius:5px;font:700 11px/1 system-ui,sans-serif;font-style:normal;color:#fff;background:rgba(255,255,255,.1);opacity:.35}
.kg-cb-hud i.b{border-radius:50%;font-size:9px}
.kg-cb-lvl{position:absolute;left:50%;top:calc(100% + 6px);padding:5px 12px;border-radius:999px;background:rgba(13,7,20,.8);border:1px solid color-mix(in srgb,var(--kg-gold) 50%,transparent);font:900 13px/1 system-ui,sans-serif;letter-spacing:2px;color:var(--kg-gold);text-shadow:0 0 10px rgba(255,200,40,.8);white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(-50%) scale(.5)}

/* ===== the store's strengths: two yellow caution tapes crossed like an X under the hero (hazard stripes along their edges, black
   words); the front tape runs right, the back tape left. The section clips only sideways, so the tilted ends may reach over its
   edges; each tape is one static tilt with one moving track inside (transform only), waiting under the mouse and while off screen ===== */
.kg-ad{position:relative;z-index:2;height:150px;margin:-34px 0 0;overflow:hidden;overflow-x:clip;overflow-y:visible;--a:4deg}
.kg-tape{position:absolute;left:50%;top:50%;width:max(130vw,1800px);height:50px;direction:ltr;background:#FFD21F;box-shadow:0 10px 24px -10px rgba(0,0,0,.75);transform:translate(-50%,-50%) rotate(calc(var(--a) * -1))}
.kg-tape.b{background:#E9BC00;transform:translate(-50%,-50%) rotate(var(--a))}
.kg-tape::before,.kg-tape::after{content:"";position:absolute;left:0;right:0;height:5px;z-index:1;background:repeating-linear-gradient(-45deg,#14100A 0 9px,transparent 9px 18px)}
.kg-tape::before{top:0}.kg-tape::after{bottom:0}
.kg-tape-track{display:flex;width:max-content;height:100%}
.kg-tape-set{display:flex;align-items:center;flex:none;direction:rtl}
.kg-ad-i{display:inline-flex;align-items:center;gap:9px;padding:0 20px;white-space:nowrap;color:#14100A;font-size:15.5px}
.kg-ad-i b{font-weight:800}
.kg-ad-i svg{width:20px;height:20px;flex:none;stroke-width:2.2}
.kg-ad-sep{font-style:normal;font-size:12px;color:#14100A}
@media (max-width:860px){.kg-ad{height:118px;margin-top:-24px;--a:6deg}.kg-tape{height:42px}.kg-ad-i{padding:0 14px;font-size:13.5px}.kg-ad-i svg{width:17px;height:17px}}
/* the front track starts one copy to the left and slides right to where it began; the back one slides left by one copy */
html.kg-motion .kg-tape.a .kg-tape-track{animation:kgTapeR 70s linear infinite}
html.kg-motion .kg-tape.b .kg-tape-track{animation:kgTapeL 80s linear infinite}
@media (hover:hover){.kg-ad:hover .kg-tape-track{animation-play-state:paused}}
@keyframes kgTapeR{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes kgTapeL{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* ===== the services cards (request a game, the Discord server, the app) in place of the picture banners: live words, art drawn in
   code, one glow per card; a big card on the right and two beside it (one column on phones) ===== */
.kg-svc{position:relative;width:100%;max-width:1280px;margin:34px auto 26px;padding:0 16px;box-sizing:border-box}
.kg-svc-head{margin-bottom:18px}
.kg-svc-head p{display:flex;align-items:center;gap:10px;margin:0 0 6px;color:var(--kg-gold);font-size:13px;font-weight:600}
.kg-svc-head p::before{content:"";width:26px;height:1px;background:var(--kg-gold);flex:none}
.kg-svc-head h2{margin:0;color:var(--kg-text);font-size:clamp(24px,3vw,36px);font-weight:700;line-height:1.3}
.kg-svc-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,auto));gap:18px}
.kg-svc-grid.no-req{grid-template-columns:repeat(2,minmax(0,1fr))}
.kg-req{grid-row:1 / span 2}
.kg-svc-card{position:relative;display:flex;align-items:center;gap:20px;min-height:220px;padding:26px 28px;border-radius:24px;overflow:hidden;isolation:isolate;box-sizing:border-box;border:1px solid var(--kg-line2);background:linear-gradient(160deg,rgba(43,22,64,.94),rgba(17,9,27,.96));color:var(--kg-text)!important;text-decoration:none!important;transition:transform .45s var(--kg-ease)}
.kg-svc-card::before{content:"";position:absolute;z-index:-1;left:-18%;top:-30%;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);pointer-events:none}
@media (hover:hover){.kg-svc-card:hover{transform:translateY(-4px)}}
.kg-svc-txt{position:relative;z-index:1;flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.kg-svc-txt h3{margin:0;font-size:clamp(21px,2vw,28px);font-weight:800;line-height:1.3}
.kg-svc-txt p{margin:0 0 6px;color:var(--kg-muted);font-size:15px;line-height:1.75}
.kg-svc-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 22px;border-radius:999px;background:var(--b);color:var(--bi);font-size:15px;font-weight:700}
.kg-svc-btn svg{width:20px;height:20px;flex:none}
.kg-svc-btn>span,.kg-app-soon>span{display:flex;flex-direction:column;line-height:1.15;font-size:14px;font-weight:700}
.kg-svc-btn small,.kg-app-soon small{font-size:10.5px;font-weight:500;opacity:.75}
/* request a game: a search field whose game names roll by, the store's covers fanned out, the platforms below */
.kg-req{--c:rgba(224,188,90,.3);--b:var(--kg-gold);--bi:#1A0F05;flex-direction:column;align-items:stretch;justify-content:space-between}
.kg-req-art{position:relative;display:flex;flex-direction:column;gap:18px}
.kg-req-search{display:flex;align-items:center;gap:10px;height:52px;padding:0 18px;border-radius:16px;background:rgba(13,7,20,.62);border:1px solid var(--kg-line2);font-size:15px}
.kg-req-search svg{width:20px;height:20px;flex:none;color:var(--kg-gold)}
.kg-req-q{flex:1;min-width:0;height:1.6em;line-height:1.6em;overflow:hidden}
.kg-req-roll{display:block}
.kg-req-q i{display:block;height:1.6em;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:plaintext;text-align:right}
.kg-req-covers{display:flex;justify-content:center;gap:12px;padding:4px 0 10px}
.kg-req-covers span{flex:0 1 112px;aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:var(--kg-ink3);box-shadow:0 18px 30px -16px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.1);transform:rotate(var(--r)) translateY(var(--y))}
.kg-req-covers span:nth-child(1){--r:7deg;--y:14px}.kg-req-covers span:nth-child(2){--r:2.5deg;--y:0px}.kg-req-covers span:nth-child(3){--r:-2.5deg;--y:0px}.kg-req-covers span:nth-child(4){--r:-7deg;--y:14px}
.kg-req-covers img{width:100%;height:100%;object-fit:cover}
.kg-req-plats{display:flex;justify-content:center;gap:10px}
.kg-req-plats span{display:grid;place-items:center;width:56px;height:40px;border-radius:12px;background:rgba(13,7,20,.55);border:1px solid var(--kg-line2);color:var(--kg-text)}
.kg-req-plats span:nth-child(2){color:#5DC21E}.kg-req-plats span:nth-child(3){color:#4C8DFF}
.kg-req-plats svg{width:20px;height:20px}
/* the Discord server: its mark in a turning dashed orbit, two chat bubbles, and the banner's QR code on wide screens */
.kg-dc{--c:rgba(88,101,242,.5);--b:#5865F2;--bi:#fff}
.kg-dc-art{position:relative;flex:none;width:136px;aspect-ratio:1;display:grid;place-items:center}
.kg-dc-ring{position:absolute;inset:0;border-radius:50%;border:1.5px dashed rgba(140,150,255,.55)}
.kg-dc-logo{position:relative;display:grid;place-items:center;width:62%;aspect-ratio:1;border-radius:30%;background:linear-gradient(160deg,#7380FF,#4752C4);box-shadow:0 18px 40px -12px rgba(88,101,242,.85);color:#fff}
.kg-dc-logo svg{width:60%;height:60%}
.kg-dc-b{position:absolute;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(30,20,60,.92);border:1px solid rgba(140,150,255,.4)}
.kg-dc-b svg{width:18px;height:18px}
.kg-dc-b.b1{top:0;left:-6%;color:#A9B1FF}.kg-dc-b.b2{bottom:10%;right:-8%;color:#FF6FB1}
.kg-dc-live{position:absolute;bottom:-8%;left:50%;transform:translateX(-50%);padding:4px 11px;border-radius:999px;background:rgba(13,7,20,.85);border:1px solid var(--kg-line2);font-size:11.5px;white-space:nowrap}
.kg-dc-qr{display:none}
@media (min-width:1100px){
  .kg-dc-qr{position:relative;z-index:1;flex:none;display:flex;flex-direction:column;align-items:center;gap:6px}
  .kg-dc-qr img{display:block;width:92px;height:92px;border-radius:12px;background:#fff;object-fit:contain}
  .kg-dc-qr small{font-size:11.5px;color:var(--kg-muted)}
}
/* the app: a phone with the store's logo and a download bar that keeps filling, a download badge, the two store buttons */
.kg-app{--c:rgba(165,60,212,.45);--b:#fff;--bi:#0D0714}
.kg-app-art{position:relative;flex:none;width:136px;height:184px;display:grid;place-items:center}
.kg-app-phone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:94px;height:172px;border-radius:22px;background:linear-gradient(170deg,#1D112C,#0B0612);border:2px solid rgba(215,191,240,.35);box-shadow:0 24px 40px -18px rgba(0,0,0,.9),0 0 32px -8px rgba(165,60,212,.7);transform:rotate(-8deg)}
.kg-app-notch{position:absolute;top:7px;left:50%;width:30px;height:6px;margin-left:-15px;border-radius:6px;background:rgba(255,255,255,.12)}
.kg-app-phone img{width:58px;height:58px;object-fit:contain}
.kg-app-load{width:60px;height:4px;border-radius:4px;background:rgba(255,255,255,.1);overflow:hidden}
.kg-app-load i{display:block;height:100%;background:linear-gradient(90deg,var(--kg-gold),var(--kg-lite));transform-origin:right;transform:scaleX(.72)}
.kg-app-phone small{font-size:9px;letter-spacing:.14em;color:var(--kg-gold);font-weight:700}
.kg-app-dl{position:absolute;top:22px;right:0;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(160deg,#A53CD4,#6A1192);color:#fff;box-shadow:0 12px 24px -10px rgba(165,60,212,.9)}
.kg-app-dl svg{width:20px;height:20px}
.kg-app-stores{display:flex;flex-wrap:wrap;gap:10px}
.kg-app .kg-svc-btn{padding:0 18px;gap:10px}
.kg-app-soon{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--kg-line2);background:rgba(13,7,20,.5);color:var(--kg-muted)}
.kg-app-soon svg{width:18px;height:18px;flex:none}
@media (max-width:900px){
  .kg-svc-grid,.kg-svc-grid.no-req{grid-template-columns:minmax(0,1fr)}
  .kg-req{grid-row:auto}
  .kg-svc-card{padding:22px 20px;gap:16px;min-height:0}
  .kg-dc-art{width:104px}
  .kg-app-art{width:104px;height:156px}
  .kg-app-phone{width:80px;height:146px}
  .kg-app-phone img{width:48px;height:48px}
  .kg-req-covers span{flex-basis:92px}
}
html.kg-motion .kg-req-roll{animation:kgSvcRoll 10s var(--kg-ease) infinite}
html.kg-motion .kg-req-covers span{animation:kgSvcFan 5s ease-in-out infinite alternate}
html.kg-motion .kg-req-covers span:nth-child(2){animation-delay:-1.3s}html.kg-motion .kg-req-covers span:nth-child(3){animation-delay:-2.6s}html.kg-motion .kg-req-covers span:nth-child(4){animation-delay:-3.9s}
html.kg-motion .kg-dc-ring{animation:kgSvcSpin 26s linear infinite}
html.kg-motion .kg-dc-b{animation:kgSvcBob 4.2s ease-in-out infinite alternate}
html.kg-motion .kg-dc-b.b2{animation-delay:-2.1s}
html.kg-motion .kg-app-phone{animation:kgSvcPhone 6s ease-in-out infinite alternate}
html.kg-motion .kg-app-load i{animation:kgSvcLoad 3.4s var(--kg-ease) infinite}
html.kg-motion .kg-app-dl{animation:kgSvcBob 3.6s ease-in-out -1.2s infinite alternate}
.kg-svc.kg-off *,.kg-svc-card.kg-off *,html.kg-lite .kg-svc *{animation:none!important}
@keyframes kgSvcRoll{0%,20%{transform:translateY(0)}25%,45%{transform:translateY(-1.6em)}50%,70%{transform:translateY(-3.2em)}75%,95%{transform:translateY(-4.8em)}100%{transform:translateY(-6.4em)}}
@keyframes kgSvcFan{from{transform:rotate(var(--r)) translateY(var(--y))}to{transform:rotate(var(--r)) translateY(calc(var(--y) - 8px))}}
@keyframes kgSvcSpin{to{transform:rotate(360deg)}}
@keyframes kgSvcBob{from{transform:translateY(0)}to{transform:translateY(-7px)}}
@keyframes kgSvcPhone{from{transform:rotate(-8deg) translateY(0)}to{transform:rotate(-5deg) translateY(-6px)}}
@keyframes kgSvcLoad{0%{transform:scaleX(0);opacity:1}70%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
i.kg-ico::before{content:none!important;display:none!important}
i.kg-ico{display:inline-flex!important;align-items:center;justify-content:center;line-height:1}
i.kg-ico svg{width:1.3em;height:1.3em}
.angel-feature i.kg-ico svg{width:1em;height:1em}

/* category pages: the big category mark and the sub-category marks are brand logos, or a clear icon where there is no brand */
body.product-index .cat_profile.kg-cp{display:grid;place-items:center;background-image:none!important;background-color:color-mix(in srgb,var(--kg-acc) 16%,var(--kg-ink2))!important;color:var(--kg-acc)}
.kg-cp svg{width:54%;height:54%}
.kg-cp .kg-logo.w{width:84%;height:84%}
.kg-subico{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:18px;background:color-mix(in srgb,var(--kg-sq) 16%,transparent);color:var(--kg-sq);transition:transform .45s var(--kg-ease)}
.kg-subico svg{width:56%;height:56%}
.kg-subico .kg-logo.w{width:86%;height:86%}
@media (hover:hover){body.product-index .sub-categories:hover .kg-subico{transform:scale(1.08)}}
@media (max-width:640px){.kg-subico{width:52px;height:52px;border-radius:14px}}
/* category pages: the big category mark and the sub-categories are the home page's own squares (same tile, icon, name and line) */
body.product-index .cat_profile.kg-cp.kg-pic{isolation:isolate;overflow:hidden;background-color:var(--kg-ink2)!important;background-image:radial-gradient(90% 80% at 50% 0%,color-mix(in srgb,var(--kg-sq) 22%,transparent),transparent 72%)!important;box-shadow:inset 0 0 0 1px var(--kg-line)}
.kg-pic img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:lighten}
.kg-subrow{display:flex;gap:16px;margin-top:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.kg-subrow::-webkit-scrollbar{display:none}
.kg-subsq{flex:0 0 calc((100% - 112px) / 8);scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:#fff!important;text-decoration:none}
.kg-subsq-box{position:relative;display:block;width:100%;aspect-ratio:1;isolation:isolate;overflow:hidden;border-radius:20px;background-color:var(--kg-ink2);background-image:radial-gradient(90% 80% at 50% 0%,color-mix(in srgb,var(--kg-sq) 22%,transparent),transparent 72%);box-shadow:inset 0 0 0 1px var(--kg-line)}
.kg-subsq-box img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:lighten;transition:transform .9s var(--kg-ease)}
.kg-subsq-box::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;border:1px solid var(--kg-sq);opacity:0;transition:opacity .4s ease;pointer-events:none}
.kg-subrow-mark{display:grid;place-items:center;width:100%;height:100%;color:var(--kg-sq)}
.kg-subrow-mark svg{width:46%;height:46%}
.kg-subsq b{font-size:14px;font-weight:700;line-height:1.4}
@media (hover:hover){.kg-subsq:hover .kg-subsq-box::after{opacity:.8}.kg-subsq:hover .kg-subsq-box img{transform:scale(1.05)}}
@media (max-width:767px){.kg-subrow{gap:10px}.kg-subsq{flex-basis:calc((100% - 30px) / 4)}.kg-subsq-box{width:80%;border-radius:14px}.kg-subsq b{font-size:12px}}

/* side menu (phone): dark mauve drawer, rows as glass cards, gold title and arrows, platform marks in tinted squares */
.mm-ocd__content,#mobile-menu.mobile-menu{background:radial-gradient(90% 40% at 100% 0%,rgba(127,22,174,.28),transparent 70%),linear-gradient(180deg,#160D22,#0D0714)!important}
#mobile-menu ul{background:radial-gradient(90% 40% at 100% 0%,rgba(127,22,174,.2),transparent 70%),linear-gradient(180deg,#160D22,#0D0714)}
#mobile-menu.mm-spn--navbar::after{color:var(--kg-gold);font-weight:700;opacity:1}
#mobile-menu.mm-spn--navbar::before{border-color:var(--kg-gold)}
.close-mobile-menu{color:var(--kg-text)!important;background:rgba(30,18,43,.7)!important;border:1px solid var(--kg-line)!important;border-radius:12px!important}
#mobile-menu li:not(.mobile-menu-slider){margin:7px 14px;border-radius:16px;background:rgba(30,18,43,.6);border:1px solid var(--kg-line)}
#mobile-menu li::after{display:none!important}
#mobile-menu li::before{border-color:var(--kg-gold)!important}
#mobile-menu li:has(> ul)::before{opacity:.85!important}
#mobile-menu li:not(:has(> ul))::before{display:none!important}
#mobile-menu li > a,#mobile-menu li > span{display:flex!important;align-items:center;background:transparent!important}
#mobile-menu li:hover{border-color:rgba(224,188,90,.38)}
#mobile-menu a,#mobile-menu .menu_title,#mobile-menu .text-gray-500{color:var(--kg-text)!important}
#mobile-menu li i[class*="sicon-"]{color:var(--kg-gold)}
.kg-mico{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;margin-inline-end:12px;background:color-mix(in srgb,var(--kg-sq) 16%,transparent);color:var(--kg-sq)}
.kg-mico svg{width:58%;height:58%}
.kg-mico .kg-logo.w{width:86%;height:86%}

/* cart and other pages: the same dark glass */
.cart-item,.s-cart-item,salla-cart-item,.cart-summary,.s-cart-summary,.main-content .bg-white,.s-block .bg-white,.bg-white.da-bgg,.bg-gray-100.da-bgg{background-color:var(--kg-ink2)!important;border-color:var(--kg-line)!important}
.btn--primary,.s-button-primary,salla-button[fill="solid"] button{background:var(--kg-royal)!important;border-color:var(--kg-royal)!important;color:#fff!important}

/* ===== motion (only when allowed: html.kg-motion) ===== */
html.kg-motion::before{animation:kgDrift 30s ease-in-out infinite alternate}
/* slow zoom only on flat sliders: inside a flip or cube slider it would show the back slide mirrored */
html.kg-motion .s-block--hero-slider salla-slider:not(.round) .swiper:not(.swiper-flip):not(.swiper-cube):not(.swiper-cards):not(.swiper-coverflow):not(.swiper-creative) .swiper-slide img{animation:kgKB 18s ease-in-out infinite alternate}
html.kg-motion .kg-scene-art{animation:kgDrift 26s ease-in-out infinite alternate}
html.kg-motion .kg-scene-glow{animation:kgDrift 22s ease-in-out infinite alternate-reverse}
html.kg-motion .kg-pt.m{box-shadow:0 0 10px currentColor;animation:kgRise var(--d) linear var(--dl) infinite}
html.kg-motion .kg-pt.d{animation:kgDust var(--d) linear var(--dl) infinite}
html.kg-motion .kg-pt.s{box-shadow:0 0 8px currentColor;animation:kgTw var(--d) ease-in-out var(--dl) infinite}
html.kg-motion .kg-sun{animation:kgSun 7s ease-in-out infinite alternate}
html.kg-motion .kg-shape{animation:kgFloat var(--d) ease-in-out var(--dl) infinite alternate}
html.kg-motion .kg-ring{animation:kgRing 6.4s cubic-bezier(.2,.6,.3,1) var(--dl) infinite}
html.kg-motion .kg-eq i{animation:kgEq var(--d) ease-in-out var(--dl) infinite alternate}
html.kg-motion .kg-line{animation:kgLine var(--d) linear var(--dl) infinite}
html.kg-motion .s-block--banners .swiper-slide a .kg-shine{animation:kgShine 6s var(--kg-ease) var(--dl,0s) infinite}
html.kg-motion .kg-sweep{animation:kgSweep 9s var(--kg-ease) 1.5s infinite}
/* the wall flows on like a conveyor: each row repeats every N covers (N = the hero's games, set by the JS), so sliding by exactly N covers
   and starting over never shows a jump; about six seconds per cover, the same pace on every screen. Only the untilted mover slides
   (along the rows' -8° line: cos 8° = .990268, sin 8° = .139173); the tilted wall inside it is drawn once. The slide is split in two
   (x on .kg-wmv, y on .kg-wmy, same length, started together) and each goes in steps of one device pixel (--kg-sx/--kg-sy steps over
   --kg-wx/--kg-wy, from the JS): the layer always sits on whole pixels, so it is copied, never re-sampled, on every frame */
html.kg-motion .kg-bg .kg-wmv{animation:kgWallX calc(var(--kg-wn,3) * 6s) steps(var(--kg-sx),end) infinite}
html.kg-motion .kg-bg .kg-wmy{animation:kgWallY calc(var(--kg-wn,3) * 6s) steps(var(--kg-sy),end) infinite}
html.kg-motion .kg-hl{animation:kgDrift 22s ease-in-out infinite alternate}
html.kg-motion .kg-cv-in{animation:kgBob 7s ease-in-out infinite alternate}
html.kg-motion .kg-halo{animation:kgSpin 90s linear infinite}
html.kg-motion .kg-btn-acc::after{animation:kgShine 6s var(--kg-ease) 1.8s infinite}
@keyframes kgBob{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-12px,0)}}
@keyframes kgSpin{to{transform:rotate(360deg)}}
@keyframes kgSweep{0%{transform:translateX(-140%) skewX(-14deg)}26%,100%{transform:translateX(620%) skewX(-14deg)}}
.kg-shine{position:absolute;top:0;bottom:0;left:0;width:40%;z-index:3;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent);transform:translateX(-160%) skewX(-16deg)}
@keyframes kgKB{from{transform:scale(1.02)}to{transform:scale(1.1)}}
@keyframes kgDrift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-3%,3%,0) scale(1.08)}}
@keyframes kgRise{0%{opacity:0;transform:translate3d(0,0,0)}12%{opacity:.9}80%{opacity:.55}100%{opacity:0;transform:translate3d(var(--sx),calc(-1 * var(--h)),0)}}
@keyframes kgDust{0%{opacity:0;transform:translate3d(0,0,0)}15%{opacity:.7}85%{opacity:.45}100%{opacity:0;transform:translate3d(-60vw,var(--sx),0)}}
@keyframes kgTw{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
@keyframes kgSun{from{opacity:.45;transform:scale(1)}to{opacity:.85;transform:scale(1.08)}}
@keyframes kgFloat{from{transform:translate3d(0,0,0) rotate(0deg)}to{transform:translate3d(0,-34px,0) rotate(28deg)}}
@keyframes kgRing{from{transform:scale(.08);opacity:.7}to{transform:scale(1.5);opacity:0}}
@keyframes kgEq{from{transform:scaleY(.12)}to{transform:scaleY(var(--h,1))}}
@keyframes kgLine{from{transform:translateX(-40vw)}to{transform:translateX(110vw)}}
@keyframes kgWallX{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--kg-wx),0,0)}}
@keyframes kgWallY{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,var(--kg-wy),0)}}
@keyframes kgShine{0%{transform:translateX(-160%) skewX(-16deg)}22%,100%{transform:translateX(420%) skewX(-16deg)}}

/* header-like-tamara: the top bar in the same dark colour and soft gradient as the payment (Tamara) band, .kg-pay-in (added by Claude) */
.store-header .main-nav-container.fixed-pinned .header-inner.inner{--header-bg:#150C20;background-color:#150C20!important;background-image:linear-gradient(120deg,rgba(127,22,174,.2),rgba(21,12,32,.9) 38%,rgba(21,12,32,.9) 70%,rgba(61,139,255,.14))!important}

/* center-icon-tiles: the icon tile rows sit in the middle of the page instead of leaning to one side when a row has fewer tiles than slots (added by Claude) */
@media (min-width:1024px){section.kg-ico .swiper-wrapper{justify-content:safe center!important}}

/* ===== 6 Nov clean-up round ===== */
/* the hero's place is held from the very first paint (the theme's script runs a moment later), so the squares under it never drop
   down when it comes in; if the script never runs, the space closes after 8 s */
/* (the header is the first box of .app-inner: the space is its bottom margin, so the header stays at the top; a margin is not part of the
   height the JS reads for --kg-hdr). The yellow tapes come in with the hero (same moment, under it) when the store has its «مميزات المتجر»
   section above the squares: their 116 px (94 on phones: 150/118 tall, overlapping the hero by 34/24) are held too */
body.index:not(.kg-hero-none) .app-inner:not(:has(>.kg-hero))>.store-header{margin-bottom:max(598px,min(48vw,calc(100vh - 88px)));animation:kgHold 0s linear 8s forwards}
body.index:not(.kg-hero-none) .app-inner:not(:has(>.kg-hero)):has(>section.s-block--features~section.s-block--banners)>.store-header{margin-bottom:calc(max(598px,min(48vw,calc(100vh - 88px))) + 116px)}
@media (max-width:860px){body.index:not(.kg-hero-none) .app-inner:not(:has(>.kg-hero))>.store-header{margin-bottom:721px}body.index:not(.kg-hero-none) .app-inner:not(:has(>.kg-hero)):has(>section.s-block--features~section.s-block--banners)>.store-header{margin-bottom:815px}}
@keyframes kgHold{to{margin-bottom:0}}
/* the store's purple text (links, footer titles, outline buttons) is lifted to the design's lilac and gold, readable on the dark page */
.store-footer .footer-title,.store-footer h3,.store-footer .s-contacts-title{color:var(--kg-gold)!important}
.app-inner a.text-primary,.app-inner .text-primary.underline,.s-filters-widget-more,.s-list-tile-item-title h3{color:var(--kg-lilac)!important}
.btn--outline-primary,.s-add-product-button-mini-checkout-content{color:var(--kg-lilac)!important;border-color:rgba(215,191,240,.45)!important}
/* a product page whose background is a product photo (not game art): the photo is a soft glow, so the page stays dark and readable */
body.product-single .kg-scene-photo .kg-scene-art img{opacity:.3;filter:blur(22px) saturate(1.1);transform:scale(1.12)}
/* product titles readable at a glance (the store's own size was 18–20 px) */
body.product-single [id^="product-"] h1{font-size:clamp(22px,4.6vw,30px)!important;line-height:1.25!important}
body.kg-genre .kg-title,body.kg-genre [id^="product-"] h1.kg-title{font-size:clamp(26px,5.4vw,38px)!important;line-height:1.15!important}
/* the hero title keeps a dark halo over bright key-art lettering */
.kg-h-title{text-shadow:0 2px 22px rgba(13,7,20,.85)}
/* the logo combo's strip, rings and «LEVEL UP» never hang over the page once the header is pinned */
.store-header .main-nav-container.fixed-pinned :is(.kg-cb-hud,.kg-cb-lvl,.kg-cb-ring,.kg-cb-sp){visibility:hidden}
/* search, cart and pages: the title sits on the wall like the category pages (no solid black band) */
body.product-index-search .nav-header,body.cart .nav-header,body.page-single .nav-header{background:transparent!important}
body.cart .no-content-placeholder{background:var(--kg-glass);border:1px solid var(--kg-line);border-radius:18px;padding:28px 20px}
/* the freelance-document mark (black lettering) on a light plate in the dark footer */
.store-footer img[src*="freelance"]{background:#fff;border-radius:10px;padding:4px}
/* category squares row: centred when it is short, and on phones a fifth square peeks in so the row shows it scrolls */
.kg-subrow{justify-content:safe center}
@media (max-width:767px){.kg-subrow:has(>:nth-child(5)) .kg-subsq{flex-basis:calc((100% - 40px) / 4.4)}}
/* text boxes on the request-a-game page in the design's dark glass */
[id^="product-"] salla-product-options :is(input[type=text],textarea){background:var(--kg-ink2)!important;border-color:var(--kg-line2)!important;color:var(--kg-text)!important}
/* the motion button: its icon and words; a small round icon on phones and on product and cart pages, and room under the footer */
.kg-motion-btn svg{width:16px;height:16px;flex:none}
@media (max-width:640px){.kg-motion-btn{width:40px;min-height:40px;padding:0;justify-content:center}.kg-motion-btn span{display:none}}
body.product-single .kg-motion-btn,body.cart .kg-motion-btn{width:40px;min-height:40px;padding:0;justify-content:center}
body.product-single .kg-motion-btn span,body.cart .kg-motion-btn span{display:none}
body.kg-mbtn .store-footer{padding-bottom:64px}

/* hide-app-card-in-app: the download-the-app card is hidden wherever the page script does not run (inside the store app); the script marks html with kg-js in the browser (added by Claude) */
html:not(.kg-js) .kg-svc-card.kg-app{display:none!important}

/* phones, home: parts of the page far from the screen are drawn only when they come near (much less memory on iPhones, where
   Safari reloads a page that holds too much); nothing is removed or hidden, and each part keeps its real height once drawn */
@media (max-width:767px){body.index .app-inner>section,body.index .store-footer{content-visibility:auto;contain-intrinsic-size:auto 640px}}

/* ayyuq-credit: the studio's line under the footer's copyright row (the script adds it as a link to ayyuq.com; inside the store app,
   where the script does not run, the same words are shown without the link) */
.kg-credit{display:block;text-align:center;padding:2px 0 16px;font-size:12.5px;line-height:1.6;color:var(--kg-muted)}
.kg-credit a{color:var(--kg-gold);font-weight:700;text-decoration:none;transition:opacity .2s}
.kg-credit a:hover{opacity:.78}
.kg-credit a::before{content:"\2726";display:inline-block;margin-inline-end:4px;font-size:.8em}
html:not(.kg-js) .store-footer__inner>.container::after{content:"تصميم وإنتاج استوديو عيّوق";display:block;text-align:center;padding:2px 0 16px;font-size:12.5px;color:var(--kg-muted)}

/* footer-icons: the social and «تواصل معنا» icons as the design's tiles (purple glass, a thin gold edge, gold icons) instead of the
   theme's black. The contact tiles keep a fixed square: the theme hides each tile's number or email with a zero font size, and on
   iPhones Safari turns the phone number into a link of its own that stretched the tile and pushed the row off the screen (each
   link keeps its own label for screen readers) */
.store-footer .s-social-list{gap:12px}
.store-footer .s-social-link a,.store-footer .s-contacts-item{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;padding:0!important;background:linear-gradient(160deg,rgba(43,22,64,.94),rgba(17,9,27,.96))!important;border:1px solid rgba(224,188,90,.35)!important;color:var(--kg-gold)!important;transition:transform .3s var(--kg-ease)}
.store-footer .s-social-link a{width:44px;height:44px;border-radius:50%}
.store-footer .s-contacts-item{width:48px;height:48px;border-radius:14px;overflow:hidden}
.store-footer .s-contacts-item .unicode{display:none!important}
.store-footer :is(.s-social-icon,.s-contacts-icon){display:flex;align-items:center;justify-content:center;width:auto;height:auto;background:none!important}
.store-footer :is(.s-social-icon,.s-contacts-icon) svg{width:19px;height:19px}
.store-footer :is(.s-social-icon,.s-contacts-icon) :is(svg,path){fill:currentColor!important}
.store-footer .s-social-link a:hover,.store-footer .s-contacts-item:hover{transform:translateY(-2px);border-color:var(--kg-gold)!important}