:root{--bg:#081120;--card:#101d31;--card2:#13243d;--text:#edf6ff;--muted:#9fb3cc;--accent:#38bdf8;--accent2:#22c55e;--danger:#ef4444;--warning:#f59e0b;--border:rgba(255,255,255,.09);--shadow:0 24px 60px rgba(0,0,0,.28)}*{box-sizing:border-box}body{margin:0;font-family:Arial,Tahoma,sans-serif;background:radial-gradient(circle at top right,#173760 0,#081120 45%,#050914 100%);color:var(--text);min-height:100vh}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 6vw;background:rgba(8,17,32,.84);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:800}.brand-icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 0 24px rgba(56,189,248,.25)}.nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.nav a{color:var(--muted);text-decoration:none;padding:9px 10px;border-radius:10px}.nav a:hover{background:rgba(255,255,255,.06);color:var(--text)}.nav-toggle{display:none;background:transparent;color:white;border:1px solid var(--border);border-radius:10px;padding:8px 10px}.container{width:min(1120px,92vw);margin:0 auto;padding:34px 0 70px}.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:26px;align-items:center;padding:42px 0}.hero h1{font-size:clamp(32px,5vw,58px);line-height:1.12;margin:12px 0}.lead{font-size:18px;color:var(--muted);max-width:720px;line-height:1.75}.badge{display:inline-flex;padding:8px 12px;border:1px solid rgba(56,189,248,.35);background:rgba(56,189,248,.12);border-radius:999px;color:#c7efff;margin:0}.actions,.button-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#03111f;text-decoration:none;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer;box-shadow:0 14px 30px rgba(34,197,94,.16)}.btn:hover{filter:brightness(1.05)}.btn.ghost{background:rgba(255,255,255,.07);color:var(--text);box-shadow:none;border:1px solid var(--border)}.btn.small{padding:8px 12px}.btn.tiny{padding:7px 10px;border-radius:9px;font-size:13px}.danger-btn{background:var(--danger)!important;color:white!important}.done{background:#334155!important;color:#cbd5e1!important;box-shadow:none}.bird-card,.card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid var(--border);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.bird-card{text-align:center}.bird-emoji{font-size:84px;filter:drop-shadow(0 12px 28px rgba(56,189,248,.3))}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0}.stats .card span{display:block;color:var(--muted);font-size:14px}.stats .card strong{display:block;font-size:28px;margin-top:8px}.two{grid-template-columns:1fr 1fr}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.steps div{background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:16px;padding:16px}.steps b{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(56,189,248,.16);margin-right:8px}.auth-card{max-width:560px;margin:25px auto}.form{display:grid;gap:12px}.form label{color:#cbd5e1;font-weight:700}.form input,.form textarea,.form select,.copy-input,.inline-form input{width:100%;background:#081426;color:var(--text);border:1px solid var(--border);border-radius:12px;padding:12px;outline:none}.form input:focus,.form textarea:focus{border-color:rgba(56,189,248,.6)}.muted{color:var(--muted);line-height:1.7}.alert{border-radius:14px;margin:12px 0;padding:13px 15px;border:1px solid var(--border)}.alert.success{background:rgba(34,197,94,.14);color:#bbf7d0}.alert.danger{background:rgba(239,68,68,.14);color:#fecaca}.alert.warning{background:rgba(245,158,11,.14);color:#fde68a}.dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}th{color:#bfdbfe;background:rgba(255,255,255,.04)}.task-card{display:grid;gap:14px}.task-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.reward{background:rgba(34,197,94,.15);color:#bbf7d0;border:1px solid rgba(34,197,94,.25);border-radius:999px;padding:7px 10px;font-weight:800}.external{color:#7dd3fc}.copy-input{font-size:16px}.status{padding:6px 10px;border-radius:999px;font-size:13px;font-weight:800}.status.pending{background:rgba(245,158,11,.16);color:#fde68a}.status.paid,.status.approved{background:rgba(34,197,94,.16);color:#bbf7d0}.status.rejected,.status.failed{background:rgba(239,68,68,.16);color:#fecaca}.inline-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-form input{width:160px;padding:8px}.wallet-cell{max-width:240px;word-break:break-all}.footer{border-top:1px solid var(--border);padding:22px 6vw;color:var(--muted);text-align:center;background:rgba(0,0,0,.18)}@media(max-width:820px){.nav-toggle{display:block}.nav{display:none;position:absolute;top:68px;left:4vw;right:4vw;background:#081120;border:1px solid var(--border);border-radius:18px;padding:14px;box-shadow:var(--shadow)}.nav.open{display:grid}.hero,.two{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr}.dashboard-head{display:grid}.container{width:min(94vw,1120px)}}@media(max-width:520px){.stats{grid-template-columns:1fr}.topbar{padding:12px 4vw}}

/* =========================================================
   TaskBirds Design System v1
   Scope: unified account layout, sidebar, cards, profile.
   Visual direction: light blue background + dark dashboard cards.
   ========================================================= */
:root{
  --tb-page-bg:#1099c5;
  --tb-panel:#26325a;
  --tb-panel-2:#172344;
  --tb-panel-3:#1d294d;
  --tb-border:#5b63ff;
  --tb-border-soft:rgba(139,151,255,.30);
  --tb-text:#ffffff;
  --tb-muted:#aeb7e8;
  --tb-orange:#ff6030;
  --tb-yellow:#ffe63b;
  --tb-green:#22c55e;
  --tb-red:#e9364e;
  --tb-radius-lg:28px;
  --tb-radius-md:18px;
  --tb-radius-sm:12px;
  --tb-shadow:0 18px 36px rgba(0,0,0,.20);
}
html{direction:ltr;unicode-bidi:normal;}
body{
  background:var(--tb-page-bg)!important;
  color:var(--tb-text);
  font-family:Arial,Tahoma,sans-serif!important;
  overflow-x:hidden;
}
body .container{
  width:min(1180px,96vw)!important;
  max-width:1180px!important;
  padding:28px 0 56px!important;
}
body input,body textarea,body select,body button{font-family:Arial,Tahoma,sans-serif!important;direction:ltr;}

/* Account layout */
.account-page-layout{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:22px;
  align-items:start;
  direction:ltr;
  box-sizing:border-box;
}
.account-main-area{min-width:0;width:100%;}

/* General UI atoms */
.ui-card,.tb-card{
  background:var(--tb-panel);
  border:4px solid var(--tb-border);
  border-radius:var(--tb-radius-lg);
  color:var(--tb-text);
  box-shadow:var(--tb-shadow);
}
.ui-inner,.tb-inner{
  background:var(--tb-panel-2);
  border:1px solid var(--tb-border-soft);
  border-radius:var(--tb-radius-md);
}
.ui-title,.tb-title{
  margin:0 0 22px;
  color:#aaa8ff;
  text-align:center;
  text-transform:uppercase;
  font-size:26px;
  font-weight:900;
  letter-spacing:.4px;
}
.ui-small-title{color:#aaa8ff;text-transform:uppercase;font-weight:900;font-size:16px;letter-spacing:.3px;}
.ui-btn,.tb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 18px;
  border:0;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  text-decoration:none!important;
  cursor:pointer;
  line-height:1.1;
}
.ui-btn.green,.tb-btn.green{background:var(--tb-green);color:#fff!important;box-shadow:0 3px 0 rgba(0,0,0,.22);}
.ui-btn.red,.tb-btn.red{background:var(--tb-red);color:#fff!important;box-shadow:0 3px 0 rgba(0,0,0,.22);}
.ui-btn.purple,.tb-btn.purple{background:#5b5cff;color:#fff!important;box-shadow:0 3px 0 rgba(0,0,0,.22);}
.ui-btn.gold,.tb-btn.gold{background:linear-gradient(180deg,#ffd44b,#f0b324);color:#111!important;box-shadow:0 3px 0 rgba(0,0,0,.22);}
.ui-coin,.tb-coin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:21px;
  height:21px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff79a 0,#ffd53d 30%,#eea908 66%,#a96500 100%);
  vertical-align:-4px;
  margin-right:4px;
  box-shadow:0 2px 8px rgba(0,0,0,.35);
  font-size:0;
}
.ui-coin:before,.tb-coin:before{content:'$';font-size:13px;font-weight:900;color:#f7b800;text-shadow:0 1px 0 rgba(255,255,255,.75);}

/* Unified sidebar */
.tb-sidebar{
  width:270px;
  display:grid;
  gap:16px;
  color:#fff;
}
.tb-sidebar-card{
  background:var(--tb-panel);
  border:1px solid rgba(0,0,0,.45);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 24px rgba(0,0,0,.14);
}
.tb-sidebar-title{
  background:#0b6d93;
  color:#fff;
  text-align:center;
  font-family:Georgia,'Times New Roman',serif;
  font-size:20px;
  font-weight:900;
  line-height:1.2;
  padding:10px 8px;
  text-shadow:0 1px 1px #00182a;
}
.tb-balance-row{
  background:#c4dce6;
  color:#075184;
  text-align:center;
  padding:14px 10px;
  border-top:1px solid rgba(0,0,0,.42);
}
.tb-balance-row:first-of-type{border-top:0;}
.tb-balance-label{font-size:17px;line-height:1.2;margin-bottom:8px;}
.tb-balance-label b{font-weight:900;color:#064f88;}
.tb-rate-line{background:#0b6d93;color:#fff;text-align:center;font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:900;line-height:1.25;padding:9px 8px;border-top:1px solid rgba(0,0,0,.45);}
.tb-nav-section{display:grid;gap:7px;}
.tb-section-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:start;
  width:160px;
  min-height:31px;
  padding:5px 12px;
  border-radius:0 18px 18px 0;
  background:linear-gradient(#0b7daa,#075a86);
  border:1px solid #061b2d;
  color:#fff;
  font-family:Georgia,'Times New Roman',serif;
  font-size:18px;
  font-weight:900;
  text-shadow:0 1px 1px #00182a;
}
.tb-nav-list{display:grid;gap:6px;}
.tb-nav-link{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:9px;
  min-height:47px;
  padding:6px 10px;
  background:#c4dce6;
  color:#073b63!important;
  border:1px solid #061b2d;
  text-decoration:none!important;
  font-size:18px;
  font-weight:900;
  line-height:1.08;
  overflow:hidden;
}
.tb-nav-link:hover,.tb-nav-link.active{background:#d6ebf3;color:#062d4c!important;}
.tb-nav-icon{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:linear-gradient(180deg,#1e2b52,#111a38);
  border:1px solid rgba(255,255,255,.16);
  color:var(--tb-yellow);
  font-size:20px;
  line-height:1;
}
.tb-nav-text{display:block;white-space:normal;overflow-wrap:break-word;}
.tb-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:50%;
  background:#c52b2b;
  color:#ffd637;
  font-size:16px;
  font-weight:900;
  margin-left:5px;
}

/* Profile v98 */
.profile-v98{width:100%;}
.profile-stats-v98{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:0 0 20px;
  padding:10px;
  background:var(--tb-panel);
  border:4px solid var(--tb-border);
  border-radius:24px;
  box-shadow:var(--tb-shadow);
}
.profile-stat-v98{
  background:var(--tb-panel-2);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:9px 8px;
  min-height:58px;
  text-align:center;
  display:grid;
  align-content:center;
}
.profile-stat-v98 span{display:block;color:var(--tb-orange);font-size:13px;font-weight:700;line-height:1.1;margin-bottom:5px;}
.profile-stat-v98 b{display:block;color:#fff;font-size:17px;line-height:1.15;}
.profile-card-v98{padding:28px;}
.profile-news-v98{
  margin:0 auto 28px;
  padding:16px 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  color:#fff;
  font-size:15px;
}
.profile-news-v98 .muted{color:#aaa8ff;}
.profile-news-v98 a{color:#ff7341!important;font-weight:900;}
.profile-grid-v98{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:30px;
  align-items:start;
}
.profile-hero-v98{text-align:center;}
.profile-avatar-v98{
  width:250px;
  height:250px;
  margin:0 auto 18px;
  border-radius:50%;
  border:8px solid var(--tb-border);
  overflow:hidden;
  background:#1a2549;
  display:grid;
  place-items:center;
}
.profile-avatar-v98 img{width:100%;height:100%;object-fit:cover;display:block;}
.profile-rank-row{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;color:#cbd5ff;font-size:15px;}
.profile-progress-v98{position:relative;height:22px;border-radius:999px;background:#1b2544;border:1px solid rgba(255,255,255,.22);overflow:hidden;}
.profile-progress-fill-v98{height:100%;background:linear-gradient(90deg,#5364ff,#d400ff);border-radius:999px;}
.profile-progress-text-v98{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:#fff;text-shadow:0 1px 1px #000;}
.profile-info-list-v98{display:grid;gap:10px;}
.profile-info-row-v98{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:10px;
  align-items:center;
  background:var(--tb-panel-3);
  border:1px solid var(--tb-border-soft);
  border-radius:14px;
  padding:12px 14px;
  min-width:0;
}
.profile-info-row-v98 .k{color:#e7edff;text-transform:uppercase;font-size:14px;white-space:nowrap;}
.profile-info-row-v98 .v{color:#fff;font-weight:900;text-align:right;white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-width:0;}
.profile-footer-note-v98{margin-top:18px;color:#cbd5ff;font-size:14px;line-height:1.6;text-align:center;}

@media(max-width:1050px){
  .account-page-layout{grid-template-columns:1fr;max-width:760px;}
  .tb-sidebar{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .tb-sidebar-card,.tb-nav-section{min-width:0;}
  .profile-stats-v98{grid-template-columns:repeat(2,minmax(0,1fr));}
  .profile-grid-v98{grid-template-columns:1fr;}
}
@media(max-width:680px){
  body .container{width:min(95vw,760px)!important;padding-top:20px!important;}
  .tb-sidebar{grid-template-columns:1fr;}
  .profile-card-v98{padding:20px 14px;border-radius:24px;}
  .profile-news-v98{grid-template-columns:1fr;text-align:center;}
  .profile-avatar-v98{width:220px;height:220px;}
  .profile-info-row-v98{grid-template-columns:1fr;gap:5px;text-align:center;}
  .profile-info-row-v98 .k{white-space:normal;}
  .profile-info-row-v98 .v{text-align:center;}
}
@media(max-width:460px){
  .profile-stats-v98{grid-template-columns:1fr;}
  .tb-nav-link{font-size:16px;}
  .tb-section-label{font-size:16px;width:148px;}
}


/* TASKBIRDS DESIGN SYSTEM V1.1 SIDEBAR START */
:root{
  --tb-bg:#1099c5;
  --tb-card:#26325a;
  --tb-card-2:#172344;
  --tb-border:#5b63ff;
  --tb-text:#ffffff;
  --tb-muted:#aeb8f2;
  --tb-orange:#ff6030;
  --tb-green:#22c55e;
  --tb-red:#ef334e;
  --tb-yellow:#ffd43b;
}

html,body{
  direction:ltr;
}

.account-page-layout,
.tb-account-layout{
  width:min(1180px, calc(100% - 28px));
  margin:28px auto 42px;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:22px;
  align-items:start;
  direction:ltr;
}

.account-main-area,
.tb-account-main{
  min-width:0;
}

.tb-sidebar{
  width:270px;
  color:var(--tb-text);
  font-family:Arial,Tahoma,sans-serif;
  direction:ltr;
}

.tb-sidebar-card{
  background:var(--tb-card);
  border:3px solid var(--tb-border);
  border-radius:26px;
  padding:14px;
  box-shadow:0 16px 32px rgba(0,0,0,.18);
  overflow:hidden;
}

.tb-side-balance{
  background:#c6dce8;
  color:#08466b;
  border:1px solid rgba(0,0,0,.45);
  border-radius:18px;
  overflow:hidden;
  margin-bottom:16px;
  text-align:center;
}

.tb-side-balance-title{
  background:#0c7495;
  color:#fff;
  font-family:Georgia,serif;
  font-size:19px;
  font-weight:900;
  padding:9px 10px;
  text-shadow:0 1px 0 rgba(0,0,0,.35);
}

.tb-side-balance-row{
  padding:13px 10px 14px;
  border-top:1px solid rgba(0,0,0,.28);
}

.tb-side-balance-row:first-of-type{
  border-top:0;
}

.tb-side-balance-label{
  display:block;
  font-size:15px;
  line-height:1.25;
  color:#07507b;
  margin-bottom:8px;
}

.tb-side-balance-value{
  font-size:20px;
  font-weight:900;
  color:#073e66;
}

.tb-side-balance .tb-btn{
  width:auto;
  min-width:150px;
  height:36px;
  padding:0 18px;
  margin-top:8px;
  font-size:15px;
  border-radius:11px;
}

.tb-side-rate{
  background:#0c7495;
  color:#fff;
  font-family:Georgia,serif;
  font-size:17px;
  font-weight:900;
  line-height:1.25;
  padding:10px;
}

.tb-side-section{
  margin:15px 0 0;
}

.tb-side-heading{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:3px 18px;
  border-radius:14px 22px 22px 0;
  background:#0c7495;
  color:#fff;
  border:1px solid rgba(0,0,0,.65);
  font-family:Georgia,serif;
  font-size:18px;
  font-weight:900;
  text-shadow:0 1px 0 rgba(0,0,0,.35);
}

.tb-side-menu{
  margin:4px 0 0;
  display:grid;
  gap:6px;
}

.tb-side-link{
  min-height:48px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  background:#c6dce8;
  color:#073e66 !important;
  border:1px solid rgba(0,0,0,.55);
  text-decoration:none !important;
  font-size:18px;
  font-weight:900;
  line-height:1.12;
  box-sizing:border-box;
  transition:transform .12s ease, filter .12s ease;
}

.tb-side-link:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.tb-side-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  background:#142145;
  color:#ffeb3b;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  font-weight:900;
  box-shadow:0 2px 5px rgba(0,0,0,.25);
}

.tb-side-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tb-side-sub{
  display:block;
  color:var(--tb-orange);
  font-size:13px;
  font-weight:900;
  margin-top:2px;
}

.tb-side-badge{
  min-width:26px;
  height:26px;
  padding:0 7px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#d62828;
  color:#ffd43b;
  font-weight:900;
  font-size:17px;
}

.tb-btn{
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  color:#fff !important;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 2px 4px rgba(0,0,0,.25);
}

.tb-btn-green{background:linear-gradient(180deg,#24ce5f,#16a843);}
.tb-btn-red{background:linear-gradient(180deg,#f23b55,#d82944);}
.tb-btn-purple{background:linear-gradient(180deg,#6968ff,#5555e8);}
.tb-btn-yellow{background:linear-gradient(180deg,#ffd24a,#ebb12a);color:#121212 !important;}

@media (max-width: 980px){
  .account-page-layout,
  .tb-account-layout{
    width:min(720px, calc(100% - 24px));
    grid-template-columns:1fr;
  }
  .tb-sidebar{
    width:100%;
  }
  .tb-sidebar-card{
    border-radius:22px;
  }
}

@media (max-width: 520px){
  .account-page-layout,
  .tb-account-layout{
    width:calc(100% - 18px);
    margin-top:18px;
    gap:16px;
  }
  .tb-side-link{
    font-size:16px;
  }
}
/* TASKBIRDS DESIGN SYSTEM V1.1 SIDEBAR END */


/* =========================================================
   TASKBIRDS MOBILE PHASE 1 CORE v177
   Goal: keep the phone view compact like a small desktop,
   while preventing cards, forms, and tables from overflowing.
   ========================================================= */
@media (max-width: 760px){
  body.tb-auth-body,
  body.tb-public-body{
    overflow-x:hidden!important;
  }
  body.tb-auth-body .account-main-area{
    min-width:0!important;
  }
  body.tb-auth-body .ui-card,
  body.tb-auth-body .tb-card,
  body.tb-auth-body .profile-card-v98,
  body.tb-auth-body .tb-shop-card,
  body.tb-auth-body .tb-collect-card,
  body.tb-auth-body .tb-deposit-card,
  body.tb-auth-body .tb-withdraw-shell,
  body.tb-auth-body .tb-ch-shell{
    box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
  }
  body.tb-auth-body .profile-v98,
  body.tb-auth-body .tb-shop-page,
  body.tb-auth-body .tb-collect-page,
  body.tb-auth-body .tb-deposit-page,
  body.tb-auth-body .tb-withdraw-wrap,
  body.tb-auth-body .tb-ch-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.tb-auth-body .profile-stats-v98,
  body.tb-auth-body .tb-shop-stats,
  body.tb-auth-body .tb-collect-card .tb-stats{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body.tb-auth-body .profile-stat-v98,
  body.tb-auth-body .tb-shop-stat,
  body.tb-auth-body .tb-collect-card .tb-stat{
    min-height:42px!important;
    padding:6px 5px!important;
    border-radius:9px!important;
    overflow:hidden!important;
  }
  body.tb-auth-body .profile-stat-v98 span,
  body.tb-auth-body .tb-shop-stat span,
  body.tb-auth-body .tb-collect-card .tb-stat span{
    font-size:8px!important;
    line-height:1.05!important;
  }
  body.tb-auth-body .profile-stat-v98 b,
  body.tb-auth-body .tb-shop-stat b,
  body.tb-auth-body .tb-collect-card .tb-stat b{
    font-size:10px!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.tb-auth-body .profile-news-v98,
  body.tb-auth-body .tb-deposit-info,
  body.tb-auth-body .tb-collect-info,
  body.tb-auth-body .tb-shop-info,
  body.tb-auth-body .tb-withdraw-info,
  body.tb-auth-body .tb-notify-panel{
    padding:7px!important;
    border-radius:9px!important;
    font-size:9px!important;
    line-height:1.35!important;
    overflow:hidden!important;
  }
  body.tb-auth-body .profile-grid-v98,
  body.tb-auth-body .tb-shop-top,
  body.tb-auth-body .tb-deposit-main,
  body.tb-auth-body .tb-collect-main,
  body.tb-auth-body .tb-ch-main{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  body.tb-auth-body .profile-avatar-v98{
    width:104px!important;
    height:104px!important;
    margin:0 auto 6px!important;
  }
  body.tb-auth-body .profile-avatar-v98 img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.tb-auth-body .profile-rank-row,
  body.tb-auth-body .profile-footer-note-v98{
    font-size:8px!important;
    line-height:1.25!important;
  }
  body.tb-auth-body .profile-info-list-v98{
    gap:4px!important;
  }
  body.tb-auth-body .profile-info-row-v98{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:2px!important;
    padding:5px 6px!important;
    border-radius:7px!important;
    min-height:0!important;
  }
  body.tb-auth-body .profile-info-row-v98 .k,
  body.tb-auth-body .profile-info-row-v98 .v{
    font-size:8.5px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.tb-auth-body .tb-heroes-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  body.tb-auth-body .tb-hero-card{
    padding:7px!important;
    border-radius:10px!important;
  }
  body.tb-auth-body .tb-hero-head{
    gap:4px!important;
  }
  body.tb-auth-body .tb-hero-name{
    font-size:12px!important;
    line-height:1.1!important;
  }
  body.tb-auth-body .tb-hero-level,
  body.tb-auth-body .tb-card-tip{
    font-size:8px!important;
  }
  body.tb-auth-body .tb-hero-body{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    gap:7px!important;
    align-items:start!important;
  }
  body.tb-auth-body .tb-hero-stage img,
  body.tb-auth-body .tb-hero-img{
    max-width:76px!important;
    max-height:76px!important;
    object-fit:contain!important;
  }
  body.tb-auth-body .tb-hero-info,
  body.tb-auth-body .tb-price-line{
    font-size:8.5px!important;
    line-height:1.25!important;
  }
  body.tb-auth-body .tb-buy-btn,
  body.tb-auth-body .tb-deposit-btn,
  body.tb-auth-body .tb-collect-btn,
  body.tb-auth-body .tb-withdraw-shell .tb-btn,
  body.tb-auth-body .tb-ch-btn{
    min-height:30px!important;
    height:auto!important;
    padding:7px 9px!important;
    border-radius:8px!important;
    font-size:10px!important;
    line-height:1.1!important;
    width:100%!important;
  }
  body.tb-auth-body .tb-collect-panel,
  body.tb-auth-body .tb-deposit-box,
  body.tb-auth-body .tb-payout-card,
  body.tb-auth-body .tb-ch-card,
  body.tb-auth-body .tb-ch-rules{
    padding:8px!important;
    border-radius:10px!important;
  }
  body.tb-auth-body .tb-income-big{
    font-size:18px!important;
    padding:8px!important;
    border-radius:10px!important;
  }
  body.tb-auth-body .tb-timer,
  body.tb-auth-body .tb-live,
  body.tb-auth-body .tb-wait,
  body.tb-auth-body .tb-rate-line,
  body.tb-auth-body .tb-deposit-foot{
    font-size:9px!important;
    line-height:1.25!important;
  }
  body.tb-auth-body .tb-split{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  body.tb-auth-body .tb-heroes-list{
    gap:5px!important;
  }
  body.tb-auth-body .tb-hero-row{
    min-height:42px!important;
    padding:5px!important;
    border-radius:8px!important;
    gap:6px!important;
  }
  body.tb-auth-body .tb-hero-row .tb-hero-name,
  body.tb-auth-body .tb-hero-meta{
    font-size:9px!important;
    line-height:1.15!important;
  }
  body.tb-auth-body .tb-form,
  body.tb-auth-body .tb-deposit-form,
  body.tb-auth-body .tb-buy-form{
    gap:7px!important;
  }
  body.tb-auth-body .tb-row,
  body.tb-auth-body .tb-amount-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
  }
  body.tb-auth-body .tb-wallet-input,
  body.tb-auth-body .tb-readonly,
  body.tb-auth-body .tb-amount-input,
  body.tb-auth-body input,
  body.tb-auth-body select,
  body.tb-auth-body textarea{
    min-height:30px!important;
    padding:7px!important;
    border-radius:7px!important;
    font-size:11px!important;
  }
  body.tb-auth-body .tb-gifts-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  body.tb-auth-body .tb-gift-item,
  body.tb-auth-body .tb-history-item,
  body.tb-auth-body .tb-notify-item,
  body.tb-auth-body .tb-ch-row{
    padding:6px!important;
    border-radius:8px!important;
    font-size:9px!important;
    line-height:1.25!important;
  }
  body.tb-auth-body .tb-notify-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  body.tb-auth-body .tb-notify-title{
    font-size:14px!important;
    line-height:1.15!important;
  }
  body.tb-auth-body .tb-notify-read-btn{
    width:100%!important;
    min-height:30px!important;
    font-size:10px!important;
    padding:7px!important;
  }
}

@media (max-width: 390px){
  body.tb-auth-body .profile-stats-v98,
  body.tb-auth-body .tb-shop-stats,
  body.tb-auth-body .tb-collect-card .tb-stats{
    grid-template-columns:1fr!important;
  }
  body.tb-auth-body .tb-hero-body{
    grid-template-columns:66px minmax(0,1fr)!important;
  }
  body.tb-auth-body .tb-hero-stage img,
  body.tb-auth-body .tb-hero-img{
    max-width:66px!important;
    max-height:66px!important;
  }
}
