/*
Theme Name: Alef Gaming Store
Description: ALEF Gaming Store — Visual Intelligence Edition
Version: 4.9.2
Text Domain: alefgamingstore
*/
/* ALEF Global Persian Typography v4.7.7 */
html,body,body *,button,input,select,textarea{font-family:Estedad,Vazirmatn,IRANSansX,"Segoe UI",Tahoma,Arial,sans-serif!important;}
html,body{font-feature-settings:"kern" 1,"liga" 1;}
body{font-weight:400;line-height:1.8;}
button,input,select,textarea{font-weight:500;}
:root{--ags-bg:#050812;--ags-panel:#0a1020;--ags-panel2:#0d1427;--ags-text:#eef5ff;--ags-muted:#8f9bb3;--ags-line:rgba(255,255,255,.09);--ags-cyan:#5ce7ff;--ags-purple:#9b7cff;--ags-green:#64f3b1;--ags-shadow:0 24px 80px rgba(0,0,0,.38)}
*{box-sizing:border-box}html,body{margin:0;background:var(--ags-bg)!important;color:var(--ags-text)!important}body{font-family:inherit;overflow-x:hidden}.elementor,.elementor-page,.ags-page-content{background:transparent!important}.ags-page-content{min-height:650px}
a{color:inherit;text-decoration:none}.ags-site-header{position:fixed;top:0;left:0;right:0;z-index:9999;padding:16px 22px;transition:.28s ease}.ags-site-header:before{content:"";position:absolute;inset:8px 16px;background:rgba(5,8,18,.68);border:1px solid rgba(255,255,255,.08);border-radius:22px;backdrop-filter:blur(22px);box-shadow:0 14px 50px rgba(0,0,0,.25);z-index:-1}.ags-header-inner{max-width:1440px;margin:auto;display:flex;align-items:center;gap:24px;min-height:54px}.ags-brand{display:flex;align-items:center;gap:10px;flex:none}.ags-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--ags-cyan),var(--ags-purple));color:#06101b;font-weight:1000;box-shadow:0 0 28px rgba(92,231,255,.25)}.ags-brand-text{display:flex;flex-direction:column;line-height:1}.ags-brand-text b{font-size:17px;letter-spacing:.12em}.ags-brand-text small{font-size:8px;color:#78859c;letter-spacing:.2em;margin-top:5px}.ags-main-nav{display:flex;gap:4px;align-items:center;flex:1}.ags-main-nav a{font-size:13px;color:#9ba7bc;padding:10px 12px;border-radius:11px;transition:.2s}.ags-main-nav a:hover,.ags-main-nav a.is-active{color:#fff;background:rgba(255,255,255,.07)}.ags-main-nav a.is-active{box-shadow:inset 0 -2px 0 var(--ags-cyan)}.ags-header-actions{display:flex;align-items:center;gap:8px}.ags-header-search{display:flex;align-items:center;width:min(280px,22vw);height:40px;background:rgba(255,255,255,.045);border:1px solid var(--ags-line);border-radius:12px;overflow:hidden}.ags-header-search input{min-width:0;flex:1;background:none;border:0;outline:0;color:#fff;padding:0 13px}.ags-header-search button{border:0;background:none;color:#8190aa;font-size:20px;padding:0 12px}.ags-icon-btn,.ags-account-avatar{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--ags-line);border-radius:12px;background:rgba(255,255,255,.045);color:#dce7f5}.ags-account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:11px}.ags-avatar-placeholder{display:grid;place-items:center}.ags-avatar-placeholder svg{width:20px;fill:none;stroke:#aebbd0;stroke-width:1.5}.ags-header-hidden{transform:translateY(-110%)}
@media(max-width:1100px){.ags-main-nav a:nth-child(n+6){display:none}.ags-header-search{width:190px}}@media(max-width:820px){.ags-site-header{padding:10px}.ags-site-header:before{inset:5px}.ags-header-inner{gap:10px}.ags-main-nav{display:none}.ags-header-search{width:auto;flex:1}.ags-brand-text{display:none}}
/* global surfaces used by Core/Marketplace/Store */
.ags-page-content>main,.ags-page-content>section,.ags-games-page-shell,.ags-marketplace-page,.ags-market-single{max-width:1440px;margin:0 auto}.ags-page-content{padding-top:88px}.ags-page-content img{max-width:100%}.ags-page-content button,.ags-page-content input,.ags-page-content select,.ags-page-content textarea{font-family:inherit}.ags-btn,.ags-home-btn{border-radius:13px}.ags-i3-recs{max-width:1380px;margin:50px auto;padding:0 20px}.ags-i3-rec-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.ags-i3-rec-grid a{background:var(--ags-panel);border:1px solid var(--ags-line);border-radius:16px;overflow:hidden}.ags-i3-rec-grid a div{aspect-ratio:16/10;background:#070c18}.ags-i3-rec-grid img{width:100%;height:100%;object-fit:cover}.ags-i3-rec-grid b{display:block;padding:12px;font-size:12px}.ags-i3-section-head span{font-size:10px;letter-spacing:.18em;color:var(--ags-cyan)}.ags-i3-section-head h2{margin:7px 0 18px}
/* Compatibility rules retained from the previous release. */
.ags-sub-v3-section-head>em,.ags-sub-v3-service-top>span{display:none!important}.ags-sub-v3-service-top{justify-content:flex-start!important;min-height:16px}.ags-sub-v3-plus-mark,.ags-sub-v3-service-mark{overflow:hidden!important}.ags-sub-v3-plus-mark .ags-sub-service-image,.ags-sub-v3-service-mark .ags-sub-service-image{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:inherit;filter:none!important}.ags-sub-v3-plus-mark .ags-sub-service-image{object-fit:contain!important;padding:8px;box-sizing:border-box}.ags-sub-v3-service-mark .ags-sub-service-image{object-fit:cover!important}.ags-sub-v3-plus-card{grid-template-columns:120px 1fr 120px!important}.ags-sub-v3-plus-mark{width:92px!important;height:92px!important}.ags-sub-v3-service-mark{width:92px!important;height:92px!important}@media(max-width:650px){.ags-sub-v3-plus-card{grid-template-columns:82px 1fr!important}.ags-sub-v3-plus-mark{width:66px!important;height:66px!important}.ags-sub-v3-service-mark{width:72px!important;height:72px!important}}

/* ALEF Experience 2.0 — global visual layer */
.ags-mobile-nav{display:none}.ags-global-search-trigger{display:none}
@media(max-width:820px){
 body{padding-bottom:72px}.ags-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:10px;z-index:10000;background:rgba(7,11,21,.88);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:7px;box-shadow:0 20px 60px rgba(0,0,0,.45)}.ags-mobile-nav a{display:grid;place-items:center;gap:3px;min-height:52px;border-radius:14px;color:#8290a8;font-size:10px}.ags-mobile-nav a strong{font-size:18px;line-height:1}.ags-mobile-nav a.is-active{color:#5ce7ff;background:rgba(92,231,255,.08)}.ags-header-actions .ags-icon-btn:first-of-type{display:none}.ags-site-header:before{inset:4px}.ags-page-content{padding-top:76px}.ags-exp2-search-head form{display:block}.ags-exp2-search-head button{width:100%;height:46px;margin-top:8px}.ags-exp2-result-grid{grid-template-columns:repeat(2,1fr)}
}
.ags-exp2-home-intelligence,.ags-exp2-home-custom{max-width:1440px;margin:0 auto;padding:80px 22px}.ags-exp2-home-head span,.ags-exp2-home-custom span{font-size:10px;letter-spacing:.2em;color:var(--ags-cyan)}.ags-exp2-home-head h2,.ags-exp2-home-custom h2{font-size:clamp(28px,4vw,48px);margin:8px 0}.ags-exp2-home-head p,.ags-exp2-home-custom p{color:var(--ags-muted);max-width:680px}.ags-exp2-home-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ags-exp2-home-columns .ags-full-market-section{padding:0;margin:0;max-width:none}.ags-exp2-home-columns .ags-full-section-head{margin-bottom:14px}.ags-exp2-home-columns .ags-full-market-grid{grid-template-columns:repeat(2,1fr)}.ags-exp2-home-custom{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:50px;border:1px solid rgba(92,231,255,.12);border-radius:28px;background:radial-gradient(circle at 90% 30%,rgba(155,124,255,.13),transparent 38%),#0a1020}.ags-exp2-home-custom h2{margin:8px 0 6px}@media(max-width:800px){.ags-exp2-home-columns{grid-template-columns:1fr}.ags-exp2-home-columns .ags-full-market-grid{grid-template-columns:1fr 1fr}.ags-exp2-home-custom{display:block}.ags-exp2-home-custom .ags-v4-btn{display:inline-flex;margin-top:18px}}
/* ALEF 4.2+ global interaction polish */
.ags-exp3-auto-watch{display:flex;justify-content:flex-start;margin:18px 0}.ags-exp3-watch-wrap{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ags-exp3-watch-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(126,170,255,.25);background:rgba(255,255,255,.05);color:inherit;border-radius:13px;padding:11px 15px;cursor:pointer;text-decoration:none;transition:.2s}.ags-exp3-watch-btn:hover,.ags-exp3-watch-btn.is-watching{background:rgba(124,92,255,.18);border-color:rgba(124,92,255,.6)}.ags-exp3-watch-wrap input{width:170px;border:1px solid rgba(126,170,255,.18);background:rgba(255,255,255,.04);color:inherit;border-radius:12px;padding:11px}.ags-exp3-admin{direction:rtl}
@media(max-width:900px){.ags-exp3-auto-watch{margin-bottom:80px}.ags-exp3-watch-wrap input{flex:1;min-width:160px}}

/* ALEF 5.0 Production Experience — global visual tokens and resilient surfaces */
:root{--ags-radius-xl:28px;--ags-radius-lg:20px;--ags-radius-md:14px;--ags-max:1440px;--ags-focus:0 0 0 3px rgba(92,231,255,.18)}
.ags-page-content,.ags-games-page-shell,.ags-marketplace-page,.ags-market-single{width:min(100% - 32px,var(--ags-max));}
.ags-page-content :is(button,a,input,select,textarea):focus-visible{outline:none;box-shadow:var(--ags-focus)}
.ags-page-content :is(.ags-card,.ags-panel,.ags-market-card,.ags-exp-panel,.ags-co-card,.ags-product-card){border-radius:var(--ags-radius-lg)}
.ags-page-content img{height:auto}
.ags-skeleton{background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.09),rgba(255,255,255,.035));background-size:220% 100%;animation:agsSkeleton 1.4s ease infinite}
@keyframes agsSkeleton{to{background-position:-220% 0}}
@media(max-width:820px){.ags-page-content,.ags-games-page-shell,.ags-marketplace-page,.ags-market-single{width:min(100% - 20px,var(--ags-max));}.ags-page-content{padding-top:76px}.ags-header-actions{gap:5px}.ags-header-search{min-width:0}.ags-main-nav{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ALEF 4.7.2 — game/DLC cards and marketplace item imagery */
.ags-game-image{aspect-ratio:16/9!important;min-height:0!important;background:#070d16!important;overflow:hidden!important}.ags-game-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important}.ags-game-card .ags-game-image-shade{pointer-events:none}.ags-game-dlc-media{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;background:#070d16!important;overflow:hidden!important}.ags-game-dlc-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important}.ags-market-card-img{background:#071019!important;overflow:hidden!important}.ags-market-card-img img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;image-rendering:auto!important;filter:none!important}.ags-item2-art img{image-rendering:auto!important;object-fit:contain!important}.ags-market-single-media img{image-rendering:auto!important;object-fit:contain!important}
/* Product/gallery: one large stage with arrow navigation, no thumbnail strip. */
.ags-game-single-art,.ags-game-single-art .ags-game-media-stage,.ags-lower-gallery-stage{background:#071019!important}.ags-game-single-art{aspect-ratio:16/10!important;min-height:0!important;height:auto!important;overflow:hidden!important;border-radius:24px}.ags-game-single-art .ags-game-media-stage{width:100%;height:100%!important;min-height:420px;display:grid;place-items:center;overflow:hidden}.ags-game-single-art .ags-game-media-stage img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}.ags-lower-gallery{position:relative;overflow:hidden;border-radius:22px;border:1px solid rgba(255,255,255,.08);background:#071019}.ags-lower-gallery-stage{aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden}.ags-lower-gallery-stage img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}.ags-gallery-nav{z-index:5}.ags-gallery-counter{z-index:6}.ags-game-single-main{min-width:0}.ags-game-single-title-row h1{font-size:clamp(30px,4vw,56px)!important;line-height:1.08!important;letter-spacing:-.03em!important}.ags-game-single-meta{display:flex;gap:7px;flex-wrap:wrap}.ags-game-single-meta span,.ags-game-single-tags span{background:#0b1721!important;border:1px solid rgba(92,231,255,.13)!important;border-radius:999px!important;padding:7px 10px!important}.ags-single-section{border:1px solid rgba(255,255,255,.07)!important;background:#09121c!important;border-radius:22px!important}.ags-single-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.ags-single-facts>div{background:#0b1721!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:15px!important;padding:14px!important}.ags-game-single-body{margin-top:22px!important}.ags-game-single-content{min-width:0}@media(max-width:800px){.ags-game-single-art .ags-game-media-stage{min-height:260px}.ags-single-facts{grid-template-columns:1fr!important}}

/* ALEF 4.7.3 — clean game description / excerpt scrolling
 * The short game summary should never look like a native textarea. Keep it
 * compact and let the full description live in the About section below.
 */
.ags-game-single-excerpt{
  max-height:none!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  text-overflow:ellipsis!important;
  scrollbar-width:none!important;
}
.ags-game-single-excerpt::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Any intentional scroll areas keep the ALEF visual language instead of the
 * browser-default scrollbar. */
.ags-variant-list,
.ags-single-richtext table{
  scrollbar-width:thin;
  scrollbar-color:rgba(92,231,255,.48) transparent;
}
.ags-variant-list::-webkit-scrollbar,
.ags-single-richtext table::-webkit-scrollbar{width:5px;height:5px}
.ags-variant-list::-webkit-scrollbar-track,
.ags-single-richtext table::-webkit-scrollbar-track{background:transparent}
.ags-variant-list::-webkit-scrollbar-thumb,
.ags-single-richtext table::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(92,231,255,.62),rgba(92,117,255,.52));
  border-radius:999px;
}


/* ALEF Brand System 4.7.8 — logo integration */
.ags-brand-mark{background:transparent!important;box-shadow:none!important;border:0!important;overflow:visible!important;width:42px!important;height:42px!important;border-radius:0!important;padding:0!important}
.ags-brand-mark img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 0 10px rgba(77,210,255,.32))}
.ags-footer-brand .ags-brand-mark{width:52px!important;height:52px!important}
.ags-auth-brand-mark{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.ags-auth-brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 0 12px rgba(77,210,255,.3))}
.ags-v4-brand-emblem{position:absolute;left:50%;top:50%;width:min(360px,46vw);height:min(360px,46vw);transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:none;z-index:4;opacity:1;filter:drop-shadow(0 0 28px rgba(55,200,255,.25))}
 .ags-v4-brand-emblem img{width:100%;height:100%;object-fit:contain}
