#main{flex:1;overflow-y:auto;position:relative;overscroll-behavior:none;-webkit-overflow-scrolling:touch}
#top-header{position:fixed;top:0;left:0;right:0;z-index:50;background:#0f12302e;border-bottom:1px solid rgba(140,130,255,.15);backdrop-filter:blur(48px) saturate(2.4) brightness(1.12);-webkit-backdrop-filter:blur(48px) saturate(2.4) brightness(1.12);display:flex;align-items:center;padding:0 16px;height:56px;box-shadow:0 1px #b4a0ff1a,0 4px 24px #00000026;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.nav-btn{width:100%;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;border:none;background:transparent;color:#6b7280;transition:all .18s;text-align:left}
.nav-btn:hover{background:#ffffff0d;color:#9ca3af}
.nav-btn.active{background:linear-gradient(135deg,#6366f147,#8b5cf62e);color:#c4b5fd}
.nav-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#22c55e;flex-shrink:0}
.header-logo{display:flex;align-items:center;gap:10px;background:none;border:none;cursor:pointer;padding:0}
.header-logo-img{width:38px;height:38px;border-radius:11px;object-fit:cover;border:2px solid rgba(99,102,241,.5)}
.header-logo-icon{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px #6366f173;flex-shrink:0}
#hamburger{background:none;border:none;cursor:pointer;padding:8px;border-radius:10px;display:flex;flex-direction:column;gap:5px;transition:background .18s}
#hamburger:hover{background:#ffffff12}
#hamburger span{display:block;width:22px;height:2px;background:#9ca3af;border-radius:2px;transition:all .25s}
#hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
#hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
#hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
#nav-dropdown{position:fixed;top:56px;right:0;bottom:0;width:260px;background:#060b18;border-left:1px solid rgba(255,255,255,.08);z-index:49;transform:translate(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow-y:auto}
#nav-dropdown.open{transform:translate(0)}
#nav-overlay{position:fixed;inset:56px 0 0;background:#0000008c;z-index:48;opacity:0;pointer-events:none;transition:opacity .28s}
#nav-overlay.open{opacity:1;pointer-events:auto}
.hdr-icon-btn{background:#ffffff0a;border:1px solid rgba(255,255,255,.07);color:#9ca3af;cursor:pointer;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s,border-color .15s;backdrop-filter:blur(4px)}
.hdr-icon-btn:hover{background:#ffffff1a;color:#e2e8f0;border-color:#ffffff26}
.hdr-icon-btn.active{color:#818cf8;background:#6366f126;border-color:#6366f14d}
.hdr-add-btn{width:auto!important;padding:0 14px!important;gap:6px;font-size:12px;font-weight:700;color:#c4b5fd!important;border-color:#6366f14d!important;background:#6366f11a!important;white-space:nowrap}
.hdr-add-btn:hover{background:#6366f138!important;color:#e0d9ff!important;border-color:#6366f180!important}
.hdr-star-btn{display:none}
.hdr-donate-btn{width:auto!important;padding:0 14px!important;gap:6px;font-size:12px;font-weight:700;color:#fda4af!important;border-color:#f43f5e52!important;background:#f43f5e1a!important;white-space:nowrap;text-decoration:none}
.hdr-donate-btn:hover{background:#f43f5e38!important;color:#fecdd3!important;border-color:#f43f5e80!important}
.hdr-avatar-btn{background:#6366f126;border:1.5px solid rgba(99,102,241,.35);color:#a5b4fc;cursor:pointer;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:border-color .2s,transform .15s,background .15s;padding:0;flex-shrink:0;backdrop-filter:blur(4px)}
.hdr-avatar-btn:hover{border-color:#6366f1bf;transform:scale(1.05);background:#6366f140}
.hdr-avatar-btn.local-mode{background:#f59e0b26;border-color:#f59e0b66;color:#fbbf24}
.hdr-avatar-btn.local-mode:hover{border-color:#f59e0bbf;background:#f59e0b40}
.desk-nav-link{background:none;border:none;color:#9ca3af;font-size:13px;font-weight:600;cursor:pointer;padding:6px 12px;border-radius:8px;transition:color .15s,background .15s}
.desk-nav-link:hover{color:#e2e8f0;background:#ffffff0d}
.desk-nav-link.active{color:#a5b4fc}
#profile-dropdown{background:#0f12324d!important;backdrop-filter:blur(48px) saturate(2.2) brightness(1.1)!important;-webkit-backdrop-filter:blur(48px) saturate(2.2) brightness(1.1)!important;border:1px solid rgba(140,130,255,.2)!important;box-shadow:0 24px 56px #00000080,0 1px #c8b4ff1a inset!important}
.prof-dd-item{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;background:none;border:none;color:#d1d5db;font-size:13px;font-weight:600;cursor:pointer;border-radius:10px;transition:background .14s,color .14s;text-align:left}
.prof-dd-item:hover{background:#ffffff14;color:#fff}
.prof-dd-item.prof-dd-danger{color:#f87171}
.prof-dd-item.prof-dd-danger:hover{background:#ef44441a}
#mobile-bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#0f122d40;border-top:1px solid rgba(140,130,255,.18);backdrop-filter:blur(40px) saturate(2) brightness(1.1);-webkit-backdrop-filter:blur(40px) saturate(2) brightness(1.1);padding:0 2px;padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 -1px #a096ff1a;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.mob-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:none;border:none;color:#6b7280;cursor:pointer;padding:7px 2px 6px;transition:color .15s;min-width:0;font-size:9px;font-weight:600}
.mob-tab svg{transition:transform .2s,color .2s;flex-shrink:0}
.mob-tab.active{color:#818cf8}
.mob-tab.active svg{transform:scale(1.1)}
.mob-tab span{font-size:9px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mob-tab-add{flex:1.1}
.mob-add-circle{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;box-shadow:0 3px 14px #6366f180;margin-bottom:2px;transition:transform .2s,box-shadow .2s;color:#fff}
.mob-tab-add:active .mob-add-circle{transform:scale(.92)}
.mob-tab-add .mob-add-circle{margin-top:-8px}
.mob-tab-add span{color:#9ca3af;font-size:9px}
#top-header{box-shadow:0 1px #b4a0ff1f,0 6px 28px #00000038}
.mob-tab.active{position:relative}
.mob-tab.active:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:24px;height:2px;border-radius:0 0 4px 4px;background:var(--mml-grad-primary);box-shadow:0 0 12px #818cf899}
#top-header{height:60px!important;padding:0 22px!important;background:linear-gradient(180deg,#0a0c1cc7,#0a0c1c8c)!important;border-bottom:1px solid transparent!important;box-shadow:0 1px #ffffff0a,0 12px 36px #00000059!important;backdrop-filter:blur(28px) saturate(1.8) brightness(1.05)!important;-webkit-backdrop-filter:blur(28px) saturate(1.8) brightness(1.05)!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:50!important}
#top-header:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(139,92,246,.45) 30%,rgba(236,72,153,.45) 70%,transparent 100%);opacity:.55;pointer-events:none}
#top-header:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(600px 80px at 20% -20%,rgba(139,92,246,.18),transparent 70%),radial-gradient(500px 80px at 85% -10%,rgba(236,72,153,.12),transparent 70%)}
#top-header>*{position:relative;z-index:1}
.header-logo{gap:11px!important;padding:4px 8px 4px 4px!important;border-radius:14px!important;transition:background .18s}
.header-logo:hover{background:#ffffff0a}
.header-logo-icon,.header-logo-img{width:36px!important;height:36px!important;border-radius:12px!important;box-shadow:0 6px 18px #6366f173,inset 0 1px #ffffff2e!important;border:1px solid rgba(167,139,250,.35)!important}
.header-logo p:first-child{font-size:14px!important;letter-spacing:-.015em!important}
.header-logo p:last-child{font-size:9px!important;letter-spacing:.18em!important;color:transparent!important;background:linear-gradient(90deg,#a78bfa,#f9a8d4);-webkit-background-clip:text;background-clip:text;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-weight:700!important}
.desk-nav-link{position:relative;font-size:13px!important;font-weight:600!important;padding:8px 14px!important;border-radius:10px!important;color:#94a3b8!important;transition:color .18s,background .18s!important}
.desk-nav-link:hover{color:#f1f5f9!important;background:#ffffff0a!important}
.desk-nav-link.active{color:#fff!important;background:#8b5cf62e!important}
.desk-nav-link.active:after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:linear-gradient(90deg,#a78bfa,#f9a8d4);box-shadow:0 0 10px #a78bfa8c}
#top-header>div:last-child{gap:8px!important}
.hdr-icon-btn{width:38px!important;height:38px!important;border-radius:12px!important;background:#ffffff09!important;border:1px solid rgba(255,255,255,.06)!important;color:#cbd5e1!important;transition:transform .18s var(--mml-ease),background .18s,color .18s,border-color .18s,box-shadow .18s!important}
.hdr-icon-btn:hover{background:#ffffff14!important;color:#fff!important;border-color:#ffffff24!important;transform:translateY(-1px);box-shadow:0 6px 16px #00000059}
.hdr-icon-btn:active{transform:translateY(0)}
.hdr-add-btn{width:auto!important;min-width:0!important;overflow:visible!important;padding:0 16px!important;height:38px!important;gap:7px!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:.01em!important;color:#fff!important;background:linear-gradient(135deg,#7c3aed,#ec4899)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 8px 22px #7c3aed73,inset 0 1px #ffffff40!important}
.hdr-add-btn:hover{background:linear-gradient(135deg,#8b5cf6,#f472b6)!important;color:#fff!important;border-color:#ffffff47!important;box-shadow:0 12px 28px #ec489980,inset 0 1px #ffffff4d!important}
.hdr-donate-btn{width:auto!important;min-width:0!important;overflow:visible!important;padding:0 14px!important;height:38px!important;gap:7px!important;font-size:12px!important;color:#fda4af!important;background:#f43f5e14!important;border:1px solid rgba(244,63,94,.22)!important}
.hdr-donate-btn:hover{background:#f43f5e2e!important;color:#fecaca!important;border-color:#f43f5e73!important;box-shadow:0 8px 20px #f43f5e52}
.hdr-avatar-btn{width:38px!important;height:38px!important;border:0!important;background:linear-gradient(135deg,#a78bfa40,#ec489940)!important;padding:2px!important;position:relative}
.hdr-avatar-btn:before{content:"";position:absolute;inset:-2px;border-radius:50%;padding:2px;background:linear-gradient(135deg,#a78bfa,#ec4899);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.7;transition:opacity .2s}
.hdr-avatar-btn:hover:before{opacity:1}
.hdr-avatar-btn:hover{transform:scale(1.06)!important}
.hdr-avatar-btn #hdr-avatar-inner{width:100%;height:100%;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#0d1224}
.hdr-avatar-btn.local-mode{background:linear-gradient(135deg,#fbbf244d,#f472b640)!important}
.hdr-avatar-btn.local-mode:before{background:linear-gradient(135deg,#fbbf24,#f472b6)}
#mobile-bottom-nav{background:linear-gradient(0deg,#080a16eb,#0d122499)!important;border-top:1px solid transparent!important;backdrop-filter:blur(28px) saturate(1.8) brightness(1.05)!important;-webkit-backdrop-filter:blur(28px) saturate(1.8) brightness(1.05)!important;box-shadow:0 -12px 36px #00000073!important;padding:4px 6px!important;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 4px)!important;position:fixed}
#mobile-bottom-nav:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(139,92,246,.55) 30%,rgba(236,72,153,.55) 70%,transparent 100%);opacity:.6;pointer-events:none}
#mobile-bottom-nav:after{content:"";position:absolute;left:0;right:0;top:-40px;height:40px;pointer-events:none;background:radial-gradient(60% 100% at 50% 100%,rgba(139,92,246,.18),transparent 70%)}
.mob-tab{position:relative;padding:8px 2px 6px!important;color:#64748b!important;border-radius:12px!important;margin:0 1px;transition:color .2s,background .2s,transform .15s!important}
.mob-tab svg{width:21px!important;height:21px!important;transition:transform .25s var(--mml-ease),filter .2s!important}
.mob-tab span{font-size:9.5px!important;letter-spacing:.02em!important;margin-top:2px!important}
.mob-tab:not(.mob-tab-add):hover{color:#cbd5e1!important;background:#ffffff08!important}
.mob-tab.active{color:#fff!important}
.mob-tab.active svg{transform:translateY(-2px) scale(1.08)!important;filter:drop-shadow(0 4px 10px rgba(167,139,250,.55))}
.mob-tab.active span{color:#e9d5ff!important;font-weight:700!important}
.mob-tab.active:before{width:28px!important;height:3px!important;top:0!important;background:linear-gradient(90deg,#a78bfa,#ec4899)!important;box-shadow:0 0 14px #a78bfab3,0 0 4px #ec489999!important;border-radius:0 0 6px 6px!important}
.mob-tab-add{flex:1.2!important}
.mob-add-circle{width:48px!important;height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#7c3aed,#ec4899)!important;box-shadow:0 8px 22px #7c3aed8c,0 0 0 4px #0d1224f2,inset 0 1px #ffffff4d!important;margin-top:-14px!important;transform:rotate(0);transition:transform .25s var(--mml-ease),box-shadow .25s!important;position:relative}
.mob-add-circle:after{content:"";position:absolute;inset:-1px;border-radius:16px;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.35),transparent 60%);mix-blend-mode:overlay}
.mob-tab-add:hover .mob-add-circle{transform:translateY(-2px) rotate(90deg);box-shadow:0 14px 30px #ec489999,0 0 0 4px #0d1224f2,inset 0 1px #ffffff59!important}
.mob-tab-add:active .mob-add-circle{transform:scale(.92) rotate(45deg)!important}
.mob-tab-add span{color:#cbd5e1!important;font-weight:700!important;margin-top:0!important}
.desk-nav-link{display:inline-flex!important;align-items:center;gap:7px}
.desk-nav-link .dnl-ico{display:inline-flex;width:15px;height:15px;flex-shrink:0;color:#94a3b8;opacity:.85;transition:opacity .18s ease,transform .18s ease}
.desk-nav-link:hover .dnl-ico{opacity:1;transform:translateY(-1px)}
.desk-nav-link.active .dnl-ico{opacity:1;filter:drop-shadow(0 0 5px rgba(167,139,250,.55))}
.hdr-icon-btn .hdr-svg{transition:transform .25s var(--mml-ease,cubic-bezier(.4,0,.2,1))}
.hdr-icon-btn:hover .hdr-svg{transform:scale(1.08)}
.hdr-icon-btn:active .hdr-svg{transform:scale(.92)}
.hdr-add-btn .hdr-svg-add circle{transition:opacity .2s ease,stroke-width .2s ease}
.hdr-add-btn:hover .hdr-svg-add circle{opacity:.7}
.hdr-add-btn:hover .hdr-svg-add{transform:rotate(90deg) scale(1.05)}
.hdr-star-btn:hover .hdr-svg-star{stroke:url(#hdr-star-grad);filter:drop-shadow(0 0 6px rgba(250,204,21,.55))}
.hdr-star-btn .hdr-svg-star{transition:transform .25s ease,filter .25s ease}
.hdr-donate-btn .donate-heart{transform-origin:7px 12px;animation:donateHeart 2.6s ease-in-out infinite}
.hdr-donate-btn:hover .hdr-svg-donate{transform:translateY(-2px) scale(1.08)}
.hdr-search-btn .hdr-svg-search circle:last-of-type,#hdr-search-btn .hdr-svg-search circle:last-of-type{transition:opacity .18s ease}
#hdr-search-btn:hover .hdr-svg-search circle:last-of-type{opacity:.9}
.mob-tab .mob-ico{position:relative;display:inline-block;width:22px;height:22px;line-height:0}
.mob-tab .mob-ico .mi-line,.mob-tab .mob-ico .mi-fill{position:absolute;inset:0;width:100%;height:100%;transition:opacity .22s ease,transform .25s var(--mml-ease,cubic-bezier(.4,0,.2,1))}
.mob-tab .mob-ico .mi-fill{opacity:0;transform:scale(.85)}
.mob-tab.active .mob-ico .mi-line{opacity:0;transform:scale(1.1)}
.mob-tab.active .mob-ico .mi-fill{opacity:1;transform:scale(1);filter:drop-shadow(0 2px 8px rgba(167,139,250,.55))}
.mob-tab:not(.active):hover .mob-ico .mi-line{transform:translateY(-2px)}
.mob-add-circle{position:relative}
.mob-add-circle .mac-spark{position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle,#fff,#fff0 70%);opacity:0;transform:scale(.4);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.mob-tab-add:hover .mob-add-circle .mac-spark{opacity:.9;transform:scale(1)}
#main{padding-top:60px}
#profile-dropdown{background:radial-gradient(120% 80% at 100% 0%,rgba(139,92,246,.18),transparent 60%),radial-gradient(120% 80% at 0% 100%,rgba(99,102,241,.14),transparent 55%),#0d1126b8!important;backdrop-filter:blur(28px) saturate(1.6)!important;border:1px solid rgba(140,130,255,.18)!important;box-shadow:0 30px 70px -10px #000000b3,0 1px #c8b4ff1f inset,0 0 0 1px #0006!important}
