:root{--bg:#070b15;--surface:#0f1728;--surface2:#151f34;--text:#f5f7ff;--muted:#9aa8c1;--line:#25324a;--a:#76e6c3;--b:#7ca7ff;--danger:#ff7e91}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 85% 0,#1b3158 0,transparent 34%),var(--bg);color:var(--text);font:15px/1.75 'Shabnam',Inter,'Segoe UI',Tahoma,Arial,sans-serif}a{text-decoration:none;color:inherit}.header{height:78px;padding:0 5%;display:flex;align-items:center;gap:35px;border-bottom:1px solid var(--line);background:rgba(7,11,21,.8);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:900}.logo{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;font-weight:900}.brand em{font-style:normal;color:var(--a)}nav{display:flex;gap:23px;flex:1;justify-content:center}nav a{color:var(--muted);font-weight:700;font-size:14px}nav a:hover,nav a.active{color:var(--text)}.theme{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:12px;width:40px;height:40px;cursor:pointer}.wrap{max-width:1180px;margin:auto;padding:0 5%}.hero{min-height:610px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px}.eyebrow{color:var(--a);font-size:11px;letter-spacing:3px;font-weight:900;margin:0 0 10px}.hero h1{font-size:clamp(44px,6vw,76px);line-height:1.03;letter-spacing:-3px;margin:0}.gradient{background:linear-gradient(90deg,var(--a),var(--b));-webkit-background-clip:text;color:transparent}.lead{font-size:18px;color:var(--muted);max-width:610px}.buttons{display:flex;gap:12px;margin-top:25px}.btn{display:inline-flex;padding:12px 19px;border-radius:13px;border:1px solid var(--line);font-weight:900}.primary{background:var(--a);color:#061018;border-color:var(--a)}.secondary{background:var(--surface)}.visual{height:400px;display:grid;place-items:center;position:relative}.core{width:175px;height:175px;border-radius:50%;display:grid;place-items:center;font-size:70px;font-weight:900;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;box-shadow:0 0 100px rgba(118,230,195,.18)}.ring{position:absolute;border:1px solid var(--line);border-radius:50%;width:280px;height:280px}.ring.r2{width:410px;height:410px}.float{position:absolute;padding:12px 16px;border:1px solid var(--line);background:rgba(15,23,40,.94);border-radius:14px;font-weight:800}.f1{top:25px;right:30px}.f2{bottom:45px;left:15px}.f3{top:175px;right:-5px}.section{padding:70px 0}.section h2{font-size:37px;letter-spacing:-1.5px;margin:0}.head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:linear-gradient(145deg,var(--surface),#0c1322);border:1px solid var(--line);border-radius:20px;padding:25px;transition:.2s}.card:hover{transform:translateY(-4px);border-color:#4a638d}.icon{font-size:31px}.card h3{margin:10px 0 6px;font-size:20px}.notice{display:flex;align-items:center;gap:16px;padding:17px 20px;border:1px solid var(--line);background:var(--surface);border-radius:16px}.notice strong{color:var(--a)}.support{margin:30px 0 80px;padding:40px;border:1px solid var(--line);border-radius:25px;background:linear-gradient(120deg,#12203a,#0c1424);display:flex;align-items:center;justify-content:space-between;gap:25px}.footer{border-top:1px solid var(--line);padding:42px 5%;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.page{max-width:1100px;margin:auto;padding:70px 5%}.page h1{font-size:52px;letter-spacing:-2px;margin:0}.form{max-width:650px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:25px}.input,.select,.textarea{width:100%;padding:13px;margin:6px 0 16px;border:1px solid var(--line);border-radius:11px;background:#080d18;color:var(--text)}.calc{max-width:500px;margin:auto;background:var(--surface);border:1px solid var(--line);padding:20px;border-radius:22px}.display{width:100%;height:78px;background:#070b15;color:var(--text);border:1px solid var(--line);border-radius:14px;text-align:right;font-size:31px;padding:10px;margin-bottom:12px}.keys{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.keys button{height:58px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:17px;font-weight:700;cursor:pointer}.keys button:hover{border-color:#536b94}.keys .op{color:var(--a)}.keys .eq{background:var(--a);color:#061018}.calc-tabs{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}.calc-tabs button{padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);cursor:pointer}.calc-tabs button.active{color:#061018;background:var(--a)}.result{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);margin-top:14px}.ranking{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line)}.ranking th,.ranking td{padding:14px;border-bottom:1px solid var(--line);text-align:left}.ranking th{color:var(--muted);font-size:12px}.game{max-width:720px;margin:auto;text-align:center}.gamebox{padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:22px}.gamebutton{padding:18px 28px;border:0;border-radius:15px;background:var(--a);font-weight:900;font-size:18px;cursor:pointer}.big{font-size:48px;font-weight:900}.release{border-left:3px solid var(--a);padding:15px 20px;background:var(--surface);border-radius:0 14px 14px 0;margin:15px 0}.release h3{margin:0}.tag{display:inline-block;padding:4px 8px;border-radius:8px;background:var(--surface2);color:var(--a);font-size:10px;font-weight:900}@media(max-width:800px){nav{display:none}.hero{grid-template-columns:1fr}.visual{display:none}.grid{grid-template-columns:1fr}.support,.footer{display:block}.page h1{font-size:42px}.keys{grid-template-columns:repeat(4,1fr)}.header{justify-content:space-between}}
body.light{--bg:#f4f7fb;--surface:#fff;--surface2:#edf2f8;--text:#101722;--muted:#66738a;--line:#dbe3ee;background:#f4f7fb}
/* LumiTek 0.3 responsive/search/profile/notifications */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:18px;padding:12px 22px;backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:900;font-size:1.25rem;white-space:nowrap}
.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,var(--a),var(--b));color:white;transition:background .3s}
.main-nav{display:flex;gap:clamp(3px,.4vw,7px);flex:1;justify-content:center;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}
.main-nav a,.icon-btn,.profile-btn{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:inherit;border-radius:10px;text-decoration:none;cursor:pointer}
.main-nav a{white-space:nowrap;flex:0 0 auto;padding:8px clamp(5px,.5vw,11px);font-size:clamp(.66rem,.32vw + .52rem,.86rem)}
.header-actions{display:flex;gap:7px;align-items:center}
.notification-btn{position:relative}.notification-btn span{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#ff5c7a;color:white;font-size:10px;display:grid;place-items:center}
.notification-panel{position:fixed;z-index:60;top:70px;right:20px;width:min(360px,calc(100vw - 30px));max-height:430px;overflow:auto;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(16,23,38,.96);box-shadow:0 20px 60px rgba(0,0,0,.35);display:none}
.notification-panel.show{display:block}.panel-title{font-weight:800;margin-bottom:10px}.notification-item{display:flex;gap:10px;padding:10px;border-radius:12px;background:rgba(255,255,255,.04);margin-bottom:7px}.notification-item small{display:block;opacity:.55;margin-top:4px;font-size:.72rem}.empty-state,.search-empty{padding:15px;opacity:.65;text-align:center}
.search-wrap{position:relative;max-width:760px;margin:18px auto}.search-wrap input{width:100%;box-sizing:border-box;padding:15px 18px;border-radius:15px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:inherit;font-size:1rem;outline:none}.search-results{position:absolute;left:0;right:0;top:58px;z-index:40;display:none;padding:8px;border-radius:14px;background:rgba(16,23,38,.98);border:1px solid rgba(255,255,255,.1)}.search-results.show{display:block}.search-results a{display:flex;justify-content:space-between;gap:12px;padding:11px;border-radius:10px;color:inherit;text-decoration:none}.search-results a:hover{background:rgba(255,255,255,.06)}.search-results span{opacity:.55}
.modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);display:none;place-items:center;padding:18px}.modal.show{display:grid}.modal-card{position:relative;width:min(460px,100%);padding:24px;border-radius:20px;background:#101726;border:1px solid rgba(255,255,255,.1);box-shadow:0 25px 80px rgba(0,0,0,.45)}.modal-close{position:absolute;top:10px;left:10px;border:0;background:transparent;color:inherit;font-size:25px;cursor:pointer}.modal-card input{width:100%;box-sizing:border-box;margin:8px 0 18px;padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:inherit}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 18px}.profile-stats div{padding:11px;border-radius:12px;background:rgba(255,255,255,.05);text-align:center}.profile-stats span{display:block;font-size:.72rem;opacity:.6}.profile-stats strong{display:block;margin-top:4px}.primary-btn{border:0;border-radius:11px;padding:11px 18px;cursor:pointer;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;font-weight:800;font-family:inherit;transition:filter .2s,transform .15s}
.primary-btn:hover{filter:brightness(1.08)}
.primary-btn:active{transform:scale(.97)}
.primary-btn:disabled{opacity:.5;cursor:not-allowed}
.ghost-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(255,255,255,.14);border-radius:11px;padding:11px 16px;color:inherit;text-decoration:none;background:rgba(255,255,255,.04);cursor:pointer;font-weight:700;font-family:inherit;font-size:.9rem}
.ghost-btn:hover{border-color:var(--a)}
.text-link{color:var(--a);text-decoration:none;font-weight:700}
.text-link:hover{text-decoration:underline}
html[data-accent="violet"]{--a:#b18cff;--b:#7ca7ff}
html[data-accent="sunset"]{--a:#ffb46b;--b:#ff7e91}
html[data-accent="candy"]{--a:#ff8fd4;--b:#8fb7ff}
html[data-accent="gold"]{--a:#ffc861;--b:#ffe29a}
html[data-accent="ocean"]{--a:#4fc3f7;--b:#7ce6b0}
html[data-accent="rose"]{--a:#ff7eb6;--b:#ffa07a}
html[data-accent="emerald"]{--a:#50d68a;--b:#b4f06e}
html[data-accent="neon"]{--a:#00e5ff;--b:#b2ff59}
html[data-accent="cherry"]{--a:#ff5c8a;--b:#ffb3c8}
html[data-accent="ice"]{--a:#a0e8ff;--b:#d0f0ff}
html[data-accent="lavender"]{--a:#c8b6ff;--b:#e0d4ff}
html[data-accent="forest"]{--a:#2e7d4f;--b:#52a374}
html[data-accent="berry"]{--a:#d946ef;--b:#f0a6d8}
html[data-accent="desert"]{--a:#d4a373;--b:#e9c89a}
html[data-accent] .core,html[data-accent] .primary-btn{box-shadow:none}
.game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.game-card{padding:20px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);transition:.2s}.game-card:hover{transform:translateY(-3px)}
@media(max-width:900px){.site-header{flex-wrap:wrap;gap:10px}.main-nav{order:3;width:100%;overflow:auto;justify-content:flex-start;flex-wrap:nowrap}.header-actions{margin-left:auto}}
@media(min-width:901px) and (max-width:1180px){.site-header{flex-wrap:wrap;gap:10px}.main-nav{order:3;width:100%;overflow:auto;justify-content:flex-start;flex-wrap:nowrap}.header-actions{margin-left:auto}}
@media(max-width:560px){.site-header{padding:10px 12px;gap:8px}.profile-btn span{display:none}.icon-btn{padding:8px}.profile-stats{grid-template-columns:repeat(2,1fr)}.notification-panel{right:10px;top:64px}}
html.light .notification-panel,html.light .search-results,html.light .modal-card{background:#fff;color:#172033;border-color:rgba(20,30,50,.1)}

/* ============ LumiTek 0.4 — font, profile modal, store, account, chat, news, donate ============ */
button,input,select,textarea{font-family:inherit}
.main-nav a.active{color:var(--a);border-color:rgba(118,230,195,.4)}
.footer-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.footer-links a{opacity:.85;font-size:.9rem}
.footer-links a:hover{color:var(--a);opacity:1}
/* profile modal upgrade */
.pm-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.pm-head h2{margin:0;font-size:1.25rem}
.pm-avatar{width:52px;height:52px;display:grid;place-items:center;font-size:28px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.pm-title{font-size:.8rem;color:var(--a);font-weight:700}
.xpbar{height:9px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin:4px 0 8px}
.xpbar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--a),var(--b));transition:width .5s}
/* badges / achievements */
.badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.badge-item{padding:14px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);text-align:center;opacity:.45}
.badge-item.unlocked{opacity:1;border-color:rgba(118,230,195,.45);background:rgba(118,230,195,.07)}
.badge-item .bi-icon{font-size:26px}
.badge-item .bi-name{font-weight:800;margin-top:6px;font-size:.85rem}
.badge-item .bi-desc{font-size:.72rem;color:var(--muted);margin-top:3px}
/* store */
.store-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.coin-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:99px;background:rgba(255,201,97,.1);border:1px solid rgba(255,201,97,.35);font-weight:800}
.coin-pill b{color:#ffc861}
.store-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}
.store-tabs button{padding:8px 15px;border-radius:99px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-weight:700;font-size:.85rem}
.store-tabs button.active{background:linear-gradient(135deg,var(--a),var(--b));color:#061018;border-color:transparent}
.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.item-card{position:relative;padding:16px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);text-align:center;transition:.2s}
.item-card:hover{transform:translateY(-3px)}
.item-card .it-emoji{font-size:34px;line-height:1.2}
.item-card .it-name{font-weight:800;margin-top:8px;font-size:.85rem;min-height:2.4em}
.item-card .it-rarity{font-size:.68rem;font-weight:800;margin-top:2px}
.item-card .it-price{margin-top:7px;font-size:.8rem;color:var(--muted)}
.item-card .it-actions{margin-top:9px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.item-card .it-actions button{border:0;border-radius:9px;padding:7px 13px;font-size:.78rem;font-weight:800;cursor:pointer;background:linear-gradient(135deg,var(--a),var(--b));color:#061018}
.item-card .it-actions button.own{background:rgba(255,255,255,.08);color:inherit;border:1px solid rgba(255,255,255,.14)}
.item-card .it-actions button.equipped{background:rgba(118,230,195,.15);color:var(--a);border:1px solid rgba(118,230,195,.5)}
.item-card .it-actions button:disabled{opacity:.45;cursor:not-allowed}
.item-card .it-boost{font-size:30px}
.rarity-common{color:#9aa8c1}.rarity-rare{color:#7ca7ff}.rarity-epic{color:#b18cff}.rarity-legendary{color:#ffc861}
.border-rarity-common{border-color:rgba(154,168,193,.35)!important}
.border-rarity-rare{border-color:rgba(124,167,255,.5)!important;box-shadow:0 0 24px rgba(124,167,255,.08)}
.border-rarity-epic{border-color:rgba(177,140,255,.55)!important;box-shadow:0 0 24px rgba(177,140,255,.1)}
.border-rarity-legendary{border-color:rgba(255,200,97,.6)!important;box-shadow:0 0 30px rgba(255,200,97,.14)}
.new-chip{position:absolute;top:8px;left:8px;background:#ff5c7a;color:#fff;font-size:.62rem;font-weight:900;padding:3px 8px;border-radius:99px}
/* account page */
.account-hero{display:flex;gap:18px;align-items:center;padding:24px;border-radius:22px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(130deg,rgba(118,230,195,.08),rgba(124,167,255,.05));flex-wrap:wrap}
.account-hero .ah-avatar{width:76px;height:76px;display:grid;place-items:center;font-size:42px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14)}
.account-hero .ah-name{font-size:1.5rem;font-weight:900}
.account-hero .ah-sub{color:var(--muted);font-size:.85rem}
.avatar-picker{display:flex;gap:8px;flex-wrap:wrap}
.avatar-picker button{width:46px;height:46px;font-size:22px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);cursor:pointer;color:inherit}
.avatar-picker button.sel{border-color:var(--a);background:rgba(118,230,195,.15)}
.avatar-picker button:disabled{opacity:.3;cursor:not-allowed}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.stat-tile{padding:14px;border-radius:15px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-align:center}
.stat-tile b{display:block;font-size:1.3rem}
.stat-tile span{font-size:.72rem;color:var(--muted)}
.best-table{width:100%;border-collapse:collapse}
.best-table th,.best-table td{padding:11px 13px;border-bottom:1px solid rgba(255,255,255,.07);text-align:right;font-size:.9rem}
.best-table th{color:var(--muted);font-size:.75rem;font-weight:700}
/* data tools */
.data-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.danger-btn{border:1px solid rgba(255,126,145,.45);background:rgba(255,126,145,.1);color:#ff7e91;border-radius:11px;padding:11px 16px;cursor:pointer;font-weight:800;font-family:inherit}
.danger-btn:hover{background:rgba(255,126,145,.2)}
/* sports news */
.news-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.news-toolbar .nt-tabs{display:flex;gap:7px;flex-wrap:wrap}
.news-toolbar button{padding:8px 14px;border-radius:99px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-weight:700;font-size:.83rem}
.news-toolbar button.active{background:linear-gradient(135deg,var(--a),var(--b));color:#061018;border-color:transparent}
.news-meta{font-size:.75rem;color:var(--muted)}
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:13px}
.news-card{display:flex;flex-direction:column;gap:8px;padding:15px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);text-decoration:none;color:inherit;transition:.2s}
.news-card:hover{transform:translateY(-3px);border-color:var(--a)}
.news-card .nc-src{display:flex;align-items:center;gap:7px;font-size:.72rem;color:var(--a);font-weight:800}
.news-card .nc-title{font-weight:800;line-height:1.7;font-size:.93rem}
.news-card .nc-time{font-size:.72rem;color:var(--muted);margin-top:auto}
.news-state{padding:26px;text-align:center;border:1px dashed rgba(255,255,255,.16);border-radius:16px;color:var(--muted)}
.spinner{display:inline-block;width:17px;height:17px;border:2px solid rgba(255,255,255,.25);border-top-color:var(--a);border-radius:50%;animation:ltspin .8s linear infinite;vertical-align:-4px;margin-inline-end:7px}
@keyframes ltspin{to{transform:rotate(360deg)}}
.src-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.src-chips a{font-size:.78rem;padding:7px 13px;border-radius:99px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03)}
.src-chips a:hover{border-color:var(--a);color:var(--a)}
/* chat (AI support) */
.chat-shell{max-width:780px;margin:auto}
.chat-box{height:min(58vh,520px);overflow-y:auto;padding:16px;border-radius:20px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.03);display:flex;flex-direction:column;gap:11px}
.msg{max-width:82%;padding:11px 15px;border-radius:16px;line-height:1.8;font-size:.92rem;white-space:pre-wrap;word-break:break-word}
.msg.user{align-self:flex-start;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;border-bottom-right-radius:5px;font-weight:600}
.msg.bot{align-self:flex-end;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);border-bottom-left-radius:5px}
.msg.typing{display:flex;gap:5px;align-items:center;padding:14px 18px}
.msg.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1.2s infinite}
.msg.typing i:nth-child(2){animation-delay:.2s}.msg.typing i:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,80%,100%{opacity:.25}40%{opacity:1}}
.chat-input{display:flex;gap:9px;margin-top:12px}
.chat-input input{flex:1;padding:13px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;outline:none;font-size:.95rem}
.chat-input input:focus{border-color:var(--a)}
.chat-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.chat-quick button{padding:7px 13px;border-radius:99px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-size:.78rem;font-weight:700}
.chat-quick button:hover{border-color:var(--a);color:var(--a)}
.chat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;font-size:.8rem;color:var(--muted)}
.api-note{margin-top:14px;padding:13px 16px;border-radius:14px;background:rgba(124,167,255,.07);border:1px solid rgba(124,167,255,.25);font-size:.8rem;color:var(--muted);line-height:1.9}
details.faq{border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:14px 18px;background:rgba(255,255,255,.03);margin-bottom:9px}
details.faq summary{cursor:pointer;font-weight:800}
details.faq p{color:var(--muted);line-height:2;margin:10px 0 0;font-size:.9rem}
/* donate */
.tier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px}
.tier-card{padding:20px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);text-align:center;position:relative;transition:.2s}
.tier-card:hover{transform:translateY(-4px)}
.tier-card.pop{border-color:rgba(118,230,195,.55);box-shadow:0 0 30px rgba(118,230,195,.12)}
.tier-card .t-icon{font-size:30px}
.tier-card .t-name{font-weight:900;margin-top:8px}
.tier-card .t-amount{font-size:1.35rem;font-weight:900;color:var(--a);margin:7px 0}
.tier-card .t-desc{font-size:.78rem;color:var(--muted);line-height:1.9}
.goal-bar{height:13px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden;margin:9px 0 7px}
.goal-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--a),var(--b));transition:width 1s}
.copy-row{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:13px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);margin-bottom:9px;flex-wrap:wrap}
.copy-row code{flex:1;direction:ltr;text-align:left;font-size:.78rem;word-break:break-all;color:var(--b)}
.copy-row button{border:0;border-radius:9px;padding:8px 15px;background:rgba(255,255,255,.09);color:inherit;cursor:pointer;font-weight:800;font-size:.78rem}
.copy-row button:hover{background:rgba(118,230,195,.2)}
.supporter-wall{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.supporter-chip{padding:8px 14px;border-radius:99px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);font-size:.8rem}
.modal-small{width:min(430px,100%)}
.modal-small h3{margin-top:0}
.amount-input{width:100%;padding:13px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;font-size:1rem;margin-top:6px}
/* games page extras */
.game-card{position:relative;display:flex;flex-direction:column;gap:8px}
.game-card .gc-best{font-size:.72rem;color:#ffc861;font-weight:800}
.game-card .gc-cta{margin-top:auto}
/* snake + tictactoe */
.snake-wrap{display:flex;flex-direction:column;align-items:center;gap:12px}
canvas#snakeCanvas{border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03);max-width:100%;touch-action:none}
.snake-pad{display:grid;grid-template-columns:repeat(3,56px);gap:7px;justify-content:center}
.snake-pad button{height:52px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:inherit;font-size:19px;cursor:pointer}
.snake-pad button:active{background:rgba(118,230,195,.2)}
.ttt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:330px;margin:auto}
.ttt-grid button{aspect-ratio:1;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;font-size:2.3rem;font-weight:900;cursor:pointer;transition:.15s}
.ttt-grid button:hover{background:rgba(255,255,255,.1)}
.ttt-grid button.win{background:rgba(118,230,195,.22);border-color:var(--a)}
/* misc */
.mt{margin-top:18px}.mt2{margin-top:28px}.mb0{margin-bottom:0}
.section-title{font-size:1.35rem;font-weight:900;margin:0 0 14px}
.mt3{margin-top:48px}
@media(max-width:560px){.news-grid{grid-template-columns:1fr}.item-grid{grid-template-columns:repeat(2,1fr)}.chat-box{height:52vh}}

