*{box-sizing:border-box;margin:0;padding:0}
body{font-family:system-ui,'Hind Siliguri',sans-serif;background:#f6f7fb;color:#1f2937;padding-bottom:84px}
a{color:inherit;text-decoration:none}
.top{background:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;box-shadow:0 1px 4px #0001;position:sticky;top:0;z-index:5}
.logo{font-weight:800;font-size:20px;color:#2563eb;display:flex;align-items:center;gap:8px}
.logo img{height:34px;border-radius:8px}
.btn,button{border:0;border-radius:10px;padding:10px 16px;font-weight:700;color:#fff;background:#2563eb;cursor:pointer;font-size:14px;display:inline-block;text-align:center}
.btn.green{background:#16a34a}.btn.red{background:#dc2626}.btn.gray{background:#6b7280}.btn.full{width:100%;margin-top:8px}
.bal{background:#e8f0ff;color:#2563eb;font-weight:800;border-radius:10px;padding:8px 12px}
.notice{background:#2563eb;color:#fff;text-align:center;padding:9px;font-size:14px}
.wrap{max-width:900px;margin:auto;padding:16px}
.alert{padding:12px;border-radius:10px;margin-bottom:12px;font-weight:600;word-break:break-word}
.alert.ok{background:#e8f8ef;color:#166534}.alert.err{background:#fde8e8;color:#991b1b}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.chip{background:#fff;border:1px solid #dbe3f5;border-radius:20px;padding:7px 14px;font-size:13px;font-weight:700;color:#2563eb}
.chip.on{background:#2563eb;color:#fff}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:700px){.grid{grid-template-columns:repeat(3,1fr);gap:16px}}
@media(min-width:900px){.grid{grid-template-columns:repeat(4,1fr)}}
.card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px #0001;text-align:center;padding-bottom:10px}
.card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#e5e7eb;display:block}
.name{font-weight:700;font-size:14px;margin:10px 6px 6px}
.price{display:inline-block;background:#e8f8ef;color:#16a34a;font-weight:800;border-radius:8px;padding:3px 10px;margin-bottom:8px}
.b2{display:block;margin:6px 10px 0;border-radius:9px;padding:8px;font-size:13px;font-weight:700;color:#fff}
.setup{background:#14b8a6}.buy{background:#2563eb}
.box{background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 8px #0001;margin-bottom:14px}
.box h2{font-size:18px;margin-bottom:10px}
.head{display:flex;gap:14px;align-items:center}.head img{width:80px;height:80px;border-radius:12px;object-fit:cover}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.plan{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:12px;display:flex;justify-content:space-between;align-items:center;font-weight:700;cursor:pointer}
.plan input{display:none}.plan:has(input:checked){border-color:#2563eb;background:#f0f6ff}
.plan.out{opacity:.5;cursor:not-allowed}.plan small{display:block;color:#dc2626;font-weight:500}
label{display:block;font-weight:600;margin:10px 0 4px;font-size:14px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],textarea,select{width:100%;padding:11px;border:1px solid #d1d5db;border-radius:10px;font-size:15px;background:#fff}
textarea{min-height:90px}
table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:9px 6px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}
.key{background:#f3f4f6;border-radius:8px;padding:8px;font-family:monospace;word-break:break-all;margin-top:4px}
.tag{border-radius:6px;padding:2px 8px;font-size:12px;font-weight:700}
.tag.completed,.tag.paid{background:#e8f8ef;color:#166534}.tag.refunded,.tag.pending{background:#fff7e0;color:#92400e}.tag.failed{background:#fde8e8;color:#991b1b}
.or{text-align:center;color:#6b7280;margin:12px 0}
.gbtn{background:#fff;color:#1f2937;border:1px solid #d1d5db;width:100%}
.nav{position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;justify-content:space-around;padding:8px 0;box-shadow:0 -1px 6px #0002;z-index:5}
.nav a{display:flex;flex-direction:column;align-items:center;font-size:18px;color:#6b7280}.nav a span{font-size:12px;font-weight:700}.nav a.on{color:#2563eb}
.help{position:fixed;right:14px;bottom:76px;display:flex;align-items:center;gap:10px;z-index:6}
.help-label{background:#1f1b2e;color:#fff;font-weight:700;font-size:13px;padding:9px 14px;border-radius:8px;box-shadow:0 4px 12px #0003;position:relative}
.help-icon{width:54px;height:54px;border-radius:50%;background:#229ed9;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px #229ed966;animation:hp 2s infinite}
@keyframes hp{0%{box-shadow:0 0 0 0 #229ed988}70%{box-shadow:0 0 0 12px #229ed900}100%{box-shadow:0 0 0 0 #229ed900}}
.muted{color:#6b7280;font-size:13px}
.rbadge{background:#16a34a;color:#fff;border-radius:6px;padding:2px 6px;font-size:11px;margin-right:4px}
.btn.on{background:#16a34a}
.notice{overflow:hidden;white-space:nowrap;padding:9px 0}
.marquee{display:flex;width:100%}
.marquee span{display:inline-block;padding-left:100%;animation:mq 15s linear infinite}
@keyframes mq{from{transform:translateX(0)}to{transform:translateX(-100%)}}

.topr{display:flex;align-items:center;gap:8px}
.avbtn{width:40px;height:40px;border-radius:50%;padding:0;background:linear-gradient(135deg,#10b981,#059669);font-size:14px}
.dshade{position:fixed;inset:0;background:#0006;opacity:0;pointer-events:none;transition:.25s;z-index:20}
.drawer{position:fixed;top:0;right:0;height:100%;width:330px;max-width:88vw;background:#fff;z-index:21;transform:translateX(105%);transition:.3s;overflow-y:auto;box-shadow:-8px 0 24px #0003}
body.dopen .dshade{opacity:1;pointer-events:auto}body.dopen .drawer{transform:none}
.dclose{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;padding:0;background:#e5e7eb;color:#111}
.dhead{background:#f1f5f9;text-align:center;padding:30px 16px 22px}
.dav{width:74px;height:74px;margin:0 auto 12px;border-radius:18px;background:#10b981;color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px #10b98155}
.dhead h3{font-size:19px;margin-bottom:6px}
.dlogout{display:inline-block;margin-top:14px;border:1px solid #d1d5db;border-radius:12px;padding:8px 26px;color:#059669;font-weight:700;font-size:13px;background:#fff}
.dmenu{padding:14px}.dmenu a{display:flex;align-items:center;gap:14px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:12px;padding:13px 16px;margin-bottom:9px;font-weight:700}
.dmenu a.hl{background:#ecfdf5;border-color:#a7f3d0}
.acc-hero{text-align:center;padding:26px 16px}.acc-hero h2{font-size:22px;margin:10px 0 4px}
.acc-av{width:76px;height:76px;border-radius:50%;margin:auto;background:#ef4444;color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center}
.acc-bal{display:inline-block;margin-top:8px;border:1px solid #e5e7eb;border-radius:30px;padding:8px 22px;font-size:20px;font-weight:800}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats .box{margin:0 0 0}.stats b{font-size:20px}
.stats{margin-bottom:14px}
