:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;color:#edf0ff;background:#080c19;font-size:15px}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden}.glow{position:fixed;pointer-events:none;z-index:-1;filter:blur(70px);opacity:.25;border-radius:50%}.glow-a{background:#6941d2;width:400px;height:400px;top:-120px;left:-80px}.glow-b{background:#138898;width:340px;height:340px;top:480px;right:-180px}.header{height:84px;padding:0 max(22px,calc((100vw - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;background:#0c1125bd;border-bottom:1px solid #2b3151;position:sticky;top:0;z-index:10;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}.brand-icon{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#a78cff,#5943b7);display:grid;place-items:center;font-weight:900;font-size:27px;box-shadow:0 0 24px #8764d766}.brand strong{display:block;font-size:19px;letter-spacing:.3px}.brand small{display:block;font-size:9px;color:#ac9df9;letter-spacing:2px}.topnav{display:flex;gap:8px;border:1px solid #29324d;padding:5px;border-radius:15px;background:#10172b}.tab{background:transparent;border:0;color:#a4b2ce;border-radius:10px;padding:11px 19px;cursor:pointer;font-weight:700}.tab.active,.tab:hover{background:#745dd5;color:white}.header-actions{display:flex;gap:12px;align-items:center}.session-dot{width:9px;height:9px;border-radius:50%;background:#6a7388}.session-dot.signed{background:#4ddd9a;box-shadow:0 0 12px #4ddd9a}select,input,textarea{font:inherit;color:#ecf0ff;background:#141c32;border:1px solid #34415e;border-radius:10px;padding:12px 14px;outline:none}select:focus,input:focus,textarea:focus{border-color:#a08bfb;box-shadow:0 0 0 3px #a08bfb22}option{background:#141c32}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.container{max-width:1320px;margin:0 auto;padding:20px 24px 65px}.hero{padding:56px 40px 48px;position:relative;margin-top:22px;border-radius:26px;background:linear-gradient(120deg,#2a2257,#151c37 58%,#123141);border:1px solid #514b86;box-shadow:0 22px 70px #0003}.eyebrow{color:#c8b7ff;font-size:12px;letter-spacing:2px;font-weight:800;margin-bottom:20px}.hero h1{font-size:clamp(29px,5vw,55px);line-height:1.14;margin:0 0 18px;letter-spacing:-1px}.hero p{font-size:17px;line-height:1.8;color:#b8c3df;max-width:680px;margin:0}.hero-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:27px}.hero-meta span{background:#ffffff0d;border:1px solid #ffffff1c;border-radius:100px;padding:9px 14px;font-size:13px;color:#dee0ff}.hero-meta span span{border:0;padding:0;background:none}.panel{margin-top:34px}.hidden{display:none!important}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:15px}.search{display:flex;align-items:center;gap:10px;flex:1;max-width:450px;border:1px solid #34415e;background:#141c32;border-radius:12px;padding-inline:16px}.search span{font-size:22px;color:#8c9ab8}.search input{width:100%;border:0;background:transparent;box-shadow:none!important}.control-group{display:flex;flex-wrap:wrap;gap:10px}.control-group select{max-width:270px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}.product{background:#101a2e;border:1px solid #2d3755;border-radius:17px;overflow:hidden;transition:transform .2s,border-color .2s}.product:hover{transform:translateY(-3px);border-color:#937ceb}.product-img{height:245px;background:radial-gradient(circle at 50% 38%,#37416b 0,#151d31 55%,#10182b 100%);display:grid;place-items:center;position:relative;cursor:pointer}.product-img img{height:100%;width:100%;object-fit:contain;padding:7px}.product-img .type{position:absolute;top:12px;inset-inline-start:12px;border:1px solid #ffffff33;background:#081025bb;backdrop-filter:blur(10px);border-radius:9px;padding:6px 10px;font-size:12px}.product-info{padding:14px 15px 17px}.product-info h3{font-size:14px;line-height:1.55;min-height:43px;margin:0 0 8px}.product-price{font-size:14px;color:#cbb7ff;font-weight:900}.free{color:#70ebb9}.product-actions{display:flex;gap:8px;margin-top:12px}.btn{background:#202e48;border:1px solid #435174;border-radius:10px;color:#fff;padding:10px 16px;font-weight:700}.btn:hover{background:#33425f}.btn.primary{background:linear-gradient(130deg,#8467ee,#6158c7);border:1px solid #9581f3}.btn.primary:hover{filter:brightness(1.13)}.btn.ghost{background:transparent}.btn.danger{background:#552935;border-color:#c56271}.btn.small{font-size:12px;padding:7px 12px}.note{color:#adbbd5;padding:6px 2px 20px}.section-title{margin:0 0 20px}.section-title h2{font-size:24px;margin:0 0 9px}.section-title p{color:#aebcdd;margin:0}.panel-surface{padding:22px;border:1px solid #30405f;background:#10192d;border-radius:18px;max-width:650px}.form{display:grid;gap:13px}.form label{display:grid;gap:6px;font-weight:600;font-size:13px;color:#cad5eb}.form input,.form textarea,.form select{width:100%}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint{font-size:12px;color:#98abc6;line-height:1.7}.error{color:#ff9aa3}.success{color:#78e5b2}.account-stats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:17px}.account-stats>div{padding:14px;border-radius:12px;border:1px solid #3c4169;background:#202642;min-width:140px}.account-stats strong{display:block;font-size:22px}.account-stats small{color:#afb5ce}.admin-toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:15px}.admin-toolbar input{flex:1;max-width:460px}.summary{color:#c3d1e9;margin-bottom:14px}.admin-scroll{overflow:auto;border:1px solid #303a59;border-radius:15px;background:#11192c}.admin-table{width:100%;border-collapse:collapse;text-align:start;min-width:700px}.admin-table th,.admin-table td{text-align:start;padding:11px 14px;border-bottom:1px solid #293451}.admin-table th{background:#1a2440;color:#c5cdea;font-size:12px}.admin-table td{font-size:13px}.admin-table img{height:48px;width:48px;object-fit:contain;background:#252e4d;border-radius:9px}.tag{display:inline-block;font-size:11px;padding:5px 8px;background:#273957;color:#d3e4ff;border-radius:8px}.tag.inactive{background:#633d3d;color:#ffd0d0}.modal{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:15px}.modal-bg{position:absolute;inset:0;background:#03050cdd;backdrop-filter:blur(8px)}.modal-content{position:relative;width:min(800px,100%);max-height:90vh;overflow:auto;background:#10192e;border:1px solid #58608b;border-radius:20px;box-shadow:0 30px 100px #0009;padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.modal-head h2{font-size:20px;margin:0}.icon-button{height:36px;width:36px;background:#283453;color:white;border:0;border-radius:9px}.preview-image{width:100%;max-height:420px;object-fit:contain;background:#1b2441;border-radius:12px}.preview-detail{margin:15px 0}.games-checks{display:flex;gap:11px;flex-wrap:wrap;margin:12px 0}.games-checks label{font-size:12px;display:flex;align-items:center;gap:5px;background:#202945;padding:8px;border-radius:9px}.games-checks input{width:auto}.modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:17px}#status{position:fixed;bottom:20px;inset-inline-start:20px;z-index:50;max-width:400px;pointer-events:none}#status>div{padding:14px 17px;margin-top:7px;background:#253352;border:1px solid #7665b4;border-radius:12px;box-shadow:0 10px 25px #0008}.footer{border-top:1px solid #252e49;padding:24px;display:flex;justify-content:space-between;gap:10px;max-width:1320px;margin:0 auto;font-size:12px;color:#99a9c7}.footer a{color:#cab6ff;text-decoration:none}@media(max-width:800px){.header{height:auto;padding:15px;flex-wrap:wrap}.topnav{order:3;width:100%;justify-content:center}.tab{flex:1;padding:10px}.brand strong{font-size:15px}.brand small{font-size:8px}.hero{padding:34px 20px}.hero h1{font-size:32px}.container{padding:12px 14px 50px}.toolbar{align-items:stretch}.search{max-width:none;flex-basis:100%}.control-group{width:100%}.control-group select{max-width:none;flex:1;min-width:130px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-img{height:185px}.product-info{padding:11px}.product-info h3{font-size:12px}.form-row{grid-template-columns:1fr}.footer{flex-direction:column;text-align:center}}

