/* ═══════════════════════════════════════════════════════════════
   token.css — token / market page (ui-token.js, VIEWS.t)
   Builds on .tp / .tp-head / .chartbox / .box / .tabbox in terminal.css
   ═══════════════════════════════════════════════════════════════ */

/* ── header ── */
.tk .tp-head{gap:14px 24px;padding:14px 18px;background:var(--card);flex-wrap:nowrap}
.tk .tp-id{min-width:0;flex:0 1 auto}
.tk .tp-id .av-wrap .chain{width:18px;height:18px;right:-5px;bottom:-5px}
.tk-idm{min-width:0;display:flex;flex-direction:column}
.tk .tp-id h1{min-width:0;line-height:1.2}
.tk-sym{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em}
.tk-star{display:inline-flex;align-items:center}
.tk-star .star{padding:2px}
.tk .tp-id .sub{gap:6px 10px;margin-top:5px;align-items:center}
.tk-age{color:var(--up);font-weight:600;font-variant-numeric:tabular-nums}
.tk-dex{color:var(--mute);text-transform:capitalize}
.tk-addr{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 7px;border-radius:6px;background:var(--bg-2);
  border:1px solid var(--line);color:var(--text-2);font:500 11.5px var(--mono);transition:border-color .15s,color .15s}
.tk-addr:hover{border-color:var(--line-2);color:var(--text)}
.tk-addr .ic{color:var(--faint)}
.tk-ib{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 6px;border-radius:6px;color:var(--mute)}
.tk-ib:hover{color:var(--text);background:var(--hover)}
.tk-soc{display:inline-flex;align-items:center;gap:2px}
.tk-soc .ib{display:inline-flex;align-items:center;justify-content:center;width:24px;height:22px;border-radius:6px;color:var(--mute)}
.tk-soc .ib:hover{color:var(--text);background:var(--hover)}
.tk .tp-id .sub .tag{height:20px}
.tk-hlb{background:#2fe0b4!important;border-color:var(--card)!important}
.tk-hlb svg{width:10px!important;height:10px!important}
.tk .tp-stats{gap:8px 20px;justify-content:flex-end;flex:1 1 0;min-width:0}
.tk .tp-stats > div{min-width:0}
.tk .tp-stats .k{white-space:nowrap}
.tk .tp-stats .v{display:flex;align-items:baseline;gap:6px}
.tk .tp-stats .v small{font-size:10.5px;font-weight:500;opacity:.8}
.tk .tp-stats .v.big{font-size:24px;letter-spacing:-.03em;border-radius:6px;padding:0 4px;margin:0 -4px}

/* ── skeleton + not found ── */
.tk-sk-av{display:block;width:46px;height:46px;border-radius:11px}
.tk-sk-l1{display:block;width:150px;height:16px;margin-bottom:8px}
.tk-sk-l2{display:block;width:230px;height:11px}
.tk-sk-k{display:block;width:46px;height:10px;margin-bottom:6px}
.tk-sk-v{display:block;width:74px;height:15px}
.tk-sk-card{display:block;height:360px;border-radius:10px}
.tk-sk-info{display:block;height:200px;border-radius:10px}
.tk-nf{max-width:520px;margin:12vh auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--mute);padding:0 16px}
.tk-nf b{color:var(--text);font-size:18px}
.tk-nf p{margin:0;line-height:1.55}
.tk-nf-a{display:flex;gap:8px;margin-top:6px}