.ags-v4-hero-visual .ags-v4-core{position:relative;z-index:3}
@media(max-width:820px){.ags-brand-mark{width:36px!important;height:36px!important}.ags-v4-brand-emblem{width:230px;height:230px;opacity:.78}}

/* v4.7.9 — new ALEF emblem is the sole hero mark; remove legacy text disc overlay */
.ags-v4-hero-visual > .ags-v4-core{display:none!important}
.ags-v4-hero-visual .ags-v4-core{display:none!important}
.ags-v4-hero-visual .ags-v4-brand-emblem{z-index:4!important}
@media(max-width:820px){.ags-v4-brand-emblem{width:250px!important;height:250px!important;opacity:1!important}}

/* v4.8.0 — hero emblem collision fix
   Keep the ALEF emblem visually central without covering the floating stat cards. */
.ags-v4-hero-visual{isolation:isolate;overflow:visible}
.ags-v4-hero-visual .ags-v4-brand-emblem{
  width:min(285px,34vw)!important;
  height:min(285px,34vw)!important;
  left:50%;
  top:49%;
  z-index:2!important;
  opacity:1!important;
  filter:drop-shadow(0 0 24px rgba(55,200,255,.22));
}
.ags-v4-hero-visual .ags-v4-orbit{z-index:1!important;pointer-events:none}
.ags-v4-hero-visual .ags-v4-float{z-index:5!important}
.ags-v4-hero-visual .ags-v4-float.f1{top:7%;left:3%}
.ags-v4-hero-visual .ags-v4-float.f2{right:0;top:26%}
.ags-v4-hero-visual .ags-v4-float.f3{bottom:7%;left:10%}
@media(max-width:1050px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:270px!important;height:270px!important}
}
@media(max-width:820px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:210px!important;height:210px!important;top:47%}
  .ags-v4-hero-visual .ags-v4-float.f1{left:2%;top:5%}
  .ags-v4-hero-visual .ags-v4-float.f2{right:1%;top:25%}
  .ags-v4-hero-visual .ags-v4-float.f3{left:4%;bottom:5%}
}

/* ALEF Brand System 4.8.2 — clean emblem + site-wide logo polish */
.ags-brand-mark img,
.ags-footer-brand .ags-brand-mark img,
.ags-auth-brand-mark img{
  object-fit:contain!important;
  mix-blend-mode:normal!important;
  background:transparent!important;
}
.ags-brand-mark img{filter:drop-shadow(0 0 8px rgba(74,208,255,.28))!important}
.ags-footer-brand .ags-brand-mark img{filter:drop-shadow(0 0 13px rgba(74,208,255,.26))!important}
.ags-auth-brand-mark img{filter:drop-shadow(0 0 14px rgba(74,208,255,.30))!important}
.ags-site-footer{position:relative;overflow:hidden}
.ags-site-footer:before{
  content:"";position:absolute;left:-90px;bottom:-150px;width:420px;height:420px;
  background:url('../assets/alef-logo-emblem-clean.webp') center/contain no-repeat;
  opacity:.035;pointer-events:none;filter:blur(.2px);
}
.ags-footer-top,.ags-footer-bottom{position:relative;z-index:1}

/* Home: the emblem is a clean floating brand mark, never a dark disc. */
.ags-v4-hero-visual{position:relative!important;min-width:0!important;overflow:visible!important}
.ags-v4-hero-visual .ags-v4-brand-emblem{
  width:min(248px,29vw)!important;
  height:min(248px,29vw)!important;
  left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:2!important;
  opacity:1!important;
  filter:drop-shadow(0 0 22px rgba(55,200,255,.20))!important;
}
.ags-v4-hero-visual .ags-v4-brand-emblem img{display:block;width:100%;height:100%;object-fit:contain}
.ags-v4-hero-visual .ags-v4-orbit{z-index:1!important}
.ags-v4-hero-visual .ags-v4-float{z-index:6!important}
.ags-v4-hero-visual .ags-v4-float.f1{top:2%!important;left:0!important}
.ags-v4-hero-visual .ags-v4-float.f2{right:0!important;top:20%!important}
.ags-v4-hero-visual .ags-v4-float.f3{left:4%!important;bottom:2%!important}
@media(max-width:1050px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:225px!important;height:225px!important}
}
@media(max-width:820px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:190px!important;height:190px!important;top:48%!important}
  .ags-v4-hero-visual .ags-v4-float.f1{left:1%!important;top:3%!important}
  .ags-v4-hero-visual .ags-v4-float.f2{right:1%!important;top:21%!important}
  .ags-v4-hero-visual .ags-v4-float.f3{left:2%!important;bottom:3%!important}
}
@media(max-width:560px){
  .ags-v4-hero-visual{min-height:390px!important}
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:165px!important;height:165px!important}
}

/* v4.8.2 — Home ALEF emblem polish: remove generated wordmark fragments and blend artwork cleanly. */
.ags-v4-hero-visual{isolation:isolate!important;overflow:visible!important}
.ags-v4-hero-visual .ags-v4-brand-emblem{
  width:min(390px,44vw)!important;
  height:min(350px,40vw)!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:4!important;
  opacity:1!important;
  filter:drop-shadow(0 0 22px rgba(55,200,255,.22)) drop-shadow(0 22px 28px rgba(0,0,0,.38))!important;
  pointer-events:none!important;
}
.ags-v4-hero-visual .ags-v4-brand-emblem img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  mix-blend-mode:screen!important;
  background:transparent!important;
}
.ags-v4-hero-visual .ags-v4-orbit{z-index:1!important}
.ags-v4-hero-visual .ags-v4-float{z-index:6!important}
@media(max-width:1050px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:360px!important;height:330px!important}
}
@media(max-width:760px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:330px!important;height:300px!important}
}
@media(max-width:520px){
  .ags-v4-hero-visual .ags-v4-brand-emblem{width:285px!important;height:260px!important}
}


/* ALEF 4.8.11 — unified home game preview + cleaner metadata/search/sort controls */
.ags-home-game-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px!important;}
.ags-home-game-preview-grid .ags-game-card{height:100%!important;}
.ags-home-game-preview-grid .ags-game-image{aspect-ratio:16/9!important;}
.ags-home-game-preview-grid .ags-game-body{padding:14px 15px 16px!important;}
.ags-home-game-preview-grid .ags-game-body h3{font-size:15px!important;}
@media(max-width:1050px){.ags-home-game-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){.ags-home-game-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:480px){.ags-home-game-preview-grid{grid-template-columns:1fr!important;}}

/* Single-game metadata: remove the heavy grey pill behind every label. */
.ags-game-single-meta span,.ags-game-single-tags span{background:transparent!important;border-color:rgba(92,231,255,.10)!important;color:rgba(220,235,244,.62)!important;box-shadow:none!important;}
.ags-game-single-meta span:first-child{border-color:rgba(92,231,255,.16)!important;}

/* Cleaner catalog search field: no dark bar trapped around the text. */
.ags-games-catalog .ags-games-search{background:rgba(5,16,27,.34)!important;border-color:rgba(91,194,243,.15)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important;}
.ags-games-catalog .ags-games-search input{background:transparent!important;box-shadow:none!important;}