/* Account Center V1.1.0 */
.owned-items,.connected-games{margin-top:1.5rem;border-top:1px solid rgba(185,178,225,.2);padding-top:1rem}
.owned-items h3,.connected-games h3{font-size:1rem;margin:.4rem 0 1rem}
.owned-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem;max-height:350px;overflow-y:auto}
.owned-row,.game-status{display:flex;align-items:center;gap:.65rem;padding:.65rem;border:1px solid rgba(170,155,230,.2);border-radius:12px;background:rgba(15,18,40,.28);min-width:0}
.owned-row>div{min-width:0;overflow-wrap:anywhere}.owned-row small{display:block;opacity:.65;margin-top:.2rem}
.owned-thumb{height:58px;width:48px;border-radius:8px;object-fit:contain;flex-shrink:0}
.game-status{justify-content:space-between;flex-wrap:wrap;margin-bottom:.55rem}
.game-ready{color:#7ce8b3}.game-pending{color:#c8c4d8}.connected-games .hint{margin-top:.7rem}

/* Universal NourVerse identity notice and accessible sign-up consent */
.universal-account-notice{background:#232d50;border:1px solid #506496;border-radius:12px;padding:15px;margin:0 0 8px;color:#e4eafc;font-size:14px;line-height:1.65}
.privacy-consent{display:flex!important;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.65;font-weight:400!important}
.privacy-consent input{width:18px!important;height:18px;flex:none;margin-top:3px}
.privacy-link{color:#c9b6ff;font-size:13px;text-decoration:underline}

/* V1.2.3: compact, image-first, fantasy-store-like catalog layout.
   Exact pixel parity with the Fantasy project requires its original UI files. */
.hero{margin-top:16px;padding:24px 28px;border-radius:18px;background:linear-gradient(105deg,#242149,#111c35 60%,#102638);box-shadow:none}
.hero h1{font-size:clamp(26px,3.5vw,38px);margin-bottom:8px}
.hero .eyebrow{margin-bottom:8px;font-size:10px}
.hero p{font-size:14px}
.hero-meta{margin-top:14px;gap:8px}
.hero-meta span{font-size:11px;padding:6px 10px}
.panel{margin-top:22px}
.toolbar{margin-bottom:12px}
.cards{gap:14px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.product{background:#10192d;border-color:#35416b;border-radius:15px}
.product-img{height:263px;background:radial-gradient(circle at 50% 36%,#303b64 0,#151e35 64%,#11192d 100%)}
.product-img img{padding:6px;object-fit:contain}
.product-img img.plain-background-preview{background:#10182b}
.product-img img.no-photo{background:transparent}
.product-img.media-unavailable:after{content:"الصورة غير متاحة";position:absolute;inset:45% 10%;text-align:center;font-size:12px;color:#a6b2c8;pointer-events:none}
.product-info{padding:12px 13px 14px}
.product-info h3{min-height:0;font-size:13px;font-weight:800}
.product-actions .btn{flex:1}
.category-chips{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:2px 0 13px;margin-bottom:2px}
.category-chip{border:1px solid #384565;background:#161e33;color:#dbe2f5;padding:9px 14px;border-radius:100px;white-space:nowrap;font-weight:700;font-size:12px;cursor:pointer}
.category-chip.active,.category-chip:hover{background:#6c55ca;border-color:#a08bfa;color:#fff}
@media(max-width:800px){.hero{padding:20px}.hero h1{font-size:27px}.product-img{height:205px}.cards{gap:9px}.category-chip{font-size:11px;padding:7px 11px}}

.preview-image.plain-background-preview{display:block;min-height:280px;max-height:340px;background:#10182b}

/* V1.2.4 — screenshot-matched store hierarchy; product data stays central. */
:root{--navy:#050d21;--navy2:#0a1b32;--navy3:#122d4b;--gold:#efbc5b;--bluebtn:#286ca5}
body{background:linear-gradient(180deg,#050d21,#060e22 50%,#051027)}
.glow{display:none}
.header{background:#051128;border-bottom:1px solid #213752;height:72px;max-width:none;padding-inline:max(24px,calc((100vw - 1500px)/2))}
.brand-icon{background:linear-gradient(140deg,#123f71,#266ba7);border:1px solid #385c82;box-shadow:none;font-size:24px}
.brand small{color:#efbc5b;letter-spacing:1.6px}
.topnav{background:#09182d;border-color:#1c3855}
.tab.active,.tab:hover{background:#205989;color:#fff}
.container{max-width:1500px;padding:10px 20px 48px}
.hero{margin-top:12px;margin-bottom:0;padding:18px 24px;background:linear-gradient(115deg,#08152a,#101e32);border:1px solid #25405e;border-radius:12px;box-shadow:none}
.hero .eyebrow{color:#e9bb67;margin-bottom:6px;font-size:9px}
.hero h1{color:#f7d080;font-size:clamp(24px,3vw,35px);margin-bottom:6px}
.hero p{font-size:12px;color:#b5c9dc;line-height:1.5}
.hero-meta{margin-top:12px}
.hero-meta span{border-color:#364456;background:#0b213c;color:#eccb88;font-size:10px}
.panel{margin-top:14px}
.store-workspace{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:15px;align-items:start;direction:ltr}
.featured-sidebar,.store-main{direction:rtl;min-width:0;border:1px solid #274263;background:#071528;border-radius:13px}
.featured-sidebar{position:sticky;top:85px;overflow:hidden}
.featured-head{padding:12px 14px;background:#122942;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #2a4463;font-size:12px;color:var(--gold);font-weight:900}
.featured-head small{font-size:10px;color:#9fb7cc;font-weight:500}
.featured-media{height:350px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#1d2a46,#071629);overflow:hidden;position:relative}
.featured-media.featured-plain{background:#10182b}
.featured-placeholder{font-size:95px;font-weight:900;color:#2b4e73;opacity:.55}
.featured-picture{width:100%;height:100%;object-fit:contain;object-position:center center}
.featured-picture.plain-background-preview{background:#10182b}
.featured-detail{padding:14px 15px 18px;border-top:2px solid #98723d}
.featured-tag{display:inline-flex;font-size:10px;color:#f4cd80;background:#24364b;border:1px solid #536782;border-radius:15px;padding:5px 8px}
.featured-detail h2{font-size:16px;line-height:1.65;margin:9px 0 5px;color:white}
.featured-price{font-size:13px;color:#f3c36b;font-weight:900;margin:5px 0 14px}
.featured-action{width:100%;border-radius:6px}
.featured-note{margin:10px 0 0;font-size:10px;line-height:1.8;color:#93aabe}
.store-main{padding:12px 12px 0}
.store-section-head{padding:3px 4px 12px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.store-mini{font-size:9px;font-weight:800;letter-spacing:1.1px;color:#ebba70;margin-bottom:8px}
.store-section-head h2{font-size:23px;color:#f6cc7e;margin:0 0 5px}
.store-section-head p{font-size:11px;color:#a9bcd2;margin:0}
.catalog-badge{font-size:12px;border:1px solid #79623b;background:#30271b;border-radius:8px;padding:8px 10px;color:#f8d48a;white-space:nowrap}
.store-main-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#0b2742;border:1px solid #315170;border-radius:10px;margin-bottom:10px}
.store-main-tab{background:#10243e;border:1px solid #284461;color:#d9ebfc;padding:12px 8px;border-radius:7px;font-weight:800;font-size:12px}
.store-main-tab.active,.store-main-tab:hover{background:#1c5578;border-color:#6086ab;color:white}
.category-chips{gap:5px;margin-bottom:10px;padding:1px 0 5px;scrollbar-width:thin}
.category-chip{border-radius:6px;padding:8px 11px;background:#102039;border:1px solid #284464;color:#cadcf0;font-size:11px}
.category-chip.active,.category-chip:hover{background:#dba647;border-color:#f0c26a;color:#142031;box-shadow:0 0 12px #ddac4540}
.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:9px}
.control-group{gap:5px}
.control-group select{max-width:215px;border-radius:7px;padding:9px 10px;background:#0c1c32;border-color:#2b4663;font-size:11px}
.search{max-width:265px;border-radius:7px;background:#091c32;border-color:#2b4663;padding-inline:9px}
.search input{font-size:11px;padding:9px 6px}
.note{font-size:11px;padding:6px 4px 9px;color:#b1c3d7}
.cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.product{border-radius:8px;background:#10233e;border:1px solid #2a4764;box-shadow:0 1px 0 #314357;transition:transform .15s,border-color .15s}
.product.selected,.product:hover{border-color:#d4a64f;transform:translateY(-1px)}
.product-img{height:auto;aspect-ratio:4/5;background:#10243e;position:relative;overflow:hidden;border-bottom:1px solid #233f59}
.product-img img{display:block;object-fit:cover;object-position:top center;width:100%;height:100%;padding:0}
.product-img img.plain-background-preview{background:#10182b}
.product-img .type{inset-inline-start:auto;inset-inline-end:5px;top:5px;font-size:10px;color:#f2ca76;border:1px solid #a98441;background:#09192bd9;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;padding:0}
.product-info{padding:8px 6px 7px}
.product-info h3{height:32px;min-height:0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;font-weight:750;margin:0 0 5px;color:#eff5ff}
.product-price{font-size:10px;color:#f2c265;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-actions{margin-top:7px}
.btn.primary,.product-actions .btn{background:linear-gradient(#286da4,#205886);border:1px solid #428bca;color:#fff;border-radius:5px}
.btn.primary:hover,.product-actions .btn:hover{background:#3788c1}
.product-actions .btn{font-size:11px;padding:6px 5px;min-height:28px}
.store-footnote{font-size:10px;line-height:1.7;margin-top:16px;border-top:1px solid #24425b;padding:11px 3px;color:#91adc1}
@media(max-width:1320px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.store-workspace{grid-template-columns:250px minmax(0,1fr)}.featured-media{height:310px}}
@media(max-width:1010px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.store-workspace{grid-template-columns:225px minmax(0,1fr)}.featured-media{height:275px}.store-section-head h2{font-size:20px}}
@media(max-width:760px){.header{height:auto;padding:12px}.container{padding:10px 11px 42px}.hero{padding:13px 15px}.store-workspace{display:flex;flex-direction:column;gap:10px}.store-main{order:1;width:100%}.featured-sidebar{order:2;position:static;width:100%}.featured-media{height:260px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.product-img{aspect-ratio:4/5}.store-main-tabs{gap:3px}.store-main-tab{font-size:10px;padding:9px 3px}.store-section-head h2{font-size:19px}.toolbar{align-items:stretch}.control-group{flex-wrap:wrap}.control-group select{max-width:none;flex:1;min-width:110px}.search{max-width:none;flex-basis:100%}}
@media(min-width:761px) and (max-height:700px){.featured-sidebar{top:76px}.featured-media{height:240px}}