/* ── chart ── */
.tk .chart-bar{padding:7px 10px}
.tk-tfs button{min-width:36px}
.tk-cbr{display:flex;align-items:center;gap:10px}
.tk-cbt{color:var(--mute);font-size:12px}
.tk .chart{height:470px;background:var(--card)}
.tk .chart .note{display:flex;flex-direction:column;gap:3px;left:12px;top:9px;max-width:calc(100% - 100px)}
.tk-ohlc{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11.5px;font-weight:500;color:var(--mute)}
.tk-ohlc b{font-weight:600;margin-left:2px}
.tk-srcn{font-size:11px;color:var(--faint)}
.tk-indl{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11px;color:var(--mute)}
.tk-indl:empty{display:none}
.tk-iv{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.tk-iv i{width:8px;height:2px;border-radius:1px;display:inline-block}
.tk-iv b{font-weight:600;color:var(--text-2);font-variant-numeric:tabular-nums}
.tk-kit{display:flex;align-items:center;gap:2px;padding-left:8px;margin-left:2px;border-left:1px solid var(--line)}
.tk-kb{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--mute);font:inherit;font-size:12px;cursor:pointer}
.tk-kb:hover{background:var(--hover);color:var(--text)}
.tk-kb[aria-pressed="true"]{background:var(--brand-soft);color:var(--brand-text)}
.tk-kb .n{min-width:15px;height:15px;padding:0 4px;border-radius:8px;background:var(--line-2);color:var(--text);font-size:10px;line-height:15px;text-align:center}
.tk-kd{padding:0 6px}
.tk-khint{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--card-2);border:1px solid var(--line-2);color:var(--text-2);font-size:12px;pointer-events:none;white-space:nowrap}
.tk-khint.hide{display:none}
.tk-indm{min-width:270px;padding:6px}
.tk-indh{padding:6px 8px 4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--faint)}
.tk-indm .item{display:flex;align-items:flex-start;gap:8px;padding:7px 8px;border-radius:6px;cursor:pointer}
.tk-indm .item:hover{background:var(--hover)}
.tk-indm .item input{margin-top:2px}
.tk-indm .item i{width:10px;height:3px;border-radius:2px;margin-top:8px;flex:none}
.tk-indm .item span{display:flex;flex-direction:column;gap:1px}
.tk-indm .item b{font-size:12.5px;font-weight:600;color:var(--text)}
.tk-indm .item small{font-size:11px;color:var(--mute)}
.tk-indf{padding:6px 8px 2px;font-size:11px;color:var(--faint);border-top:1px solid var(--line);margin-top:4px}
@media (max-width:640px){.tk-kb span:not(.n){display:none}.tk-kit{padding-left:4px}}
.tk .chart .ovl{gap:10px;flex-direction:column;text-align:center;padding:24px;background:rgba(15,16,19,.6);font-size:12.5px;animation:fade .25s ease-out}
.tk .chart .ovl.load{flex-direction:row;background:rgba(15,16,19,.35)}
.tk .chart .ovl.soft{inset:auto 12px 12px auto;background:none;padding:0;pointer-events:none;flex-direction:row}
.tk .chart .ovl.soft .btn{pointer-events:auto}
.tk .chart .ovl.fail{background:var(--card)}
.tk .chart .ovl.fail b{color:var(--text);font-size:14px}
.tk .chart .ovl.fail > span{max-width:420px;line-height:1.5}
.tk .chart .ovl.fail .ic{color:var(--brand)}
.tk-ovm{display:inline-flex;align-items:center;padding:5px 10px;border-radius:8px;background:rgba(15,16,19,.9);border:1px solid var(--line-2);color:var(--mute);font-size:11.5px}
.tk-spin{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--brand);animation:spin .7s linear infinite;flex-shrink:0;vertical-align:-2px}

/* ── trade card ── */
.tk-card{padding:12px 14px 14px}
.tk-card .mode-tabs{align-items:flex-end;gap:18px}
.tk-card .mode-tabs button{font-size:13.5px}
.tk-card .mode-tabs button .ic{opacity:.8}
.tk-venue{margin-left:auto;margin-bottom:7px;display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font-size:10.5px;font-weight:600;
  letter-spacing:.03em;color:var(--text-2);background:var(--card-2);border:1px solid var(--line-2);white-space:nowrap}
