/* Customer shell shared visually with game top-ups. */

body.sgc-key-page{--bg:#000;--bg-secondary:#0d0d0d;--panel:#0d0d0d;--card-bg:rgba(255,255,255,.05);--border:rgba(255,255,255,.1);--text:#fff;--text-muted:rgba(255,255,255,.6);--primary:#10b981;--gk-bg:#000;--gk-panel:#0d0d0d;--gk-input:#111;--gk-text:#fff;--gk-muted:rgba(255,255,255,.6);--gk-border:rgba(255,255,255,.1);--gk-accent:#10b981;background:var(--bg)!important;color:var(--text);font-family:'Cairo',sans-serif}

body.sgc-key-page.light-theme{--bg:#f5f5f7;--bg-secondary:#fff;--panel:#fff;--card-bg:rgba(0,0,0,.03);--border:rgba(0,0,0,.1);--text:#1a1a1a;--text-muted:rgba(0,0,0,.6);--gk-bg:#f5f5f7;--gk-panel:#fff;--gk-input:#fff;--gk-text:#1a1a1a;--gk-muted:rgba(0,0,0,.6);--gk-border:rgba(0,0,0,.1)}

.sgc-key-page button,.sgc-key-page input,.sgc-key-page select,.sgc-key-page textarea{font-family:inherit}

.sgc-key-page .live-product-image,.sgc-key-page .live-mobile-app-image{position:relative;isolation:isolate}

@media(max-width:768px){

 .sgc-key-page .live-mobile-app-row{display:grid;grid-template-columns:90px minmax(0,1fr)!important;gap:14px!important;align-items:start}

 .sgc-key-page .live-mobile-app-image{grid-column:1;grid-row:1;width:90px!important;max-width:100%;margin:0}

 .sgc-key-page .live-mobile-app-info{grid-column:2;grid-row:1;position:relative;min-width:0;align-self:center;gap:8px}

 .sgc-key-page .live-mobile-status,.sgc-key-page .live-mobile-rating{position:static!important;transform:none!important;max-width:100%;flex-wrap:wrap;line-height:1.7;height:auto;white-space:normal}

 .sgc-key-page .live-mobile-app-info .mobile-seo-title{overflow-wrap:anywhere;line-height:1.6!important}

}






/* Compact catalog controls; homepage and purchase editions retain their layout. */

.sgc-key-page .ks-main>.ks-intro .ks-eyebrow{display:none}

.sgc-key-page .ks-main>.ks-tools .ks-sort,.sgc-key-page .ks-main>.ks-tools>button{display:none}

.sgc-key-page .ks-main>.ks-tools{margin:6px 0 12px;gap:0}

.sgc-key-page .ks-main>.ks-tools .ks-search{padding:7px 12px;min-height:38px;box-sizing:border-box;flex-basis:100%}

.sgc-key-page .ks-main>.ks-tools .ks-search input{height:24px;line-height:24px;font-size:12px;padding:0;margin:0}

@media(max-width:768px){

 .sgc-key-page .ks-main{padding:0 10px;margin-top:14px}

 .sgc-key-page .ks-main>.ks-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

 .sgc-key-page .ks-main>.ks-grid .ks-card{border-radius:10px}

 .sgc-key-page .ks-main>.ks-grid .ks-card-body{padding:8px 6px;gap:5px}

 .sgc-key-page .ks-main>.ks-grid .ks-card h2{font-size:10px;line-height:1.45;min-height:29px}

 .sgc-key-page .ks-main>.ks-grid .ks-card-platforms{font-size:9px;gap:3px;min-height:14px}

 .sgc-key-page .ks-main>.ks-grid .ks-price{font-size:12px}

 .sgc-key-page .ks-main>.ks-platforms{gap:6px;padding:3px 0 10px}

 .sgc-key-page .ks-main>.ks-platforms a{padding:6px 10px;gap:5px;border-radius:8px;font-size:10px}

 .sgc-key-page .ks-main>.ks-platforms i{font-size:13px}

 .sgc-key-page .ks-main>.ks-intro{margin-bottom:12px}

 .sgc-key-page .ks-main>.ks-intro h1{font-size:22px;margin:0 0 4px}

 .sgc-key-page .ks-main>.ks-intro p{font-size:11px}

 .sgc-key-page .ks-main>.ks-intro .ks-intro-icon{width:38px;height:38px;font-size:20px;border-radius:12px}

}


/* Keep platform and region compact and aligned, including inline metadata styles. */
.sgc-key-page .pc-game-meta-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:12px 0!important}
.sgc-key-page .pc-meta-card{box-sizing:border-box!important;display:flex!important;align-items:center!important;min-width:0!important;min-height:48px!important;padding:8px 10px!important;border-radius:10px!important;gap:8px!important;margin:0!important}
.sgc-key-page .pc-meta-badge{width:32px!important;height:32px!important;min-width:32px!important;border-radius:8px!important;flex-shrink:0!important}
.sgc-key-page .pc-meta-badge img,.sgc-key-page .pc-meta-badge svg{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain}
.sgc-key-page .pc-icon-circle{width:24px!important;height:24px!important}
.sgc-key-page .pc-meta-info{min-width:0!important;gap:3px!important}
.sgc-key-page .pc-meta-row{display:flex!important;flex-wrap:wrap!important;gap:4px!important;line-height:1.5!important;min-width:0!important}
.sgc-key-page .pc-meta-label{font-size:11px!important}
.sgc-key-page .pc-meta-value{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere}
.sgc-key-page .pc-activation-guide-btn{font:600 10px/1.5 'Cairo',sans-serif!important;gap:3px!important}
@media(max-width:480px){.sgc-key-page .pc-meta-card{padding:7px!important;gap:6px!important}.sgc-key-page .pc-meta-badge{width:28px!important;height:28px!important;min-width:28px!important}.sgc-key-page .pc-meta-label{font-size:10px!important}.sgc-key-page .pc-meta-value{font-size:11px!important}}

.sgc-key-page .key-native-package .package-name{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;height:auto!important;max-height:none!important;overflow-wrap:anywhere!important;line-height:1.6!important}
.sgc-key-page .key-native-package .package-content-overlay{height:auto!important;max-height:none!important;overflow:visible!important}
.key-custom-guide{box-sizing:border-box;width:min(620px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:80vh;max-height:80dvh;margin:auto;padding:0;border:1px solid #64748b55;border-radius:16px;background:#111;color:#fff;font-family:'Cairo',sans-serif;overflow:auto}
.key-custom-guide::backdrop{background:#0009}.key-custom-guide header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #64748b44;position:sticky;top:0;background:inherit;z-index:1}.key-custom-guide header button{font:inherit;font-size:24px;color:inherit;background:none;border:0;padding:0 8px;cursor:pointer}.key-custom-guide-content{padding:16px;overflow-wrap:anywhere;line-height:1.9}.key-custom-guide-content img,.key-custom-guide-content video{max-width:100%!important;height:auto!important}.key-custom-guide-content table{display:block;max-width:100%;overflow:auto}.light-theme .key-custom-guide{background:#fff;color:#1a1a1a}

/* Compact custom activation dialog, independent of rich editor font sizes. */
.sgc-key-page .key-custom-guide{width:min(480px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:70vh;max-height:70dvh;border-radius:12px;font-size:12px;text-align:right}
.sgc-key-page .key-custom-guide header{padding:9px 12px;font-size:13px}
.sgc-key-page .key-custom-guide-content{padding:12px;font-size:12px;line-height:1.8}
.sgc-key-page .key-custom-guide-content :is(p,span,div,li,td,th,a,strong,b){font-size:12px!important;line-height:1.8!important}
.sgc-key-page .key-custom-guide-content :is(h1,h2,h3,h4,h5,h6){font-size:14px!important;line-height:1.6!important;margin:10px 0 6px!important}
.sgc-key-page .key-custom-guide-content :is(img,video,iframe){max-width:100%!important;width:auto;max-height:42vh;object-fit:contain}
.sgc-key-page .key-custom-guide-content :is(ul,ol){padding-inline-start:20px;margin:8px 0}