/* ============================================================
   LumiTek 0.5 — theme engine fix, i18n fonts, new components
   ============================================================ */

/* ---------- font switching (fa=Shabnam / en=Inter) ---------- */
html[lang="fa"] body, html[lang="fa"] button, html[lang="fa"] input,
html[lang="fa"] select, html[lang="fa"] textarea {
  font-family: 'Shabnam', Vazirmatn, 'Segoe UI', Tahoma, Arial, sans-serif;
}
html[lang="en"] body, html[lang="en"] button, html[lang="en"] input,
html[lang="en"] select, html[lang="en"] textarea {
  font-family: Inter, 'Vazirmatn', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
}
html[lang="en"] .hero h1, html[lang="en"] .page h1 { letter-spacing: -2px; }
body { transition: background .35s, color .35s; }
html[lang="en"] .brand, html[lang="en"] nav a { letter-spacing: 0; }

/* ---------- THEME FIX: light variables on <html> (bug: بود روی body) ---------- */
html.light {
  --bg: #f2f5fa;
  --surface: #ffffff;
  --surface2: #eaeff7;
  --text: #0f1626;
  --muted: #5a6a85;
  --line: #d8e1ee;
  color-scheme: light;
}
html.light body {
  background: radial-gradient(circle at 85% 0, #dce7f8 0, transparent 36%), var(--bg);
  color: var(--text);
}

/* ---------- light overrides for legacy dark-hardcoded components ---------- */
html.light .site-header { background: rgba(255,255,255,.86); border-bottom-color: var(--line); }
html.light .main-nav a, html.light .icon-btn, html.light .profile-btn {
  background: rgba(15,25,50,.045); border-color: rgba(15,25,50,.1);
}
html.light .main-nav a:hover, html.light .icon-btn:hover { background: rgba(15,25,50,.08); }
html.light .brand-mark { color: #fff; }
html.light .card, html.light .game-card, html.light .gamebox, html.light .calc,
html.light .form, html.light .release {
  background: linear-gradient(145deg, #ffffff, #f3f6fb);
  border-color: var(--line);
}
html.light .card:hover { border-color: #9db4d6; }
html.light .input, html.light .select, html.light .textarea,
html.light .search-wrap input, html.light .amount-input, html.light .chat-input input {
  background: #f7fafd; border-color: var(--line); color: var(--text);
}
html.light .display { background: #eef2f9; border-color: var(--line); color: var(--text); }
html.light .keys button { background: #fff; border-color: var(--line); color: var(--text); }
html.light .keys button:hover { border-color: #9db4d6; }
html.light .result { background: #f1f5fb; border-color: var(--line); }
html.light .calc-tabs button { background: #fff; border-color: var(--line); color: var(--muted); }
html.light .notification-panel, html.light .search-results, html.light .modal-card {
  background: #ffffff; border-color: rgba(15,25,50,.12); color: var(--text);
}
html.light .notification-item { background: #f1f5fa; }
html.light .profile-stats div { background: #f2f6fb; }
html.light .xpbar { background: #e8eef6; }
html.light .ghost-btn { border-color: rgba(15,25,50,.16); background: rgba(15,25,50,.03); }
html.light .ghost-btn:hover { border-color: var(--a); }
html.light .text-link { color: #0d8f72; }
html.light .coin-pill { background: rgba(255,180,40,.12); border-color: rgba(210,140,0,.35); }
html.light .coin-pill b { color: #b07800; }
html.light .store-tabs button, html.light .news-toolbar button, html.light .chat-quick button {
  background: rgba(15,25,50,.04); border-color: rgba(15,25,50,.1);
}
html.light .item-card, html.light .news-card, html.light .tier-card, html.light .stat-tile,
html.light .badge-item, html.light .supporter-chip, html.light .src-chips a,
html.light .avatar-picker button, html.light .snake-pad button, html.light .ttt-grid button,
html.light .data-row .ghost-btn {
  background: rgba(15,25,50,.035); border-color: rgba(15,25,50,.12);
}
html.light .badge-item.unlocked { background: rgba(13,143,114,.08); border-color: rgba(13,143,114,.4); }
html.light .news-card:hover { border-color: var(--a); }
html.light .news-state { border-color: #b9c7db; color: var(--muted); }
html.light .account-hero { background: linear-gradient(130deg, rgba(13,143,114,.07), rgba(60,110,220,.06)); }
html.light .copy-row { background: #f4f7fc; border-color: var(--line); }
html.light .copy-row code { color: #2b5fd9; }
html.light .goal-bar { background: #e8eef6; }
html.light details.faq { background: #f6f9fd; border-color: var(--line); }
html.light details.faq p { color: var(--muted); }
html.light .chat-box, html.light .api-note { background: #f6f9fd; border-color: var(--line); }
html.light .msg.bot { background: #eef3fa; border-color: var(--line); }
html.light .api-note { background: rgba(60,110,220,.06); border-color: rgba(60,110,220,.25); }
html.light .tag { background: #e8eef6; }
html.light canvas#snakeCanvas, html.light canvas.game-canvas {
  border-color: var(--line); background: #f8fafd;
}
html.light .best-table th, html.light .best-table td { border-bottom-color: #e6ecf4; }
html.light .footer { color: var(--muted); }
html.light .hero .float { background: rgba(255,255,255,.95); border-color: var(--line); }
html.light .new-chip { background: #e23c5a; }
html.light .spinner { border-color: rgba(15,25,50,.2); border-top-color: var(--a); }
html.light .g2048-cell { background: #e7ecf4; color: #33415c; }
html.light .wg-tile { background: #fff; border-color: #c9d6e8; color: #0f1626; }
html.light .wg-tile.absent { background: #e8edf5; }
html.light .wg-tile.present { background: #ffe1a6; border-color: #e8b64c; }
html.light .wg-tile.correct { background: #7ee2c2; border-color: #2fae8b; }
html.light .wg-key { background: #eef2f8; border-color: #ccd7e6; color: #0f1626; }

/* ---------- header v5: coin pill + mobile menu ---------- */
.header-coin { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: rgba(255,201,97,.1); border: 1px solid rgba(255,201,97,.35); font-weight: 800; font-size: .85rem; color: inherit; }
.header-coin b { color: #ffc861; }
.header-coin .coin-plus { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,201,97,.25); font-size: .7rem; font-weight: 900; }
.header-coin:hover { border-color: #ffc861; }
.vip-badge { display: none; align-items: center; padding: 3px 9px; border-radius: 99px; background: linear-gradient(135deg,#ffc861,#ffe29a); color: #4a3200; font-size: .66rem; font-weight: 900; letter-spacing: .5px; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; bottom: auto; height: 100dvh; inset-inline-end: -270px; width: 260px; z-index: 90;
    display: flex; flex-direction: column; gap: 4px; padding: 74px 14px 20px;
    background: rgba(10,15,28,.98); border-inline-start: 1px solid var(--line);
    transition: inset-inline-end .28s ease; overflow-y: auto;
  }
  html.light .main-nav { background: rgba(255,255,255,.99); }
  body.nav-open .main-nav { inset-inline-end: 0; }
.main-nav { visibility: hidden; opacity: 0; transition: opacity .2s ease, inset-inline-end .25s ease; }
body.nav-open .main-nav { visibility: visible; opacity: 1; }
  .main-nav a { padding: 11px 14px; font-size: .95rem; border-radius: 12px; }
  .main-nav a:hover { background: rgba(255,255,255,.06); }
  html.light .main-nav a:hover { background: rgba(15,25,50,.05); }
  .header-coin { order: 10; }
}
body.nav-open::after {
  content: ""; position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
}

/* ---------- offline banner ---------- */
.offline-banner {
  display: none; padding: 10px 18px; font-size: .82rem; font-weight: 700; text-align: center;
  background: linear-gradient(90deg, #4a2d00, #6b3d00); color: #ffd98a;
  border-bottom: 1px solid rgba(255,200,100,.3);
}
.offline-banner.show { display: block; }
html.light .offline-banner { background: #fff4dd; color: #7a5200; border-bottom-color: #ecd39c; }

/* ---------- auth modal ---------- */
.auth-title { margin: 0 0 14px; }
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: #fff; color: #1a1a1a; font-weight: 800; font-family: inherit; font-size: .92rem; cursor: pointer;
  transition: filter .15s, transform .1s;
}
.google-btn:hover { filter: brightness(.96); }
.google-btn:active { transform: scale(.98); }
.google-btn:disabled { opacity: .55; cursor: wait; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: .78rem; }
.auth-or span { flex: 1; height: 1px; background: rgba(128,140,165,.25); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.auth-tabs button {
  flex: 1; padding: 9px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: inherit; font-weight: 700; cursor: pointer; font-family: inherit;
}
.auth-tabs button.active { background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; border-color: transparent; }
.auth-error { padding: 10px 13px; border-radius: 10px; background: rgba(255,92,122,.12); border: 1px solid rgba(255,92,122,.4); color: #ff8ba3; font-size: .82rem; margin-bottom: 10px; }
.auth-note { margin: 12px 0 0; font-size: .72rem; color: var(--muted); line-height: 1.8; }
#authModal .modal-card input { margin: 6px 0 12px; }
.pm-auth-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
html.light .pm-auth-row { border-top-color: var(--line); }
.pm-auth-row .auth-email { font-size: .78rem; color: var(--muted); flex: 1; min-width: 140px; direction: ltr; text-align: left; }
.pm-auth-row .ghost-btn { padding: 8px 13px; font-size: .8rem; }
.pm-auth-row .primary-btn { padding: 8px 13px; font-size: .8rem; }

/* ---------- coins page ---------- */
.coins-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.balance-big { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,201,97,.14), rgba(255,201,97,.05)); border: 1px solid rgba(255,201,97,.4); font-size: 1.05rem; font-weight: 800; }
.balance-big b { font-size: 1.7rem; color: #ffc861; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 13px; }
.pkg-card { position: relative; padding: 22px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); text-align: center; transition: .2s; display: flex; flex-direction: column; gap: 6px; }
.pkg-card:hover { transform: translateY(-4px); border-color: var(--a); }
.pkg-card .pk-icon { font-size: 34px; }
.pkg-card .pk-name { font-weight: 900; }
.pkg-card .pk-coins { font-size: 1.5rem; font-weight: 900; color: #ffc861; }
.pkg-card .pk-price { color: var(--muted); font-size: .9rem; }
.pkg-card .pk-cta { margin-top: 10px; }
.pkg-card .flag { position: absolute; top: -10px; inset-inline-start: 14px; padding: 4px 12px; border-radius: 99px; font-size: .66rem; font-weight: 900; color: #061018; background: linear-gradient(135deg, var(--a), var(--b)); }
.pkg-card .flag.gold { background: linear-gradient(135deg, #ffc861, #ffe29a); }
.perk-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.perk-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.perk-list li::before { content: "✓"; color: var(--a); font-weight: 900; }
.vip-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 26px; border-radius: 22px; border: 1px solid rgba(255,200,97,.45); background: linear-gradient(130deg, rgba(255,200,97,.1), rgba(255,140,90,.05)); box-shadow: 0 0 40px rgba(255,200,97,.08); }
.vip-card .vip-crown { font-size: 52px; }
.vip-card h3 { margin: 0; font-size: 1.3rem; }
.vip-status { padding: 10px 16px; border-radius: 12px; background: rgba(118,230,195,.12); border: 1px solid rgba(118,230,195,.4); font-weight: 800; font-size: .85rem; }
.reward-row { display: flex; gap: 13px; flex-wrap: wrap; }
.reward-card { flex: 1; min-width: 240px; padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.reward-card h4 { margin: 0; }
.reward-card p { margin: 0; font-size: .82rem; color: var(--muted); }
.reward-card .r-icon { font-size: 26px; }

/* ---------- 2048 ---------- */
.g2048-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.g2048-board { display: grid; grid-template-columns: repeat(4, 86px); grid-auto-rows: 86px; gap: 9px; padding: 9px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); touch-action: none; }
.g2048-cell { display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 1.5rem; font-weight: 900; transition: .12s; }
.g2048-cell.v2 { background: rgba(118,230,195,.25); }
.g2048-cell.v4 { background: rgba(118,230,195,.45); }
.g2048-cell.v8 { background: rgba(124,167,255,.5); }
.g2048-cell.v16 { background: rgba(124,167,255,.75); }
.g2048-cell.v32 { background: rgba(177,140,255,.8); color: #fff; }
.g2048-cell.v64 { background: rgba(177,140,255,1); color: #fff; }
.g2048-cell.v128 { background: rgba(255,180,107,.9); }
.g2048-cell.v256 { background: rgba(255,150,90,.95); }
.g2048-cell.v512 { background: #ff8f7a; color: #fff; }
.g2048-cell.v1024 { background: #ff7e91; color: #fff; font-size: 1.2rem; }
.g2048-cell.v2048 { background: linear-gradient(135deg, #ffc861, #ff9d5c); color: #3a2400; font-size: 1.2rem; box-shadow: 0 0 26px rgba(255,200,97,.6); }
@media (max-width: 460px) { .g2048-board { grid-template-columns: repeat(4, 68px); grid-auto-rows: 68px; } .g2048-cell { font-size: 1.15rem; } }

/* ---------- minesweeper ---------- */
.mines-top { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.mines-grid { display: grid; gap: 4px; margin: 14px auto 0; width: fit-content; }
.mines-cell { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.09); color: inherit; font-weight: 900; font-size: .95rem; cursor: pointer; display: grid; place-items: center; padding: 0; }
.mines-cell:hover { background: rgba(255,255,255,.16); }
.mines-cell.open { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.05); cursor: default; }
.mines-cell.flag { background: rgba(255,201,97,.2); }
.mines-cell.boom { background: rgba(255,92,122,.5); }
.mines-cell.n1 { color: #7ca7ff; } .mines-cell.n2 { color: #76e6c3; } .mines-cell.n3 { color: #ff7e91; }
.mines-cell.n4 { color: #b18cff; } .mines-cell.n5 { color: #ffc861; } .mines-cell.n6 { color: #6be0e8; }
@media (max-width: 460px) { .mines-cell { width: 28px; height: 28px; font-size: .8rem; } }

/* ---------- breakout ---------- */
canvas.game-canvas { border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); max-width: 100%; touch-action: none; }

/* ---------- 15-puzzle ---------- */
.p15-grid { display: grid; grid-template-columns: repeat(4, 78px); grid-auto-rows: 78px; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); width: fit-content; margin: 0 auto; touch-action: none; }
.p15-tile { display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(118,230,195,.3); background: linear-gradient(135deg, rgba(118,230,195,.22), rgba(124,167,255,.22)); font-size: 1.4rem; font-weight: 900; cursor: pointer; transition: .12s; user-select: none; }
.p15-tile:hover { border-color: var(--a); }
.p15-tile.empty { background: transparent; border-color: transparent; cursor: default; }
@media (max-width: 460px) { .p15-grid { grid-template-columns: repeat(4, 62px); grid-auto-rows: 62px; } .p15-tile { font-size: 1.1rem; } }

/* ---------- word guess ---------- */
.wg-board { display: grid; gap: 7px; justify-content: center; margin: 0 auto; }
.wg-row { display: grid; grid-template-columns: repeat(5, 52px); gap: 7px; direction: ltr; justify-content: center; }
.wg-tile { height: 52px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); font-size: 1.3rem; font-weight: 900; }
.wg-tile.absent { background: rgba(255,255,255,.08); border-color: transparent; opacity: .55; }
.wg-tile.present { background: rgba(255,201,97,.4); border-color: #ffc861; }
.wg-tile.correct { background: rgba(118,230,195,.5); border-color: #76e6c3; }
.wg-keyboard { display: grid; gap: 6px; justify-content: center; margin-top: 14px; direction: ltr; }
.wg-krow { display: flex; gap: 5px; justify-content: center; }
.wg-key { padding: 10px 0; width: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; font-family: inherit; }
.wg-key:disabled { opacity: .35; cursor: default; }
.wg-key.enter { width: 58px; font-size: .72rem; }
@media (max-width: 460px) { .wg-row { grid-template-columns: repeat(5, 44px); } .wg-tile { height: 44px; font-size: 1.05rem; } .wg-key { width: 27px; font-size: .78rem; } }

/* ---------- stopwatch / todo / password etc. ---------- */
.lap-list { max-height: 220px; overflow-y: auto; margin-top: 12px; }
.lap-list div { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,.07); font-variant-numeric: tabular-nums; }
html.light .lap-list div { border-bottom-color: #e6ecf4; }
.timer-big { font-size: 2.9rem; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: 1px; direction: ltr; }
.todo-item { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); margin-bottom: 8px; }
.todo-item.done { opacity: .5; }
.todo-item.done .tx { text-decoration: line-through; }
.todo-item input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--a); cursor: pointer; }
.todo-item .tx { flex: 1; }
.todo-item .del { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: 1.05rem; }
.strength-meter { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; }
.strength-fill { height: 100%; width: 0; border-radius: 99px; transition: .3s; background: var(--danger); }
.pw-out { display: flex; gap: 9px; align-items: center; padding: 14px 16px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); margin-top: 12px; }
.pw-out code { flex: 1; direction: ltr; text-align: left; font-size: 1.05rem; font-weight: 700; word-break: break-all; color: var(--a); }

/* ---------- footer v2 ---------- */
.footer-v2 { border-top: 1px solid var(--line); padding: 48px 5% 26px; background: rgba(8,12,22,.5); }
html.light .footer-v2 { background: rgba(255,255,255,.6); }
.footer-v2 .fv-grid { max-width: 1180px; margin: 0 auto 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
.footer-v2 .fv-brand { font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-v2 .fv-brand .brand-mark { width: 30px; height: 30px; font-size: 1rem; }
.footer-v2 p { color: var(--muted); font-size: .86rem; line-height: 1.9; margin: 0 0 12px; max-width: 300px; }
.footer-v2 h4 { margin: 0 0 13px; font-size: .95rem; }
.footer-v2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-v2 ul a { color: var(--muted); font-size: .88rem; transition: color .15s; }
.footer-v2 ul a:hover { color: var(--a); }
.footer-v2 .news-row { display: flex; gap: 8px; margin-top: 10px; }
.footer-v2 .news-row input { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: inherit; font-size: .85rem; outline: none; }
html.light .footer-v2 .news-row input { background: #fff; }
.footer-v2 .news-row button { border: 0; border-radius: 11px; padding: 11px 16px; background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; font-weight: 800; cursor: pointer; font-family: inherit; }
.footer-v2 .fv-bottom { max-width: 1180px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
@media (max-width: 860px) { .footer-v2 .fv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-v2 .fv-grid { grid-template-columns: 1fr; } }

/* ---------- misc v5 ---------- */
.stat-tile .vip-tag { color: #ffc861; font-size: .6rem; display: block; }
a.btn, .btn { white-space: nowrap; }
.header-actions .profile-btn { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .header-actions .profile-btn span[data-profile-name] { display: none; } }

/* ---------- nav-extra: drawer-only links ---------- */
@media (min-width: 901px) {
  .main-nav a.nav-extra { display: none; }
}

/* ============================================================
   LumiTek 0.6 — animations, stats strip, store coins, AI, games
   ============================================================ */

/* ---------- background orbs + body motion ---------- */
body{position:relative;overflow-x:hidden}
body::before,body::after{content:"";position:fixed;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.16;pointer-events:none}
body::before{width:520px;height:520px;background:radial-gradient(circle,var(--a),transparent 65%);top:-160px;left:-120px;animation:orbA 22s ease-in-out infinite alternate}
body::after{width:620px;height:620px;background:radial-gradient(circle,var(--b),transparent 65%);bottom:-220px;right:-160px;animation:orbB 26s ease-in-out infinite alternate}
html.light body::before,html.light body::after{opacity:.12}
@keyframes orbA{from{transform:translate(0,0) scale(1)}to{transform:translate(70px,50px) scale(1.15)}}
@keyframes orbB{from{transform:translate(0,0) scale(1.08)}to{transform:translate(-60px,-40px) scale(.94)}}

/* ---------- scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.3,1),transform .7s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:none}

/* ---------- hero upgrades ---------- */
.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:99px;font-size:.78rem;font-weight:800;color:var(--a);background:rgba(118,230,195,.08);border:1px solid rgba(118,230,195,.3);margin-bottom:14px;animation:badgeGlow 3s ease-in-out infinite}
@keyframes badgeGlow{0%,100%{box-shadow:0 0 0 rgba(118,230,195,0)}50%{box-shadow:0 0 22px rgba(118,230,195,.25)}}
.hero h1{animation:riseIn .8s cubic-bezier(.2,.7,.3,1) both}
.hero .lead{animation:riseIn .8s .12s cubic-bezier(.2,.7,.3,1) both}
.hero .buttons{animation:riseIn .8s .22s cubic-bezier(.2,.7,.3,1) both}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.visual .core{animation:corePulse 4.5s ease-in-out infinite;box-shadow:0 0 90px rgba(118,230,195,.22)}
@keyframes corePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
.visual .ring{animation:ringSpin 26s linear infinite;border-style:dashed;opacity:.7}
.visual .ring.r2{animation-duration:40s;animation-direction:reverse}
@keyframes ringSpin{to{transform:rotate(360deg)}}
.visual .float{animation:floaty 5.5s ease-in-out infinite}
.visual .float.f2{animation-delay:.9s}
.visual .float.f3{animation-delay:1.8s}
.visual .float[style]{animation-delay:2.6s}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}

/* ---------- buttons shine ---------- */
.primary-btn,.btn.primary,.gamebutton{position:relative;overflow:hidden}
.primary-btn::after,.btn.primary::after,.gamebutton::after{content:"";position:absolute;top:0;height:100%;width:42px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);left:-70px;transform:skewX(-18deg);animation:shine 4.5s ease-in-out infinite}
@keyframes shine{0%,60%{left:-70px}90%,100%{left:130%}}

/* ---------- cards hover glow ---------- */
.card,.game-card,.item-card,.news-card{will-change:transform}
.card:hover{border-color:rgba(118,230,195,.45);box-shadow:0 14px 44px rgba(0,0,0,.3),0 0 24px rgba(118,230,195,.07)}
.game-card:hover{border-color:rgba(118,230,195,.5);box-shadow:0 14px 40px rgba(0,0,0,.28),0 0 26px rgba(118,230,195,.1)}
.game-card h2{margin:8px 0 4px;font-size:1.12rem}
.gc-cat{display:inline-block;font-size:.62rem;font-weight:900;padding:3px 9px;border-radius:99px;background:rgba(124,167,255,.14);color:var(--b);letter-spacing:.4px}
.gc-best{margin-top:10px;font-size:.78rem;font-weight:800;color:#ffc861}

/* ---------- stats strip (homepage) ---------- */
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:6px 0 10px}
.stats-strip .stat{padding:20px 12px;text-align:center;border-radius:20px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(118,230,195,.06),rgba(124,167,255,.05));animation:statIn .7s cubic-bezier(.2,.7,.3,1) both}
.stats-strip .stat:nth-child(2){animation-delay:.08s}
.stats-strip .stat:nth-child(3){animation-delay:.16s}
.stats-strip .stat:nth-child(4){animation-delay:.24s}
@keyframes statIn{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
.stats-strip b{display:block;font-size:2.3rem;font-weight:900;background:linear-gradient(120deg,var(--a),var(--b));-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1.2}
.stats-strip span{font-size:.78rem;color:var(--muted);font-weight:700}

/* ---------- search results ---------- */
.search-results mark{background:none;color:var(--a);font-weight:900}
.search-results a.sel{background:rgba(118,230,195,.1)}
.search-results .sr-tag{flex:0 0 auto;align-self:center;font-size:.6rem;font-weight:900;padding:3px 8px;border-radius:99px;background:rgba(177,140,255,.16);color:#b18cff;white-space:nowrap}

/* ---------- store v0.6 ---------- */
.it-type-tag{font-size:.62rem;color:var(--muted);font-weight:700;margin-top:2px}
.item-card:hover{border-color:rgba(118,230,195,.5);box-shadow:0 14px 40px rgba(0,0,0,.3),0 0 26px rgba(118,230,195,.08)}
.reward-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.reward-card{padding:22px;border-radius:20px;border:1px solid rgba(255,201,97,.28);background:linear-gradient(150deg,rgba(255,201,97,.07),rgba(255,255,255,.02));text-align:center}
.reward-card .r-icon{font-size:34px;display:inline-block;animation:floaty 5s ease-in-out infinite}
.reward-card h4{margin:8px 0 4px}
.reward-card p{font-size:.82rem;color:var(--muted);margin:0 0 12px}

/* ---------- games hub ---------- */
.store-tabs{scrollbar-width:none}
.store-tabs::-webkit-scrollbar{display:none}

/* ---------- shooter / new games ---------- */
.sh-hint{font-size:.78rem;color:var(--muted);margin-top:10px}
.snake-pad{display:grid;grid-template-columns:repeat(3,64px);gap:8px;justify-content:center;margin-top:14px}
.snake-pad button{padding:15px 0;border-radius:14px;border:1px solid var(--line);background:var(--surface2);color:inherit;font-size:1.05rem;font-weight:900;cursor:pointer;transition:.15s}
.snake-pad button:hover{border-color:var(--a)}
.snake-pad button:active{transform:scale(.94)}

/* ---------- tools ---------- */
.calc-grid .card label{display:block;font-size:.8rem;color:var(--muted);margin:10px 0 4px}
.result{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);line-height:1.9}
.amount-input{width:100%;padding:11px 13px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;outline:none;font-size:.95rem}
.amount-input:focus{border-color:var(--a)}
.select{width:100%;padding:11px 13px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:var(--surface2);color:inherit;outline:none}
.stat-tile b{word-break:break-word}
#calGrid button:hover{border-color:var(--a)!important;transform:translateY(-1px)}
#calGrid button{transition:.15s}

/* ---------- AI page ---------- */
#aiChat .msg.bot{border-color:rgba(177,140,255,.22)}
#aiStatus{font-size:.8rem;color:var(--a);font-weight:800}

/* ---------- sports standings ---------- */
.stand-table{width:100%;border-collapse:collapse;font-size:.86rem}
.stand-table th,.stand-table td{padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.07);text-align:center}
.stand-table th{color:var(--muted);font-size:.7rem;font-weight:800}
.stand-table td.team{text-align:right;font-weight:800}
.stand-table tr.top3 td{color:var(--a);font-weight:800}
.stand-league-title{margin:22px 0 8px;font-size:1.02rem;font-weight:900;color:var(--a)}
.sched-item{display:flex;gap:12px;align-items:center;padding:13px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);margin-bottom:9px;flex-wrap:wrap}
.sched-item .sc-when{font-size:.72rem;color:var(--muted);min-width:120px}
.sched-item .sc-teams{font-weight:800;flex:1}
.sched-item .sc-league{font-size:.68rem;color:var(--b);font-weight:800}

/* ---------- light theme fixes for new bits ---------- */
html.light .hero-badge{background:rgba(16,160,120,.08)}
html.light .stats-strip .stat{background:linear-gradient(160deg,rgba(16,160,120,.06),rgba(60,110,220,.05))}
html.light .stats-strip b{filter:none}

/* ---------- responsive ---------- */
@media(max-width:800px){
  .stats-strip{grid-template-columns:repeat(2,1fr)}
  .reward-row{grid-template-columns:1fr}
  .calc-grid{grid-template-columns:1fr!important}
  .visual{display:none}
}

/* ---------- reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important}
  .reveal{opacity:1;transform:none}
}

/* ============================================================
   Lumitek 0.7 — header brand (logo + wordmark), changelog,
   checkout gateway, package alignment, sportek, scroll-lock,
   animations
   ============================================================ */

/* ---------- header brand: LT logo + LUMITEK wordmark ---------- */
.brand{gap:11px}
.brand .brand-logo{width:58px;height:58px;object-fit:contain;display:block;filter:drop-shadow(0 0 14px rgba(56,150,255,.5))}
.brand .brand-word{font-family:'Orbitron',Inter,'Segoe UI',sans-serif;font-weight:600;font-size:1.16rem;letter-spacing:.34em;text-transform:uppercase;color:var(--text);line-height:1;transform:translateY(1px)}
.footer-v2 .fv-brand .brand-logo{width:40px;height:40px}
.footer-v2 .fv-brand .brand-word{font-size:1rem}
html.light .brand .brand-word,html.light .footer-v2 .fv-brand .brand-word{color:#0c1424}
@media(max-width:560px){.brand .brand-word{font-size:.95rem;letter-spacing:.24em}.brand .brand-logo{width:46px;height:46px}}

/* ---------- changelog panel (header) ---------- */
.changelog-panel{width:min(380px,calc(100vw - 30px))}
.changelog-panel .cl-item{padding:10px 4px;border-bottom:1px dashed rgba(255,255,255,.08)}
.changelog-panel .cl-item:last-of-type{border-bottom:0}
.cl-top{display:flex;align-items:center;gap:8px}
.cl-v{display:inline-block;padding:2px 10px;border-radius:99px;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;font-weight:900;font-size:.72rem}
.cl-new{display:inline-block;padding:2px 9px;border-radius:99px;background:rgba(255,92,122,.18);color:#ff8ba0;font-weight:900;font-size:.66rem}
.cl-desc{margin:7px 0 0;font-size:.78rem;line-height:1.9;color:var(--muted)}
.cl-all{display:block;margin-top:10px;font-size:.8rem;font-weight:800;color:var(--a);text-align:center}
html.light .changelog-panel .cl-item{border-bottom-color:rgba(20,30,50,.1)}

/* ---------- checkout (درگاه پرداخت) ---------- */
.ck-modal{z-index:200}
.ck-card{width:min(470px,100%)}
.ck-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.ck-head h3{margin:0}
.ck-icon{width:46px;height:46px;display:grid;place-items:center;font-size:24px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.ck-sub{margin:2px 0 0;font-size:.8rem}
.ck-amount-row{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-radius:14px;background:rgba(255,201,97,.08);border:1px dashed rgba(255,201,97,.4);font-weight:800}
.ck-amount-row b{color:#ffc861;font-size:1.15rem}
.ck-label{display:block;margin:16px 0 8px;font-size:.8rem;font-weight:800;opacity:.75}
.ck-gates{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ck-gate{padding:13px;border-radius:14px;border:1.5px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-family:inherit;display:flex;flex-direction:column;gap:3px;transition:.2s}
.ck-gate b{font-size:.95rem}
.ck-gate small{opacity:.55;font-size:.7rem}
.ck-gate:hover{border-color:rgba(118,230,195,.5)}
.ck-gate.active{border-color:var(--a);background:rgba(118,230,195,.09);box-shadow:0 0 0 3px rgba(118,230,195,.12)}
.ck-note{margin:14px 0;font-size:.74rem;line-height:1.9}
.ck-spinner{width:52px;height:52px;margin:0 auto 16px;border-radius:50%;border:4px solid rgba(255,255,255,.12);border-top-color:var(--a);animation:ckspin .8s linear infinite}
@keyframes ckspin{to{transform:rotate(360deg)}}
.ck-check{width:74px;height:74px;margin:6px auto 14px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--a),var(--b));color:#061018;font-size:38px;font-weight:900;animation:ckpop .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes ckpop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.ck-txid{margin-top:12px;padding:11px 14px;border-radius:12px;background:rgba(255,255,255,.05);border:1px dashed rgba(255,255,255,.16);font-size:.85rem}
.ck-txid b{color:var(--a);letter-spacing:.06em}
html.light .ck-icon,html.light .ck-txid{background:#f2f6fc;border-color:rgba(20,30,50,.12)}

/* ---------- store: هم‌راستا شدن کارت‌های خرید ---------- */
.pkg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;align-items:stretch}
.pkg-card{position:relative;padding:24px 16px 18px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);text-align:center;transition:.2s;display:flex;flex-direction:column;gap:6px;align-items:stretch}
.pkg-card .primary-btn{margin-top:auto}
.pkg-grid .pkg-chip{position:absolute;top:-10px;inset-inline-start:50%;transform:translateX(50%);padding:3px 12px;border-radius:99px;font-size:.66rem;font-weight:900;color:#061018;background:linear-gradient(135deg,var(--a),var(--b));white-space:nowrap}
[dir="ltr"] .pkg-grid .pkg-chip{transform:translateX(-50%)}
.pkg-grid .pkg-chip.best{background:linear-gradient(135deg,#ffc861,#ffe29a)}
.reward-row{display:grid;grid-template-columns:1fr 1fr;gap:13px;align-items:stretch}
.reward-card{min-width:0}
@media(max-width:820px){.pkg-grid{grid-template-columns:repeat(2,1fr)}.reward-row{grid-template-columns:1fr}}
@media(max-width:400px){.pkg-grid{grid-template-columns:1fr}}

/* ---------- AI plan cards (store) ---------- */
.ai-plan-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;align-items:stretch;margin-top:12px}
.ai-plan{position:relative;display:flex;flex-direction:column;gap:6px;padding:22px 16px 16px;border-radius:18px;border:1px solid rgba(178,140,255,.25);background:linear-gradient(160deg,rgba(178,140,255,.08),rgba(255,255,255,.03));text-align:center;transition:.2s}
.ai-plan:hover{transform:translateY(-4px);border-color:rgba(178,140,255,.6)}
.ai-plan .pk-icon{font-size:32px}
.ai-plan .pk-name{font-weight:900}
.ai-plan .pk-qty{font-size:.82rem;color:var(--muted)}
.ai-plan .pk-price{font-weight:900;color:var(--a)}
@media(max-width:820px){.ai-plan-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- game scroll lock (صفحه حین بازی ثابت می‌ماند) ---------- */
html.game-locked,html.game-locked body{overflow:hidden!important;overscroll-behavior:none}
body[data-game] canvas{touch-action:none}
body[data-game] .snake-pad{touch-action:none}

/* ---------- sportek ---------- */
.sp-sport-row,.sp-league-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.sp-sport-chip{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:99px;border:1.5px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-weight:800;font-family:inherit;font-size:.88rem;transition:.2s}
.sp-sport-chip:hover{border-color:var(--a);transform:translateY(-2px)}
.sp-sport-chip.active{background:linear-gradient(135deg,var(--a),var(--b));color:#061018;border-color:transparent;box-shadow:0 6px 18px rgba(118,230,195,.25)}
.sp-league-chip{padding:8px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:inherit;cursor:pointer;font-weight:700;font-family:inherit;font-size:.8rem;transition:.2s}
.sp-league-chip:hover{border-color:var(--a)}
.sp-league-chip.active{background:rgba(118,230,195,.12);border-color:var(--a);color:var(--a)}
.sp-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:14px 0 18px}
.sp-upd-badge{font-size:.75rem;opacity:.65}
.demo-badge{display:inline-block;padding:3px 10px;border-radius:99px;background:rgba(255,201,97,.12);border:1px solid rgba(255,201,97,.35);color:#ffc861;font-size:.68rem;font-weight:900}
.stand-table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden}
.stand-table th,.stand-table td{padding:10px 12px;text-align:center;border-bottom:1px solid rgba(255,255,255,.06);font-size:.85rem}
.stand-table th{background:rgba(255,255,255,.04);color:var(--muted);font-size:.72rem}
.stand-table td.team{text-align:start;font-weight:800}
.stand-table tr.top3 td:first-child{color:#ffc861;font-weight:900}
.stand-league-title{margin:22px 0 10px;font-size:1.05rem;display:flex;align-items:center;gap:8px}
.sched-item{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:13px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);margin-bottom:8px;font-size:.88rem;flex-wrap:wrap}
.sc-when{color:var(--a);font-weight:800;font-size:.8rem}
.sc-league{opacity:.6;font-size:.74rem}
html.light .stand-table,html.light .sched-item{background:#f6f9fd;border-color:rgba(20,30,50,.1)}
html.light .stand-table th{background:#eef3fa}

/* ---------- v0.7 animations & polish ---------- */
.hero .core img{width:152px;height:152px;object-fit:contain;filter:drop-shadow(0 0 30px rgba(56,150,255,.6));animation:corefloat 5s ease-in-out infinite}
@keyframes corefloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero{position:relative;overflow:visible}
.hero::before{content:"";position:absolute;inset:-40% -20% auto;height:130%;background:
  radial-gradient(42% 55% at 18% 30%,rgba(124,167,255,.13),transparent 70%),
  radial-gradient(38% 50% at 82% 22%,rgba(118,230,195,.1),transparent 70%);
  filter:blur(6px);pointer-events:none;animation:aurora 11s ease-in-out infinite alternate}
@keyframes aurora{from{transform:translateX(-2.5%) scale(1)}to{transform:translateX(2.5%) scale(1.05)}}
.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 15px;border-radius:99px;border:1px solid rgba(118,230,195,.35);background:rgba(118,230,195,.07);color:var(--a);font-weight:800;font-size:.8rem;position:relative;overflow:hidden}
.hero-badge::after{content:"";position:absolute;top:0;bottom:0;width:46%;inset-inline-start:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent);animation:badgeshine 3.4s ease-in-out infinite}
@keyframes badgeshine{0%{inset-inline-start:-60%}55%,100%{inset-inline-start:130%}}
.stat b{background:linear-gradient(135deg,var(--a),var(--b));-webkit-background-clip:text;background-clip:text;color:transparent}
.new-chip{animation:newglow 2.2s ease-in-out infinite}
@keyframes newglow{0%,100%{box-shadow:0 0 0 0 rgba(118,230,195,.35)}50%{box-shadow:0 0 14px 3px rgba(118,230,195,.28)}}
::selection{background:rgba(118,230,195,.35)}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-thumb{background:#233250;border-radius:99px;border:3px solid var(--bg)}
::-webkit-scrollbar-thumb:hover{background:#31456e}
::-webkit-scrollbar-track{background:transparent}
html.light ::-webkit-scrollbar-thumb{background:#c3cfe2;border-color:#f4f7fb}

@media(prefers-reduced-motion:reduce){
  .hero::before,.hero-badge::after,.new-chip,.hero .core img{animation:none!important}
}

/* ---------- v0.7: calculator (تک ماشین‌حساب مهندسی) ---------- */
.calc-display-wrap{position:relative}
.calc-preview{min-height:22px;text-align:right;font-size:.85rem;color:var(--muted);padding:0 6px 2px;font-variant-numeric:tabular-nums}
.sci-keys{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:8px}
.sci-keys button{height:40px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.045);color:var(--muted);font-size:.82rem;font-weight:700;cursor:pointer;font-family:inherit;transition:.15s}
.sci-keys button:hover{border-color:var(--a);color:var(--text)}
.keys-v{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.keys-v button{height:54px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:17px;font-weight:700;cursor:pointer;font-family:inherit;transition:.15s}
.keys-v button:hover{border-color:#536b94;transform:translateY(-1px)}
.keys-v button:active{transform:scale(.96)}
.keys-v .op{color:var(--a);background:rgba(118,230,195,.08);font-size:20px}
.keys-v .eq{background:linear-gradient(135deg,var(--a),var(--b));color:#061018;font-size:22px}
.active-mode{border-color:var(--a)!important;color:var(--a)!important}
@media(max-width:420px){.keys-v button{height:48px}.sci-keys button{height:36px;font-size:.74rem}}

/* ---------- v0.7: AI chat formatting ---------- */
.msg.bot p:last-child{margin-bottom:0!important}
.msg.bot pre{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;overflow-x:auto;font-size:.8rem;margin:8px 0}
.msg.bot code{background:rgba(118,230,195,.12);color:var(--a);border-radius:6px;padding:1px 6px;font-size:.82em}
.ai-actions{display:flex;gap:8px;margin-top:2px}
html.light .msg.bot pre{background:#f0f4fa;border-color:rgba(20,30,50,.1)}


/* ---------- v0.8: footer social (Iranian networks) ---------- */
.fv-social{grid-column:1/-1;border-top:1px dashed rgba(255,255,255,.09);padding-top:16px;margin-top:4px}
html.light .fv-social{border-top-color:rgba(20,30,50,.1)}
.fv-social-title{font-size:.82rem;font-weight:700;opacity:.75;margin-bottom:10px}
.fv-social-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.fv-social-row a{display:inline-grid;place-items:center;width:48px;height:48px;text-decoration:none;background:var(--card2);border:1px solid var(--line);border-radius:14px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s}
.fv-social-row a:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 8px 18px rgba(0,0,0,.22);border-color:var(--a)}
.fv-social-row a img{width:30px;height:30px;display:block}
.fv-social-row a svg{border-radius:9px}

/* ---------- v0.8: hub title breathing room ---------- */
.hub-title{margin:6px 0 10px!important}

/* ---------- v0.8: auth modal upgrade ---------- */
.auth-brand{display:flex;align-items:center;gap:10px;justify-content:center;margin-bottom:14px}
.auth-brand-logo{font-size:1.5rem;filter:drop-shadow(0 0 10px rgba(56,150,255,.55))}
.auth-oauth-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
@media(max-width:420px){.auth-oauth-row{grid-template-columns:1fr}}

/* ---------- v0.8: signed-out header button (ورود / ثبت‌نام) ---------- */
.profile-btn.signedout{background:linear-gradient(135deg,rgba(118,230,195,.16),rgba(124,167,255,.16));border-color:rgba(118,230,195,.55);color:var(--a);font-weight:900;box-shadow:0 0 14px rgba(118,230,195,.15);animation:signPulse 2.6s ease-in-out infinite}
.profile-btn.signedout:hover{border-color:var(--a);box-shadow:0 0 20px rgba(118,230,195,.28)}
@keyframes signPulse{0%,100%{box-shadow:0 0 10px rgba(118,230,195,.12)}50%{box-shadow:0 0 22px rgba(118,230,195,.3)}}

/* ---------- v0.8: tutorial read-reward ---------- */
.ms-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid var(--line);background:var(--card2);color:var(--text);font-weight:700;font-size:.86rem;cursor:pointer;transition:border-color .2s,transform .15s}
.ms-btn:hover{border-color:#7FBA00;transform:translateY(-1px)}
.ms-solid{background:#e8e8e8;color:#111;border-color:#d0d0d0}
.guest-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px 14px;border-radius:12px;border:1px dashed var(--a);background:rgba(118,230,195,.06);color:var(--text);font-weight:700;font-size:.82rem;cursor:pointer;margin-bottom:12px;transition:background .2s}
.guest-btn:hover{background:rgba(118,230,195,.14)}
.auth-pass-wrap{position:relative;display:block}
.auth-pass-wrap input{width:100%;padding-left:42px}
html[dir="rtl"] .auth-pass-wrap input{padding-left:12px;padding-right:42px}
.auth-eye{position:absolute;top:50%;transform:translateY(-50%);right:10px;background:none;border:none;cursor:pointer;font-size:1rem;opacity:.7}
html[dir="rtl"] .auth-eye{right:auto;left:10px}
.auth-ms-lead{font-size:.86rem;font-weight:700;margin:4px 0 12px}
.modal-card input{margin-bottom:10px}

/* ---------- v0.8: typing test text ---------- */
#tyText span.ok{color:#4cd97b}
#tyText span.bad{color:#ff6b6b;text-decoration:underline}
#tyText span.cur{background:var(--a);color:#061018;border-radius:3px;animation:curblink 1s steps(2) infinite}
@keyframes curblink{50%{opacity:.55}}

/* ============================================================
   Lumitek 0.9 additions
   ============================================================ */

/* ---- EN mode: English font (numbers included) ---- */
html[lang="en"] body, html[lang="en"] button, html[lang="en"] input,
html[lang="en"] select, html[lang="en"] textarea { font-family: Inter, 'Segoe UI', Arial, sans-serif; }

/* ---- Unified page head (همه صفحات مثل صفحه بازی‌ها) ---- */
main.page { padding: 34px 5% 46px; }
.page-head {
  background: linear-gradient(145deg, rgba(124,167,255,.09), rgba(118,230,195,.05));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 22px;
  margin: 0 4px 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}
.page-head .eyebrow { margin: 0 0 8px; }
.page-head h1 { margin: 0 !important; font-size: clamp(25px, 3.6vw, 36px); line-height: 1.45; letter-spacing: 0 !important; }
.page-head p.muted { margin: 8px 0 0; max-width: 760px; }
.page-head .store-top { margin-top: 12px; }

/* ---- FAQ (سوالات متداول) ---- */
.faq-list { display: grid; gap: 12px; max-width: 940px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.faq-item:hover { border-color: rgba(124,167,255,.4); }
.faq-item[open] { border-color: rgba(118,230,195,.5); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 800; font-size: .95rem; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { margin-inline-start: auto; color: var(--a); font-style: normal; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--muted); line-height: 2; font-size: .88rem; }

/* ---- Floating support widget (پشتیبانی شناور) ---- */
.sup-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; font-size: 24px;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 0 6px rgba(118,230,195,.12);
  transition: transform .2s;
}
.sup-fab:hover { transform: translateY(-3px) scale(1.04); }
.sup-fab .sup-i, .sup-fab .sup-x { grid-area: 1 / 1; transition: opacity .2s, transform .25s; }
.sup-fab .sup-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.sup-fab.on .sup-i { opacity: 0; transform: rotate(90deg) scale(.6); }
.sup-fab.on .sup-x { opacity: 1; transform: none; }
.sup-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(118,230,195,.4); animation: supPulse 2.4s infinite; }
.sup-fab.on::after { display: none; }
@keyframes supPulse { 0% { transform: scale(.9); opacity: .9; } 70% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }

.sup-panel {
  position: fixed; bottom: 92px; right: 20px; z-index: 96;
  width: min(340px, calc(100vw - 24px)); height: min(470px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.sup-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.sup-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, rgba(124,167,255,.16), rgba(118,230,195,.1)); border-bottom: 1px solid rgba(255,255,255,.08); }
.sup-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.sup-head-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sup-head-t b { font-size: .9rem; }
.sup-head-t small { color: var(--muted); font-size: .68rem; }
.sup-full { color: var(--a); font-weight: 900; text-decoration: none; font-size: 1.05rem; padding: 4px 9px; border-radius: 8px; }
.sup-full:hover { background: rgba(118,230,195,.12); }
.sup-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.sup-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.9; white-space: pre-wrap; }
.sup-msg.bot { background: var(--surface2); border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; }
.sup-msg.user { background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; font-weight: 700; border-end-end-radius: 4px; align-self: flex-end; }
.sup-msg.typing i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: supDot 1.2s infinite; }
.sup-msg.typing i:nth-child(2) { animation-delay: .15s; }
.sup-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes supDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.sup-chips { display: flex; gap: 7px; padding: 0 12px 10px; overflow-x: auto; }
.sup-chips button { flex-shrink: 0; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font-size: .74rem; font-weight: 700; cursor: pointer; transition: border-color .15s, transform .15s; }
.sup-chips button:hover { border-color: var(--a); transform: translateY(-1px); }
.sup-input { display: flex; gap: 8px; padding: 11px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.sup-input input { flex: 1; min-width: 0; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: inherit; font-size: .84rem; }
.sup-input input:focus { outline: none; border-color: var(--a); }
.sup-input .primary-btn { padding: 10px 15px; font-size: .8rem; white-space: nowrap; }

/* ---- Changelog accordion (پنل هدر + صفحه تغییرات) ---- */
button.cl-top { width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; padding: 10px 6px; border-radius: 10px; transition: background .15s; }
button.cl-top:hover { background: rgba(124,167,255,.08); }
.cl-sum { flex: 1; min-width: 0; font-size: .8rem; font-weight: 700; line-height: 1.7; }
.cl-chev { color: var(--a); flex-shrink: 0; transition: transform .25s; font-size: .8rem; }
.cl-item.open > .cl-top .cl-chev { transform: rotate(180deg); }
.cl-body { display: none; padding: 2px 8px 12px 12px; }
.cl-item.open .cl-body { display: block; animation: clSlide .25s ease; }
@keyframes clSlide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cl-listT { font-size: .68rem; font-weight: 900; letter-spacing: 1px; color: var(--a); margin: 4px 0 7px; }
.cl-list { margin: 0; padding-inline-start: 18px; display: grid; gap: 5px; }
.cl-list li { font-size: .78rem; line-height: 1.85; color: var(--muted); }
.cl-list li::marker { color: var(--a); }

.versions-page { display: grid; gap: 14px; margin-top: 24px; }
.versions-page .cl-item { background: var(--surface); border: 1px solid var(--line) !important; border-radius: 16px; padding: 4px 18px; transition: border-color .2s, box-shadow .2s; }
.versions-page .cl-item.latest { border-color: rgba(255,209,102,.55) !important; box-shadow: 0 0 30px rgba(255,209,102,.08); }
.versions-page .cl-item:hover { border-color: rgba(124,167,255,.45) !important; }
.versions-page .cl-top { padding: 14px 2px; }
.versions-page .cl-sum { font-size: .93rem; }
.versions-page .cl-body { padding: 0 4px 18px; }

/* ---- Auth modal brand logo ---- */
img.auth-brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(56,150,255,.4)); }

/* ---- Social footer upgrade (شبکه‌های اجتماعی) ---- */
.fv-social { text-align: center; padding-top: 24px; margin-top: 16px; }
.fv-social-title { position: relative; display: inline-block; font-size: .95rem; font-weight: 900; margin-bottom: 18px; padding: 0 4px; }
.fv-social-title::before, .fv-social-title::after { content: ""; position: absolute; top: 50%; width: 42px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--a)); }
.fv-social-title::before { inset-inline-start: -54px; }
.fv-social-title::after { inset-inline-end: -54px; transform: scaleX(-1); }
.fv-social-row { justify-content: center; gap: 16px; }
.fv-social-row a { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.fv-social-row a svg { width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,.32); transition: transform .22s ease, box-shadow .22s ease; }
.fv-social-row a span { font-size: .74rem; font-weight: 800; color: var(--muted); transition: color .2s; }
.fv-social-row a:hover svg { transform: translateY(-5px) scale(1.07); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.fv-social-row a:hover span { color: var(--text); }

/* ---- Responsive polish (موبایل و تبلت) ---- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 26px; gap: 8px; }
  .hero .visual { height: 280px; }
  .hero .float { font-size: .72rem; padding: 6px 12px; }
  .page-head { padding: 20px 16px; margin: 0 2px 20px; }
  .page-head h1 { font-size: clamp(21px, 5vw, 30px); }
  .section { padding: 26px 0; }
  .stats-strip { flex-wrap: wrap; gap: 8px; }
  .stat { min-width: 42%; }
  .fv-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .sup-panel { bottom: 88px; }
  .faq-item summary { padding: 13px 14px; font-size: .88rem; }
  .chat-shell { padding: 18px; }
  .grid { gap: 12px; }
}
@media (max-width: 560px) {
  .hero .visual { height: 210px; }
  .core { width: 120px; height: 120px; }
  .core img { width: 110px; height: 110px; }
  .fv-grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; align-items: flex-start; gap: 10px; }
  .support { flex-direction: column; text-align: center; gap: 16px; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
  .sup-fab { width: 52px; height: 52px; bottom: 14px; right: 14px; font-size: 21px; }
  .sup-panel { bottom: 78px; right: 10px; }
  .fv-social-row { gap: 12px; }
  .fv-social-row a svg { width: 46px; height: 46px; }
  .modal-card { padding: 20px 16px; }
}

/* light theme touches */
.light .sup-panel { border-color: rgba(20,30,50,.12); box-shadow: 0 30px 70px rgba(20,30,50,.18); }
.light .page-head { background: linear-gradient(145deg, rgba(124,167,255,.1), rgba(118,230,195,.08)); }
.light .sup-input { background: rgba(20,30,50,.04); }
.light .fv-social-row a svg { box-shadow: 0 8px 20px rgba(20,30,50,.18); }

/* ---- v0.9: جلوگیری از اسکرول افقی (منوی موبایل off-canvas) ---- */
html, body { overflow-x: hidden; overflow-x: clip; }

/* ---- v0.9: رفع سرریز هیرو در موبایل ---- */
.hero > div { min-width: 0; }
.buttons { flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero h1 { font-size: clamp(30px, 8.5vw, 46px); letter-spacing: -1.5px; }
  .hero .lead { font-size: 15px; }
}

/* ============================================================
   Lumitek 1.0 additions
   ============================================================ */

/* ---- تیتر «همه چیز یکجا» کمی کوچک‌تر و موزون‌تر ---- */
.hero h1 { font-size: clamp(36px, 4.7vw, 60px); line-height: 1.12; }
@media (max-width: 820px) {
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
}

/* ---- چیپ شناور جدید: اخبار دیجیتال ---- */
.float.f4 { top: 300px; right: 22px; }
@media (max-width: 1080px) { .float.f4 { display: none; } }

/* ---- هدر شلوغ‌تر شد: فشرده‌سازی هوشمند ناوبری دسکتاپ ---- */
@media (min-width: 801px) and (max-width: 1220px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12.5px; }
}
@media (min-width: 801px) and (max-width: 980px) {
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 11.5px; letter-spacing: 0; }
}

/* ---- چرخ شانس: ظاهر دکمه اسپین ---- */
#wlSpin { min-width: 180px; }
.wk-hole-anim { animation: wkPop .18s ease; }
@keyframes wkPop { from { transform: scale(.86); } to { transform: scale(1); } }

/* ---- یادداشت سریع ---- */
#ntGrid .card p { overflow-wrap: anywhere; }

/* ============ Lumitek 1.1 ============ */
/* ربات ناز پشتیبانی — SVG داخل دکمه شناور */
.sup-fab .sup-i { display: flex; align-items: center; justify-content: center; }
.sup-fab .sup-i svg { display: block; }
.sup-fab:not(.on) .sup-i { animation: supBob 2.6s ease-in-out infinite; }
.sup-fab:hover:not(.on) .sup-i { animation-play-state: paused; }
@keyframes supBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* سنجش قدرت رمز عبور در ثبت‌نام */
.auth-strength { margin-top: 8px; }
.auth-strength-track { height: 6px; border-radius: 4px; background: rgba(124,167,255,.18); overflow: hidden; }
.auth-strength-track i { display: block; height: 100%; width: 0; border-radius: 4px; background: #ff5c7c; transition: width .25s, background .25s; }
.auth-strength span { display: block; margin-top: 5px; font-size: .72rem; font-weight: 800; opacity: .85; }

/* دکمه فعال حالت سریع AI */
.ghost-btn.active { border-color: var(--a); color: var(--a); background: rgba(118,230,195,.08); }

/* ============================================================
   Lumitek 1.2 — universal game bar, graphics uplift, leaderboard,
   headball, full-page article reader, auth buttons fix
   ============================================================ */

/* ---------- ۱) دکمه گوگل و مایکروسافت هماهنگ (رفع سفید روی سفید) ---------- */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card2, #1a2438); color: var(--text); font-weight: 700; font-family: inherit;
  font-size: .86rem; cursor: pointer; transition: border-color .2s, transform .15s;
}
.google-btn:hover { border-color: #4285F4; transform: translateY(-1px); }
.google-btn:active { transform: scale(.98); }
.google-btn:disabled { opacity: .55; cursor: wait; }
.google-btn svg { background: #fff; border-radius: 50%; padding: 2px; }
html.light .google-btn, html.light .ms-btn { background: #fff; }
html.light .google-btn:hover { border-color: #4285F4; }

/* ---------- ۲) نوار کنترل بازی‌ها (همه بازی‌ها) ---------- */
.lt-gamebar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 70;
  display: flex; gap: 4px; padding: 6px; border-radius: 99px;
  background: rgba(13, 20, 35, .88); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); box-shadow: 0 14px 44px rgba(0,0,0,.5);
}
.lt-gb-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 99px;
  background: transparent; color: var(--text); font-family: inherit; font-weight: 800; font-size: .85rem;
  cursor: pointer; transition: background .15s, color .15s, transform .1s;
}
.lt-gb-btn:hover { background: rgba(118,230,195,.12); color: var(--a); }
.lt-gb-btn:active { transform: scale(.94); }
.lt-gb-ico { font-size: 1rem; line-height: 1; }
.lt-gamebar.hinting { animation: ltGlow 1.6s ease-in-out 4; }
.lt-gamebar.hinting::after {
  content: "⬆ توقف، راهنما و تمام‌صفحه از این‌جا!"; position: absolute; bottom: calc(100% + 8px);
  left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 12px;
  background: var(--a); color: #061018; font-size: .78rem; font-weight: 900;
}
@keyframes ltGlow { 0%,100% { box-shadow: 0 14px 44px rgba(0,0,0,.5); } 50% { box-shadow: 0 0 0 4px rgba(118,230,195,.35), 0 14px 44px rgba(0,0,0,.5); } }
@media (max-width: 560px) { .lt-gb-lbl { display: none; } .lt-gb-btn { padding: 11px 13px; font-size: 1rem; } }

.lt-pause-veil {
  position: fixed; inset: 0; z-index: 90; display: none; place-items: center;
  background: rgba(5, 8, 16, .72); backdrop-filter: blur(6px);
}
.lt-pause-veil.show { display: grid; }
.lt-pause-card { text-align: center; padding: 38px 44px; border-radius: 24px; background: rgba(15,23,40,.97); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lt-pause-ico { font-size: 52px; animation: ltPulse 1.4s ease-in-out infinite; }
@keyframes ltPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
.lt-pause-card h3 { margin: 10px 0 4px; font-size: 1.4rem; }
.lt-pause-card .primary-btn { display: block; width: 100%; margin-top: 14px; }
.lt-pause-card .ghost-btn { display: inline-flex; width: 100%; margin-top: 8px; justify-content: center; }
html.lt-paused canvas { filter: saturate(.55) brightness(.8); }

/* ---------- راهنمای بازی ---------- */
.lt-help-modal .modal-card { max-width: 460px; }
.lt-help-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lt-help-emoji { font-size: 30px; }
.lt-help-head h3 { margin: 0; }
.lt-help-sec { padding: 11px 14px; border-radius: 13px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); margin-bottom: 8px; }
.lt-help-sec b { color: var(--a); font-size: .8rem; display: block; margin-bottom: 4px; }
.lt-help-sec p { margin: 0; font-size: .86rem; line-height: 1.9; }
.lt-help-note { font-size: .74rem; line-height: 1.9; }

/* ---------- ۳) ارتقای گرافیک همه بازی‌ها ---------- */
body[data-game], body:has(.gamebox) {
  background:
    radial-gradient(ellipse 60% 42% at 12% -6%, rgba(124,167,255,.16), transparent),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(118,230,195,.13), transparent),
    radial-gradient(ellipse 70% 50% at 50% 115%, rgba(177,140,255,.1), transparent),
    var(--bg);
}
.gamebox { position: relative; overflow: visible; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 38%), linear-gradient(150deg, #131c30, #0d1524); border: 1px solid rgba(124,167,255,.22); border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.09), 0 0 90px rgba(124,167,255,.07); }
.gamebox::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: linear-gradient(140deg, rgba(118,230,195,.5), rgba(124,167,255,.16) 34%, transparent 60%, rgba(118,230,195,.24)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.gamebox canvas { border-radius: 16px; box-shadow: 0 10px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06), 0 0 44px rgba(118,230,195,.06); max-width: 100%; height: auto; }
.gamebutton { padding: 15px 30px; border: 0; border-radius: 15px; background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; font-weight: 900; font-size: 1.02rem; font-family: inherit; cursor: pointer; box-shadow: 0 10px 26px rgba(118,230,195,.24), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s, box-shadow .2s, filter .2s; }
.gamebutton:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(118,230,195,.36), inset 0 1px 0 rgba(255,255,255,.35); filter: brightness(1.05); }
.gamebutton:active { transform: translateY(0) scale(.97); }
.coin-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 99px; background: rgba(8,13,24,.65); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); font-weight: 800; font-size: .84rem; }
.coin-pill b { color: var(--a); }
.gamebox .ghost-btn { transition: transform .15s, border-color .2s; }
.gamebox .ghost-btn:hover { transform: translateY(-1px); }

/* تمام‌صفحه بازی */
.gamebox:fullscreen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: 0; background: #0a101d; padding: 22px; overflow: auto; }
.gamebox:fullscreen canvas { max-height: 78vh; width: auto; }

/* ---------- ۴) لیدربرد ---------- */
.lb-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin: 22px 0 18px; }
.lb-pod { position: relative; padding: 20px 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface), #0c1322); text-align: center; transition: transform .2s, box-shadow .2s; }
.lb-pod:hover { transform: translateY(-4px); }
.lb-pod.p1 { order: 2; padding-bottom: 34px; border-color: rgba(255,200,97,.55); background: linear-gradient(160deg, rgba(255,200,97,.14), var(--surface) 55%); box-shadow: 0 0 44px rgba(255,200,97,.12); }
.lb-pod.p2 { order: 1; border-color: rgba(190,205,225,.4); }
.lb-pod.p3 { order: 3; border-color: rgba(205,127,50,.4); }
.lb-pod .lb-medal { font-size: 38px; }
.lb-pod .lb-av { font-size: 40px; margin-top: 4px; }
.lb-pod .lb-nm { font-weight: 900; margin-top: 4px; font-size: .95rem; }
.lb-pod .lb-xp { color: var(--a); font-weight: 900; font-size: 1.1rem; }
.lb-pod .lb-tier { font-size: .72rem; color: var(--muted); font-weight: 800; }
.lb-pod .lb-lvl { position: absolute; top: 10px; inset-inline-end: 12px; padding: 3px 10px; border-radius: 99px; font-size: .68rem; font-weight: 900; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.lb-rows { display: grid; gap: 9px; }
.lb-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.03), transparent); transition: transform .15s, border-color .2s; }
.lb-row:hover { transform: translateX(-3px); border-color: var(--a); }
html[dir="ltr"] .lb-row:hover { transform: translateX(3px); }
.lb-row.me { border-color: var(--a); background: linear-gradient(150deg, rgba(118,230,195,.1), transparent); box-shadow: 0 0 26px rgba(118,230,195,.08); }
.lb-row .lb-pos { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.06); font-weight: 900; font-size: .9rem; flex: none; }
.lb-row .lb-av2 { font-size: 24px; flex: none; }
.lb-row .lb-info { flex: 1; min-width: 0; text-align: start; }
.lb-row .lb-nm2 { font-weight: 800; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .lb-meta { font-size: .72rem; color: var(--muted); }
.lb-row .lb-xpbar2 { margin-top: 5px; height: 5px; border-radius: 3px; background: rgba(124,167,255,.14); overflow: hidden; }
.lb-row .lb-xpbar2 i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--a), var(--b)); }
.lb-row .lb-side { text-align: end; flex: none; }
.lb-row .lb-xpv { font-weight: 900; color: var(--a); }
.lb-row .lb-tier2 { display: inline-block; margin-top: 3px; padding: 2px 9px; border-radius: 99px; font-size: .64rem; font-weight: 900; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.lb-chip-me { padding: 2px 8px; border-radius: 99px; background: var(--a); color: #061018; font-size: .62rem; font-weight: 900; margin-inline-start: 6px; }
.lb-note { font-size: .74rem; color: var(--muted); margin-top: 12px; }

/* ---------- ۵) هدبال ---------- */
.hb-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hb-stage { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07); }
.hb-stage canvas { display: block; max-width: 100%; height: auto; touch-action: none; }
.hb-pad { display: flex; gap: 26px; justify-content: space-between; width: 100%; max-width: 560px; }
.hb-pad .hb-group { display: flex; gap: 8px; }
.hb-pad button { width: 62px; height: 62px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); color: var(--text); font-size: 1.3rem; font-weight: 900; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .1s, background .15s; }
.hb-pad button:active { transform: scale(.92); background: rgba(118,230,195,.2); border-color: var(--a); }
.hb-kick { width: 74px !important; background: linear-gradient(160deg, rgba(118,230,195,.22), rgba(118,230,195,.06)) !important; border-color: var(--a) !important; }

/* ---------- ۶) صفحه کامل مقاله ---------- */
.ar-hero { position: relative; border-radius: 26px; padding: 38px 34px; border: 1px solid rgba(124,167,255,.2); background: radial-gradient(ellipse 70% 100% at 85% 0%, rgba(118,230,195,.1), transparent), linear-gradient(150deg, #131c30, #0d1524); overflow: hidden; }
.ar-hero .tag { position: static; font-size: .72rem; }
.ar-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.55; letter-spacing: -.5px; margin: 12px 0 8px; }
.ar-hero .ar-lead2 { color: var(--muted); font-size: 1rem; margin: 0; }
.ar-meta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: .78rem; color: var(--muted); }
.ar-meta-row b { color: var(--a); }
/* نوار پیشرفت مطالعه — همیشه دقیقا زیر هدر، تمام‌عرض و کاملاً پیدا */
.ar-progress-wrap { position: fixed; top: 71px; left: 0; right: 0; z-index: 49; height: 4px; background: rgba(255,255,255,.08); border-radius: 0; overflow: hidden; margin: 0; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.ar-progress-wrap i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a), var(--b)); transition: width .1s linear; box-shadow: 0 0 8px rgba(118,230,195,.55); }
@media(max-width:560px){ .ar-progress-wrap { top: 67px; } }
.ar-toc { margin: 18px 0; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.ar-toc b { color: var(--a); font-size: .85rem; }
.ar-toc ol { margin: 8px 0 0; padding-inline-start: 18px; }
.ar-toc a { color: var(--muted); font-size: .84rem; line-height: 2.1; }
.ar-toc a:hover { color: var(--a); }
.ar-page-body { font-size: 1rem; line-height: 2.15; }
.ar-page-body h4 { margin: 30px 0 10px; font-size: 1.2rem; color: var(--a); scroll-margin-top: 70px; }
.ar-page-body p { margin: 10px 0; }
.ar-page-body ul, .ar-page-body ol { padding-inline-start: 22px; margin: 10px 0; }
.ar-page-body li { margin: 6px 0; }
.ar-page-body pre { background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: .82rem; direction: ltr; text-align: left; margin: 14px 0; font-family: ui-monospace, monospace; line-height: 1.85; }
html.light .ar-page-body pre { background: #eef3fa; border-color: rgba(20,30,50,.12); }
.ar-page-body code { background: rgba(118,230,195,.13); color: var(--a); border-radius: 6px; padding: 2px 7px; font-size: .85em; }
.ar-page-body blockquote { margin: 14px 0; padding: 12px 18px; border-inline-start: 3px solid var(--a); background: rgba(118,230,195,.06); border-radius: 0 12px 12px 0; }
.ar-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; }
.ar-nav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.ar-nav-card { padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .15s; min-width: 0; }
.ar-nav-card:hover { border-color: var(--a); transform: translateY(-2px); }
.ar-nav-card small { color: var(--muted); font-size: .7rem; }
.ar-nav-card b { display: block; font-size: .86rem; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.ar-rel-card { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .15s; cursor: pointer; }
.ar-rel-card:hover { border-color: var(--a); transform: translateY(-3px); }
.ar-rel-card .r-emoji { font-size: 24px; }
.ar-rel-card b { display: block; font-size: .85rem; margin-top: 6px; line-height: 1.8; }
.ar-rel-card small { color: var(--muted); font-size: .7rem; }
@media (max-width: 640px) { .ar-nav-row { grid-template-columns: 1fr; } .ar-hero { padding: 26px 20px; } }

/* ---------- ۷) اسکلت لودینگ اسپورتک ---------- */
.skel-card { border-radius: 16px; border: 1px solid var(--line); padding: 16px; background: var(--surface); }
.skel-line { height: 12px; border-radius: 6px; margin-bottom: 10px; background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.13) 50%, rgba(255,255,255,.06) 75%); background-size: 200% 100%; animation: ltShimmer 1.3s infinite; }
.skel-line.s2 { width: 55%; } .skel-line.s3 { width: 78%; }
@keyframes ltShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- ۸) ارتقای گرافیک کلی سایت ---------- */
.card { position: relative; }
.card:hover { border-color: rgba(118,230,195,.5); box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 34px rgba(118,230,195,.09); transform: translateY(-5px); }
.primary-btn { position: relative; overflow: hidden; }
.primary-btn:hover { filter: brightness(1.07); box-shadow: 0 10px 30px rgba(118,230,195,.25); }
.site-header { box-shadow: 0 8px 30px rgba(0,0,0,.18); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,167,255,.22); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(118,230,195,.4); }
:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; border-radius: 6px; }
html.light ::-webkit-scrollbar-thumb { background: rgba(80,110,160,.3); }
html.light .gamebox { background: linear-gradient(150deg, #ffffff, #f2f6fc); border-color: rgba(60,90,140,.22); box-shadow: 0 24px 70px rgba(30,50,90,.14); }
html.light .lt-gamebar { background: rgba(255,255,255,.94); border-color: rgba(20,30,50,.14); }
html.light .lt-pause-card { background: #fff; }
html.light .lt-help-sec { background: rgba(20,30,50,.035); border-color: rgba(20,30,50,.08); }
html.light .lb-pod, html.light .lb-row, html.light .ar-hero, html.light .ar-toc, html.light .ar-nav-card, html.light .ar-rel-card { background: #fff; }
html.light .ar-page-body pre { color: #172033; }
html.light .lb-row.me { background: linear-gradient(150deg, rgba(15,160,120,.08), #fff); }

/* کشورگشایی v1.2 — راهنمای شروع + ردیف سختی */
.cq-hint { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; text-align: center; padding: 22px; background: rgba(7, 11, 21, .88); backdrop-filter: blur(7px); border-radius: 12px; }
.cq-hint p { max-width: 430px; }
.cq-hint b { color: var(--a); }
#cqDiff button { font-size: .74rem; }
#cqDiff button.active { background: linear-gradient(135deg, var(--a), var(--b)); color: #061018; border-color: transparent; }

/* ============================================================
   Lumitek 0.1.3 — header alignment, flicker fix, game-over UI,
   store sections, popular tag, search upgrade
   ============================================================ */

/* ---------- ۱. هدر یک‌خطی: همه بخش‌ها در یک راستا ---------- */
@media (min-width: 901px) {
  .main-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; flex: 0 0 auto; }
  .main-nav a.nav-extra { display: none; }
}
@media (min-width: 901px) and (max-width: 1330px) {
  .site-header { gap: 12px; padding: 12px 14px; }
  .main-nav { gap: 5px; }
  .main-nav a { padding: 7px 8px; font-size: 12px; }
  .header-actions { gap: 5px; }
  .icon-btn { padding: 8px 9px; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .main-nav a { padding: 7px 6.5px; font-size: 11.3px; }
  .profile-btn { max-width: 130px; }
}
@media (min-width: 901px) and (max-width: 1010px) {
  .brand-word { display: none; }
}

/* ---------- ۲. رفع سرخی/چشمک ناخواسته با حرکت تند ماوس ---------- */
* { -webkit-tap-highlight-color: transparent; }
.header, .main-nav, .header-actions, .footer-v2, .card, .game-card, .item-card,
.store-tabs, .btn, .icon-btn, .profile-btn, .primary-btn, .ghost-btn, button,
.notice, .stat-tile, .src-chips, .sp-sport-chip, .ar-item, .ar-rel-card {
  -webkit-user-select: none; user-select: none;
}
.ar-body, .ar-page-body, article p, .lead, .muted, p, input, textarea,
.search-results, .faq-item, .cl-body {
  -webkit-user-select: text; user-select: text;
}
::selection { background: rgba(118, 230, 195, .35); color: inherit; }
html.light ::selection { background: rgba(20, 160, 125, .25); }
.site-header { transform: translateZ(0); will-change: transform; }
.main-nav a, .icon-btn, .profile-btn { transition: background .18s ease, border-color .18s ease, color .18s ease; }
img { -webkit-user-drag: none; user-drag: none; }

/* ---------- ۳. صفحه پایان بازی (LumitekGameOver) ---------- */
.lt-go {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center;
  background: rgba(4, 8, 16, .78); backdrop-filter: blur(10px); padding: 20px;
}
.lt-go.show { display: grid; animation: ltGoIn .25s ease; }
@keyframes ltGoIn { from { opacity: 0; } to { opacity: 1; } }
.lt-go-card {
  position: relative; width: min(430px, 100%); text-align: center; overflow: hidden;
  padding: 34px 26px 26px; border-radius: 26px; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, #131e33, #0b1322);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  animation: ltGoPop .32s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes ltGoPop { from { transform: scale(.82) translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.lt-go.win .lt-go-card { border-color: rgba(118, 230, 195, .45); box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(118,230,195,.15); }
.lt-go.lose .lt-go-card { border-color: rgba(255, 126, 145, .3); }
.lt-go-emoji { font-size: 64px; line-height: 1; margin-bottom: 8px; animation: ltGoFloat 2.4s ease-in-out infinite; }
@keyframes ltGoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lt-go-title { margin: 0 0 6px; font-size: 1.55rem; font-weight: 900; letter-spacing: -.5px; }
.lt-go.win .lt-go-title { color: #7cf7c4; }
.lt-go.lose .lt-go-title { color: #ffb3c0; }
.lt-go-sub { font-size: .88rem; margin: 0 0 14px; }
.lt-go-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 0 0 14px; }
.lt-go-stats div { padding: 10px 8px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.lt-go-stats span { display: block; font-size: .68rem; opacity: .65; }
.lt-go-stats b { display: block; font-size: 1.06rem; font-weight: 900; margin-top: 3px; }
.lt-go-reward { min-height: 1.2em; font-size: .84rem; font-weight: 800; color: #ffc861; margin: 0 0 16px; }
.lt-go-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.lt-go-confetti {
  position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 3px; opacity: .95;
  animation: ltGoFall 2.1s ease-in forwards; pointer-events: none;
}
@keyframes ltGoFall { to { transform: translateY(480px) rotate(540deg); opacity: 0; } }
html.light .lt-go-card { background: linear-gradient(160deg, #ffffff, #eef3fa); border-color: rgba(15,25,50,.12); }
html.light .lt-go-stats div { background: rgba(15,25,50,.05); border-color: rgba(15,25,50,.08); }

/* ---------- ۴. سرفصل دسته‌ها در فروشگاه ---------- */
.store-group-title {
  grid-column: 1 / -1; margin: 14px 0 2px; padding-inline-start: 4px;
  font-size: 1rem; font-weight: 900; color: var(--a); display: flex; align-items: center; gap: 8px;
}
.store-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(118,230,195,.4), transparent); }
html.light .store-group-title { color: #0d8f72; }

/* ---------- ۵. نشان «محبوب» ---------- */
.popular-chip {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 99px; font-size: .68rem; font-weight: 900; letter-spacing: .3px;
  background: linear-gradient(135deg, #ff9350, #ff5c8a); color: #fff;
  box-shadow: 0 4px 14px rgba(255, 110, 100, .35);
  animation: popGlow 2.2s ease-in-out infinite;
}
@keyframes popGlow { 0%, 100% { box-shadow: 0 4px 14px rgba(255,110,100,.35); } 50% { box-shadow: 0 4px 22px rgba(255,110,100,.6); } }
.game-card { position: relative; }

/* ---------- ۶. ارتقای جستجو ---------- */
.search-results { max-height: 60vh; overflow-y: auto; }
.search-results a { align-items: center; padding: 11px 12px; border-radius: 12px; }
.search-results a:hover, .search-results a.sel { background: rgba(118, 230, 195, .1); }
.search-results .sr-tag {
  flex: 0 0 auto; opacity: .8; font-size: .7rem; font-weight: 800;
  padding: 3px 9px; border-radius: 99px; background: rgba(118, 230, 195, .12); color: var(--a);
}
.search-hint { padding: 10px 12px 6px; font-size: .78rem; color: var(--muted); }
.search-hint a { color: var(--a); font-weight: 800; }

/* ---------- ۷. متن به گفتار: چینش خودکار ---------- */
#ttsText { transition: none; }
#ttsText[dir="ltr"] { direction: ltr; text-align: left; font-family: Inter, Tahoma, sans-serif; }
#ttsText[dir="rtl"] { direction: rtl; text-align: right; font-family: 'Shabnam', Tahoma, sans-serif; }
.tts-preview { min-height: 44px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); font-size: .92rem; }
.tts-preview[dir="ltr"] { direction: ltr; text-align: left; }
.tts-preview[dir="rtl"] { direction: rtl; text-align: right; }

/* ---------- هدر فشرده: همه بخش‌ها همیشه در یک سطر ---------- */
@media (min-width: 901px) and (max-width: 1440px) {
  .brand-word { display: none; }
  .header-actions .profile-btn span[data-profile-name] { display: none; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .main-nav a.nav-mid { display: none; }
}
@media (min-width: 901px) and (max-width: 1010px) {
  .main-nav a.nav-mid2 { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ============================================================
   Lumitek v0.2.0 — header fix, tools categories, donate widget,
   better graphics, RTL/LTR balance
   ============================================================ */

/* ---------- ۱. هدر: اندازه بهینه برای فارسی و انگلیسی ---------- */
.site-header {
  gap: 14px !important;
  padding: 10px 18px !important;
}
.main-nav {
  gap: 5px !important;
}
.main-nav a {
  padding: 7px 11px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  letter-spacing: 0 !important;
  border-radius: 9px !important;
  transition: background .15s, color .15s, border-color .15s !important;
}
.main-nav a:hover {
  background: rgba(118,230,195,.14) !important;
  border-color: rgba(118,230,195,.35) !important;
  color: var(--a) !important;
}
.main-nav a.active {
  background: rgba(118,230,195,.18) !important;
  border-color: rgba(118,230,195,.45) !important;
  color: var(--a) !important;
}
html[dir="ltr"] .main-nav a {
  font-size: 12.5px !important;
  padding: 7px 10px !important;
}
html[dir="rtl"] .main-nav a {
  font-size: 12px !important;
  padding: 7px 9px !important;
}
/* دیگر هیچ لینک هدر به‌خاطر کمبود جا مخفی نمی‌شود — همیشه قابل دسترس است */
@media (min-width: 901px) {
  .main-nav a.nav-mid,
  .main-nav a.nav-mid2,
  .main-nav a.nav-extra {
    display: inline-flex !important;
  }
}
.brand {
  gap: 8px !important;
  font-size: 1.15rem !important;
  white-space: nowrap !important;
}
.brand-logo {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(118,230,195,.18);
}
.header-actions {
  gap: 6px !important;
}
.icon-btn, .profile-btn {
  padding: 7px 10px !important;
  font-size: .82rem !important;
  border-radius: 9px !important;
}
.profile-btn {
  max-width: 160px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 901px) and (max-width: 1280px) {
  .brand-word { display: inline !important; font-size: 1.05rem !important; }
  .profile-btn { max-width: 120px !important; }
  .header-actions .profile-btn span[data-profile-name] { display: inline !important; font-size: .78rem !important; }
}

/* ---------- ۲. دسته‌بندی ابزارها ---------- */
.tool-cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tool-cat-tabs button {
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: .15s;
}
.tool-cat-tabs button:hover {
  background: rgba(118,230,195,.1);
  color: var(--text);
}
.tool-cat-tabs button.active {
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #061018;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(118,230,195,.25);
}
.tool-cat-section {
  margin-bottom: 30px;
  display: none;
}
.tool-cat-section.active {
  display: block;
}
.tool-cat-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--a);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(118,230,195,.4), transparent);
}
html.light .tool-cat-tabs button {
  background: rgba(15,25,50,.04);
  border-color: rgba(15,25,50,.1);
}
html.light .tool-cat-title {
  color: #0d8f72;
}

/* ---------- ۳. ویجت حمایت پایین چپ ---------- */
.donate-widget {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
html[dir="rtl"] .donate-widget {
  left: auto;
  right: auto;
  left: 16px;
}
.donate-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(118,230,195,.14), rgba(124,167,255,.14));
  border: 1px solid rgba(118,230,195,.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  max-width: 280px;
  transition: .2s;
  animation: donatePulse 3s ease-in-out infinite;
}
.donate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(118,230,195,.25);
  animation: none;
}
.donate-card .dw-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7e91, #ff8fd4);
  font-size: 16px;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(255,126,145,.4);
}
.donate-card .dw-text {
  flex: 1;
  line-height: 1.35;
}
.donate-card .dw-text b {
  display: block;
  color: var(--a);
  font-size: .82rem;
}
.donate-card .dw-text small {
  display: block;
  font-weight: 600;
  opacity: .8;
  font-size: .72rem;
  margin-top: 2px;
}
.donate-card a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #061018;
  font-weight: 900;
  font-size: .76rem;
  text-decoration: none;
  white-space: nowrap;
}
@keyframes donatePulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(0,0,0,.28); }
  50% { box-shadow: 0 8px 32px rgba(118,230,195,.32); }
}
html.light .donate-card {
  background: linear-gradient(135deg, rgba(13,143,114,.08), rgba(63,140,255,.08));
  border-color: rgba(13,143,114,.35);
}
@media (max-width: 600px) {
  .donate-widget { bottom: 10px; left: 10px; right: 10px; align-items: stretch; }
  .donate-card { max-width: none; padding: 8px 12px; }
  .donate-card .dw-text small { display: none; }
}

/* ---------- ۴. ربات پشتیبان را با حباب چت نازک‌تر جایگزین کردیم ---------- */
.sup-fab .sup-i {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.sup-fab .sup-i svg {
  display: block;
}

/* ---------- ۵. بهبود گرافیکی کارت‌ها ---------- */
.card, .game-card, .item-card {
  position: relative;
  overflow: hidden;
}
.card::before, .game-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--a), transparent);
  opacity: .35;
  transition: opacity .25s;
}
.card:hover::before, .game-card:hover::before {
  opacity: 1;
}

/* ---------- ۶. بهبود فرم ورود: ایمیل و رمز زیر هم ---------- */
#authModal .modal-card {
  max-width: 420px !important;
}
#authModal .modal-card input[type="email"],
#authModal .modal-card input[type="password"],
#authModal .modal-card input[type="text"] {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 6px 0 12px !important;
  padding: 13px 14px !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  font-size: .95rem !important;
  transition: border-color .15s, background .15s !important;
}
#authModal .modal-card input[type="email"]:focus,
#authModal .modal-card input[type="password"]:focus,
#authModal .modal-card input[type="text"]:focus {
  border-color: var(--a) !important;
  background: rgba(118,230,195,.06) !important;
  outline: none !important;
}
.auth-pass-wrap {
  display: block !important;
  position: relative !important;
}
#authModal .modal-card label.auth-field-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  margin: 4px 0 -2px;
}
html[dir="rtl"] .auth-pass-wrap input { padding: 13px 44px 13px 14px !important; }
html[dir="ltr"] .auth-pass-wrap input { padding: 13px 44px 13px 14px !important; }

/* ---------- ۷. بهبود جستجو ---------- */
.search-wrap {
  max-width: 820px !important;
  margin: 16px auto !important;
}
.search-wrap input {
  padding: 14px 20px !important;
  border-radius: 14px !important;
  font-size: .95rem !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  transition: .15s !important;
}
.search-wrap input:focus {
  border-color: var(--a) !important;
  background: rgba(118,230,195,.06) !important;
  box-shadow: 0 0 0 4px rgba(118,230,195,.12) !important;
}
.search-results {
  max-height: 70vh !important;
  overflow-y: auto !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.4) !important;
}
.search-results a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 11px !important;
  border: 1px solid transparent !important;
  transition: .12s !important;
}
.search-results a:hover, .search-results a.sel {
  background: rgba(118,230,195,.1) !important;
  border-color: rgba(118,230,195,.25) !important;
}
.search-results a .sr-title {
  font-weight: 800;
  font-size: .9rem;
}
.search-results a .sr-sub {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 2px;
}
.search-results .sr-tag {
  flex: 0 0 auto;
  margin-inline-start: auto;
  opacity: 1;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(118,230,195,.14);
  color: var(--a);
}
.search-results mark {
  background: rgba(118,230,195,.32);
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
}
.search-hint {
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 6px;
}

/* ---------- ۸. بهبود لیست رشته‌ها در اسپورتک ---------- */
.sp-sport-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
.sp-sport-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 9px 14px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.04) !important;
  color: inherit !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: .15s !important;
  text-align: right !important;
  justify-content: flex-start !important;
}
.sp-sport-chip:hover {
  background: rgba(118,230,195,.12) !important;
  border-color: rgba(118,230,195,.35) !important;
}
.sp-sport-chip.active {
  background: linear-gradient(135deg, rgba(118,230,195,.22), rgba(124,167,255,.22)) !important;
  border-color: rgba(118,230,195,.6) !important;
  color: var(--a) !important;
  box-shadow: 0 4px 14px rgba(118,230,195,.18);
}
.sp-league-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.sp-league-row button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.04) !important;
  color: inherit !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.sp-league-row button.active {
  background: rgba(118,230,195,.18) !important;
  border-color: rgba(118,230,195,.45) !important;
  color: var(--a) !important;
}

/* ---------- ۹. منابع خبر اسپورتک: بر اساس زبان ---------- */
.src-chips {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: .8rem !important;
}
.src-chips a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: rgba(118,230,195,.1) !important;
  color: var(--a) !important;
  font-weight: 700 !important;
  font-size: .76rem !important;
  text-decoration: none !important;
  transition: .15s !important;
}
.src-chips a:hover {
  background: rgba(118,230,195,.2) !important;
  transform: translateY(-1px);
}
.src-chips span {
  font-size: .76rem;
  color: var(--muted);
}

/* ---------- ۱۰. بهبود گرافیکی خود کارت‌های فروشگاه ---------- */
.item-card {
  background: linear-gradient(160deg, var(--surface2), #0b1322) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  padding: 18px 16px !important;
  transition: .25s !important;
  position: relative;
  overflow: hidden;
}
.item-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .3;
}
.item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118,230,195,.4) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(118,230,195,.2);
}
.item-card .it-emoji {
  font-size: 2.4rem !important;
  text-align: center;
  margin: 6px 0 12px;
  filter: drop-shadow(0 6px 14px rgba(118,230,195,.25));
}

/* ---------- ۱۱. بهبود صفحه پایان بازی ---------- */
.lt-go-card {
  background: linear-gradient(160deg, #131e33, #0b1322) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.7) !important;
}
.lt-go.win .lt-go-card {
  border: 2px solid rgba(118,230,195,.55) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 80px rgba(118,230,195,.25) !important;
}
.lt-go.lose .lt-go-card {
  border: 2px solid rgba(255,126,145,.4) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 60px rgba(255,126,145,.18) !important;
}
.lt-go-emoji {
  font-size: 72px !important;
  filter: drop-shadow(0 8px 16px rgba(118,230,195,.35));
}
.lt-go-title {
  font-size: 1.7rem !important;
  font-weight: 900 !important;
  letter-spacing: -.5px;
}
.lt-go-stats div {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 13px !important;
  padding: 12px 10px !important;
}
.lt-go-actions {
  gap: 10px !important;
}
.lt-go-actions button, .lt-go-actions a {
  padding: 11px 18px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
}

/* ---------- ۱۲. بهبود کلی گرافیکی: هیرو، اوربس، بک‌گراند ---------- */
body {
  background:
    radial-gradient(circle at 85% 0, rgba(56,150,255,.18) 0, transparent 38%),
    radial-gradient(circle at 0 100%, rgba(118,230,195,.12) 0, transparent 35%),
    var(--bg) !important;
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(118,230,195,.08), transparent 50%);
  pointer-events: none;
}
.btn.primary {
  background: linear-gradient(135deg, var(--a), var(--b)) !important;
  color: #061018 !important;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(118,230,195,.28) !important;
  transition: .2s !important;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118,230,195,.4) !important;
}
.btn.secondary {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  transition: .2s !important;
}
.btn.secondary:hover {
  background: rgba(118,230,195,.1) !important;
  border-color: rgba(118,230,195,.35) !important;
  transform: translateY(-2px);
}
.card.reveal, .reveal {
  transition: opacity .55s ease, transform .55s ease !important;
}
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- ۱۳. فوتر: شبکه‌های اجتماعی جدید ---------- */
.fv-social-row a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px 8px 8px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  transition: .2s !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: .82rem;
}
.fv-social-row a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.15) !important;
}
.fv-social-row a svg {
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}
.fv-social-row a span {
  font-size: .82rem;
}

/* ---------- ۱۴. بهبود اسپورتک: کلاس src-chips در حالت cursor:default ---------- */
.news-toolbar .src-chips[style*="cursor:default"] {
  display: none !important;
}

/* ============================================================
   Lumitek v0.1.4 — theme contrast fix, header cleanup, donate widget
   simplification, AI upgrade, favicon, graphic enhancements
   ============================================================ */

/* ---------- ۱. اصلاح تضاد رنگ در تم روشن (Light) ---------- */
html.light {
  --text: #0b1220 !important;
  --muted: #4d5b75 !important;
  color-scheme: light;
}
html.light body {
  color: #0b1220 !important;
  background:
    radial-gradient(circle at 85% 0, rgba(56,150,255,.18) 0, transparent 38%),
    radial-gradient(circle at 0 100%, rgba(118,230,195,.14) 0, transparent 35%),
    #f4f7fc !important;
}
/* متن‌های سفید اجباری سیاه شوند */
html.light p, html.light span, html.light div, html.light li, html.light h1,
html.light h2, html.light h3, html.light h4, html.light h5, html.light h6,
html.light small, html.light strong, html.light b, html.light label,
html.light a:not(.btn):not(.primary-btn):not(.ghost-btn):not(.text-link):not(.sr-tag),
html.light td, html.light th, html.light code {
  color: #0b1220 !important;
}
html.light .muted, html.light .text-muted { color: #4d5b75 !important; }
html.light .eyebrow { color: #0d8f72 !important; }
html.light .gradient {
  background: linear-gradient(90deg, #0d8f72, #2e6cdb) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
html.light .card, html.light .game-card, html.light .item-card,
html.light .stat-tile, html.light .news-card, html.light .tier-card {
  background: linear-gradient(160deg, #ffffff, #eaf0fa) !important;
  border-color: rgba(15,25,50,.1) !important;
  color: #0b1220 !important;
}
html.light .card h3, html.light .card p, html.light .card .muted {
  color: #0b1220 !important;
}
html.light .card .muted, html.light .game-card .muted { color: #4d5b75 !important; }

/* دایره‌های پیشرفت و سایر عناصر رنگی */
html.light .ring, html.light .ring.r2, html.light .core,
html.light .xpbar, html.light .xpbar-fill, html.light .stat-tile b,
html.light .progress-circle, html.light .pomo-ring, html.light .circle-progress {
  filter: none;
}
html.light .xpbar { background: #e0e7f2 !important; }
html.light .stat-tile b { color: #0d8f72 !important; }
html.light .profile-stats strong, html.light .stat-tile b, html.light .badge-grid b {
  color: #0b1220 !important;
}
html.light .key  { background: #fff !important; color: #0b1220 !important; }

/* جعبه‌های ورودی */
html.light input, html.light textarea, html.light select {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.15) !important;
}
html.light input::placeholder, html.light textarea::placeholder {
  color: #6b7891 !important;
}
html.light .search-wrap input {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.15) !important;
}
html.light .search-results {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.12) !important;
  box-shadow: 0 20px 50px rgba(15,25,50,.12) !important;
}
html.light .search-results a { color: #0b1220 !important; }
html.light .search-results a:hover, html.light .search-results a.sel {
  background: rgba(13,143,114,.1) !important;
}
html.light .search-results mark {
  background: rgba(13,143,114,.28) !important;
  color: #0b1220 !important;
}
html.light .sr-tag {
  background: rgba(13,143,114,.14) !important;
  color: #0d8f72 !important;
}

/* مودال‌ها */
html.light .modal-card {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .modal-card input {
  background: #f4f7fc !important;
  color: #0b1220 !important;
}

/* تب‌ها و دکمه‌های شیشه‌ای */
html.light .store-tabs button, html.light .news-toolbar button,
html.light .chat-quick button, html.light .calc-tabs button,
html.light .tool-cat-tabs button, html.light .sp-sport-chip,
html.light .sp-league-row button, html.light .src-chips,
html.light .src-chips a, html.light .ghost-btn {
  background: rgba(15,25,50,.04) !important;
  border-color: rgba(15,25,50,.12) !important;
  color: #0b1220 !important;
}
html.light .sp-sport-chip.active, html.light .sp-league-row button.active,
html.light .store-tabs button.active, html.light .tool-cat-tabs button.active {
  background: linear-gradient(135deg, rgba(13,143,114,.18), rgba(46,108,219,.18)) !important;
  border-color: rgba(13,143,114,.45) !important;
  color: #0d8f72 !important;
}

/* dآیتم‌های فروشگاه */
html.light .item-card .it-name, html.light .item-card .it-price,
html.light .item-card .it-rarity, html.light .item-card .it-type-tag {
  color: #0b1220 !important;
}
html.light .item-card .it-rarity.rarity-rare { color: #2e6cdb !important; }
html.light .item-card .it-rarity.rarity-epic { color: #8b2fb9 !important; }
html.light .item-card .it-rarity.rarity-legendary { color: #b07800 !important; }

/* هیرو و بخش‌های رنگی */
html.light .hero {
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
}
html.light .notice {
  background: #f4f7fc !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .notice .muted { color: #4d5b75 !important; }
html.light .support {
  background: linear-gradient(120deg, #eaf0fa, #dde7f5) !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .support .muted { color: #4d5b75 !important; }

/* فوتر */
html.light .footer-v2 {
  background: #eaf0fa !important;
  color: #0b1220 !important;
}
html.light .footer-v2 h4, html.light .footer-v2 a, html.light .footer-v2 p,
html.light .footer-v2 li, html.light .footer-v2 span {
  color: #0b1220 !important;
}
html.light .fv-social-row a {
  background: #fff !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .fv-social-row a span { color: #0b1220 !important; }

/* پانل نوتیفیکیشن و چنجلاگ */
html.light .notification-panel, html.light .changelog-panel {
  background: #fff !important;
  color: #0b1220 !important;
}
html.light .notification-item { background: #f1f5fa !important; }

/* tools-cat-tabs در تم روشن */
html.light .tool-cat-tabs button {
  background: rgba(15,25,50,.04) !important;
  color: #4d5b75 !important;
}
html.light .tool-cat-tabs button.active {
  background: linear-gradient(135deg, #0d8f72, #2e6cdb) !important;
  color: #fff !important;
}
html.light .tool-cat-title { color: #0d8f72 !important; }

/* donate widget در تم روشن */
html.light .donate-card {
  background: linear-gradient(135deg, rgba(13,143,114,.1), rgba(46,108,219,.1)) !important;
  border-color: rgba(13,143,114,.3) !important;
  color: #0b1220 !important;
}
html.light .donate-card .dw-text b { color: #0d8f72 !important; }

/* ربات پشتیبانی در تم روشن */
html.light .sup-fab {
  background: linear-gradient(135deg, #0d8f72, #2e6cdb) !important;
  border-color: rgba(13,143,114,.4) !important;
}
html.light .sup-panel {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .sup-panel .sup-head { border-bottom-color: rgba(15,25,50,.1) !important; }
html.light .sup-panel .sup-msgs div { background: #f4f7fc !important; color: #0b1220 !important; }
html.light .sup-panel input {
  background: #f4f7fc !important;
  color: #0b1220 !important;
}

/* لوپاهای گیم‌بار */
html.light .lt-gamebar {
  background: rgba(255,255,255,.9) !important;
  border-color: rgba(15,25,50,.15) !important;
  color: #0b1220 !important;
}
html.light .lt-gamebar button { color: #0b1220 !important; }

/* Sup-panel chips */
html.light .sup-chip {
  background: rgba(13,143,114,.1) !important;
  color: #0d8f72 !important;
}

/* rangslider و progress در تم روشن */
html.light input[type="range"] {
  background: #dde7f5 !important;
}
html.light input[type="range"]::-webkit-slider-thumb {
  background: #0d8f72 !important;
}

/* ring/hero اِلِمان‌های رنگی */
html.light .ring {
  background: linear-gradient(135deg, rgba(13,143,114,.18), rgba(46,108,219,.18)) !important;
  border-color: rgba(13,143,114,.4) !important;
}

/* news-card و صفحه اخبار */
html.light .news-card { background: #fff !important; }
html.light .news-card .nc-title { color: #0b1220 !important; }
html.light .news-card .srcname { color: #0d8f72 !important; }

/* FAQ details */
html.light details summary { color: #0b1220 !important; }
html.light details[open] summary { color: #0d8f72 !important; }

/* code blocks */
html.light pre, html.light code {
  background: #f4f7fc !important;
  color: #0b1220 !important;
}

/* ---------- ۲. هدر پاک‌سازی‌شده: همه‌ی لینک‌ها همیشه قابل‌دسترس ---------- */
@media (min-width: 901px) {
  .main-nav a.nav-extra,
  .main-nav a.nav-mid,
  .main-nav a.nav-mid2 {
    display: inline-flex !important;
  }
}
.main-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  overflow-x: auto !important;
  scrollbar-width: thin !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
  padding-bottom: 2px !important;
}
.main-nav::-webkit-scrollbar {
  height: 4px;
}
.main-nav::-webkit-scrollbar-thumb {
  background: rgba(118,230,195,.3);
  border-radius: 4px;
}
.main-nav a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  padding: 7px 10px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
}
html[dir="rtl"] .main-nav a { font-size: min(12px, max(10px, calc(10.8px + (100vw - 1240px) * 0.006))) !important; padding: 7px 6px !important; }
html[dir="ltr"] .main-nav a { font-size: min(12px, max(10px, calc(10.8px + (100vw - 1240px) * 0.006))) !important; padding: 7px 6px !important; }

/* ---------- ۳. ویجت حمایت مالی ساده‌شده ---------- */
.donate-widget {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 30;  /* z-index کمتر تا روی محتوای اخبار نریزد */
}
.donate-card {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 99px !important;
  background: linear-gradient(135deg, rgba(118,230,195,.18), rgba(124,167,255,.18)) !important;
  border: 1px solid rgba(118,230,195,.4) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  font-weight: 800;
  font-size: .82rem;
  color: var(--text);
  text-decoration: none;
  transition: .2s;
  animation: donatePulse 3s ease-in-out infinite;
  max-width: 200px;
}
.donate-card:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(118,230,195,.3);
  animation: none;
}
.donate-card .dw-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7e91, #ff8fd4);
  font-size: 14px;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(255,126,145,.35);
}
.donate-card .dw-text b {
  display: block;
  color: var(--a);
  font-size: .82rem;
  line-height: 1.2;
}
.donate-card .dw-text small {
  display: none !important;  /* حذف متن زیر */
}
.donate-card > span:last-child {
  display: none !important;  /* حذف قلب اضافی انتهای کارت */
}
.donate-card .dw-text {
  flex: 0 0 auto;
}
@keyframes donatePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.18); }
  50% { box-shadow: 0 6px 26px rgba(118,230,195,.3); }
}
@media (max-width: 600px) {
  .donate-widget { bottom: 10px; left: 10px; }
  .donate-card { padding: 8px 12px !important; }
}

/* ---------- ۴. آیکون پشتیبانی گوشه راست پایین - گرافیک بهتر ---------- */
.sup-fab {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  z-index: 50 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #76e6c3, #7ca7ff) !important;
  border: 2px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 10px 30px rgba(118,230,195,.4), 0 4px 14px rgba(0,0,0,.25) !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  transition: transform .2s, box-shadow .25s !important;
  animation: supFabGlow 3s ease-in-out infinite !important;
}
.sup-fab:hover {
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 14px 36px rgba(118,230,195,.55), 0 6px 18px rgba(0,0,0,.3) !important;
  animation: none !important;
}
@keyframes supFabGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(118,230,195,.4), 0 4px 14px rgba(0,0,0,.25); }
  50% { box-shadow: 0 10px 36px rgba(118,230,195,.65), 0 4px 18px rgba(0,0,0,.3); }
}
.sup-fab .sup-i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.sup-fab .sup-i svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
}
.sup-fab:not(.on) .sup-i {
  animation: supBob 2.8s ease-in-out infinite;
}
@keyframes supBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sup-fab .sup-x {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  display: none;
  place-items: center;
  background: #ff7e91;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  border: 2px solid var(--bg);
}
.sup-fab.on .sup-x { display: grid; }
.sup-fab.on .sup-i { display: none; }

/* ---------- ۵. هوش مصنوعی - چت با رابط مدرن‌تر ---------- */
.chat-bubble-user {
  background: linear-gradient(135deg, rgba(118,230,195,.16), rgba(124,167,255,.16));
  border: 1px solid rgba(118,230,195,.3);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  margin: 6px 0 6px auto;
  max-width: 80%;
  width: fit-content;
  font-weight: 600;
}
.chat-bubble-ai {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  margin: 6px 0;
  max-width: 88%;
}
html.light .chat-bubble-ai {
  background: #f4f7fc;
  border-color: rgba(15,25,50,.1);
}
.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
}
html.light .chat-input-wrap {
  background: #fff;
  border-top-color: rgba(15,25,50,.1);
}
.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 8px 12px;
}
.chat-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--a);
  animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ---------- ۶. هیرو صفحه اصلی - بازطراحی المان مستطیلی ---------- */
.hero-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  border-radius: 99px !important;
  background: linear-gradient(135deg, rgba(118,230,195,.18), rgba(124,167,255,.18)) !important;
  border: 1px solid rgba(118,230,195,.4) !important;
  backdrop-filter: blur(14px);
  font-size: .82rem !important;
  font-weight: 700 !important;
  color: var(--a) !important;
  box-shadow: 0 4px 14px rgba(118,230,195,.18) !important;
  margin-bottom: 18px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
  flex: 0 0 auto;
  box-shadow: 0 0 8px var(--a);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}
html.light .hero-badge {
  background: linear-gradient(135deg, rgba(13,143,114,.14), rgba(46,108,219,.14)) !important;
  border-color: rgba(13,143,114,.4) !important;
  color: #0d8f72 !important;
}

/* ---------- ۷. بهبود گرافیکی کلی ---------- */
body {
  background:
    radial-gradient(circle at 85% 0, rgba(56,150,255,.16) 0, transparent 38%),
    radial-gradient(circle at 0 100%, rgba(118,230,195,.12) 0, transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(124,167,255,.08) 0, transparent 25%),
    var(--bg) !important;
}
.card, .game-card, .item-card {
  background: linear-gradient(160deg, var(--surface2), #0b1322) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  transition: transform .25s, box-shadow .25s, border-color .25s !important;
  position: relative;
  overflow: hidden;
}
.card::before, .game-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--a), transparent);
  opacity: .35;
  transition: opacity .25s;
}
.card:hover, .game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118,230,195,.4) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(118,230,195,.2);
}
.card:hover::before, .game-card:hover::before { opacity: 1; }
.btn.primary {
  background: linear-gradient(135deg, var(--a), var(--b)) !important;
  color: #061018 !important;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(118,230,195,.28) !important;
  transition: .2s !important;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118,230,195,.4) !important;
}
.btn.secondary {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  transition: .2s !important;
}
.btn.secondary:hover {
  background: rgba(118,230,195,.1) !important;
  border-color: rgba(118,230,195,.35) !important;
  transform: translateY(-2px);
}

/* ---------- ۸. فوتر: اصلاح آیکون روبیکا به‌عنوان img ---------- */
.fv-social-row a img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex: 0 0 auto;
}

/* ---------- ۹. رفع قفل‌شدن صفحه هنگام بازی ---------- */
html.lt-paused, html.lt-game-pause {
  overflow: auto !important;
}
body.lt-game-paused {
  overflow: auto !important;
  position: static !important;
}

/* ---------- ۱۰. ویجت حمایت فقط آیکون - بدون متن ---------- */
.donate-widget {
  position: fixed !important;
  bottom: 14px !important;
  left: 14px !important;
  z-index: 30 !important;
}
.donate-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(255,126,145,.25), rgba(255,143,212,.25)) !important;
  border: 1.5px solid rgba(255,126,145,.45) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 6px 18px rgba(255,126,145,.25) !important;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .25s !important;
  animation: donatePulse 3s ease-in-out infinite !important;
}
.donate-card:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 10px 26px rgba(255,126,145,.4) !important;
  animation: none !important;
}
.donate-card .dw-icon {
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ff7e91, #ff8fd4) !important;
  font-size: 14px !important;
  flex: 0 0 auto !important;
  box-shadow: 0 4px 10px rgba(255,126,145,.4) !important;
  margin: 0 !important;
}
.donate-card .dw-text,
.donate-card > span:not(.dw-icon) {
  display: none !important;
}
html.light .donate-card {
  background: linear-gradient(135deg, rgba(255,126,145,.15), rgba(255,143,212,.15)) !important;
  border-color: rgba(255,126,145,.4) !important;
}

/* ============================================================
   Lumitek v0.1.5 — donate widget fix, header English fix,
   social icons sizing, support icon replacement
   ============================================================ */

/* ---------- ۱. ویجت حمایت: اصلاح کلیک، z-index بالا، بازگرداندن متن ---------- */
.donate-widget {
  position: fixed !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}
.donate-widget * {
  pointer-events: auto !important;
}
.donate-card {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px 8px 8px !important;
  width: auto !important;
  height: auto !important;
  min-height: 38px !important;
  border-radius: 99px !important;
  background: linear-gradient(135deg, rgba(255,126,145,.22), rgba(255,143,212,.22)) !important;
  border: 1.5px solid rgba(255,126,145,.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 6px 18px rgba(255,126,145,.3) !important;
  text-decoration: none !important;
  color: var(--text) !important;
  font-weight: 800 !important;
  font-size: .78rem !important;
  transition: transform .2s, box-shadow .25s, border-color .2s !important;
  animation: donatePulse 3s ease-in-out infinite !important;
  cursor: pointer !important;
}
.donate-card:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 10px 28px rgba(255,126,145,.45) !important;
  border-color: rgba(255,126,145,.8) !important;
  animation: none !important;
}
.donate-card .dw-icon {
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ff7e91, #ff8fd4) !important;
  font-size: 14px !important;
  flex: 0 0 auto !important;
  box-shadow: 0 4px 10px rgba(255,126,145,.4) !important;
  margin: 0 !important;
}
.donate-card .dw-text {
  display: inline-flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}
.donate-card .dw-text b {
  color: var(--text) !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
}
.donate-card .dw-text small {
  display: block !important;
  font-size: .68rem !important;
  opacity: .75 !important;
  font-weight: 600 !important;
  margin-top: 1px !important;
}
.donate-card > span:not(.dw-icon):not(.dw-text) {
  display: none !important;
}
html.light .donate-card {
  background: linear-gradient(135deg, rgba(255,126,145,.15), rgba(255,143,212,.15)) !important;
  border-color: rgba(255,126,145,.45) !important;
  color: #0b1220 !important;
}
html.light .donate-card .dw-text b { color: #0b1220 !important; }
html.light .donate-card .dw-text small { color: #4d5b75 !important; }

@media (max-width: 600px) {
  .donate-widget { bottom: 12px !important; left: 12px !important; }
  .donate-card { padding: 6px 12px 6px 6px !important; font-size: .74rem !important; }
  .donate-card .dw-icon { width: 24px !important; height: 24px !important; font-size: 12px !important; }
  .donate-card .dw-text small { display: none !important; }
}

/* ---------- ۲. هدر انگلیسی: اندازه‌ی بهتر ---------- */
html[dir="ltr"] .main-nav a {
  font-size: min(12px, max(10px, calc(10.8px + (100vw - 1240px) * 0.006))) !important;
  padding: 7px 8px !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}
html[dir="ltr"] .main-nav {
  gap: 2px !important;
}
html[dir="ltr"] .brand-word {
  font-size: 1.1rem !important;
}
html[dir="ltr"] .header-actions .icon-btn,
html[dir="ltr"] .header-actions .profile-btn {
  font-size: .8rem !important;
  padding: 7px 9px !important;
}

/* ---------- ۳. آیکون‌های شبکه‌های اجتماعی هم‌اندازه ---------- */
.fv-social-row a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px 8px 10px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  transition: .2s !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  min-height: 42px !important;
}
.fv-social-row a svg,
.fv-social-row a img {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  display: block !important;
  border-radius: 6px !important;
  object-fit: contain !important;
}
.fv-social-row a span {
  font-size: .82rem !important;
  font-weight: 700 !important;
}
html.light .fv-social-row a {
  background: #fff !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .fv-social-row a span { color: #0b1220 !important; }

/* ---------- ۴. آیکون پشتیبانی گوشه راست پایین - طراحی جدید ---------- */
.sup-fab {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  z-index: 9998 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  transition: transform .2s !important;
}
.sup-fab:hover {
  transform: translateY(-3px) scale(1.05) !important;
}
.sup-fab .sup-i {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #76e6c3, #7ca7ff) !important;
  border: 2px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 8px 24px rgba(118,230,195,.4), 0 4px 12px rgba(0,0,0,.25) !important;
  animation: supFabGlow 3s ease-in-out infinite !important;
}
.sup-fab:hover .sup-i {
  box-shadow: 0 12px 32px rgba(118,230,195,.55), 0 6px 16px rgba(0,0,0,.3) !important;
  animation: none !important;
}
@keyframes supFabGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(118,230,195,.4), 0 4px 12px rgba(0,0,0,.25);
  }
  50% {
    box-shadow: 0 8px 32px rgba(118,230,195,.65), 0 4px 16px rgba(0,0,0,.3);
  }
}
.sup-fab .sup-i svg,
.sup-fab .sup-i img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
}
.sup-fab:not(.on) .sup-i {
  animation: supFabGlow 3s ease-in-out infinite, supBob 2.8s ease-in-out infinite;
}
@keyframes supBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sup-fab .sup-x {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  background: #ff5c7a;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.sup-fab.on .sup-x { display: grid; }
.sup-fab.on .sup-i { display: none; }
html.light .sup-fab .sup-i {
  background: linear-gradient(135deg, #0d8f72, #2e6cdb) !important;
  border-color: rgba(255,255,255,.5) !important;
}

/* پانل پشتیبانی در تم روشن */
html.light .sup-panel {
  background: #fff !important;
  color: #0b1220 !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .sup-panel .sup-head { border-bottom-color: rgba(15,25,50,.1) !important; }
html.light .sup-panel .sup-head b,
html.light .sup-panel .sup-msgs div { color: #0b1220 !important; }
html.light .sup-panel input {
  background: #f4f7fc !important;
  color: #0b1220 !important;
}
html.light .sup-chip {
  background: rgba(13,143,114,.1) !important;
  color: #0d8f72 !important;
}

/* ---------- ۵. هدر: لینک حمایت اضافه ---------- */
/* ---- لینک حمایت مالی در هدر: عادی می‌ماند، هاور صورتی‌قرمز ---- */
.main-nav a.nav-donate-link {
  font-weight: 800 !important;
}
html.light .main-nav a.nav-donate-link {
  font-weight: 800 !important;
}
.main-nav a.nav-donate-link:hover {
  background: linear-gradient(135deg, rgba(255,126,145,.22), rgba(255,143,212,.16)) !important;
  border-color: rgba(255,126,145,.6) !important;
  color: #ff5c8d !important;
}
html.light .main-nav a.nav-donate-link:hover { color: #d81b60 !important; }

/* ---------- ۶. hero badge حذف شد - کلاس بلاک بشه ---------- */
.hero-badge {
  display: none !important;
}

/* ============================================================
   Lumitek v0.1.7 — بازطراحی کامل صفحه اصلی
   hero مدرن، stats کارت‌محور، feat-card‌های جذاب‌تر
   ============================================================ */

/* مخفی کردن hero قدیمی */
section.hero { display: none !important; }
section.stats-strip { display: none !important; }

/* ---------- HERO جدید ---------- */
.hero-new {
  position: relative;
  min-height: 580px;
  padding: 70px 5% 60px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118,230,195,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,230,195,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.glow-1 { width: 480px; height: 480px; top: -120px; left: -100px; background: radial-gradient(circle, var(--a), transparent 70%); animation: glowFloat 18s ease-in-out infinite alternate; }
.glow-2 { width: 380px; height: 380px; bottom: -100px; right: -80px; background: radial-gradient(circle, var(--b), transparent 70%); animation: glowFloat 22s ease-in-out infinite alternate-reverse; }
.glow-3 { width: 280px; height: 280px; top: 30%; left: 40%; background: radial-gradient(circle, rgba(255,143,212,.35), transparent 70%); animation: glowFloat 14s ease-in-out infinite alternate; }
@keyframes glowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: contents;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 99px;
  background: rgba(118,230,195,.12);
  border: 1px solid rgba(118,230,195,.3);
  font-size: .76rem;
  font-weight: 700;
  color: var(--a);
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 0 rgba(118,230,195,.6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(118,230,195,.6); }
  70% { box-shadow: 0 0 0 12px rgba(118,230,195,0); }
  100% { box-shadow: 0 0 0 0 rgba(118,230,195,0); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.title-line { display: block; }
.gradient-text {
  background: linear-gradient(90deg, var(--a), var(--b), #ff8fd4);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #061018 !important;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(118,230,195,.35);
  transition: transform .2s, box-shadow .25s;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(118,230,195,.5);
}
.cta-primary svg { transition: transform .2s; }
.cta-primary:hover svg { transform: translateX(4px); }
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: .2s;
  backdrop-filter: blur(8px);
}
.cta-ghost:hover {
  background: rgba(118,230,195,.12);
  border-color: rgba(118,230,195,.4);
  transform: translateY(-2px);
}

/* ---------- Orb (شکل دایره‌ای با چیپ‌های شناور) ---------- */
.hero-right {
  display: grid;
  place-items: center;
  position: relative;
}
.hero-orb {
  position: relative;
  width: 380px;
  height: 380px;
  display: grid;
  place-items: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(118,230,195,.3);
}
.orb-ring.r1 { width: 100%; height: 100%; animation: orbSpin 30s linear infinite; }
.orb-ring.r2 { width: 80%; height: 80%; border-color: rgba(124,167,255,.3); animation: orbSpin 25s linear infinite reverse; border-style: dotted; }
.orb-ring.r3 { width: 60%; height: 60%; border-color: rgba(255,143,212,.3); animation: orbSpin 20s linear infinite; }
@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orb-core {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118,230,195,.18), transparent 65%);
  filter: drop-shadow(0 12px 30px rgba(56,150,255,.4));
  animation: orbPulse 4s ease-in-out infinite;
}
.orb-core img { border-radius: 18px; }
@keyframes orbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.orb-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px 7px 8px;
  border-radius: 99px;
  background: rgba(15,23,38,.85);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  font-size: .76rem;
  font-weight: 800;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  z-index: 3;
  animation: chipFloat 4s ease-in-out infinite;
}
.orb-chip span { font-size: 14px; }
.orb-chip b { font-weight: 800; }
.chip-1 { top: 5%; right: 10%; animation-delay: 0s; }
.chip-2 { top: 25%; left: -5%; animation-delay: .5s; }
.chip-3 { bottom: 25%; left: -8%; animation-delay: 1s; }
.chip-4 { bottom: 5%; right: 15%; animation-delay: 1.5s; }
.chip-5 { top: 50%; right: -5%; animation-delay: 2s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- STATS کارت‌محور ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 5% 30px;
  max-width: 1180px;
  margin: 0 auto;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--surface2), #0b1322);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(118,230,195,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
}
.stat-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
  flex: 0 0 auto;
}
.bg-a { background: linear-gradient(135deg, rgba(118,230,195,.22), rgba(56,150,255,.18)); }
.bg-b { background: linear-gradient(135deg, rgba(255,143,212,.22), rgba(124,167,255,.18)); }
.bg-c { background: linear-gradient(135deg, rgba(255,200,97,.22), rgba(255,138,92,.18)); }
.bg-d { background: linear-gradient(135deg, rgba(180,76,255,.22), rgba(124,167,255,.18)); }
.stat-body { display: flex; flex-direction: column; }
.stat-body b { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.stat-body span { font-size: .76rem; color: var(--muted); font-weight: 600; }

/* ---------- FEAT-CARD کارت‌های بزرگ‌تر ---------- */
.grid { gap: 18px; }
.feat-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 22px !important;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s, box-shadow .3s, border-color .25s !important;
}
.feat-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(118,230,195,.25) !important;
}
.feat-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
  pointer-events: none;
  transition: opacity .3s;
}
.feat-card:hover .feat-glow { opacity: .45; }
.feat-ai .feat-glow { background: var(--a); }
.feat-tools .feat-glow { background: var(--b); }
.feat-games .feat-glow { background: #ff8fd4; }
.feat-store .feat-glow { background: #ffc861; }
.feat-coins .feat-glow { background: #ffd166; }
.feat-sports .feat-glow { background: #ff7e91; }
.feat-news .feat-glow { background: #7cd5ff; }
.feat-download .feat-glow { background: #b18cff; }
.feat-articles .feat-glow { background: #50d68a; }
.feat-account .feat-glow { background: #7ca7ff; }
.feat-support .feat-glow { background: var(--a); }
.feat-updates .feat-glow { background: #ff9350; }
.feat-card .icon.big {
  font-size: 36px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 4px;
}
.feat-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
}
.feat-card .muted {
  flex: 1;
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}
.feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--a);
  margin-top: auto;
  transition: gap .2s;
}
.feat-card:hover .feat-cta { gap: 8px; }

/* ---------- HERO در موبایل ---------- */
@media (max-width: 900px) {
  .hero-new {
    grid-template-columns: 1fr;
    padding: 50px 5% 40px;
    text-align: center;
  }
  .hero-left { align-items: center; }
  .hero-lead { margin: 0 auto; }
  .hero-right { display: none; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { justify-content: center; }
  .cta-primary, .cta-ghost { font-size: .85rem; padding: 11px 16px; }
}

/* ---------- LIGHT theme اصلاح ---------- */
html.light .hero-grid {
  background-image:
    linear-gradient(rgba(13,143,114,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,143,114,.06) 1px, transparent 1px);
}
html.light .hero-glow { opacity: .22; }
html.light .orb-ring { border-color: rgba(13,143,114,.35); }
html.light .orb-ring.r2 { border-color: rgba(46,108,219,.3); }
html.light .orb-ring.r3 { border-color: rgba(255,143,212,.3); }
html.light .orb-chip {
  background: rgba(255,255,255,.85);
  border-color: rgba(15,25,50,.1);
  color: #0b1220;
}
html.light .stat-card {
  background: linear-gradient(160deg, #fff, #eaf0fa);
  border-color: rgba(15,25,50,.1);
}
html.light .feat-card {
  background: linear-gradient(160deg, #fff, #eaf0fa) !important;
  border-color: rgba(15,25,50,.1) !important;
}
html.light .feat-card .icon.big {
  background: rgba(15,25,50,.04);
  border-color: rgba(15,25,50,.1);
}
html.light .feat-card .muted { color: #4d5b75 !important; }
html.light .hero-pill {
  background: rgba(13,143,114,.12);
  border-color: rgba(13,143,114,.3);
  color: #0d8f72;
}
html.light .cta-ghost {
  background: rgba(15,25,50,.04);
  border-color: rgba(15,25,50,.12);
  color: #0b1220;
}
html.light .cta-ghost:hover {
  background: rgba(13,143,114,.12);
  border-color: rgba(13,143,114,.4);
}

/* ============================================================
   v0.1.8 — تقویت گرافیک کارت‌های ابزار و بازی
   ============================================================ */

/* ---- ابزارها: کارت‌های شیشه‌ای با درخشش و نشان رنگی ---- */
.tool-cat-section .card{position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(160deg,rgba(26,40,72,.55),rgba(11,17,33,.6));border:1px solid rgba(255,255,255,.09);transition:transform .25s,border-color .25s,box-shadow .3s}
.tool-cat-section .card::before{content:"";position:absolute;top:0;inset-inline:0;height:2.5px;background:linear-gradient(90deg,transparent,rgba(124,167,255,.75),transparent);opacity:.55;transition:opacity .25s}
.tool-cat-section .card::after{content:"";position:absolute;top:-52px;inset-inline-end:-52px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(79,140,255,.2),transparent 70%);filter:blur(6px);transition:transform .3s,opacity .3s;pointer-events:none}
.tool-cat-section .card:hover{transform:translateY(-5px);border-color:rgba(124,167,255,.5);box-shadow:0 16px 38px -14px rgba(0,0,0,.55),0 0 22px -8px rgba(124,167,255,.35)}
.tool-cat-section .card:hover::before{opacity:1}
.tool-cat-section .card:hover::after{transform:scale(1.4);opacity:.9}
.tool-cat-section .card h3{font-size:1.02rem;font-weight:900;margin:12px 0 6px;transition:transform .25s}
.tool-cat-section .card:hover h3{transform:translateX(0) scale(1.03)}
.tool-cat-section .card .tag{position:absolute;top:12px;inset-inline-end:12px;margin:0;padding:3px 10px;border-radius:99px;font-size:.6rem;letter-spacing:.4px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.tool-cat-section .card .tag[data-i18n="tools.tagNew"]{background:linear-gradient(135deg,rgba(118,230,195,.22),rgba(124,167,255,.2));color:var(--a);border:1px solid rgba(118,230,195,.4)}
.tool-cat-section .card .tag[data-i18n="tools.tagReady"]{background:rgba(124,167,255,.14);color:var(--b);border:1px solid rgba(124,167,255,.35)}
.tool-cat-section .card p.muted{font-size:.8rem;line-height:1.9}

/* ---- بازی‌ها: کارت‌های پرانرژی با نوار بالایی و هاله ---- */
.game-grid .game-card{position:relative;overflow:hidden;border-radius:20px;padding:22px 20px;background:linear-gradient(165deg,rgba(28,44,80,.55),rgba(10,16,32,.6));border:1px solid rgba(255,255,255,.09);transition:transform .25s,border-color .25s,box-shadow .3s}
.game-grid .game-card::before{content:"";position:absolute;top:0;inset-inline:0;height:3px;background:linear-gradient(90deg,transparent,rgba(118,230,195,.85),transparent);opacity:.6;transition:opacity .25s}
.game-grid .game-card::after{content:"";position:absolute;top:-60px;inset-inline-end:-60px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(118,230,195,.18),transparent 70%);filter:blur(8px);transition:transform .3s,opacity .3s;pointer-events:none}
.game-grid .game-card:hover{transform:translateY(-6px);border-color:rgba(118,230,195,.45);box-shadow:0 18px 44px -14px rgba(0,0,0,.55),0 0 24px -8px rgba(118,230,195,.28)}
.game-grid .game-card:hover::before{opacity:1}
.game-grid .game-card:hover::after{transform:scale(1.35);opacity:.9}
.game-grid .game-card h2{font-size:1.08rem;font-weight:900;margin:6px 0 4px}
.game-grid .game-card .gc-cat{margin-bottom:4px}
.game-grid .game-card .gc-cta .primary-btn{display:inline-block;width:100%;text-align:center;margin-top:10px}

/* ---- تم روشن برای هر دو ---- */
html.light .tool-cat-section .card,html.light .game-grid .game-card{background:linear-gradient(160deg,#ffffff,#f2f6fc);border-color:rgba(37,99,235,.15)}
html.light .tool-cat-section .card:hover,html.light .game-grid .game-card:hover{border-color:rgba(13,143,114,.45);box-shadow:0 16px 38px -14px rgba(30,64,175,.2)}

/* ============================================================
   Lumitek v0.2.0 — هدر یکدست، برچسب حمایت، پی‌دی‌اف مقالات و
   برچسب «حمایت» کنار قلب، وسط‌چین‌شدن آیکون‌های بله/ایتا، پی‌دی‌اف مقالات
   ============================================================ */

/* ---------- ۱. هدر فشرده و یکدست در فارسی و انگلیسی ---------- */
.site-header{gap:12px;padding:9px 18px}
.brand{font-size:1.08rem;gap:8px;flex:0 0 auto}
.brand .brand-logo{width:38px;height:38px}
.main-nav{gap:clamp(2px,.3vw,5px)}
.main-nav a{padding:7px clamp(5px,.45vw,9px);font-size:clamp(.7rem,.16vw + .56rem,.82rem)}
.icon-btn,.profile-btn{padding:7px 10px}
.profile-btn{max-width:170px}
/* در تبلت‌ها هدر همیشه یک ردیفی می‌ماند و ناوبری اسکرول افقی دارد */
@media (min-width:901px) and (max-width:1180px){
  .site-header{flex-wrap:nowrap}
  .main-nav{order:0;width:auto;flex:1 1 auto;justify-content:flex-start}
  .header-actions{margin-inline-start:auto}
}
@media (max-width:900px){
  .site-header{gap:8px;padding:8px 12px}
}

/* ---------- ۳. برچسب «حمایت» کنار قلب گوشه چپ ---------- */
.donate-widget{position:fixed !important;bottom:14px !important;left:14px !important;z-index:30 !important}
.donate-card{display:inline-flex !important;align-items:center !important;gap:9px !important;width:auto !important;height:auto !important;padding:8px 15px 8px 9px !important;border-radius:99px !important}
html[dir="rtl"] .donate-card{padding:8px 9px 8px 15px !important}
.donate-card .dw-icon{width:30px !important;height:30px !important;font-size:15px !important}
.donate-card .dw-text{display:inline-flex !important;align-items:center !important;gap:5px}
.donate-card .dw-text b{display:block !important;color:var(--text);font-size:.85rem;line-height:1.2}
.donate-card .dw-text small{display:none !important}

/* ---------- ۴. آیکون‌های بله و ایتا: دقیقاً وسط کادر ---------- */
.fv-social-row{justify-content:center}
.fv-social-row a{display:grid !important;place-items:center !important;width:48px !important;height:48px !important;padding:0 !important;background:var(--card2) !important;border:1px solid var(--line) !important;border-radius:14px !important;flex-direction:unset !important;gap:0 !important}
.fv-social-row a img{width:28px !important;height:28px !important;margin:0 !important}

/* ---------- ۸. دانلود پی‌دی‌اف مقالات ---------- */
.ar-pdf-hint{margin:10px 0 0;font-size:.76rem;opacity:.7;line-height:1.9}
.pdf-box{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid rgba(118,230,195,.3);border-radius:16px;background:linear-gradient(135deg,rgba(118,230,195,.08),rgba(124,167,255,.06))}
.pdf-box .pdf-ico{font-size:1.5rem;line-height:1.4}
.pdf-box b{display:block;margin-bottom:4px}
.pdf-box p{margin:0;font-size:.84rem;opacity:.85;line-height:1.9}
.ar-actions .primary-btn,.ar-actions .ghost-btn{position:relative}
.ar-actions .pdf-owned{border-color:rgba(118,230,195,.5);color:var(--a)}

/* ---------- ۹. تنظیم نهایی هدر: همه‌ی موضوعات در عرض‌های ۹۰۱ تا ۱۴۲۰ در یک ردیف ---------- */
@media (min-width:901px) and (max-width:1420px){
  .header-actions .profile-btn span[data-profile-name]{display:none !important}
  .header-actions .profile-btn{max-width:46px !important;padding:7px 8px !important}
  .icon-btn{padding:7px 7px !important}
  .header-actions{gap:4px !important}
  .main-nav{gap:2px !important}
  .main-nav a{padding:7px 6px !important}
  .brand{gap:7px}
  .brand .brand-logo{width:34px;height:34px}
  .brand .brand-word{font-size:.98rem !important}
}
@media (min-width:1421px){
  .main-nav a{font-size:.78rem}
}
.donate-card > span.dw-text{display:inline-flex !important;align-items:center !important;gap:5px !important}
.donate-card > span.dw-text b{display:block !important;font-size:.85rem !important;color:var(--text)}
/* باند باریک دسکتاپ: انگلیسی تا ۱۳۱۰ و فارسی تا ۱۲۴۰ با فونت و پدینگ کوچکتر */
@media (min-width:901px) and (max-width:1310px){
  html[dir="ltr"] .main-nav a{font-size:10.2px !important;padding:7px 5px !important}
}
@media (min-width:901px) and (max-width:1240px){
  html[dir="rtl"] .main-nav a{font-size:10px !important;padding:7px 5px !important}
}