.tk-venue.hl{color:#5ff0c8;border-color:rgba(95,240,200,.3);background:rgba(95,240,200,.08)}
.tk-venue.syn{color:var(--warn);border-color:var(--warn-line);background:var(--warn-soft)}
.tk-card .trade-tabs button{display:flex;align-items:center;justify-content:center;gap:5px}
.tk-card .otype{align-items:center;gap:14px;margin:2px 0 10px}
.tk-card .otype button{padding:2px 0;border-bottom:1px solid transparent}
.tk-card .otype button[aria-pressed=true]{border-bottom-color:var(--text-2)}
.tk-bal{margin-left:auto;display:inline-flex;align-items:center;gap:5px;color:var(--mute);font-size:12px;white-space:nowrap;min-width:0;overflow:hidden}
.tk-bal b{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
.tk-bal .ic{color:var(--faint)}
.tk-f{margin-bottom:2px;cursor:text}
.tk-f + .tk-f{margin-top:8px}
.tk-fl{color:var(--mute);font-size:12.5px;font-weight:500;white-space:nowrap}
.tk-fl.up{color:var(--up);font-weight:700}
.tk-fl.tk-sl{font-weight:700}
.tk-sl{color:var(--warn)}
.tk .field input{width:100%;text-align:right}
.tk .field .tk-fl + input{text-align:right}
.tk-card .presets-row{margin:8px 0 12px}
.tk-slip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font-size:12px;color:var(--mute)}
.tk-chips{display:flex;gap:4px}
.tk-chips .chipbtn{height:24px;padding:0 8px;font-size:11.5px}
.tk-sum{border-top:1px dashed var(--line-2);padding-top:8px;margin:4px 0 12px}
.tk-sum .kv{padding:2.5px 0}
.tk-sum .kv.sub{padding:1px 0 1px 12px}
.tk-sum .kv b{white-space:nowrap}
.tk-note{margin-top:6px;font-size:11.5px;color:#e9d3a4;background:rgba(243,192,79,.06);border:1px solid rgba(243,192,79,.22);border-radius:8px;padding:6px 8px;line-height:1.45;animation:rise .25s var(--ease)}
.tk-card .btn-block{letter-spacing:.01em}
.tk-card .btn-block .tk-spin{border-color:rgba(0,0,0,.25);border-top-color:currentColor}
.tk .tpsl-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.tk-tpsl .field{padding:0 9px}
.tk-tpsl .field input{text-align:left}
.tk-q{display:flex;align-items:center;gap:4px;margin:5px 0 4px;font-size:11px;color:var(--faint)}
.tk-q span{margin-right:2px}
.tk-q button{height:22px;padding:0 7px;border-radius:6px;border:1px solid var(--line-2);color:var(--text-2);font-size:11px;font-weight:600;transition:all .15s}
.tk-q button:hover{border-color:#33363f;color:var(--text);background:var(--hover)}
.tk-card .lev input[type=range]{height:18px}
.tk-synfoot{display:flex;gap:7px;align-items:flex-start;margin-top:10px;font-size:11.5px;color:var(--mute);line-height:1.45}
.tk-synfoot .ic{margin-top:2px;color:var(--warn)}
.tk-synfoot button{color:var(--down);font-weight:600;font-size:11.5px}
.tk-synfoot button:hover{text-decoration:underline}

/* locked perps tab (no short market yet) */
.tk-lock{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:6px 2px 2px}
.tk-lock-ic{width:44px;height:44px;border-radius:var(--r-lg);display:flex;align-items:center;justify-content:center;background:var(--warn-soft);border:1px solid var(--warn-line);color:var(--warn)}
.tk-lock > b{font-size:14px}
.tk-lock p{margin:0;color:var(--mute);font-size:12.5px;line-height:1.55}
.tk-lock p b{color:var(--text-2)}
.tk-lock-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12.5px;color:var(--mute)}
.tk-lock-row .inp{width:84px}
.tk-lock .btn-block{margin-top:2px}
.tk-lock .notice{text-align:left;width:100%}
.tk-link{color:var(--brand-text);font-weight:600}
.tk-link:hover{text-decoration:underline}

/* ── notice under the card ── */
.tk-o3 .notice{display:block}
.tk-o3 .notice .ic{vertical-align:-2px;margin-right:2px}

/* ── your positions here ── */
.tk-mine{padding:12px 14px}
.tk-cnt{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:var(--hover);color:var(--text-2);font-size:11px;letter-spacing:0}
.tk-pos{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);padding:10px 11px;display:flex;flex-direction:column;gap:9px;animation:rise .3s var(--ease)}
.tk-pos + .tk-pos{margin-top:8px}
.tk-pos-h{display:flex;align-items:center;gap:7px;min-width:0;font-size:12.5px}
.tk-pos-h > b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-pos-h .tag{height:18px;font-size:10px;padding:0 5px;flex-shrink:0}
.tk-pnl{margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.tk-pnl small{font-size:11px;font-weight:500;margin-left:3px;opacity:.85}
.tk-pos-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tk-pos-g > div{display:flex;flex-direction:column;gap:1px;min-width:0}
.tk-pos-g span{color:var(--faint);font-size:10.5px}
.tk-pos-g b{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-pos-a{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tk-pos-a > .mute{font-size:12px}
.tk-pos-a .chipbtn{height:26px;padding:0 9px;font-size:11.5px}
.tk .chipbtn.tk-cl{border-color:var(--down-line);color:var(--down);background:var(--down-soft)}
.tk .chipbtn.tk-cl:hover{background:var(--down);color:#fff}
.tk-tpsl-b{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 8px;border-radius:7px;border:1px dashed var(--line-2);
  color:var(--mute);font-size:11.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.tk-tpsl-b b{font-weight:600}
.tk-tpsl-b:hover{border-color:var(--brand-line);background:var(--brand-soft);color:var(--text)}
.tk-tpsl-b .ic{color:var(--mute)}

/* ── TP / SL modal ── */
.tk-mod .kv{font-size:12.5px}
.tk-ml{display:flex;justify-content:space-between;gap:8px;margin:12px 0 5px;font-size:12px;font-weight:600;color:var(--text-2)}
.tk-ml span{color:var(--faint);font-weight:500}
.tk-mh{min-height:16px;font-size:11.5px;color:var(--mute);margin-top:4px}
.tk-mf{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}

/* ── trading activity ── */
.tk-stats .chg-grid button{transition:border-color .15s,background .15s}
.tk-stats .chg-grid button:hover{background:var(--hover)}
.tk-bs{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;color:var(--mute)}
.tk-bs b{font-weight:600;font-variant-numeric:tabular-nums;margin-left:3px}
.tk-bs > span:nth-child(2){color:var(--faint);font-size:11px}
.bsbar.tk-none{background:var(--line-2)}
.bsbar.tk-none i{background:transparent}

/* ── token info ── */
.tk-h4r{display:inline-flex;align-items:center;gap:6px;text-transform:none;letter-spacing:0}
.tk-src{color:var(--faint);font-size:11px;font-weight:500}
.tk-info .infocell{min-width:0}
.tk-info .infocell .v{display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap;overflow:hidden}
.tk-info .infocell .v small{font-size:10px;color:var(--faint);font-weight:500}
.tk-info .infocell .v .tk-spin{width:11px;height:11px}
.tk-flags{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:5px}
.tk-flags li{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--text-2);line-height:1.45}
.tk-flags li i{width:7px;height:7px;border-radius:50%;margin-top:5px;flex-shrink:0;background:var(--faint)}
.tk-flags li.good i{background:var(--up)}
.tk-flags li.mid i{background:var(--warn)}
.tk-flags li.bad i{background:var(--down);box-shadow:0 0 6px rgba(var(--down-rgb),.5)}
.tk-flags li.bad{color:#f3c2cc}
.tk-more{margin-top:6px;color:var(--brand-text);font-size:12px;font-weight:600}
.tk-more:hover{text-decoration:underline}
.tk-fwait{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--mute);font-size:12px}
.tk-pnote{margin:10px 0 0;color:var(--mute);font-size:11.5px;line-height:1.5}

/* ── bottom tabs ── */
.tk .tabbox .panel-h{min-height:44px}
.tk-tabr{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--mute);white-space:nowrap}
.tk-live{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}
.tk-live i{width:7px;height:7px;border-radius:50%;background:var(--up);animation:ping 1.8s ease-out infinite}
.tk .tabbody{max-height:440px}
.tk-tbl th{background:var(--card)}
.tk-tbl td{padding:8px 12px;font-size:12.5px}
.tk-tbl tbody tr:hover td{background:var(--hover)}
.tk-tbl tr.newrow td{animation:trnew 1.6s var(--ease)}
@keyframes trnew{0%{background:rgba(var(--brand-rgb),.12)}100%{background:rgba(var(--brand-rgb),0)}}
.tk-mk{font-family:var(--mono);font-size:11.5px;color:var(--text-2)}
a.tk-mk:hover{color:var(--text);text-decoration:underline}
.tk-tx{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-left:4px;border-radius:6px;color:var(--faint);vertical-align:middle}
.tk-tx:hover{color:var(--text);background:var(--hover)}
.tk-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:200px;padding:28px 20px;text-align:center;color:var(--mute);font-size:12.5px}
.tk-empty b{color:var(--text);font-size:14px}
.tk-empty span{max-width:420px;line-height:1.5}
.tk-empty .tk-spin{width:18px;height:18px}
.tk-bk-h{display:flex;align-items:center;gap:18px;padding:9px 12px;border-bottom:1px solid var(--line);font-size:12px;color:var(--mute);flex-wrap:wrap}
.tk-bk-h b{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums;margin-left:3px}
.tk-bk-h > span:last-child{margin-left:auto;color:var(--faint)}
.tk .book{padding:4px 0 8px}
.tk .book .lv{padding:2.5px 12px}
.tk .book .lv.tk-th{color:var(--faint);font:500 11px var(--sans);padding-top:6px;padding-bottom:5px}
.tk .book .bid i{opacity:.12}
.tk .book .ask i{opacity:.12}

/* ── responsive ── */
@container view (max-width:1280px){
  .tk .tp-stats{gap:6px 18px}
  .tk .chart{height:430px}
}
@container view (max-width:1240px){
  /* identity on top, every stat on one tidy row underneath */
  .tk .tp-head{flex-wrap:wrap;row-gap:12px}
  .tk .tp-stats{margin-left:0;justify-content:flex-start;width:100%;flex:1 1 100%;gap:8px 26px;padding-top:12px;border-top:1px solid var(--line)}
}
@container view (max-width:1060px){
  /* one column: chart, trade card, notice, your positions, activity, tabs, info */
  .tk .tp-grid{display:flex;flex-direction:column}
  .tk .tp-main,.tk .tp-side{display:contents}
  .tk-o1{order:1}.tk-o2{order:2}.tk-o3{order:3}.tk-o4{order:4}.tk-o5{order:5}.tk-o6{order:6}.tk-o7{order:7}
  .tk .tp-head{flex-wrap:wrap}
  .tk .tp-stats{margin-left:0;justify-content:flex-start;width:100%;flex:1 1 100%}
}
@container view (max-width:640px){
  .tk .tp-head{padding:12px;gap:12px}
  .tk .tp-id{width:100%}
  .tk-sym{max-width:150px}
  .tk .tp-id h1 .nm{max-width:110px}
  .tk .tp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
  .tk .tp-stats > div:first-child{grid-column:1 / -1}
  .tk .tp-stats > div{overflow:hidden}
  .tk .tp-stats .v{font-size:13.5px;flex-wrap:wrap;row-gap:0}
  .tk .tp-stats .v.big{font-size:22px}
  .tk .chart{height:330px}
  .tk .chart-bar{gap:6px}
  .tk-tfs button{min-width:0;padding:0 8px}
  .tk .tabbox .panel-h{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .tk .ptabs{flex-shrink:0}
  .tk-tabr{display:none}
  .tk .tabbody{overflow:auto}
  .tk-pos-g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tk-nf-a{flex-direction:column;width:100%}
}

/* funding across venues box */
.tk-ven h4 .tk-ven-a{font-size:11px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--brand-text)}

/* About (GeckoTerminal token info + CoinGecko): description, categories, holder concentration, rank / ATH / supply */
.tk-desc{margin:0;font-size:12.5px;line-height:1.58;color:var(--text-2);white-space:pre-line;overflow-wrap:anywhere}
.tk-desc.clip{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tk-about .tk-more{margin-top:5px}
.tk-cats{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}
.tk-cats span{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:99px;font-size:11px;font-weight:550;color:var(--text-2);
  background:var(--card-2);border:1px solid var(--line-2)}
.tk-dist{margin-top:12px}
.tk-dh{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;color:var(--mute)}
.tk-dh b{color:var(--text);font-weight:650}
.tk-dh .up{color:var(--up)}.tk-dh .warn{color:var(--warn)}.tk-dh .down{color:var(--down)}
.tk-dbar{display:flex;gap:2px;height:8px;margin-top:7px;border-radius:99px;overflow:hidden;background:var(--card-2)}
.tk-dbar i{display:block;height:100%;transform-origin:0 50%;animation:tk-grow .7s var(--spring-gentle,cubic-bezier(.22,1,.36,1)) both}
.tk-dbar i:nth-child(2){animation-delay:.06s}.tk-dbar i:nth-child(3){animation-delay:.12s}.tk-dbar i:nth-child(4){animation-delay:.18s}
@keyframes tk-grow{from{transform:scaleX(0)}to{transform:none}}
.tk-dist .t10{background:#ff7aa2}.tk-dist .t20{background:#f3c04f}.tk-dist .t40{background:#a78bfa}.tk-dist .rest{background:rgba(var(--brand-rgb),.75)}
.tk-dl{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:7px;font-size:11px;color:var(--mute)}
.tk-dl i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:2px}
.tk-dl b{color:var(--text-2);font-weight:600}
.tk-agrid{margin-top:12px}
.tk-agrid .infocell .v small{margin-left:4px;font-size:10px;color:var(--faint);font-weight:500}
@media (prefers-reduced-motion:reduce){.tk-dbar i{animation:none}}

/* ── round 11: orders Superclan watches (orders.js) on the spot card ── */
.tk-card .otype{flex-wrap:wrap;row-gap:4px}
.tk-btp-f{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.tk-btp-f .field{min-width:0}
.tk-watch{display:flex;gap:7px;align-items:flex-start;margin:8px 0 0;font-size:11.5px;line-height:1.45;color:var(--mute)}
.tk-watch .ic{flex-shrink:0;margin-top:2px;color:var(--brand-text)}

/* ── Holders tab (holders, insiders, early buyers) ── */
.tk-hold{padding:10px 12px 14px;display:flex;flex-direction:column;gap:10px}
.tk-hgrid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.tk-hnote{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:12px;color:var(--mute);line-height:1.5}
.tk-hnote svg{flex:none;margin-top:2px}
.tk-early{display:flex;flex-direction:column;gap:8px;padding-top:4px;border-top:1px solid var(--line)}
.tk-early h4{margin:6px 0 0}
.tk-htbl td,.tk-htbl th{white-space:nowrap}
.tk-hw{display:inline-flex;align-items:center;gap:4px;font-family:var(--mono);font-size:12px}
.tk-hwa{color:var(--text-2)}
.tk-hwa:hover{color:var(--brand-text)}
.tk-hcp{display:inline-flex;padding:2px;border:0;background:none;color:var(--faint);cursor:pointer;border-radius:4px}
.tk-hcp:hover{color:var(--text)}
.tk-hbar{display:inline-block;vertical-align:middle;width:54px;height:4px;margin-right:8px;border-radius:2px;background:var(--line)}
.tk-hbar i{display:block;height:100%;border-radius:2px;background:var(--brand)}
.tk-htbl .tag{margin-right:4px}
.tk-hn{font-size:11.5px;margin-left:2px}
.tk-hsrc{margin:0;font-size:11.5px;color:var(--faint)}

/* split a buy across trading wallets (wallets.js) */
.tk-split{display:flex;align-items:center;gap:6px;margin:0 0 10px;color:var(--mute);font-size:12.5px}
.tk-split select{flex:1;height:30px;border-radius:var(--r-sm);background:var(--card-2);border:1px solid var(--line-2);color:var(--text);padding:0 8px;font:inherit}

/* News (headlines that name the token) */
.tk-news-l{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}
.tk-news-l li{display:flex;flex-direction:column;gap:2px;font-size:12.5px;line-height:1.4}
.tk-news-a{color:var(--text-2)}
.tk-news-a:hover{color:var(--brand-text)}
.tk-news-l .mute{font-size:11px}

/* a position's share-card button (share-trade.js) */
.tk-shr{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;color:var(--mute);border:1px solid var(--line-2);flex-shrink:0;transition:color .15s,border-color .15s}
.tk-shr:hover{color:var(--brand-text);border-color:var(--brand-line)}
.minibtns .tk-shr{width:24px;height:24px}
.tk-cla{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}
