.gdls-store,.gdls-account{--gdls-accent:#40aaa3;--gdls-accent2:#68d4ca;--gdls-bg:#071315;--gdls-panel:#0b1b1e;--gdls-line:rgba(64,170,163,.24);direction:rtl;color:#e8f4f2;max-width:1200px;margin:24px auto;font-family:inherit}
.gdls-store *,.gdls-account *{box-sizing:border-box}
.gdls-store-head{padding:22px 24px;margin-bottom:18px;border:1px solid var(--gdls-line);border-radius:20px;background:radial-gradient(ellipse at top right,rgba(64,170,163,.12),transparent 56%),#091719}
.gdls-eyebrow{font-size:11px;letter-spacing:.09em;color:var(--gdls-accent2);font-weight:800}
.gdls-store-head h2{margin:8px 0;color:#f5fbfa;font-size:clamp(22px,3vw,30px);line-height:1.45}
.gdls-store-head p{margin:0;color:#9ab6b3;font-size:14px;line-height:1.9}
.gdls-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gdls-product,.gdls-license-card,.gdls-box{min-width:0;border:1px solid var(--gdls-line);border-radius:18px;background:linear-gradient(145deg,rgba(18,43,45,.94),rgba(5,18,20,.98));padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.gdls-product-icon,.gdls-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(64,170,163,.12);border:1px solid rgba(64,170,163,.3);color:var(--gdls-accent2);font-size:23px}
.gdls-product h3{margin:12px 0 6px;font-size:18px;color:#f0faf8}
.gdls-product-description{margin:0 0 14px;color:#a3bfbc;line-height:1.8;font-size:13px;min-height:2.2em}
.gdls-product-specs{display:flex;gap:10px;flex-wrap:wrap;color:#9fc3bf;font-size:12px;border-top:1px solid rgba(64,170,163,.14);padding-top:12px}
.gdls-product-specs strong{color:#eaf8f6}
.gdls-product-buy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.gdls-product-buy>strong{font-size:19px;color:#75dbd1;white-space:nowrap}.gdls-product-buy small{font-size:11px;color:#a1c0bd;font-weight:400}
.gdls-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 16px;border:1px solid #4cc0b6;border-radius:12px;background:linear-gradient(135deg,#49bcb2,#27988f);color:#031416!important;font-weight:800;font-size:13px;text-decoration:none!important;box-shadow:0 4px 14px rgba(43,169,159,.12);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.gdls-button:hover{background:linear-gradient(135deg,#65d7ce,#35aaa0);border-color:#77e3d9;box-shadow:0 5px 18px rgba(43,169,159,.2);color:#031416!important}
.gdls-button:focus-visible,.gdls-copy:focus-visible{outline:2px solid #b7fff7;outline-offset:3px}
.gdls-product-buy form{margin:0}.gdls-login-required{text-align:center;max-width:600px;margin:32px auto;padding:28px}.gdls-login-required .gdls-symbol{margin:0 auto 10px}.gdls-box h2,.gdls-box h3{color:#effbf9}.gdls-box p{color:#a7c3c0;line-height:1.9}
.gdls-license-card{margin:14px 0}.gdls-license-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.gdls-license-top h3{margin:0;color:#f3fbfa;font-size:18px}.gdls-status{padding:5px 10px;border-radius:99px;font-size:11px;font-weight:800}.gdls-status.is-active{background:rgba(51,190,133,.12);color:#70e2ae;border:1px solid rgba(51,190,133,.28)}.gdls-status.is-inactive{background:rgba(225,101,101,.1);color:#ffabab;border:1px solid rgba(225,101,101,.25)}
.gdls-license-key{display:flex;gap:8px;align-items:center;margin:16px 0;padding:10px;border:1px solid rgba(64,170,163,.2);border-radius:12px;background:#061416;min-width:0}.gdls-license-key code{flex:1;min-width:0;color:#85e3db;font-size:13px;overflow-wrap:anywhere;direction:ltr;text-align:left}.gdls-copy{border:1px solid var(--gdls-line);background:#102528;color:#c8e5e2;border-radius:9px;padding:8px 10px;font-size:12px;cursor:pointer;white-space:nowrap}.gdls-license-meta{display:flex;gap:12px;flex-wrap:wrap;color:#9dbbb8;font-size:12px}.gdls-license-meta strong{color:#e7f6f4}.gdls-license-meta code{color:#8bded6}
@media(max-width:720px){.gdls-products{grid-template-columns:minmax(0,1fr)}.gdls-store-head{padding:18px}.gdls-product,.gdls-license-card{padding:16px}.gdls-product-buy{align-items:stretch;flex-direction:column}.gdls-product-buy .gdls-button{width:100%}.gdls-license-key{align-items:stretch;flex-direction:column}.gdls-copy{width:100%}}
@media(prefers-reduced-motion:reduce){.gdls-button{transition:none}}
.gdls-payment-note{padding:14px 16px;margin:12px 0;border-radius:12px;font-size:13px;line-height:1.8}.gdls-payment-note.is-success{background:rgba(51,190,133,.12);border:1px solid rgba(51,190,133,.32);color:#a5f0cc}.gdls-payment-note.is-error{background:rgba(225,101,101,.1);border:1px solid rgba(225,101,101,.25);color:#ffc1c1}


/* GamesDub theme integration v0.3.4: stable icon rendering and Persian typography. */
.gdls-store,.gdls-account,.gdls-store *,.gdls-account *{font-family:var(--kf-theme-font-family,"Kalameh",Tahoma,sans-serif)!important}
.game-single #game-download .gdls-theme-buy{font-family:var(--kf-theme-font-family,"Kalameh",Tahoma,sans-serif)!important;font-size:12px!important;font-weight:850!important;line-height:1.8!important;gap:9px!important;direction:rtl!important;unicode-bidi:plaintext!important}
.game-single #game-download .gdls-theme-buy .gdls-cart-icon{display:inline-block!important;flex:0 0 19px!important;width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;vertical-align:middle!important;overflow:visible!important}
.game-single #game-download .gdls-theme-buy span{font-family:var(--kf-theme-font-family,"Kalameh",Tahoma,sans-serif)!important;font-size:12px!important;font-weight:850!important;line-height:1.8!important}
.game-single #game-download .gdls-theme-buy small{font-family:var(--kf-theme-font-family,"Kalameh",Tahoma,sans-serif)!important;font-size:10px!important;font-weight:900!important;line-height:1.7!important;white-space:nowrap!important}
.gdls-account .gdls-store-head h2,.gdls-account .gdls-store-head p,.gdls-account .gdls-license-card,.gdls-account .gdls-license-card *{font-family:var(--kf-theme-font-family,"Kalameh",Tahoma,sans-serif)!important}

/* GamesDub License Library v0.3.6: paginated, responsive account library. */
.gdls-library{max-width:1200px;margin:8px auto 30px;direction:rtl;text-align:right;color:#e8f4f2}
.gdls-library-head{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:22px;margin-bottom:18px;border:1px solid rgba(64,170,163,.25);border-radius:20px;background:radial-gradient(ellipse at top right,rgba(64,170,163,.13),transparent 58%),linear-gradient(145deg,#0b1d20,#081517)}
.gdls-library-title{display:flex;align-items:center;gap:14px;min-width:220px}
.gdls-library-mark{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:#2ea79e;color:#f0fffd}
.gdls-library-mark svg,.gdls-library-art-badge svg,.gdls-library-art-placeholder svg,.gdls-library-search>svg,.gdls-library-empty-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gdls-library-title h2{margin:3px 0 2px;color:#f2fbfa;font-size:clamp(21px,2.4vw,27px);line-height:1.5}
.gdls-library-title p{margin:0;color:#9bbab7;font-size:13px;line-height:1.8}
.gdls-library-stats{display:flex;gap:9px;flex-wrap:wrap}
.gdls-library-stats>div{display:flex;flex-direction:column;gap:4px;min-width:100px;padding:10px 13px;border:1px solid rgba(64,170,163,.17);border-radius:13px;background:rgba(5,21,23,.72)}
.gdls-library-stats span{font-size:11px;color:#9bbab7}.gdls-library-stats strong{font-size:21px;color:#67d5cb;line-height:1.3}
.gdls-library-search{display:flex;align-items:center;gap:9px;margin:0 0 18px;padding:8px 12px;border:1px solid rgba(64,170,163,.23);border-radius:13px;background:#0a1b1d;min-width:0}
.gdls-library-search>svg{width:20px;height:20px;color:#65cec4;flex:0 0 20px}
.gdls-library-search input{flex:1;min-width:0;height:40px;padding:0 4px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#e8f4f2!important;font:inherit;font-size:13px}
.gdls-library-search input::placeholder{color:#789895}.gdls-library-search button,.gdls-library-search>a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border:1px solid #3bb1a7;border-radius:10px;background:#2fa79d;color:#041718!important;text-decoration:none;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
.gdls-library-search>a{background:transparent;color:#9fded8!important;border-color:rgba(64,170,163,.3)}
.gdls-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.gdls-library-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(64,170,163,.23);border-radius:17px;background:linear-gradient(155deg,rgba(16,43,45,.96),rgba(7,20,22,.99));box-shadow:0 8px 22px rgba(0,0,0,.09);transition:border-color .18s ease,transform .18s ease}
.gdls-library-card:hover{border-color:rgba(82,203,193,.55);transform:translateY(-2px)}
.gdls-library-art{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,rgba(64,170,163,.23),transparent 70%),#0a2224;text-decoration:none}
.gdls-library-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .25s ease}.gdls-library-card:hover .gdls-library-art img{transform:scale(1.025)}
.gdls-library-art:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(4,15,17,.42));pointer-events:none}
.gdls-library-art-placeholder{display:grid;place-items:center;width:64px;height:64px;border:1px solid rgba(91,211,201,.24);border-radius:20px;color:#5ccdc3;background:rgba(64,170,163,.1)}.gdls-library-art-placeholder svg{width:35px;height:35px}
.gdls-library-art-badge{position:absolute;z-index:1;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(130,239,184,.28);border-radius:9px;background:rgba(7,36,29,.88);color:#81e6b5}.gdls-library-art-badge svg{width:16px;height:16px}
.gdls-library-card-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:14px}
.gdls-library-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}.gdls-library-card-title h3{margin:0;color:#f2fbfa;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.gdls-library-card-title .gdls-status{flex:0 0 auto;font-size:10px;padding:4px 8px}.gdls-library-subtitle{margin:-5px 0 0;color:#91b2ae;font-size:12px}
.gdls-library-device{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid rgba(64,170,163,.14);border-bottom:1px solid rgba(64,170,163,.14);font-size:11px;color:#9ab8b5}.gdls-library-device strong{color:#d9f5f1;font-size:11px;white-space:nowrap}
.gdls-library-card-actions{display:flex;gap:8px;align-items:stretch;margin-top:auto}.gdls-library-card-actions .gdls-button{flex:1;min-width:0;min-height:39px;padding:8px 9px;font-size:12px}.gdls-library-card-actions .gdls-copy{min-height:39px;padding:7px 10px}.gdls-library-card-actions .gdls-copy:disabled{opacity:.5;cursor:not-allowed}
.gdls-library-details{border-top:1px solid rgba(64,170,163,.12);padding-top:8px;color:#a9c8c4;font-size:12px}.gdls-library-details summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px}.gdls-library-details summary::-webkit-details-marker{display:none}.gdls-library-details summary:after{content:"＋";color:#67d5cb;font-size:15px}.gdls-library-details[open] summary:after{content:"−"}.gdls-library-details .gdls-license-key{margin:10px 0;flex-wrap:wrap}.gdls-library-details .gdls-license-meta{line-height:1.8}
.gdls-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:22px 0 6px}.gdls-page-number,.gdls-page-arrow{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid rgba(64,170,163,.25);border-radius:11px;background:#0b2022;color:#c6e7e3!important;text-decoration:none!important;font-size:13px;font-weight:700}.gdls-page-number.is-current{border-color:#4ac1b7;background:linear-gradient(135deg,#4dbfb5,#2c9e95);color:#041819!important}.gdls-page-arrow{font-size:22px;line-height:1}.gdls-page-count{margin:0 5px;color:#91b2ae;font-size:11px}
.gdls-library-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:38px 18px;border:1px dashed rgba(64,170,163,.28);border-radius:18px;background:rgba(9,27,29,.6);text-align:center}.gdls-library-empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:rgba(64,170,163,.12);color:#62d1c7}.gdls-library-empty h3{margin:0;color:#edf9f7;font-size:18px}.gdls-library-empty p{max-width:440px;margin:0 0 6px;color:#9bbab7;font-size:13px;line-height:1.9}
@media(max-width:980px){.gdls-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gdls-library-head{align-items:flex-start}.gdls-library-stats{width:100%}.gdls-library-stats>div{flex:1}}
@media(max-width:560px){.gdls-library{margin:0 auto 20px}.gdls-library-head{padding:15px;border-radius:15px;gap:15px}.gdls-library-title{gap:10px}.gdls-library-mark{width:44px;height:44px;flex-basis:44px;border-radius:13px}.gdls-library-mark svg{width:22px;height:22px}.gdls-library-title h2{font-size:21px}.gdls-library-title p{font-size:12px}.gdls-library-stats{gap:6px}.gdls-library-stats>div{min-width:0;padding:9px 8px}.gdls-library-stats span{font-size:10px}.gdls-library-stats strong{font-size:18px}.gdls-library-grid{grid-template-columns:minmax(0,1fr);gap:12px}.gdls-library-art{aspect-ratio:16/7}.gdls-library-card-body{padding:13px}.gdls-library-search{gap:6px;padding:7px}.gdls-library-search button,.gdls-library-search>a{padding:7px 9px}.gdls-page-count{width:100%;text-align:center;order:5}}
@media(prefers-reduced-motion:reduce){.gdls-library-card,.gdls-library-art img{transition:none}.gdls-library-card:hover,.gdls-library-card:hover .gdls-library-art img{transform:none}}