/* Compact sort control: visually a single modern button, anchored to the LEFT. */
.ags-games-filter-primary{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;direction:ltr!important;align-items:center!important;}
.ags-games-catalog .ags-games-search{grid-column:2!important;direction:rtl!important;order:2!important;}
.ags-games-catalog .ags-games-sort{grid-column:1!important;order:1!important;min-height:48px!important;height:48px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:0 12px!important;border-radius:13px!important;border:1px solid rgba(92,231,255,.16)!important;background:linear-gradient(145deg,rgba(14,39,56,.78),rgba(5,17,28,.86))!important;box-shadow:inset 0 1px rgba(255,255,255,.045),0 8px 22px rgba(0,0,0,.10)!important;direction:rtl!important;cursor:pointer!important;}
.ags-games-catalog .ags-games-sort:before{content:"⇅";width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;border-radius:8px;background:rgba(92,231,255,.09);border:1px solid rgba(92,231,255,.12);color:#75d9ff;font-size:13px;font-weight:900;}
.ags-games-catalog .ags-games-sort:after{content:none!important;}
.ags-games-catalog .ags-games-sort>span{font-size:8px!important;color:rgba(210,228,238,.48)!important;white-space:nowrap!important;}
.ags-games-catalog .ags-games-sort select{height:31px!important;min-width:0!important;flex:1!important;padding:0 4px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#e4f4fb!important;font-size:10px!important;font-weight:850!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;}
@media(max-width:760px){.ags-games-filter-primary{grid-template-columns:1fr!important;direction:rtl!important;}.ags-games-catalog .ags-games-search,.ags-games-catalog .ags-games-sort{grid-column:1!important;order:initial!important;width:100%!important;}.ags-games-catalog .ags-games-sort{margin-top:2px!important;}}

/* Marketplace/DLC sort controls use the same compact ALEF visual language. */
.ags-m2-toolbar{direction:ltr!important;}
.ags-m2-toolbar [data-filter-sort-wrap]{order:1!important;direction:rtl!important;}
.ags-m2-toolbar [data-filter-price-wrap]{direction:rtl!important;}
.ags-m2-toolbar .ags-m2-select[data-filter-sort-wrap]{min-height:48px!important;height:48px!important;padding:6px 12px!important;border-radius:13px!important;border-color:rgba(92,231,255,.16)!important;background:linear-gradient(145deg,rgba(14,39,56,.78),rgba(5,17,28,.86))!important;box-shadow:inset 0 1px rgba(255,255,255,.04)!important;position:relative!important;}
.ags-m2-toolbar [data-filter-sort-wrap] small{font-size:7px!important;color:rgba(210,228,238,.45)!important;}
.ags-m2-toolbar [data-filter-sort-wrap] select{height:25px!important;font-size:10px!important;font-weight:850!important;}
.ags-dlc-sort{border-radius:13px!important;border-color:rgba(92,231,255,.16)!important;background:linear-gradient(145deg,rgba(14,39,56,.78),rgba(5,17,28,.86))!important;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 22px rgba(0,0,0,.10)!important;}
@media(max-width:760px){.ags-m2-toolbar{direction:rtl!important;}.ags-m2-toolbar [data-filter-sort-wrap]{order:0!important;}}

/* ALEF 4.8.11 — DLC result sort is a compact native control, anchored left. */
.ags-dlc-game-results .ags-dlc-result-tools{display:grid!important;grid-template-columns:auto minmax(240px,1fr)!important;direction:ltr!important;align-items:center!important;gap:10px!important;}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{grid-column:1!important;display:flex!important;position:relative!important;overflow:hidden!important;align-items:center!important;gap:8px!important;min-width:156px!important;height:48px!important;padding:0 11px!important;border:1px solid rgba(92,231,255,.16)!important;border-radius:13px!important;background:linear-gradient(145deg,rgba(14,39,56,.78),rgba(5,17,28,.86))!important;box-shadow:inset 0 1px rgba(255,255,255,.045),0 8px 22px rgba(0,0,0,.10)!important;direction:rtl!important;}
.ags-dlc-game-results .ags-dlc-sort>span{position:static!important;right:auto!important;left:auto!important;top:auto!important;transform:none!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;flex:0 0 28px!important;border-radius:8px!important;background:rgba(92,231,255,.09)!important;border:1px solid rgba(92,231,255,.12)!important;color:#75d9ff!important;font-size:13px!important;font-weight:900!important;}
.ags-dlc-game-results .ags-dlc-sort select{height:30px!important;min-width:0!important;flex:1!important;border:0!important;outline:0!important;background:transparent!important;color:#e4f4fb!important;font-size:10px!important;font-weight:850!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;}
.ags-dlc-game-results .ags-dlc-sort select option{background:#0b1723!important;color:#eef8ff!important;}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{grid-column:2!important;direction:rtl!important;width:auto!important;}
@media(max-width:760px){.ags-dlc-game-results .ags-dlc-result-tools{grid-template-columns:1fr!important;direction:rtl!important;}.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort,.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{grid-column:1!important;width:100%!important;}}


/* ALEF 4.8.12 — minimal catalog search/sort controls */
.ags-games-catalog .ags-games-search,
.ags-dlc-games-filters .ags-games-search,
.ags-dlc-directory .ags-dlc-search,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-inline:0!important;
}
.ags-games-catalog .ags-games-search input,
.ags-dlc-games-filters .ags-games-search input,
.ags-dlc-directory .ags-dlc-search input,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search input{
  background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;
}
.ags-games-catalog .ags-games-sort,
.ags-dlc-games-filters .ags-games-sort,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
  min-width:0!important;width:max-content!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;direction:rtl!important;
}
.ags-games-catalog .ags-games-sort>span,
.ags-dlc-games-filters .ags-games-sort>span,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort>span,
.ags-sort-label{
  position:static!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;
  color:rgba(226,240,248,.72)!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important;
}
.ags-games-catalog .ags-games-sort .ags-sort-arrow,
.ags-dlc-games-filters .ags-games-sort .ags-sort-arrow,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-arrow{
  order:-1!important;width:22px!important;height:22px!important;min-width:22px!important;padding:0!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(91,194,243,.18)!important;border-radius:7px!important;background:rgba(41,137,183,.08)!important;color:#76d3ff!important;
  font-size:13px!important;line-height:1!important;cursor:pointer!important;transition:.18s ease!important;
}
.ags-games-catalog .ags-games-sort .ags-sort-arrow:hover,
.ags-dlc-games-filters .ags-games-sort .ags-sort-arrow:hover,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-arrow:hover{background:rgba(41,137,183,.18)!important;border-color:rgba(91,194,243,.35)!important;transform:translateY(-1px)!important;}
.ags-sort-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;}
.ags-sort-menu{position:absolute!important;top:calc(100% + 8px)!important;right:0!important;min-width:165px!important;padding:6px!important;display:none!important;flex-direction:column!important;gap:3px!important;z-index:999999!important;
  border:1px solid rgba(91,194,243,.16)!important;border-radius:12px!important;background:rgba(6,20,31,.98)!important;box-shadow:0 18px 45px rgba(0,0,0,.35)!important;backdrop-filter:blur(18px)!important;}
.ags-sort-menu.is-open{display:flex!important;}
.ags-sort-option{width:100%!important;min-height:34px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;
  color:rgba(226,240,248,.72)!important;font:inherit!important;font-size:10px!important;text-align:right!important;cursor:pointer!important;}
.ags-sort-option:hover,.ags-sort-option.is-active{background:rgba(62,175,231,.10)!important;color:#7bd5ff!important;}
.ags-games-filter-primary{grid-template-columns:max-content minmax(0,1fr)!important;direction:ltr!important;align-items:center!important;}
.ags-games-catalog .ags-games-sort{grid-column:1!important;order:1!important;justify-self:start!important;direction:rtl!important;}
.ags-games-catalog .ags-games-search{grid-column:2!important;order:2!important;direction:rtl!important;}
.ags-dlc-games-filters .ags-games-sort{grid-column:1!important;order:1!important;justify-self:start!important;}
.ags-dlc-games-filters .ags-games-search{grid-column:2!important;order:2!important;}
.ags-game-single-meta,.ags-game-single-tags{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;}
.ags-game-single-meta span,.ags-game-single-tags span{background:rgba(255,255,255,.025)!important;border:1px solid rgba(150,170,185,.18)!important;border-radius:7px!important;padding:6px 9px!important;box-shadow:none!important;}
@media(max-width:760px){
  .ags-games-filter-primary{grid-template-columns:1fr!important;direction:rtl!important;}
  .ags-games-catalog .ags-games-search,.ags-games-catalog .ags-games-sort,.ags-dlc-games-filters .ags-games-search,.ags-dlc-games-filters .ags-games-sort{grid-column:1!important;order:initial!important;width:auto!important;justify-self:stretch!important;}
  .ags-games-catalog .ags-games-sort,.ags-dlc-games-filters .ags-games-sort{justify-self:start!important;}
  .ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{width:auto!important;}
}

/* v4.8.13 — catalog sort stays inline; DLC metadata has no backing panel. */
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"],
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"],
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"]{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:max-content!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  gap:8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"] .ags-sort-label,
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"] .ags-sort-label,
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-label{font-size:11px!important;color:rgba(220,235,244,.72)!important;font-weight:800!important;white-space:nowrap!important;pointer-events:none!important}
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"] .ags-sort-arrow,
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"] .ags-sort-arrow,
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-arrow{width:22px!important;height:22px!important;min-width:22px!important;padding:0!important;margin:0!important;border:1px solid rgba(92,199,247,.24)!important;border-radius:7px!important;background:rgba(9,30,44,.55)!important;color:#72cfff!important;display:grid!important;place-items:center!important;box-shadow:none!important;cursor:pointer!important}
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"] .ags-sort-native,
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"] .ags-sort-native,
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip:rect(0 0 0 0)!important}
.ags-dlc-single .ags-game-single-meta{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;padding:0!important;border-radius:0!important}

/* v4.8.14 — single hero image + remaining images in lower gallery; keep game detail fully inside frame */
.ags-game-single{width:min(calc(100% - 28px),1380px)!important;max-width:1380px!important;box-sizing:border-box!important;overflow:visible!important}
.ags-game-single-hero{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
.ags-game-single-art,.ags-game-single-main{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.ags-game-single-art--hero{overflow:hidden!important}
.ags-game-single-art--hero .ags-game-media-stage{width:100%!important;max-width:100%!important;overflow:hidden!important}
.ags-game-single-art--hero .ags-game-media-stage img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important}
.ags-game-single-art--hero .ags-gallery-nav,.ags-game-single-art--hero .ags-gallery-counter{display:none!important}
.ags-game-gallery-section{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.ags-lower-gallery{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:1050px){.ags-game-single{width:min(calc(100% - 22px),1380px)!important}}
@media(max-width:700px){.ags-game-single{width:min(calc(100% - 18px),1380px)!important}}


/* v4.8.15 — final game hero containment + per-game DLC sort control */
.ags-game-single,
.ags-game-single-hero,
.ags-game-single-main,
.ags-game-single-art--hero,
.ags-game-single-art--hero .ags-game-media-stage{
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}
.ags-game-single-hero{overflow:hidden!important;isolation:isolate!important}
.ags-game-single-main{overflow:hidden!important}
.ags-game-single-title-row{min-width:0!important;max-width:100%!important;overflow:visible!important;box-sizing:border-box!important}
.ags-game-single-title-row h1{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
.ags-game-single-art--hero{overflow:hidden!important;contain:paint!important}
.ags-game-single-art--hero .ags-game-media-stage{overflow:hidden!important}
.ags-game-single-art--hero .ags-game-media-stage img{max-width:100%!important;max-height:100%!important}

/* The DLCs belonging to one game use the same minimal sort UI as the catalog. */
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"]{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:0!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  margin:0!important;
  gap:7px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  position:relative!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-label{
  display:inline-block!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  color:rgba(220,235,244,.72)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-arrow{
  display:grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(92,199,247,.24)!important;
  border-radius:7px!important;
  background:rgba(9,30,44,.55)!important;
  color:#72cfff!important;
  box-shadow:none!important;
  font-size:12px!important;
  line-height:1!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:20!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-arrow:hover{
  background:rgba(92,199,247,.12)!important;
  border-color:rgba(92,199,247,.42)!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  clip:rect(0 0 0 0)!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-menu{
  position:absolute!important;
  top:calc(100% + 7px)!important;
  right:0!important;
  left:auto!important;
  width:180px!important;
  min-width:180px!important;
  max-width:220px!important;
  padding:6px!important;
  margin:0!important;
  display:none!important;
  flex-direction:column!important;
  gap:2px!important;
  overflow:hidden!important;
  border:1px solid rgba(92,199,247,.16)!important;
  border-radius:10px!important;
  background:#0a1824!important;
  box-shadow:0 18px 45px rgba(0,0,0,.42)!important;
  z-index:2147483000!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-menu.is-open{display:flex!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-option{
  width:100%!important;
  min-height:32px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#dcebf4!important;
  text-align:right!important;
  font:inherit!important;
  font-size:10px!important;
  cursor:pointer!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-option:hover,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-option.is-active{background:rgba(92,199,247,.10)!important;color:#fff!important}


/* v4.8.16 — final DLC single metadata cleanup + per-game DLC toolbar containment. */
.ags-dlc-single .ags-game-single-meta,
.ags-dlc-single .ags-game-single-meta:before,
.ags-dlc-single .ags-game-single-meta:after{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  padding:0!important;
  margin:16px 0 12px!important;
  border-radius:0!important;
}
.ags-dlc-single .ags-game-single-meta span{
  background:transparent!important;
  background-image:none!important;
  border:1px solid rgba(150,170,185,.18)!important;
  border-radius:7px!important;
  box-shadow:none!important;
  padding:6px 9px!important;
}
.ags-dlc-game-results .ags-dlc-results-main{position:relative!important;min-width:0!important;overflow:visible!important}
.ags-dlc-game-results .ags-dlc-results-top{position:relative!important;z-index:30!important;min-width:0!important;overflow:visible!important}
.ags-dlc-game-results .ags-dlc-result-tools{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex:0 0 auto!important;min-width:0!important;max-width:100%!important;overflow:visible!important;direction:rtl!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{order:1!important;min-width:220px!important;width:245px!important;max-width:100%!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{order:2!important;position:relative!important;flex:0 0 auto!important;overflow:visible!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-menu{z-index:2147483647!important}
@media(max-width:950px){.ags-dlc-game-results .ags-dlc-result-tools{flex-wrap:wrap!important}.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{order:1!important;width:245px!important}.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{order:2!important}}
@media(max-width:560px){.ags-dlc-game-results .ags-dlc-result-tools{width:100%!important}.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{width:100%!important;min-width:0!important}.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{width:max-content!important}}


/* v4.8.18 — final catalog sort cleanup. Remove legacy pseudo arrow; keep the real clickable arrow only. */
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"]:before,
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"]:before,
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"]:before{
  content:none!important;
  display:none!important;
}
.ags-games-catalog .ags-games-sort[data-ags-sort-control="1"] .ags-sort-native,
.ags-dlc-games-filters .ags-games-sort[data-ags-sort-control="1"] .ags-sort-native,
.ags-dlc-result-tools .ags-dlc-sort[data-ags-sort-control="1"] .ags-sort-native{
  display:none!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  visibility:hidden!important;
}

/* v4.8.20 — Per-game DLC page rebuilt: cleaner sidebar, toolbar, sort and cards. */
.ags-dlc-game-results{
  --dlc-cyan:#62d8ff;
  --dlc-border:rgba(108,196,238,.15);
  --dlc-muted:rgba(220,235,244,.48);
  width:min(1480px,calc(100% - 34px))!important;
  max-width:1480px!important;
  margin:0 auto!important;
  padding:18px 0 70px!important;
  background:transparent!important;
  color:#edf7ff!important;
}
.ags-dlc-game-results .ags-dlc-results-breadcrumb{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:0 4px 18px!important;
  background:transparent!important;
  border:0!important;
  direction:rtl!important;
}
.ags-dlc-game-results .ags-dlc-results-breadcrumb>span{font-size:9px!important;color:rgba(220,235,244,.34)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ags-dlc-game-results .ags-dlc-back{
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  padding:7px 10px!important;border:0!important;background:transparent!important;
  color:#69d7ff!important;border-radius:8px!important;font-size:9px!important;font-weight:800!important;
}
.ags-dlc-game-results .ags-dlc-back:hover{background:rgba(98,216,255,.07)!important;color:#fff!important}
.ags-dlc-game-results .ags-dlc-results-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 260px!important;
  direction:ltr!important;
  gap:28px!important;
  padding:0!important;
  margin:0!important;
  align-items:start!important;
}
.ags-dlc-game-results .ags-dlc-results-main{order:1!important;direction:rtl!important;padding:0!important;min-width:0!important}
.ags-dlc-game-results .ags-dlc-sidebar{
  order:2!important;direction:rtl!important;width:auto!important;min-width:0!important;max-width:none!important;
  padding:0!important;border:0!important;
  position:sticky!important;top:96px!important;
}
.ags-dlc-game-results .ags-dlc-game-profile{
  display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;
  padding:14px!important;margin:0 0 12px!important;
  border:1px solid var(--dlc-border)!important;border-radius:18px!important;
  background:linear-gradient(145deg,rgba(12,30,45,.88),rgba(6,15,25,.94))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04)!important;
}
.ags-dlc-game-results .ags-dlc-game-profile img,
.ags-dlc-game-results .ags-dlc-game-profile>span{
  width:64px!important;height:64px!important;border-radius:13px!important;object-fit:cover!important;
  display:grid!important;place-items:center!important;background:#0b1b29!important;border:1px solid rgba(255,255,255,.07)!important;
}
.ags-dlc-game-results .ags-dlc-game-profile small{display:block!important;color:rgba(220,235,244,.4)!important;font-size:8px!important;margin-bottom:3px!important}
.ags-dlc-game-results .ags-dlc-game-profile strong{display:block!important;color:#f4fbff!important;font-size:12px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
.ags-dlc-game-results .ags-dlc-game-profile em{display:block!important;color:#68d5ff!important;font-style:normal!important;font-size:8px!important;margin-top:5px!important}
.ags-dlc-game-results .ags-dlc-filter-nav{
  display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;padding:7px!important;
  border:1px solid var(--dlc-border)!important;border-radius:18px!important;
  background:rgba(7,19,30,.72)!important;
}
.ags-dlc-game-results .ags-dlc-filter-nav a{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
  min-height:40px!important;margin:0!important;padding:0 11px!important;border:1px solid transparent!important;
  border-radius:10px!important;background:transparent!important;color:rgba(220,235,244,.65)!important;
  font-size:9px!important;font-weight:800!important;transition:.18s ease!important;
}
.ags-dlc-game-results .ags-dlc-filter-nav a span{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:rgba(255,255,255,.035)!important;color:#75d8ff!important;font-size:10px!important}
.ags-dlc-game-results .ags-dlc-filter-nav a:hover{background:rgba(91,198,244,.06)!important;color:#fff!important;border-color:rgba(91,198,244,.10)!important}
.ags-dlc-game-results .ags-dlc-filter-nav a.is-active{background:linear-gradient(135deg,rgba(37,151,208,.18),rgba(74,191,244,.06))!important;color:#72d9ff!important;border-color:rgba(98,216,255,.16)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)!important}
.ags-dlc-game-results .ags-dlc-filter-nav a.is-active span{background:rgba(75,188,238,.12)!important}

.ags-dlc-game-results .ags-dlc-results-top{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:24px!important;
  margin:0 0 18px!important;padding:8px 2px 17px!important;border-bottom:1px solid rgba(108,196,238,.09)!important;
}
.ags-dlc-game-results .ags-dlc-results-top>div:first-child{min-width:0!important}
.ags-dlc-game-results .ags-dlc-results-top>div:first-child>span{display:block!important;color:#5fd8ff!important;font-size:8px!important;letter-spacing:1.8px!important;font-weight:900!important;margin-bottom:5px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ags-dlc-game-results .ags-dlc-results-top h1{margin:0 0 4px!important;font-size:30px!important;line-height:1.15!important;letter-spacing:-.03em!important;color:#f6fbff!important}
.ags-dlc-game-results .ags-dlc-results-top p{margin:0!important;color:rgba(220,235,244,.43)!important;font-size:9px!important;line-height:1.8!important}
.ags-dlc-game-results .ags-dlc-result-tools{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:22px!important;
  width:auto!important;min-width:0!important;max-width:none!important;direction:ltr!important;overflow:visible!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{
  order:2!important;width:250px!important;min-width:220px!important;height:38px!important;display:flex!important;align-items:center!important;
  direction:rtl!important;border:1px solid rgba(108,196,238,.12)!important;border-radius:10px!important;
  background:rgba(7,22,34,.72)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search span{color:#6fd7ff!important;font-size:17px!important;padding:0 10px!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search input{height:100%!important;border:0!important;outline:0!important;background:transparent!important;color:#eaf7ff!important;font:inherit!important;font-size:9px!important;width:100%!important;padding:0 2px!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search input::placeholder{color:rgba(220,235,244,.34)!important}

/* Sort: text + one small arrow only. */
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{
  order:1!important;position:relative!important;width:max-content!important;min-width:0!important;height:30px!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;direction:rtl!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important;color:rgba(220,235,244,.64)!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort>span{position:static!important;width:auto!important;height:auto!important;display:inline!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;color:inherit!important;font-size:9px!important;font-weight:800!important;pointer-events:none!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-arrow{
  position:static!important;width:22px!important;height:22px!important;min-width:22px!important;display:grid!important;place-items:center!important;
  padding:0!important;margin:0!important;border:1px solid rgba(98,216,255,.20)!important;border-radius:7px!important;
  background:rgba(10,38,55,.72)!important;color:#70d8ff!important;box-shadow:none!important;cursor:pointer!important;pointer-events:auto!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-arrow:hover{background:rgba(56,169,219,.16)!important;border-color:rgba(98,216,255,.4)!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-native{display:none!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-menu{
  position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;width:170px!important;min-width:170px!important;
  padding:6px!important;display:none!important;flex-direction:column!important;gap:3px!important;
  border:1px solid rgba(98,216,255,.16)!important;border-radius:12px!important;background:#071522!important;
  box-shadow:0 18px 45px rgba(0,0,0,.45)!important;z-index:2147483647!important;overflow:visible!important;
}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-menu.is-open{display:flex!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-option{width:100%!important;min-height:34px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#dbeaf3!important;font-size:9px!important;white-space:nowrap!important;cursor:pointer!important}
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-option:hover,.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort .ags-sort-option.is-active{background:rgba(82,195,244,.10)!important;color:#73d8ff!important}

.ags-dlc-game-results .ags-dlc-results-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important;
}
.ags-dlc-game-results .ags-dlc-result-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;
  border:1px solid rgba(108,196,238,.12)!important;border-radius:16px!important;
  background:linear-gradient(160deg,rgba(11,29,43,.94),rgba(5,15,24,.98))!important;
  box-shadow:0 14px 38px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.035)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.ags-dlc-game-results .ags-dlc-result-card:hover{transform:translateY(-3px)!important;border-color:rgba(91,203,255,.30)!important;box-shadow:0 20px 46px rgba(0,0,0,.28),0 0 24px rgba(48,161,215,.06)!important}
.ags-dlc-game-results .ags-dlc-result-media{position:relative!important;display:block!important;width:100%!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#081520!important}
.ags-dlc-game-results .ags-dlc-result-media img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;transition:transform .35s ease!important}
.ags-dlc-game-results .ags-dlc-result-card:hover .ags-dlc-result-media img{transform:scale(1.035)!important}
.ags-dlc-game-results .ags-dlc-result-copy{display:flex!important;flex-direction:column!important;min-width:0!important;padding:13px!important;flex:1 1 auto!important}
.ags-dlc-game-results .ags-dlc-result-copy .ags-dlc-type{align-self:flex-start!important;padding:4px 7px!important;border-radius:6px!important;background:rgba(87,197,244,.08)!important;border:1px solid rgba(87,197,244,.12)!important;color:#68d5ff!important;font-size:7px!important;font-weight:900!important}
.ags-dlc-game-results .ags-dlc-result-copy h2{margin:8px 0 5px!important;font-size:12px!important;line-height:1.55!important;color:#f0f8fc!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;overflow-wrap:anywhere!important}
.ags-dlc-game-results .ags-dlc-result-copy p{margin:0!important;color:rgba(220,235,244,.42)!important;font-size:8px!important;line-height:1.75!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
.ags-dlc-game-results .ags-dlc-result-copy .ags-game-platforms,.ags-dlc-game-results .ags-dlc-result-copy .ags-game-regions{margin-top:8px!important;display:flex!important;flex-wrap:wrap!important;gap:4px!important}
.ags-dlc-game-results .ags-dlc-result-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:auto!important;padding-top:12px!important}
.ags-dlc-game-results .ags-dlc-result-footer .ags-dlc-price{min-width:0!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:5px!important}
.ags-dlc-game-results .ags-dlc-result-footer .ags-dlc-price strong{font-size:10px!important;color:#91f58b!important;white-space:nowrap!important}
.ags-dlc-game-results .ags-dlc-result-footer .ags-dlc-price del{font-size:8px!important;color:rgba(220,235,244,.28)!important}
.ags-dlc-game-results .ags-dlc-result-footer .ags-dlc-view{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:7px 9px!important;border:1px solid rgba(91,203,255,.17)!important;border-radius:8px!important;background:rgba(44,156,211,.06)!important;color:#78d8ff!important;font-size:8px!important;white-space:nowrap!important}
.ags-dlc-game-results .ags-dlc-result-footer .ags-dlc-view:hover{background:rgba(44,156,211,.13)!important;color:#fff!important}

@media(max-width:1180px){
 .ags-dlc-game-results .ags-dlc-results-layout{grid-template-columns:minmax(0,1fr) 230px!important;gap:20px!important}
 .ags-dlc-game-results .ags-dlc-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{width:220px!important;min-width:180px!important}
}
@media(max-width:900px){
 .ags-dlc-game-results{width:min(100% - 20px,1480px)!important}
 .ags-dlc-game-results .ags-dlc-results-layout{grid-template-columns:1fr!important;gap:18px!important}
 .ags-dlc-game-results .ags-dlc-sidebar{position:static!important;order:1!important}
 .ags-dlc-game-results .ags-dlc-results-main{order:2!important}
 .ags-dlc-game-results .ags-dlc-filter-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .ags-dlc-game-results .ags-dlc-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 .ags-dlc-game-results .ags-dlc-results-top{grid-template-columns:1fr!important;gap:12px!important}
 .ags-dlc-game-results .ags-dlc-result-tools{width:100%!important;justify-content:space-between!important}
 .ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-search{width:min(250px,70vw)!important;min-width:0!important}
 .ags-dlc-game-results .ags-dlc-filter-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ags-dlc-game-results .ags-dlc-results-grid{grid-template-columns:1fr!important}
}

/* v4.8.20 — DLC-per-game cleanup: remove back/breadcrumb/sort chrome. */
.ags-dlc-game-results .ags-dlc-results-breadcrumb,
.ags-dlc-game-results .ags-dlc-back,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort{
  display:none!important;
}
.ags-dlc-game-results .ags-dlc-result-tools{
  justify-content:flex-start!important;
}


/* v4.8.21 — final catalog/game metadata cleanup. */
/* Per-game DLC pages no longer show a sort control; search remains. */
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort,
.ags-dlc-game-results .ags-dlc-result-tools .ags-dlc-sort-wrap{
  display:none!important;
}

/* Game single metadata: no full-width surface behind the chips. */
.ags-game-single .ags-game-single-meta,
.ags-game-single .ags-game-single-meta:before,
.ags-game-single .ags-game-single-meta:after{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:0!important;
  margin:16px 0 12px!important;
  padding:0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
}
.ags-game-single .ags-game-single-meta span{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-height:30px!important;
  margin:0!important;
  padding:6px 9px!important;
  background:rgba(255,255,255,.025)!important;
  background-image:none!important;
  border:1px solid rgba(150,170,185,.18)!important;
  border-radius:7px!important;
  box-shadow:none!important;
}


/* v4.8.25: universal wishlist heart containment for every custom product page. */
.ags-game-single-title-row,.ags-gift-title-row,.ags-sub-title-row{min-width:0!important;max-width:100%!important;overflow:visible!important;box-sizing:border-box!important}
.ags-game-single-title-row h1,.ags-gift-title-row h1,.ags-sub-title-row h1{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
.ags-game-single-title-row .ags-product-wishlist-button,.ags-gift-title-row .ags-product-wishlist-button,.ags-sub-title-row .ags-product-wishlist-button{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;box-sizing:border-box!important;overflow:hidden!important;margin:0!important}
/* ALEF v4.8.32 — Custom Order / Loyalty / Digital Delivery integration */
.ags-co-shell,.ags-co-detail{font-family:inherit}.ags-loyalty-panel,.ags-dd-panel{box-sizing:border-box}



/* Subscription detail pages should end with the actual subscription experience,
   not the generic Intelligence/Related Games footer block. */
body.single-ags_sub .ags-sip-experience,
body.post-type-archive-ags_sub .ags-sip-experience{
  display:none!important;
}

/* Custom Order CTA: keep the action pinned to the far left of its action row. */
.ags-co-submit{
  position:relative!important;
}
.ags-co-submit>button{
  left:0!important;
  right:auto!important;
  transform:translateY(-58%)!important;
}
.ags-co-submit>button:hover{
  transform:translateY(-64%)!important;
}
@media(max-width:850px){
  .ags-co-submit>button{
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  .ags-co-submit>button:hover{transform:translateY(-2px)!important}
}


/* v4.8.43 — unified Custom Order CTA + centered steps + premium preview actions */

/* Custom Order: remove the secondary quote copy entirely and center the only CTA. */
.ags-co-submit{
  min-height:96px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  padding:16px 24px!important;
}
.ags-co-submit>div{display:none!important}
.ags-co-submit>button{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  transform:none!important;
  margin:0 auto!important;
  min-width:245px!important;
  max-width:100%!important;
  text-align:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  border-radius:15px!important;
}
.ags-co-submit>button:hover{transform:translateY(-3px)!important}
.ags-co-steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.ags-co-steps>span{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:9px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
}
.ags-co-steps>span>b{
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  line-height:1!important;
  text-align:center!important;
}

/* Gift Card preview cards: replace the tiny floating arrow with a proper ALEF action chip. */
.ags-gift-platform-card-large .ags-gift-platform-arrow{
  width:auto!important;
  min-width:86px!important;
  height:34px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  left:20px!important;
  bottom:20px!important;
  border:1px solid rgba(92,218,255,.20)!important;
  border-radius:11px!important;
  background:rgba(4,18,29,.82)!important;
  color:#8ee5ff!important;
  font-size:10px!important;
  font-weight:900!important;
  box-shadow:0 10px 24px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.05)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::before{content:"مشاهده";font-family:inherit}
.ags-gift-platform-card-large .ags-gift-platform-arrow{font-size:0!important}
.ags-gift-platform-card-large .ags-gift-platform-arrow::after{content:"←";font-size:13px!important;line-height:1!important}
.ags-gift-platform-card-large:hover .ags-gift-platform-arrow{
  transform:translateY(-2px)!important;
  border-color:rgba(92,218,255,.45)!important;
  background:rgba(7,35,52,.94)!important;
}

/* Game preview cards: turn the action/price area into one consistent ALEF control. */
.ags-home-game-preview-grid .ags-game-buy,
.ags-shared-preview-grid .ags-game-buy{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-top:13px!important;
}
.ags-home-game-preview-grid .ags-game-buy>div,
.ags-shared-preview-grid .ags-game-buy>div{
  min-width:0!important;
}
.ags-home-game-preview-grid .ags-game-buy>span,
.ags-shared-preview-grid .ags-game-buy>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:34px!important;
  padding:0 12px!important;
  border:1px solid rgba(92,218,255,.20)!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,rgba(9,34,50,.94),rgba(5,19,30,.96))!important;
  color:#8ee5ff!important;
  font-size:9px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.04)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease!important;
}
.ags-home-game-preview-grid .ags-game-buy>span:hover,
.ags-shared-preview-grid .ags-game-buy>span:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(92,218,255,.45)!important;
  background:linear-gradient(145deg,rgba(12,53,76,.98),rgba(6,25,39,.98))!important;
  color:#fff!important;
}
.ags-home-game-preview-grid .ags-game-buy>span b,
.ags-shared-preview-grid .ags-game-buy>span b{
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Keep the price visually aligned with the new action. */
.ags-home-game-preview-grid .ags-game-buy strong,
.ags-shared-preview-grid .ags-game-buy strong{
  font-size:13px!important;
  line-height:1.2!important;
}
.ags-home-game-preview-grid .ags-game-buy strong small,
.ags-shared-preview-grid .ags-game-buy strong small{
  font-size:8px!important;
}
@media(max-width:850px){
  .ags-co-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .ags-co-submit{min-height:82px!important;padding:12px!important}
  .ags-co-submit>button{width:100%!important;min-width:0!important}
  .ags-co-steps{grid-template-columns:1fr!important}
}



/* ALEF v4.8.44 — unified catalog preview actions + DLC label cleanup */
/* Game preview: replace the old text/button treatment with a compact, consistent action control. */
.ags-home-game-preview-grid .ags-game-buy>span,
.ags-shared-preview-grid .ags-game-buy>span{
  position:relative!important;
  min-width:118px!important;
  min-height:38px!important;
  padding:0 14px!important;
  border:1px solid rgba(92,218,255,.28)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,rgba(18,54,78,.96),rgba(8,25,39,.98))!important;
  color:#eaf9ff!important;
  font-size:0!important;
  font-weight:900!important;
  box-shadow:0 8px 24px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.07)!important;
}
.ags-home-game-preview-grid .ags-game-buy>span::before,
.ags-shared-preview-grid .ags-game-buy>span::before{
  content:'مشاهده بازی';
  font-size:10px!important;
  line-height:1!important;
}
.ags-home-game-preview-grid .ags-game-buy>span::after,
.ags-shared-preview-grid .ags-game-buy>span::after{
  content:'←';
  display:inline-block;
  margin-right:7px;
  font-size:13px!important;
  line-height:1!important;
}
.ags-home-game-preview-grid .ags-game-buy>span b,
.ags-shared-preview-grid .ags-game-buy>span b{display:none!important}
.ags-home-game-preview-grid .ags-game-buy>span:hover,
.ags-shared-preview-grid .ags-game-buy>span:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(135deg,rgba(22,73,103,.98),rgba(9,31,48,.99))!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28),0 0 18px rgba(92,231,255,.08)!important;
}

/* Gift Card platform preview: a real ALEF CTA instead of the old floating arrow. */
.ags-gift-platform-card-large .ags-gift-platform-arrow{
  min-width:112px!important;
  width:auto!important;
  height:38px!important;
  padding:0 13px!important;
  left:20px!important;
  bottom:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid rgba(92,218,255,.28)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,rgba(12,46,67,.96),rgba(5,21,33,.98))!important;
  color:#eaf9ff!important;
  font-size:0!important;
  font-weight:900!important;
  box-shadow:0 8px 24px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.06)!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::before{content:'انتخاب پلتفرم';font-size:9px!important}
.ags-gift-platform-card-large .ags-gift-platform-arrow::after{content:'←';font-size:13px!important;line-height:1!important}
.ags-gift-platform-card-large:hover .ags-gift-platform-arrow{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(135deg,rgba(18,70,99,.98),rgba(7,29,45,.99))!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28),0 0 18px rgba(92,231,255,.08)!important;
}

/* Remove the small "DLC 8" / DLC-type chip from cards; the card title already identifies the content. */
.ags-game-dlc-card .ags-dlc-type{display:none!important}

@media(max-width:620px){
  .ags-home-game-preview-grid .ags-game-buy>span,
  .ags-shared-preview-grid .ags-game-buy>span{min-width:105px!important;padding:0 11px!important}
  .ags-gift-platform-card-large .ags-gift-platform-arrow{min-width:104px!important}
}


/* ALEF Theme v4.8.45 — Final Game Card Controls
 * Reworks platform chips and bottom CTA/price controls to match the current ALEF UI.
 */

/* Platform controls: no more tiny generic square buttons. */
.ags-home-game-preview-grid .ags-game-platforms,
.ags-shared-preview-grid .ags-game-platforms{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  min-height:32px!important;
  margin:8px 0 10px!important;
  overflow:visible!important;
}
.ags-home-game-preview-grid .ags-platform-icon,
.ags-shared-preview-grid .ags-platform-icon{
  width:auto!important;
  min-width:36px!important;
  height:31px!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:0 9px!important;
  border-radius:10px!important;
  border:1px solid rgba(107,202,245,.16)!important;
  background:linear-gradient(145deg,rgba(19,39,55,.94),rgba(7,19,29,.98))!important;
  color:#dceef8!important;
  box-shadow:inset 0 1px rgba(255,255,255,.055),0 5px 14px rgba(0,0,0,.16)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important;
}
.ags-home-game-preview-grid .ags-platform-icon:hover,
.ags-shared-preview-grid .ags-platform-icon:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.42)!important;
  background:linear-gradient(145deg,rgba(17,55,75,.98),rgba(7,25,38,.99))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 9px 22px rgba(0,0,0,.24),0 0 15px rgba(92,231,255,.07)!important;
}
.ags-home-game-preview-grid .ags-platform-icon svg,
.ags-home-game-preview-grid .ags-platform-icon img,
.ags-shared-preview-grid .ags-platform-icon svg,
.ags-shared-preview-grid .ags-platform-icon img{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  object-fit:contain!important;
  display:block!important;
}
.ags-home-game-preview-grid .ags-platform-icon i,
.ags-shared-preview-grid .ags-platform-icon i{
  position:static!important;
  left:auto!important;
  display:block!important;
  margin:0!important;
  font-style:normal!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:850!important;
  color:rgba(225,241,249,.72)!important;
  white-space:nowrap!important;
}
.ags-home-game-preview-grid .ags-platform-icon[title=""],
.ags-shared-preview-grid .ags-platform-icon[title=""]{
  min-width:31px!important;
  padding:0 7px!important;
}

/* Card footer: price and action become a proper compact action bar. */
.ags-home-game-preview-grid .ags-game-buy,
.ags-shared-preview-grid .ags-game-buy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  margin-top:11px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(255,255,255,.07)!important;
}
.ags-home-game-preview-grid .ags-game-buy>div,
.ags-shared-preview-grid .ags-game-buy>div{
  min-width:0!important;
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.ags-home-game-preview-grid .ags-game-buy strong,
.ags-shared-preview-grid .ags-game-buy strong{
  font-size:13px!important;
  line-height:1.15!important;
  color:#8ee7ff!important;
  font-weight:950!important;
}
.ags-home-game-preview-grid .ags-game-buy strong small,
.ags-shared-preview-grid .ags-game-buy strong small{
  font-size:8px!important;
  color:rgba(142,231,255,.58)!important;
}
.ags-home-game-preview-grid .ags-game-buy del,
.ags-shared-preview-grid .ags-game-buy del{
  font-size:8px!important;
  color:rgba(220,232,241,.3)!important;
}
.ags-home-game-preview-grid .ags-game-buy .ags-no-price,
.ags-shared-preview-grid .ags-game-buy .ags-no-price{
  font-size:10px!important;
  color:#75d3ff!important;
}
.ags-home-game-preview-grid .ags-game-buy>span,
.ags-shared-preview-grid .ags-game-buy>span{
  position:relative!important;
  min-width:112px!important;
  height:36px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(92,231,255,.25)!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(16,57,78,.98),rgba(7,25,38,.99))!important;
  color:#eafaff!important;
  font-size:9px!important;
  font-weight:950!important;
  white-space:nowrap!important;
  box-shadow:0 8px 22px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.ags-home-game-preview-grid .ags-game-buy>span::after,
.ags-shared-preview-grid .ags-game-buy>span::after{
  content:'→'!important;
  margin:0!important;
  font-size:13px!important;
  line-height:1!important;
  color:#73d9ff!important;
}
.ags-home-game-preview-grid .ags-game-buy>span b,
.ags-shared-preview-grid .ags-game-buy>span b{
  display:none!important;
}
.ags-home-game-preview-grid .ags-game-buy>span:hover,
.ags-shared-preview-grid .ags-game-buy>span:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.52)!important;
  background:linear-gradient(135deg,rgba(22,77,105,.99),rgba(8,31,47,.99))!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 18px rgba(92,231,255,.08)!important;
}

/* If the card has no price, keep the CTA from collapsing the footer. */
.ags-home-game-preview-grid .ags-game-buy:has(.ags-no-price)>span,
.ags-shared-preview-grid .ags-game-buy:has(.ags-no-price)>span{
  min-width:118px!important;
}

@media(max-width:620px){
  .ags-home-game-preview-grid .ags-platform-icon,
  .ags-shared-preview-grid .ags-platform-icon{
    height:29px!important;
    min-width:33px!important;
    padding:0 8px!important;
  }
  .ags-home-game-preview-grid .ags-platform-icon i,
  .ags-shared-preview-grid .ags-platform-icon i{
    font-size:7px!important;
  }
  .ags-home-game-preview-grid .ags-game-buy,
  .ags-shared-preview-grid .ags-game-buy{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
  }
  .ags-home-game-preview-grid .ags-game-buy>span,
  .ags-shared-preview-grid .ags-game-buy>span{
    min-width:101px!important;
    height:34px!important;
    padding:0 10px!important;
    font-size:8px!important;
  }
}


/* ALEF v4.8.46 — FINAL GAME PREVIEW CTA OVERRIDE
   Targets the actual .ags-game-card markup directly, so these two actions
   are independent of the surrounding page/grid wrapper.
*/

/* Footer becomes a clean two-action bar. */
.ags-game-card .ags-game-buy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin:12px 0 0!important;
  padding:11px 0 0!important;
  border-top:1px solid rgba(104,196,226,.11)!important;
}

/* "مشاهده قیمت" / free / actual price block. */
.ags-game-card .ags-game-buy>div{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
}
.ags-game-card .ags-game-buy .ags-no-price{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
  border-radius:10px!important;
  border:1px solid rgba(92,231,255,.20)!important;
  background:rgba(92,231,255,.055)!important;
  color:#86ddfa!important;
  font-size:9px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.ags-game-card .ags-game-buy .ags-free-price{
  color:#71e8ae!important;
  font-size:11px!important;
  font-weight:950!important;
}
.ags-game-card .ags-game-buy>div>strong:not(.ags-no-price){
  color:#9be8ff!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1.1!important;
}
.ags-game-card .ags-game-buy>div>strong small{
  font-size:8px!important;
  color:rgba(155,232,255,.55)!important;
}
.ags-game-card .ags-game-buy>div>del{
  color:rgba(220,232,241,.34)!important;
  font-size:8px!important;
}

/* "مشاهده" action — a real ALEF CTA, not a plain text link. */
.ags-game-card .ags-game-buy>span{
  position:relative!important;
  min-width:108px!important;
  height:36px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(92,231,255,.27)!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(14,50,70,.98),rgba(7,24,37,.99))!important;
  color:#eafaff!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:0 8px 22px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.06)!important;
  cursor:pointer!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important;
}
.ags-game-card .ags-game-buy>span b{
  display:inline-block!important;
  margin:0!important;
  color:#72ddff!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
}
.ags-game-card .ags-game-buy>span:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(135deg,rgba(21,76,104,.99),rgba(8,31,47,.99))!important;
  box-shadow:0 12px 28px rgba(0,0,0,.27),0 0 18px rgba(92,231,255,.09)!important;
}

/* When no price is available, make the two actions visually balanced. */
.ags-game-card .ags-game-buy:has(.ags-no-price){
  grid-template-columns:minmax(0,1fr) auto!important;
}
.ags-game-card .ags-game-buy:has(.ags-no-price)>span{
  min-width:108px!important;
}

/* RTL: arrow sits naturally on the left side of the CTA. */
[dir="rtl"] .ags-game-card .ags-game-buy>span b{
  order:-1!important;
}

/* Small screens. */
@media(max-width:620px){
  .ags-game-card .ags-game-buy{
    gap:7px!important;
  }
  .ags-game-card .ags-game-buy>span{
    min-width:96px!important;
    height:34px!important;
    padding:0 10px!important;
    font-size:9px!important;
  }
  .ags-game-card .ags-game-buy .ags-no-price{
    min-height:32px!important;
    padding:0 9px!important;
  }
}

/* ALEF Theme v4.8.47 — final formal Custom Order + Gift Card controls */
.ags-co-type-grid .ags-co-type-icon{
  display:grid!important;place-items:center!important;width:48px!important;height:48px!important;flex:0 0 48px!important;
  border-radius:14px!important;border:1px solid rgba(91,220,255,.18)!important;
  background:linear-gradient(145deg,rgba(18,48,66,.96),rgba(7,19,30,.98))!important;
  color:#8dddf5!important;font:900 8px/1 Arial,sans-serif!important;letter-spacing:.8px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 8px 20px rgba(0,0,0,.18)!important;text-align:center!important;
}
.ags-co-type:hover .ags-co-type-icon,.ags-co-type input:checked + .ags-co-type-icon{
  color:#e9fbff!important;border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(145deg,rgba(14,67,91,.98),rgba(6,27,42,.99))!important;
  box-shadow:0 0 0 1px rgba(92,231,255,.12),0 10px 25px rgba(0,0,0,.22)!important;
}
.ags-co-submit{
  min-height:100px!important;width:100%!important;display:flex!important;align-items:center!important;
  justify-content:center!important;position:relative!important;padding:18px 24px!important;box-sizing:border-box!important;
}
.ags-co-submit>div{display:none!important}
.ags-co-submit>button{
  position:static!important;inset:auto!important;margin:0 auto!important;transform:none!important;float:none!important;
  min-width:260px!important;max-width:100%!important;min-height:52px!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;gap:9px!important;text-align:center!important;
}
.ags-co-submit>button:hover{transform:translateY(-2px)!important}
@media(max-width:850px){
  .ags-co-submit{min-height:86px!important;padding:14px!important}
  .ags-co-submit>button{width:100%!important;min-width:0!important}
}
.ags-gift-platform-card-large .ags-gift-platform-arrow{
  min-width:116px!important;width:auto!important;height:38px!important;padding:0 14px!important;left:20px!important;bottom:20px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:7px!important;
  border:1px solid rgba(92,231,255,.24)!important;border-radius:12px!important;background:rgba(6,25,39,.88)!important;
  color:#dff8ff!important;font-size:9px!important;font-weight:900!important;
  box-shadow:0 8px 22px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.05)!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::before{
  content:'←'!important;font-size:13px!important;line-height:1!important;order:0!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::after{
  content:'انتخاب پلتفرم'!important;font-size:9px!important;line-height:1!important;order:1!important;
}
.ags-gift-platform-card-large:hover .ags-gift-platform-arrow{
  transform:translateY(-2px)!important;border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(135deg,rgba(14,60,85,.96),rgba(6,26,41,.99))!important;
}

/* ALEF Theme v4.8.48 — final Gift Card CTA: one arrow only */
.ags-gift-platform-card-large .ags-gift-platform-arrow{
  width:auto!important;
  min-width:116px!important;
  height:38px!important;
  padding:0 14px!important;
  left:20px!important;
  bottom:20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:row!important;
  gap:7px!important;
  border:1px solid rgba(92,231,255,.24)!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,rgba(12,48,67,.94),rgba(6,24,38,.98))!important;
  color:#dff8ff!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:0 8px 22px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.05)!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::before{
  content:'← انتخاب پلتفرم'!important;
  display:inline!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
  margin:0!important;
  order:0!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::after{
  content:none!important;
  display:none!important;
}
.ags-gift-platform-card-large:hover .ags-gift-platform-arrow{
  transform:translateY(-2px)!important;
  border-color:rgba(92,231,255,.55)!important;
  background:linear-gradient(135deg,rgba(14,60,85,.96),rgba(6,26,41,.99))!important;
}

/* ALEF Theme v4.8.48 — Home game preview: remove duplicate action text */
.ags-home-game-preview-grid .ags-game-buy>span,
.ags-shared-preview-grid .ags-game-buy>span{
  font-size:0!important;
}
.ags-home-game-preview-grid .ags-game-buy>span strong,
.ags-shared-preview-grid .ags-game-buy>span strong{
  display:none!important;
}
.ags-home-game-preview-grid .ags-game-buy>span b,
.ags-shared-preview-grid .ags-game-buy>span b{
  display:none!important;
}
.ags-home-game-preview-grid .ags-game-buy>span::before,
.ags-shared-preview-grid .ags-game-buy>span::before{
  content:'مشاهده بازی'!important;
  display:inline-block!important;
  font-size:10px!important;
  line-height:1!important;
}
.ags-home-game-preview-grid .ags-game-buy>span::after,
.ags-shared-preview-grid .ags-game-buy>span::after{
  content:'←'!important;
  display:inline-block!important;
  margin-right:7px!important;
  font-size:13px!important;
  line-height:1!important;
}

/* Final precedence guard */
.ags-home-game-preview-grid .ags-game-buy>span>strong,
.ags-shared-preview-grid .ags-game-buy>span>strong{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  max-width:0!important;
  overflow:hidden!important;
}

/* ALEF Theme v4.8.49 — Gift Card CTA: arrow on the left */
.ags-gift-platform-card-large .ags-gift-platform-arrow{
  direction:ltr!important;
  flex-direction:row!important;
  gap:7px!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::before{
  content:'انتخاب پلتفرم  ←'!important;
  direction:rtl!important;
  display:inline-block!important;
  white-space:nowrap!important;
  font-size:9px!important;
  line-height:1!important;
  margin:0!important;
}
.ags-gift-platform-card-large .ags-gift-platform-arrow::after{
  content:none!important;
  display:none!important;
}

/* ALEF Gaming Store 4.8.51 — Home v5.3.211 compatibility */
body.home .ags-page-content{padding-top:82px}
.ags-homepage-template-shell{min-height:100vh}
@media(max-width:650px){body.home .ags-page-content{padding-top:72px}}




/* v4.8.67 — Global customer feedback toasts + pre-login 2FA */
.ags-global-toast-stack{position:fixed;top:92px;left:50%;transform:translateX(-50%);z-index:100000;width:min(560px,calc(100vw - 32px));display:grid;gap:9px;pointer-events:none;direction:rtl}
.ags-global-toast{position:relative;display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 11px 10px 12px;border:1px solid rgba(91,206,255,.2);border-radius:16px;background:linear-gradient(145deg,rgba(13,35,48,.98),rgba(4,15,24,.98));box-shadow:0 22px 55px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.06);color:#e8f8ff;font:800 11px/1.75 Tahoma,Arial,sans-serif;pointer-events:auto;overflow:hidden;animation:agsGlobalToastIn .28s ease both}
.ags-global-toast:before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,rgba(91,206,255,.06),transparent 45%,rgba(124,123,255,.035));pointer-events:none}
.ags-global-toast-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:rgba(80,205,255,.11);border:1px solid rgba(91,206,255,.16);color:#69dfff;font:900 16px Arial;position:relative}
.ags-global-toast-copy{min-width:0;flex:1;position:relative}.ags-global-toast-copy strong{display:block;overflow-wrap:anywhere}
.ags-global-toast-close{position:relative;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.045);cursor:pointer;display:grid;place-items:center;padding:0;transition:.18s ease}
.ags-global-toast-close:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.14);transform:scale(1.04)}
.ags-global-toast-close i{position:absolute;width:14px;height:2px;border-radius:2px;background:#9bb0bb;display:block}.ags-global-toast-close i:first-child{transform:rotate(45deg)}.ags-global-toast-close i:last-child{transform:rotate(-45deg)}
.ags-global-toast.success{border-color:rgba(65,222,173,.28);background:linear-gradient(145deg,rgba(11,55,47,.98),rgba(4,21,21,.98))}.ags-global-toast.success .ags-global-toast-icon{background:rgba(57,218,170,.12);border-color:rgba(57,218,170,.2);color:#69e4bc}
.ags-global-toast.error{border-color:rgba(255,102,119,.28);background:linear-gradient(145deg,rgba(59,25,31,.98),rgba(24,11,16,.98))}.ags-global-toast.error .ags-global-toast-icon{background:rgba(255,91,112,.12);border-color:rgba(255,91,112,.2);color:#ff8292}
.ags-global-toast.warning{border-color:rgba(255,195,82,.28);background:linear-gradient(145deg,rgba(67,48,17,.98),rgba(27,20,9,.98))}.ags-global-toast.warning .ags-global-toast-icon{background:rgba(255,195,82,.12);border-color:rgba(255,195,82,.2);color:#ffd37a}
.ags-global-toast.is-hiding{animation:agsGlobalToastOut .26s ease forwards}
@keyframes agsGlobalToastIn{from{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes agsGlobalToastOut{to{opacity:0;transform:translateY(-8px) scale(.98)}}
@media(max-width:560px){.ags-global-toast-stack{top:76px;width:calc(100vw - 20px)}.ags-global-toast{min-height:54px;padding:9px}.ags-global-toast-icon,.ags-global-toast-close{width:32px;height:32px;flex-basis:32px}.ags-global-toast-copy{font-size:10px}}


/* ALEF Global Native-Validation Replacement — v4.8.71 */
.ags-global-toast-stack.ags-validation-stack{z-index:1000000;pointer-events:none}
.ags-global-toast.ags-validation-toast{pointer-events:auto}
.ags-global-toast.ags-validation-toast .ags-global-toast-copy{direction:rtl;text-align:right}
.ags-global-toast.ags-validation-toast .ags-global-toast-copy strong{font-weight:800}

/* v4.8.73 — force dark login activity surface even when Woo/browser/account styles load later */
#ags-account-center .ags-ac-login-activity, #ags-account-center .ags-ac-login-activity *{box-sizing:border-box!important;}
#ags-account-center .ags-ac-login-activity>div{background-color:#081722!important;background-image:linear-gradient(145deg,#0a1d2a,#07131d)!important;color:#cfe3eb!important;border:1px solid rgba(78,219,255,.12)!important;}
#ags-account-center .ags-ac-login-activity>div strong{color:#e7f6fb!important;}
#ags-account-center .ags-ac-login-activity>div span{color:#63d2f4!important;}
#ags-account-center .ags-ac-login-activity>div small{color:#8198a5!important;}
#ags-account-center .ags-ac-login-activity>div:hover{background-color:#0b2030!important;background-image:linear-gradient(145deg,#0c2433,#081721)!important;}

/* ALEF v4.8.100 — Global WooCommerce notices / coupon feedback */
body .woocommerce-notices-wrapper{direction:rtl;width:100%;max-width:1420px;margin:0 auto 18px!important;box-sizing:border-box}
body .woocommerce-notices-wrapper>*,
body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 16px!important;
  padding:16px 52px 16px 20px!important;
  border-radius:16px!important;
  border:1px solid rgba(91,206,255,.18)!important;
  border-top:1px solid rgba(91,206,255,.18)!important;
  background:linear-gradient(145deg,rgba(13,35,48,.96),rgba(5,16,26,.98))!important;
  color:#dcecf3!important;
  box-shadow:0 18px 45px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.045)!important;
  font:600 12px/1.9 Tahoma,Arial,sans-serif!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  min-height:52px!important;
}
body .woocommerce-message{border-color:rgba(62,222,174,.24)!important;background:linear-gradient(145deg,rgba(9,51,44,.96),rgba(4,20,21,.98))!important;color:#dff8ee!important}
body .woocommerce-info{border-color:rgba(86,190,239,.22)!important;background:linear-gradient(145deg,rgba(12,39,55,.96),rgba(5,18,28,.98))!important}
body .woocommerce-error{border-color:rgba(255,92,113,.28)!important;background:linear-gradient(145deg,rgba(57,23,31,.97),rgba(23,10,15,.99))!important;color:#ffe4e8!important}
body .woocommerce-message:before,
body .woocommerce-info:before,
body .woocommerce-error:before{
  position:absolute!important;
  right:18px!important;
  left:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:24px!important;
  height:24px!important;
  margin:0!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  font-family:Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:24px!important;
  text-align:center!important;
  background:rgba(78,205,255,.10)!important;
  color:#66dcff!important;
}
body .woocommerce-message:before{content:'✓'!important;background:rgba(55,220,172,.12)!important;color:#63e5bb!important}
body .woocommerce-info:before{content:'i'!important}
body .woocommerce-error:before{content:'!'!important;background:rgba(255,91,112,.12)!important;color:#ff8191!important}
body .woocommerce-message a,
body .woocommerce-info a,
body .woocommerce-error a{color:#65d8ff!important;font-weight:800!important;text-decoration:none!important}
body .woocommerce-message a:hover,
body .woocommerce-info a:hover,
body .woocommerce-error a:hover{text-decoration:underline!important}
body .woocommerce-error li{margin:0!important;padding:0!important;list-style:none!important;color:inherit!important}
body .woocommerce-error li:not(:last-child){margin-bottom:4px!important}
body .woocommerce-notices-wrapper .restore-item{display:inline-block!important;margin-right:8px!important;color:#69dcff!important}
body .woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper{max-width:1420px!important}
@media(max-width:700px){
  body .woocommerce-message,body .woocommerce-info,body .woocommerce-error{padding:13px 48px 13px 14px!important;border-radius:14px!important;font-size:11px!important;line-height:1.8!important}
  body .woocommerce-message:before,body .woocommerce-info:before,body .woocommerce-error:before{right:14px!important}
}


/* ALEF v4.8.115 — unified semantic feedback: errors red, confirmations green */
.ags-account-inline-notice,
.ags-auth-v2-notice,
.ags-global-toast{
  position:relative!important;
  box-sizing:border-box!important;
  border-radius:16px!important;
  border:1px solid rgba(91,206,255,.18)!important;
  background:linear-gradient(145deg,rgba(13,35,48,.96),rgba(5,16,26,.98))!important;
  color:#dcecf3!important;
  box-shadow:0 14px 36px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.035)!important;
}
.ags-account-inline-notice{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:14px 18px!important;
  min-height:52px!important;
  font:700 12px/1.9 Estedad,Vazirmatn,Tahoma,sans-serif!important;
  text-align:right!important;
}
.ags-account-inline-notice::before,
.ags-auth-v2-notice::before{
  flex:0 0 28px;
  width:28px;height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  font-family:Arial,sans-serif;
  font-size:13px;
  font-weight:900;
}
.ags-account-inline-notice.error,
.ags-auth-v2-notice.error{
  border-color:rgba(255,77,103,.48)!important;
  background:linear-gradient(145deg,rgba(70,20,30,.97),rgba(28,9,16,.99))!important;
  color:#ffe7eb!important;
  box-shadow:0 14px 38px rgba(255,55,85,.08),inset 0 1px rgba(255,255,255,.035)!important;
}
.ags-account-inline-notice.error::before,
.ags-auth-v2-notice.error::before{
  content:'!';
  background:rgba(255,71,99,.15);
  border:1px solid rgba(255,71,99,.28);
  color:#ff7087;
}
.ags-account-inline-notice.success,
.ags-auth-v2-notice.success{
  border-color:rgba(54,224,164,.42)!important;
  background:linear-gradient(145deg,rgba(8,62,50,.97),rgba(4,25,24,.99))!important;
  color:#e3fff4!important;
  box-shadow:0 14px 38px rgba(42,220,164,.07),inset 0 1px rgba(255,255,255,.035)!important;
}
.ags-account-inline-notice.success::before,
.ags-auth-v2-notice.success::before{
  content:'✓';
  background:rgba(54,224,164,.13);
  border:1px solid rgba(54,224,164,.25);
  color:#5ff0b5;
}
.ags-account-inline-notice.warning{border-color:rgba(255,190,64,.42)!important;background:linear-gradient(145deg,rgba(65,45,13,.97),rgba(27,18,7,.99))!important;color:#fff0c9!important}
.ags-account-inline-notice.info{border-color:rgba(73,198,255,.35)!important;background:linear-gradient(145deg,rgba(10,45,62,.97),rgba(5,20,30,.99))!important;color:#def5ff!important}
.ags-auth-v2-notice{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important}
@media(max-width:700px){
  .ags-account-inline-notice{padding:12px 14px!important;font-size:11px!important;line-height:1.85!important}
  .ags-account-inline-notice::before,.ags-auth-v2-notice::before{flex-basis:25px;width:25px;height:25px}
}


/* ALEF v4.8.115 — in-site Marketplace delete confirmation modal.
   Replaces native browser confirm() so destructive actions match ALEF UI. */
.ags-delete-confirm-modal{position:fixed;inset:0;z-index:1000000;display:none;place-items:center;padding:22px;direction:rtl}
.ags-delete-confirm-modal.is-open{display:grid}
.ags-delete-confirm-backdrop{position:absolute;inset:0;background:rgba(1,7,12,.78);backdrop-filter:blur(10px)}
.ags-delete-confirm-box{position:relative;width:min(470px,calc(100vw - 30px));border:1px solid rgba(255,91,112,.34);border-radius:24px;background:linear-gradient(145deg,#101c28 0%,#071119 100%);box-shadow:0 30px 90px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.045);padding:27px;color:#edfaff;text-align:right;transform:translateY(8px) scale(.98);opacity:0;transition:transform .18s ease,opacity .18s ease}
.ags-delete-confirm-modal.is-open .ags-delete-confirm-box{transform:none;opacity:1}
.ags-delete-confirm-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:rgba(255,76,103,.12);border:1px solid rgba(255,76,103,.30);color:#ff7187;font:900 24px/1 Arial,sans-serif;box-shadow:0 10px 30px rgba(255,60,90,.10);margin-bottom:15px}
.ags-delete-confirm-kicker{display:block;color:#60dfff;font-size:9px;font-weight:900;letter-spacing:.18em;margin-bottom:7px}
.ags-delete-confirm-box h3{margin:0 0 9px;font:900 24px/1.35 Estedad,Vazirmatn,Tahoma,sans-serif;color:#f5fbff}
.ags-delete-confirm-box p{margin:0;color:#8ea6b5;font:600 12px/2 Estedad,Vazirmatn,Tahoma,sans-serif}
.ags-delete-confirm-actions{display:flex;gap:10px;margin-top:22px}
.ags-delete-confirm-actions button{appearance:none;border:1px solid #244252;border-radius:13px;min-height:46px;padding:0 18px;font:900 12px Estedad,Vazirmatn,Tahoma,sans-serif;cursor:pointer;transition:.16s ease}
.ags-delete-confirm-cancel{flex:1;background:#0b1821;color:#a9bdc7}
.ags-delete-confirm-cancel:hover{border-color:#3c6173;color:#e8f8fd;background:#10232e}
.ags-delete-confirm-submit{flex:1.2;background:linear-gradient(135deg,#ff5c76,#d93658);border-color:transparent!important;color:#fff;box-shadow:0 10px 28px rgba(236,55,86,.22)}
.ags-delete-confirm-submit:hover{transform:translateY(-1px);filter:brightness(1.06)}
.ags-delete-confirm-modal.is-busy .ags-delete-confirm-submit{opacity:.65;pointer-events:none}
body.ags-delete-modal-open{overflow:hidden}
@media(max-width:520px){.ags-delete-confirm-box{padding:22px;border-radius:20px}.ags-delete-confirm-box h3{font-size:21px}.ags-delete-confirm-actions{display:grid;grid-template-columns:1fr}.ags-delete-confirm-submit,.ags-delete-confirm-cancel{width:100%}}


/* ALEF v4.8.121 — Global toast visibility above fixed header */
/* Keep every transient customer notification fully visible instead of letting the fixed header cover it. */
.ags-global-toast-stack{
  position:fixed!important;
  top:104px!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  z-index:2147483647!important;
  isolation:isolate!important;
  width:min(560px,calc(100vw - 32px))!important;
}
.ags-global-toast-stack.ags-validation-stack{z-index:2147483647!important}
.ags-global-toast{position:relative!important;z-index:1!important}
body.admin-bar .ags-global-toast-stack{top:124px!important}
@media(max-width:900px){
  .ags-global-toast-stack{top:78px!important;width:calc(100vw - 20px)!important}
  body.admin-bar .ags-global-toast-stack{top:120px!important}
}
@media(max-width:560px){
  .ags-global-toast-stack{top:78px!important}
  body.admin-bar .ags-global-toast-stack{top:120px!important}
}

/* ALEF v4.8.122 — Account Center wallet withdrawal details */
#ags-account-center .ags-ac-withdrawals-card .ags-ac-panel-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
#ags-account-center .ags-ac-withdrawal-list{display:flex!important;flex-direction:column!important;gap:0!important}
#ags-account-center .ags-ac-withdrawal-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:14px!important;padding:15px 0!important;border-bottom:1px solid rgba(91,220,255,.08)!important}
#ags-account-center .ags-ac-withdrawal-item:last-child{border-bottom:0!important}
#ags-account-center .ags-ac-withdrawal-main{min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
#ags-account-center .ags-ac-withdrawal-main b{color:#eaf8fd!important;font-weight:900!important}
#ags-account-center .ags-ac-withdrawal-main small{display:block!important;width:100%!important;color:#668291!important;font-size:9px!important}
#ags-account-center .ags-ac-withdrawal-item em{font-style:normal!important;color:#63ddff!important;font-weight:900!important;white-space:nowrap!important}
@media(max-width:620px){#ags-account-center .ags-ac-withdrawal-item{grid-template-columns:minmax(0,1fr) auto!important}.ags-ac-withdrawal-item .ags-wallet-detail-btn{grid-column:1/-1!important;width:100%!important;min-height:38px!important}}


/* ALEF v4.8.126 — separate cancelled withdrawal section */
#ags-account-center .ags-withdrawals-cancelled{margin-top:18px!important;border-color:rgba(255,87,116,.14)!important;background:linear-gradient(145deg,rgba(255,87,116,.035),rgba(5,16,25,.96))!important}
#ags-account-center .ags-withdrawals-cancelled .ags-account-panel-head{border-bottom-color:rgba(255,87,116,.08)!important}
#ags-account-center .ags-withdrawals-cancelled .ags-account-kicker{color:#ff8197!important}
#ags-account-center .ags-withdrawal-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 10px!important;border-radius:999px!important;border:1px solid rgba(91,220,255,.12)!important;background:rgba(91,220,255,.05)!important;color:#71ddff!important;font-size:9px!important;font-weight:900!important;white-space:nowrap!important}
#ags-account-center .ags-withdrawal-count.cancelled-count{border-color:rgba(255,87,116,.14)!important;background:rgba(255,87,116,.06)!important;color:#ff91a4!important}
#ags-account-center .ags-withdrawals-cancelled .ags-withdrawal-row{opacity:.88!important}
#ags-account-center .ags-withdrawals-cancelled .ags-withdrawal-row.is-cancelled{border-bottom-color:rgba(255,87,116,.07)!important}
#ags-account-center .ags-withdrawals-cancelled .ags-withdrawal-status.status-cancelled{box-shadow:0 0 18px rgba(255,87,116,.08)!important}
@media(max-width:620px){#ags-account-center .ags-account-panel-head{align-items:flex-start!important;flex-wrap:wrap!important}.ags-withdrawal-count{margin-top:5px!important}}


