/* DBT Lab adaptive layout: mobile, tablet, desktop */
html,body{width:100%;min-width:0;max-width:100%;overflow-x:clip} .app-shell,.auth-shell,.page-body,.panel,.form-card,.task,.record,.plan-card{min-width:0} .page-body{width:100%} .page-body *,.auth-box *{min-width:0} img,video,svg,canvas,iframe{max-width:100%;height:auto} .article,.record,.panel,.task,.help,.menu-line,.section-title,.invite-code{overflow-wrap:anywhere} .money,.big-money,.balance-amount{overflow-wrap:anywhere} input,select,textarea{max-width:100%;min-width:0} .btn{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere} .actions{flex-wrap:wrap}.actions>*{flex:1 1 125px}.between,.row{min-width:0}.between>*{min-width:0}.data-table{min-width:550px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.filter-tabs{max-width:100%}.bottom-nav{max-width:calc(100vw - 20px)}
@media(max-width:359px){.page-body{padding:12px 10px 18px}.topbar{padding-inline:11px}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.plans{grid-template-columns:minmax(0,1fr)}.plan-art{height:145px}.bottom-nav{width:calc(100% - 12px);height:66px}.nav-item .nav-ico{width:29px;height:30px;font-size:18px}.nav-item{font-size:9px}.big-money,.balance-amount{font-size:clamp(23px,8vw,34px)}.auth-box{padding-inline:15px}.tabs>button,.tabs>a{padding:8px 5px}}
@media(min-width:600px) and (max-width:879px){.app-shell{max-width:780px}.page-body{padding:24px 30px}.topbar{padding-inline:30px}.plans{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.auth-shell{max-width:700px}.auth-box{padding:30px 48px}.bottom-nav{width:min(calc(100% - 48px),680px)}}
@media(min-width:880px){.app-shell{max-width:1440px;grid-template-columns:clamp(215px,19vw,270px) minmax(0,1fr);grid-template-rows:76px minmax(0,1fr)}.topbar{grid-column:1/-1;height:76px}.desktop-side{min-width:0}.page-body{max-width:none;min-width:0;padding:clamp(22px,3vw,44px);padding-bottom:60px}.plans{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{gap:14px}.grid-3{gap:14px}.grid-2{gap:16px}.panel{padding:clamp(16px,1.8vw,25px)}.hero{min-height:255px;padding:26px}.hero h1{font-size:clamp(24px,2.5vw,34px)}.hero .mascots{width:min(45%,440px);height:100%;object-fit:contain}.auth-shell{max-width:1120px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-art img{max-height:380px;object-fit:contain}.auth-box{padding:40px clamp(25px,4vw,60px)}.desktop-side a{transition:background .2s,color .2s}}
@media(min-width:1280px){.plans{grid-template-columns:repeat(4,minmax(0,1fr))}.page-body{padding-inline:48px}.plan-art{height:145px}.auth-shell{margin:55px auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

[hidden]{display:none!important}
.plan-art .plan-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.filter-tabs{display:flex;flex-wrap:wrap}
.menu-line.selected{outline:2px solid #e91f49;outline-offset:-2px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5744a9;outline-offset:2px}
.legacy-slide{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:16px}

:root{--cream:#fff7f0;--red:#e50f26;--red2:#9e000e;--mint:#cff2de}
.app-shell,.topbar{background-color:#fff7f0}
.app-shell{background-image:linear-gradient(160deg,#ffedee 0,#fff7f0 280px)}
.topbar{background-image:none}
.btn-red{background:linear-gradient(#fb4559,#e50f26 65%,#9e000e)}
.mint{background:linear-gradient(#dff9ec,#cff2de)}
.ref-icon,.ref-shortcut,.wallet-coin,.ref-empty,.nav-item .nav-ico img{display:inline-block;object-fit:contain;vertical-align:middle}
.ref-icon{width:36px;height:36px;border-radius:10px;flex:0 0 auto}.ref-shortcut{width:47px;height:47px;border-radius:12px}.ref-empty{display:block;width:144px;height:144px;margin:0 auto 12px;border-radius:50%}
.nav-item .nav-ico,.nav-item.current .nav-ico{background:transparent;transform:none;width:43px;height:39px}
.nav-item .nav-ico img{height:100%;width:100%;border-radius:45%}.nav-item.current{color:#21182a}
.home-greeting{font-size:1.12rem;font-weight:700;margin:4px 0 24px}.home-wallet{overflow:visible;background:radial-gradient(circle at 91% 10%,#fff2bf,white 28%);border-radius:28px}.home-wallet:before{display:none}.wallet-coin{position:absolute;top:-18px;right:14px;width:63px;height:63px;border-radius:50%}
@media(max-width:879px){.auth-art>div{display:none}.auth-art img{object-fit:cover;max-height:175px}.bottom-nav{bottom:max(12px,env(safe-area-inset-bottom));height:68px}}
