:root{
  --ct-bg:#070b14;--ct-surface:#0d1423;--ct-surface-2:#121c2f;--ct-surface-3:#17243a;
  --ct-line:rgba(148,163,184,.16);--ct-line-strong:rgba(148,163,184,.28);
  --ct-text:#f6f8ff;--ct-muted:#95a4bf;--ct-primary:#14b8a6;--ct-primary-2:#2563eb;
  --ct-success:#2dd4a7;--ct-warning:#f7b84b;--ct-danger:#ff647c;
  --ct-radius:22px;--ct-radius-sm:14px;--ct-shadow:0 24px 70px rgba(0,0,0,.32);
}
[class^="cts-"] *,[class*=" cts-"] *{box-sizing:border-box}
.cts-tp-wallet,.cts-tp-trade-panel,.cts-tp-history,.cts-tp-chart-shell,.cts-tp-watchlist,
.cts-tp-networth,.cts-converter-shell,.cts-buy-crypto-container,.cts-tp-deposit-panel,
.cts-tp-deposit-history,.cts-tp-withdraw,.cts-tp-withdraw-history,.cts-tp-account{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ct-text)!important;background:
  radial-gradient(circle at 0 0,rgba(20,184,166,.13),transparent 34%),
  linear-gradient(180deg,#0a101d 0%,#080d17 100%)!important;
  border:1px solid var(--ct-line)!important;border-radius:var(--ct-radius)!important;
  box-shadow:var(--ct-shadow)!important;overflow:hidden;
}
.cts-tp-wallet,.cts-tp-trade-panel,.cts-tp-history,.cts-tp-chart-shell,.cts-tp-watchlist,
.cts-tp-networth,.cts-converter-shell,.cts-buy-crypto-container,.cts-tp-deposit-panel,
.cts-tp-deposit-history,.cts-tp-withdraw,.cts-tp-withdraw-history,.cts-tp-account{padding:clamp(16px,2.2vw,24px)!important}
.cts-tp-wallet h1,.cts-tp-wallet h2,.cts-tp-wallet h3,.cts-tp-trade-panel h1,.cts-tp-trade-panel h2,.cts-tp-trade-panel h3,
.cts-tp-history h1,.cts-tp-history h2,.cts-tp-history h3,.cts-tp-account h1,.cts-tp-account h2,.cts-tp-account h3,
.cts-buy-crypto-container h1,.cts-buy-crypto-container h2,.cts-buy-crypto-container h3{color:var(--ct-text)!important;letter-spacing:-.025em}
.cts-muted,[class^="cts-"] .muted,[class*=" cts-"] .muted,[class^="cts-"] .sub,[class*=" cts-"] .sub,[class^="cts-"] .tiny,[class*=" cts-"] .tiny{color:var(--ct-muted)!important}
.cts-card,.cts-tp-card,[class^="cts-"] .card,[class*=" cts-"] .card,[class^="cts-"] .box,[class*=" cts-"] .box,[class^="cts-"] .panel,[class*=" cts-"] .panel{
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  border:1px solid var(--ct-line)!important;border-radius:18px!important;box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.cts-card:hover,[class^="cts-"] .card:hover,[class*=" cts-"] .card:hover{border-color:rgba(20,184,166,.35)!important;transform:translateY(-1px)}
[class^="cts-"] button,[class*=" cts-"] button,.cts-btn,.cts-wallet-btn,
[class^="cts-"] input[type="submit"],[class*=" cts-"] input[type="submit"]{
  min-height:44px;border:1px solid transparent!important;border-radius:13px!important;padding:10px 15px!important;
  font:inherit;font-weight:750;line-height:1.15;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
[class^="cts-"] button:hover,[class*=" cts-"] button:hover,.cts-btn:hover,.cts-wallet-btn:hover{transform:translateY(-1px)}
[class^="cts-"] button:active,[class*=" cts-"] button:active,.cts-btn:active,.cts-wallet-btn:active{transform:translateY(0) scale(.985)}
[class^="cts-"] button:focus-visible,[class*=" cts-"] button:focus-visible,[class^="cts-"] a:focus-visible,[class*=" cts-"] a:focus-visible,
[class^="cts-"] input:focus-visible,[class*=" cts-"] input:focus-visible,[class^="cts-"] select:focus-visible,[class*=" cts-"] select:focus-visible,
[class^="cts-"] textarea:focus-visible,[class*=" cts-"] textarea:focus-visible{outline:3px solid rgba(20,184,166,.28)!important;outline-offset:2px}
[class^="cts-"] .btn-primary,[class*=" cts-"] .btn-primary,.cts-btn:not(.ghost),.cts-wallet-btn.primary,[class^="cts-"] [data-save],[class*=" cts-"] [data-save],[class^="cts-"] [data-confirm],[class*=" cts-"] [data-confirm],[class^="cts-"] [data-submit],[class*=" cts-"] [data-submit]{
  background:linear-gradient(135deg,var(--ct-primary),var(--ct-primary-2))!important;color:#fff!important;
  box-shadow:0 10px 24px rgba(20,184,166,.22)!important;
}
[class^="cts-"] .btn-ghost,[class*=" cts-"] .btn-ghost,[class^="cts-"] .ghost,[class*=" cts-"] .ghost,[class^="cts-"] button.secondary,[class*=" cts-"] button.secondary{
  background:rgba(255,255,255,.055)!important;color:var(--ct-text)!important;border-color:var(--ct-line)!important;box-shadow:none!important;
}
[class^="cts-"] input:not([type="checkbox"]):not([type="radio"]),[class*=" cts-"] input:not([type="checkbox"]):not([type="radio"]),
[class^="cts-"] select,[class*=" cts-"] select,[class^="cts-"] textarea,[class*=" cts-"] textarea{
  min-height:46px;width:100%;background:#0a1220!important;color:var(--ct-text)!important;border:1px solid var(--ct-line-strong)!important;
  border-radius:13px!important;padding:10px 13px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);font:inherit;
}
[class^="cts-"] input::placeholder,[class*=" cts-"] input::placeholder,[class^="cts-"] textarea::placeholder,[class*=" cts-"] textarea::placeholder{color:#72819d!important}
[class^="cts-"] label,[class*=" cts-"] label{font-weight:650;color:#cbd5e7}
[class^="cts-"] table,[class*=" cts-"] table{width:100%;border-collapse:separate!important;border-spacing:0!important}
[class^="cts-"] th,[class*=" cts-"] th{color:#a8b5ca!important;font-size:12px;text-transform:uppercase;letter-spacing:.055em;font-weight:800}
[class^="cts-"] th,[class*=" cts-"] th,[class^="cts-"] td,[class*=" cts-"] td{padding:12px!important;border-bottom:1px solid var(--ct-line)!important}
.cts-total,[class^="cts-"] .stat,[class*=" cts-"] .stat,[class^="cts-"] .title,[class*=" cts-"] .title{letter-spacing:-.035em}
.cts-actions{gap:10px!important}
.cts-actions button{padding-inline:18px!important}
.cts-tp-wallet canvas,.cts-tp-networth canvas,.cts-tp-chart-shell canvas{border:1px solid rgba(148,163,184,.11);background:linear-gradient(180deg,rgba(20,184,166,.055),rgba(255,255,255,.012))!important}
.cts-modal{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.cts-modal__panel{background:linear-gradient(180deg,#0d1525,#090f1b)!important;border:1px solid var(--ct-line-strong)!important;border-radius:24px!important;box-shadow:0 30px 100px rgba(0,0,0,.55)!important}
.cts-modal__close{width:42px;height:42px;display:grid;place-items:center;padding:0!important}
.cts-asset-icon{box-shadow:0 6px 18px rgba(0,0,0,.28)}
.cts-platforms-grid,.cts-grid,[class^="cts-"] .grid,[class*=" cts-"] .grid{gap:14px!important}
[class^="cts-"] .tag,[class*=" cts-"] .tag,[class^="cts-"] .pill,[class*=" cts-"] .pill{border:1px solid var(--ct-line)!important;background:rgba(20,184,166,.10)!important;color:#ccfbf1!important;border-radius:999px!important}
.cts-tp-deposit-history,.cts-tp-withdraw-history,.cts-tp-history{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.cts-app-pulse{animation:ctsPulse 1.15s ease-in-out infinite alternate}
@keyframes ctsPulse{to{opacity:.55}}
@media(max-width:760px){
  .cts-tp-wallet,.cts-tp-trade-panel,.cts-tp-history,.cts-tp-chart-shell,.cts-tp-watchlist,.cts-tp-networth,.cts-converter-shell,.cts-buy-crypto-container,.cts-tp-deposit-panel,.cts-tp-deposit-history,.cts-tp-withdraw,.cts-tp-withdraw-history,.cts-tp-account{border-radius:18px!important;padding:14px!important;box-shadow:0 16px 44px rgba(0,0,0,.26)!important}
  .cts-total{font-size:28px!important}
  .cts-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr!important}
  .cts-actions button{width:100%}
  .cts-tp-wallet .cts-grid{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}
  .cts-tp-wallet .cts-card{min-width:0!important}
  [class^="cts-"] table,[class*=" cts-"] table{font-size:13px}
  .cts-modal{padding:0!important;align-items:flex-end!important}
  .cts-modal__panel{width:100%!important;max-height:92dvh!important;border-radius:24px 24px 0 0!important;padding:18px 14px calc(18px + env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){[class^="cts-"] *,[class*=" cts-"] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
