:root{--sbn-bg:#0b0d12;--sbn-panel:#12141a;--sbn-line:#22262f;--sbn-tx:#eef2f7;--sbn-mut:#8b94a3;--sbn-acc:#e5b44c;--sbn-acc2:#ff8a00;--sbn-ok:#3ddc97}
#sbnTop{position:fixed;top:0;left:0;right:0;height:58px;z-index:99998;display:flex;align-items:center;gap:8px;
 padding:0 10px;background:rgba(11,13,18,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--sbn-line);
 font-family:-apple-system,"Segoe UI",Rubik,Arial,sans-serif;direction:rtl;color:var(--sbn-tx);box-sizing:border-box}
#sbnTop .sbn-btn{width:36px;height:36px;border-radius:11px;border:1px solid var(--sbn-line);background:#12141a;
 display:flex;align-items:center;justify-content:center;color:var(--sbn-tx);font-size:16px;cursor:pointer;flex:0 0 auto}
#sbnTop .sbn-btn:active{transform:scale(.94)}
#sbnTop .sbn-mid{flex:1;min-width:0;text-align:center}
#sbnTop .sbn-crumb{font-size:10px;color:var(--sbn-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
#sbnTop .sbn-ttl{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
#sbnAcct{display:flex;align-items:center;gap:6px;max-width:132px;padding:6px 9px;border-radius:11px;
 border:1px solid #3a3320;background:#1b1608;color:var(--sbn-acc);font-size:11.5px;font-weight:700;cursor:pointer;flex:0 0 auto}
#sbnAcct b{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sbnAcct small{color:#8b94a3;font-weight:500;font-size:10px}
#sbnTabs{position:fixed;top:58px;left:0;right:0;z-index:99997;display:flex;gap:6px;overflow-x:auto;padding:8px 10px;
 background:rgba(11,13,18,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--sbn-line);
 font-family:-apple-system,"Segoe UI",Rubik,Arial,sans-serif;direction:rtl;box-sizing:border-box;scrollbar-width:none}
#sbnTabs::-webkit-scrollbar{display:none}
#sbnTabs a{flex:0 0 auto;text-decoration:none;color:var(--sbn-mut);font-size:12.5px;font-weight:600;padding:7px 12px;
 border-radius:999px;border:1px solid var(--sbn-line);background:#0f1117;white-space:nowrap}
#sbnTabs a.on{color:#141414;background:linear-gradient(180deg,#f2ce86,#e5b44c);border-color:#e5b44c;font-weight:800}
#sbnBar{position:fixed;bottom:0;left:0;right:0;z-index:99998;display:flex;background:rgba(11,13,18,.97);
 backdrop-filter:blur(12px);border-top:1px solid var(--sbn-line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));
 font-family:-apple-system,"Segoe UI",Rubik,Arial,sans-serif;direction:rtl;box-sizing:border-box}
#sbnBar a{flex:1;text-align:center;text-decoration:none;color:var(--sbn-mut);font-size:10.5px;padding:5px 2px;
 display:flex;flex-direction:column;align-items:center;gap:3px;border-radius:10px;cursor:pointer}
#sbnBar a .i{font-size:17px;line-height:1}
#sbnBar a.on{color:var(--sbn-acc);font-weight:800}
#sbnBar a:active{background:#151922}
#sbnSheet{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.66);display:none;
 font-family:-apple-system,"Segoe UI",Rubik,Arial,sans-serif;direction:rtl}
#sbnSheet.open{display:block}
#sbnSheet .in{position:absolute;bottom:0;left:0;right:0;background:#0f1117;border-top-left-radius:20px;
 border-top-right-radius:20px;padding:14px 16px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--sbn-line);
 max-height:86vh;overflow:auto}
#sbnSheet .hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
#sbnSheet .hd h4{margin:0;color:var(--sbn-tx);font-size:15px;font-weight:800}
#sbnSheet .hd .x{width:32px;height:32px;border-radius:10px;border:1px solid var(--sbn-line);display:flex;
 align-items:center;justify-content:center;color:var(--sbn-mut);cursor:pointer}
#sbnSheet input[type=search]{width:100%;box-sizing:border-box;padding:11px 13px;border-radius:12px;
 border:1px solid var(--sbn-line);background:#0b0d12;color:var(--sbn-tx);font-size:14px;margin-bottom:10px;outline:none}
#sbnSheet .grp{color:var(--sbn-mut);font-size:11px;font-weight:800;letter-spacing:.4px;margin:16px 0 4px;padding:0 4px}
#sbnSheet a.it{display:flex;gap:11px;align-items:flex-start;padding:11px 6px;color:var(--sbn-tx);
 text-decoration:none;border-bottom:1px solid #1a1e26}
#sbnSheet a.it:last-child{border-bottom:0}
#sbnSheet a.it .ic{width:30px;height:30px;border-radius:9px;background:#161a22;border:1px solid var(--sbn-line);
 display:flex;align-items:center;justify-content:center;font-size:15px;flex:0 0 auto}
#sbnSheet a.it .tx{min-width:0;flex:1}
#sbnSheet a.it .tx b{display:block;font-size:14px;font-weight:700;line-height:1.3}
#sbnSheet a.it .tx small{display:block;color:var(--sbn-mut);font-size:11.5px;line-height:1.35;margin-top:2px}
#sbnSheet a.it.on{background:#151a22;border-radius:12px}
#sbnSheet a.it.on .tx b{color:var(--sbn-acc)}
#sbnSheet .ft{margin-top:16px;padding-top:12px;border-top:1px solid var(--sbn-line);display:flex;
 justify-content:space-between;align-items:center;color:var(--sbn-mut);font-size:11.5px;gap:10px}
#sbnSheet .ft a{color:#ff9a91;text-decoration:none;font-weight:700}
body{padding-top:58px!important;padding-bottom:78px!important}
body.sbn-has-tabs{padding-top:104px!important}
@media(min-width:820px){
 #sbnBar{max-width:760px;margin:0 auto;border-radius:16px 16px 0 0;left:50%;transform:translateX(-50%);right:auto;width:760px}
 #sbnSheet .in{max-width:760px;margin:0 auto;border-radius:20px 20px 0 0}
 #sbnTabs{justify-content:center}
}
