@font-face{font-family:system-ui;src:local("Tahoma")}*{box-sizing:border-box}body{margin:0;background:#f4f6fb;color:#1c2331;font-family:Tahoma,Arial,sans-serif;direction:rtl;min-height:100vh}.app-shell{max-width:560px;margin:0 auto;min-height:100vh;padding-bottom:92px;background:linear-gradient(180deg,#eef5ff 0,#f6f7fb 260px,#f4f6fb 100%)}.app-header{position:sticky;top:0;z-index:10;background:#10131b;color:#fff;padding:18px 18px 16px;border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:space-between}.brand-box{display:flex;align-items:center;gap:12px}.logo{width:48px;height:48px;border-radius:18px;background:linear-gradient(135deg,#0bc7ff,#7b5cff 70%,#171b2b);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 32px rgba(32,125,255,.35);font-size:22px}.app-header h1{margin:0;font-size:22px;font-weight:900;letter-spacing:.2px}.app-header p{margin:4px 0 0;color:#aeb8ce;font-size:12px}.small-icon{width:40px;height:40px;border:0;border-radius:14px;background:#222838;color:#fff;font-size:19px}.content{padding:18px}.page-title{display:flex;justify-content:space-between;align-items:flex-start;margin:2px 0 14px}.page-title h2{margin:0;font-size:24px;font-weight:950;color:#151a25}.page-title p{margin:6px 0 0;color:#7c879c;font-size:13px}.hero-card,.plan-card,.xray-card,.form-card,.history-card,.tutorial-card,.support-card,.empty-card,.success-card,.error-card,.loading-card{background:#fff;border:1px solid #e4e8f0;border-radius:18px;box-shadow:0 12px 30px rgba(16,31,66,.06)}.hero-card{padding:20px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#121723,#1f2d50 55%,#2563eb);color:#fff;overflow:hidden;position:relative}.hero-card:after{content:"";position:absolute;left:-70px;bottom:-90px;width:190px;height:190px;border-radius:50%;background:rgba(124,92,255,.33);filter:blur(10px)}.tag{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:5px 10px;font-size:12px}.hero-card h3{margin:14px 0 6px;font-size:24px}.hero-card p{margin:0;color:#dbe6ff}.hero-badge{width:68px;height:68px;border-radius:24px;background:rgba(255,255,255,.13);display:flex;align-items:center;justify-content:center;font-size:34px}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.mini-stats button{border:0;background:#fff;border:1px solid #e4e8f0;border-radius:16px;padding:16px;text-align:right;box-shadow:0 10px 24px rgba(16,31,66,.05)}.mini-stats small{display:block;color:#7c879c;margin-bottom:8px}.mini-stats b{font-size:17px;color:#111827}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-actions button{border:0;border-radius:16px;background:#fff;border:1px solid #e4e8f0;padding:17px 12px;font-weight:900;color:#25304a;box-shadow:0 10px 24px rgba(16,31,66,.05)}.quick-actions .action-main{grid-column:1/-1;background:linear-gradient(135deg,#0ea5e9,#6d5dfc);color:#fff;border:0;font-size:16px}.segment{display:grid;grid-template-columns:1fr 1fr 1fr;background:#edf1f7;border:1px solid #dfe5ef;border-radius:15px;padding:5px;gap:5px;margin-bottom:12px}.segment button{border:0;border-radius:12px;padding:12px 5px;font-weight:800;color:#667085;background:transparent}.segment .active{background:#0877ff;color:#fff;box-shadow:0 8px 18px rgba(8,119,255,.22)}.list{display:flex;flex-direction:column;gap:12px}.plan-card{padding:16px}.plan-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.plan-head h3{margin:0;font-size:20px}.plan-head p{margin:6px 0 0;color:#7c879c;font-size:13px;line-height:1.8}.price-badge{display:inline-flex;white-space:nowrap;border:1px solid #eaa3b0;color:#df3156;background:#fff7f8;padding:7px 11px;border-radius:9px;font-size:13px;font-weight:900}.price-badge.small{font-size:12px;padding:5px 9px}.plan-info{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:15px 0}.plan-info span{background:#f2f5fa;border-radius:10px;padding:9px 6px;text-align:center;font-size:12px;color:#536078}.plan-note{background:#eaf4ff;color:#1e5b91;border-radius:10px;padding:10px;text-align:center;margin-bottom:12px;font-size:13px}.primary,.soft,.danger,.green,.blue{border:0;border-radius:12px;font-weight:900;padding:12px 16px;cursor:pointer}.primary{background:linear-gradient(135deg,#0b8dff,#704dff);color:#fff;box-shadow:0 10px 22px rgba(48,101,255,.22)}.soft{background:#edf1f7;color:#38445d}.danger{background:#e83255;color:#fff}.green{background:#0f9365;color:#fff}.blue{background:#0877ff;color:#fff}.full{width:100%;display:block}button:disabled{opacity:.45;filter:grayscale(1)}.xray-card{padding:14px}.xray-top{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eef1f6;padding-bottom:12px;margin-bottom:12px}.switch{width:40px;height:22px;border-radius:999px;background:#cdd5e1;position:relative;flex:none}.switch:after{content:"";position:absolute;width:18px;height:18px;top:2px;right:2px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18)}.switch.on{background:#13c690}.switch.on:after{right:20px}.xray-top h3{margin:0;flex:1;font-size:18px;direction:ltr;text-align:left;color:#2a3345}.xray-top h3 span{font-size:14px;color:#68758b}.bar{height:34px;background:#edf1f6;border-radius:9px;position:relative;overflow:hidden;margin:9px 0}.bar i{position:absolute;right:0;top:0;bottom:0;border-radius:9px}.bar b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.18);font-weight:900}.bar.blue i{background:#21a8e8}.bar.orange i{background:#ffad05}.pay-status{border-radius:10px;text-align:center;padding:10px;font-weight:900;margin:10px 0}.pay-status.ok{background:#dff7eb;color:#08784f}.pay-status.warn{background:#fff4d9;color:#a86700}.pay-status.danger{background:#ffe3e7;color:#bd2040}.pay-status.muted{background:#edf1f7;color:#667085}.xray-actions{display:grid;grid-template-columns:.7fr 1fr 1fr 1fr;gap:8px;margin-top:10px}.note{border-radius:9px;padding:8px;font-size:12px;margin-top:8px}.note.warn{background:#fff7df;color:#976a00}.wallet-big{border-radius:20px;background:linear-gradient(135deg,#171d2c,#20365f);padding:22px;color:#fff;box-shadow:0 18px 40px rgba(26,48,95,.18);margin-bottom:12px}.wallet-big small{display:block;color:#cbd5e1;margin-bottom:10px}.wallet-big strong{font-size:28px}.form-card,.history-card,.tutorial-card,.support-card,.empty-card,.success-card,.error-card,.loading-card{padding:17px;margin-bottom:12px}.form-card h3,.history-card h3,.tutorial-card h3,.support-card h3{margin:0 0 10px}.form-card p,.tutorial-card p,.support-card p,.empty-card p,.error-card p,.loading-card p{color:#667085;line-height:1.9}input,textarea{width:100%;border:1px solid #dfe5ef;border-radius:12px;padding:13px;margin:7px 0 10px;background:#f9fbff;font:inherit;outline:none;direction:rtl}textarea{min-height:110px;resize:vertical;direction:ltr;text-align:left}.form-card textarea,.modal textarea#cancelReason{direction:rtl;text-align:right}.history-card ul{list-style:none;padding:0;margin:0}.history-card li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eef1f6;padding:10px 0;color:#667085}.history-card li:last-child{border-bottom:0}.history-card li b{color:#222a3a}.support-card{text-align:center}.support-card div{font-size:38px}.empty-card,.success-card,.error-card,.loading-card{text-align:center;padding:34px 18px}.big-ok,.error-icon{font-size:46px}.success-card textarea{margin:15px 0}.loader{width:44px;height:44px;margin:0 auto 16px;border:5px solid #e4e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.tabbar{position:fixed;right:50%;transform:translateX(50%);bottom:14px;z-index:20;width:min(528px,calc(100% - 24px));background:#10131b;border:1px solid #232a39;border-radius:24px;display:grid;grid-template-columns:repeat(4,1fr);padding:9px;box-shadow:0 18px 50px rgba(0,0,0,.22)}.tabbar button{border:0;border-radius:18px;background:transparent;color:#aeb8ce;font-size:18px;padding:9px 4px}.tabbar button span{display:block;font-size:12px;margin-top:4px;font-weight:800}.tabbar button.active{background:linear-gradient(135deg,#113b62,#31285f);color:#fff}.toast{position:fixed;right:50%;transform:translateX(50%) translateY(20px);bottom:96px;z-index:50;opacity:0;pointer-events:none;background:#111827;color:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 16px 44px rgba(0,0,0,.3);max-width:min(480px,calc(100% - 32px));text-align:center;transition:.22s}.toast.show{opacity:1;transform:translateX(50%) translateY(0)}.toast.good{background:#0f9365}.toast.bad{background:#d62846}.modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:12px}.modal.hidden{display:none}.modal-card{width:min(540px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:22px;padding:20px;position:relative;box-shadow:0 -20px 60px rgba(0,0,0,.28)}.modal-close{position:absolute;left:14px;top:12px;width:34px;height:34px;border:0;border-radius:12px;background:#edf1f7;font-size:22px}.modal-card h2{margin:8px 0 12px}.config-detail{background:#f4f6fb;border-radius:14px;padding:12px;margin:12px 0}.config-detail p{margin:6px 0}.refund-box{background:#fff5d8;border:1px solid #ffe4a3;color:#725100;border-radius:14px;padding:12px;margin:10px 0;line-height:1.9}@media(max-width:370px){.content{padding:14px}.plan-info{grid-template-columns:1fr}.xray-actions{grid-template-columns:1fr 1fr}.app-header h1{font-size:19px}}
