.ks-main{max-width:1320px;margin:32px auto 64px;padding:0 24px;box-sizing:border-box;min-width:0}.ks-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.ks-eyebrow{font-size:11px;letter-spacing:2px;color:#12b998}.ks-intro h1{font-size:34px;margin:8px 0;font-weight:800}.ks-intro p{color:var(--text-muted,#9aaab8);margin:0}.ks-intro-icon{font-size:38px;width:76px;height:76px;display:grid;place-items:center;color:#19c7a2;border:1px solid #19c7a230;background:#19c7a20a;border-radius:22px;transform:rotate(-8deg)}.ks-platforms{display:flex;gap:10px;overflow-x:auto;padding:6px 0 18px;scrollbar-width:thin}.ks-platforms a{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:13px 22px;border-radius:12px;border:1px solid var(--border,#26313d);background:var(--panel,#10151c);color:inherit;text-decoration:none;transition:.18s}.ks-platforms a[aria-current=true]{background:#0bb48b;color:#fff;border-color:#0bb48b;box-shadow:0 5px 22px #0bb48b25}.ks-platforms i{font-size:19px}.ks-tools{display:flex;gap:12px;align-items:center;margin:10px 0 18px}.ks-search{display:flex;align-items:center;gap:12px;flex:1;background:var(--panel,#11161d);border:1px solid var(--border,#29323e);padding:12px 16px;border-radius:12px}.ks-search input{width:100%;border:0;background:none;color:inherit;font:inherit;outline:none;min-width:0}.ks-tools button,.ks-sort select{border:1px solid var(--border,#29323e);border-radius:10px;background:var(--panel,#11161d);color:inherit;padding:12px;font:inherit}.ks-sort{font-size:12px;display:flex;align-items:center;gap:8px}.ks-results{display:flex;justify-content:space-between;font-size:12px;color:var(--text-muted,#94a3b8);margin-bottom:14px}.ks-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;transition:opacity .15s}.ks-grid[aria-busy=true]{opacity:.55}.ks-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border,#26313d);background:var(--panel,#10151c);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .18s,border-color .18s}.ks-card:hover{transform:translateY(-4px);border-color:#0bb48b}.ks-art{aspect-ratio:3/4;background:#0b1016;overflow:hidden}.ks-art img{width:100%;height:100%;object-fit:cover;display:block}.ks-card-body{padding:16px;display:flex;flex-direction:column;flex:1;gap:10px}.ks-card h2{font-size:14px;line-height:1.55;margin:0;min-height:43px;overflow-wrap:anywhere;font-weight:700}.ks-card-platforms{display:flex;flex-wrap:wrap;gap:6px;color:var(--text-muted,#9aaab8);font-size:11px;min-height:20px}.ks-card-platforms span{display:flex;gap:5px;align-items:center}.ks-price{font-size:17px;color:#0fc69b;font-weight:800;margin-top:auto}.ks-price small{font-size:10px;font-weight:400;color:var(--text-muted,#9aaab8)}.ks-pagination{display:flex;justify-content:center;gap:8px;margin-top:28px;flex-wrap:wrap}.ks-pagination a{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border,#29323e);border-radius:9px;color:inherit;text-decoration:none}.ks-pagination a[aria-current=page]{background:#0bb48b;color:white;border-color:#0bb48b}.ks-empty{grid-column:1/-1;text-align:center;padding:70px 12px;color:var(--text-muted,#94a3b8)}.ks-home .ks-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-seo-body img,.instruction-body img{max-width:100%;height:auto}.game-seo-body table,.instruction-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.game-seo-body td,.game-seo-body th{padding:12px;border:1px solid #64748b55}.game-seo-body h2,.game-seo-body h3{margin-top:1.7em}.game-seo-body p,.game-seo-body li{line-height:1.9}.key-native-package .package-icon{height:150px!important}.key-native-package{min-height:220px!important}.live-product-hero{border-radius:20px!important}.live-product-summary h1{font-size:clamp(26px,3vw,38px)!important}.light-theme .ks-card,.light-theme .ks-platforms a,.light-theme .ks-search,.light-theme .ks-tools select,.light-theme .ks-tools button{background:#fff;border-color:#dfe6eb}.light-theme .ks-platforms a[aria-current=true]{background:#0b9c7b;color:#fff}.light-theme .ks-intro p,.light-theme .ks-card-platforms{color:#526574}.light-theme .ks-card{box-shadow:0 4px 18px #103c2410}.ks-legacy{padding:20px;border:1px solid #10b98140;border-radius:14px;margin:24px 0}.ks-legacy a{color:#10b981}@media(max-width:1100px){.ks-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:850px){.ks-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ks-sort{font-size:0}.ks-sort select{font-size:12px}}@media(max-width:600px){.ks-main{padding:0 14px;margin-top:20px}.ks-intro h1{font-size:27px}.ks-intro-icon{width:56px;height:56px;font-size:28px}.ks-platforms a{padding:11px 15px;font-size:12px}.ks-grid,.ks-home .ks-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ks-card-body{padding:12px}.ks-card h2{font-size:12px;min-height:38px}.ks-price{font-size:15px}.ks-tools{gap:8px;flex-wrap:wrap}.ks-search{flex-basis:100%}.ks-sort{font-size:11px;flex:1}.ks-tools button{padding:10px 20px}.ks-intro p{font-size:12px}}@media(prefers-reduced-motion:reduce){.ks-card,.ks-platforms a,.ks-grid{transition:none}.ks-card:hover{transform:none}}
.ks-art{position:relative}.ks-stock{position:absolute;bottom:12px;right:12px;left:12px;background:#151c25e6;border:1px solid #f8717155;color:#fecaca;font-size:11px;z-index:2;padding:8px 10px;border-radius:8px;text-align:center;backdrop-filter:blur(6px)}.key-native-package:disabled{cursor:not-allowed;opacity:1;overflow:hidden}.key-native-package:disabled:after{content:"غير متوفر";display:block;position:absolute;top:20px;right:-43px;bottom:auto;left:auto;width:160px;padding:7px 0;border-radius:0;transform:rotate(45deg);background:#d83e56;color:#fff;box-shadow:0 3px 9px #0005;border:0;font-size:11px;font-weight:700;line-height:1.5;z-index:6;white-space:nowrap;text-align:center;pointer-events:none}
.ks-art>.ks-art-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(20px) brightness(.45);transform:scale(1.13)}.ks-art.is-landscape>img:not(.ks-art-bg){position:relative;object-fit:contain;z-index:1}.ks-art .ks-stock{z-index:3}
.ks-cover-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:radial-gradient(ellipse at top right,#12b99826,transparent 65%),linear-gradient(140deg,#14242b,#0c121c);color:#27d4b0}.ks-cover-placeholder i{font-size:44px;opacity:.6}.ks-cover-placeholder span{font-size:11px;letter-spacing:3px;opacity:.55}
/* Availability treatment is shared by catalog filters and the homepage. */
.ks-card.is-unavailable .ks-art>img:not(.ks-art-bg){filter:grayscale(1)}
.ks-card.is-unavailable .ks-art>.ks-art-bg{filter:grayscale(1) blur(20px) brightness(.45)}
.ks-card.is-unavailable .ks-cover-placeholder{filter:grayscale(1)}
.ks-card .ks-stock{top:20px;right:-43px;left:auto;bottom:auto;width:160px;padding:7px 0;border-radius:0;transform:rotate(45deg);background:#d83e56;color:#fff;box-shadow:0 3px 9px #0005;border:0;font-size:11px;font-weight:700;line-height:1.5;backdrop-filter:none;z-index:3;white-space:nowrap;text-align:center}

.is-key-unavailable .live-product-image,.is-key-unavailable .live-mobile-app-image{position:relative;overflow:hidden}.is-key-unavailable .live-product-image>img,.is-key-unavailable .live-mobile-app-image>img,.key-native-package:disabled .package-icon>img{filter:grayscale(1)}
.is-key-unavailable .live-product-image>.ks-stock,.is-key-unavailable .live-mobile-app-image>.ks-stock{position:absolute;top:20px;right:-43px;width:160px;padding:7px 0;transform:rotate(45deg);background:#d83e56;color:white;z-index:5;font-size:11px;font-weight:700;line-height:1.5;text-align:center;box-shadow:0 3px 9px #0005;white-space:nowrap}
.is-key-unavailable .live-mobile-app-image>.ks-stock{top:12px;right:-40px;width:130px;font-size:8px;padding:4px 0}

.is-key-unavailable .package-icon>img,.game-related-card.is-unavailable img{filter:grayscale(1)}.game-related-card.is-unavailable .game-related-card-img{position:relative;overflow:hidden}.game-related-card.is-unavailable .ks-stock{position:absolute;top:12px;right:-40px;width:130px;padding:4px 0;transform:rotate(45deg);background:#d83e56;color:white;z-index:4;font-size:8px;font-weight:700;text-align:center;line-height:1.5;white-space:nowrap}
@media(max-width:600px){.ks-home .ks-grid{gap:9px}.ks-home .ks-art{aspect-ratio:1/1}.ks-home .ks-card{border-radius:10px}.ks-home .ks-card-body{padding:8px;gap:5px}.ks-home .ks-card h2{font-size:11px;line-height:1.4;min-height:30px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ks-home .ks-card-platforms{font-size:9px;min-height:14px;gap:4px}.ks-home .ks-price{font-size:13px}.ks-home .ks-price small{font-size:9px}.ks-home .ks-stock{width:130px;right:-35px;top:15px;padding:5px 0;font-size:9px}.ks-home .ks-cover-placeholder i{font-size:28px}}

/* Four phone cards in one row; retain the original two-column image height. */
@media(max-width:600px){.ks-home .ks-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ks-home .ks-art{aspect-ratio:3/4;height:auto}.ks-home .ks-card-body{padding:6px;gap:5px}.ks-home .ks-card h2{font-size:10px;line-height:1.4;min-height:28px}.ks-home .ks-card-platforms{font-size:8px;min-height:14px;gap:3px}.ks-home .ks-price{font-size:11px}.ks-home .ks-price small{font-size:8px}.ks-home .ks-stock{width:110px;right:-36px;top:12px;padding:4px 0;font-size:8px}}
