/* Trenchscape: the apps. Win98 geometry from os.css; every block is fixed slots (nothing moves when text grows). */
.flex{flex:1}
.g{color:#007000}
.r{color:#b00000}
.dim{color:#808080}
.mono{font-family:var(--mono)}
.btn.sm{min-width:0;height:20px;padding:0 7px}
.btn.sm:active{padding:1px 6px 0 8px}
.lnk{cursor:var(--cur-hand,pointer)}
#tray-sol{white-space:nowrap;font-variant-numeric:tabular-nums;margin-right:2px;padding-right:6px;box-shadow:inset -1px 0 var(--hi),inset -2px 0 var(--sh)}
#tray-sol:empty{display:none}
@keyframes newrow{0%{background:#ffffa8}40%{background:#ffffd8}75%{background:transparent}}
@keyframes fup{0%{color:#00a000}99%{color:#00a000}}
@keyframes fdn{0%{color:#d00000}99%{color:#d00000}}

/* ---------- status bar ---------- */
.statusbar{display:flex;gap:2px;height:22px;flex:0 0 22px;margin-top:2px}
.statusbar .sb{box-shadow:var(--thin-dn);padding:2px 6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.statusbar .s1{flex:1}
.statusbar .s2,.statusbar .s3,.statusbar .s4{flex:0 0 auto;min-width:110px}

/* ---------- the Pulse toolbar (an IE5 rebar) ---------- */
.rebar{display:flex;align-items:center;gap:2px;height:52px;flex:0 0 52px;padding:0 2px;box-shadow:inset 0 1px var(--hi),inset 0 -1px var(--sh)}
.rebar .grip{height:44px}
.tb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:64px;height:46px;padding:2px 6px;background:transparent;border:0;font:inherit;color:#000}
.tb img{width:24px;height:24px}
.tb:hover{box-shadow:var(--thin-up)}
.tb:active{box-shadow:var(--thin-dn);padding:3px 5px 1px 7px}
.qbl{display:flex;align-items:center;gap:6px;padding:0 8px;white-space:nowrap}
.qbl img{width:10px;height:12px}
.qbv{width:58px;text-align:right}
.throb{width:48px;height:48px;padding:2px;box-shadow:var(--thin-dn);background:#000018;flex:0 0 48px}
.throb .gif{display:block}
.throb .tlogo{display:block;width:44px;height:44px}
.throb.on .tlogo{animation:tlogo 1.1s ease-in-out infinite}
@keyframes tlogo{50%{opacity:.62}}
img[src^="/brand/"]{image-rendering:auto}
.start img[src^="/brand/"]{width:16px;height:16px}
.quick button{background-size:16px 16px}   /* the set logo is a picture, not pixel art: never pixelated */
/* the coin's address + X in the toolbar (the site's header): a sunken Win98 field that copies on click, fixed width (nothing moves) */
.cabox{display:flex;align-items:center;gap:4px;padding:0 6px;white-space:nowrap;min-width:0}
.cabox .cal{font-weight:700}
.cabox .caf{width:236px;height:24px;padding:0 5px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;color:#000;cursor:var(--cur-hand,pointer)}
.cabox .caf span{display:block;overflow:hidden;text-overflow:ellipsis}
.cabox .caf:disabled{color:#808080;cursor:default}
.cabox .ca-tk{font-style:normal;display:none}
.cabox .cacopy{height:24px;min-width:52px;padding:0 6px}
.cabox.is-live .cal{color:#006400}
.xbtn{min-width:40px;text-decoration:none}
.xbtn img{width:16px;height:16px}

/* ---------- Pulse panes ---------- */
.pulse .wbody{gap:0}
.panes{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 0 0}
.pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;box-shadow:var(--sunken);padding:2px;container-type:inline-size}
@container (max-width:520px){.ch[data-k=bundlers]{display:none}}
@container (max-width:470px){.ch[data-k=insiders]{display:none}.l2 .dvs{display:none}}
@container (max-width:400px){.ch[data-k=snipers]{display:none}}
.ph{height:24px;flex:0 0 24px;display:flex;align-items:center;gap:6px;padding:0 8px;background:var(--face);box-shadow:var(--raised-btn);white-space:nowrap}
.ph img{width:12px;height:12px}
.ph .cnt{color:#606060}
.ph .paused{margin-left:auto;color:#b00000;font:8px var(--px8);visibility:hidden}
.pane.hold .ph .paused{visibility:visible}
.plist{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
.empty{padding:30px 10px;text-align:center;color:#808080}
.ptabs{display:none;gap:3px;padding:3px 0 0}
.ptabs .btn{flex:1;min-width:0}

.prow{display:grid;grid-template-columns:62px minmax(0,1fr) 128px;grid-template-rows:24px 22px 26px;column-gap:10px;height:85px;padding:6px 8px 6px 6px;border-bottom:1px solid #e2e2e2;overflow:hidden}
.prow:hover{background:#eef2fb}
.prow.new{animation:newrow 2.4s steps(1)}
.pic{grid-row:1/4;display:flex;flex-direction:column;gap:4px;width:62px}
.pic img{width:56px;height:56px;padding:2px;box-sizing:content-box;background:#fff;box-shadow:var(--sunken);display:block}
.cv{display:block;height:8px;width:60px;padding:1px;box-shadow:var(--thin-dn);background:#fff}
.cv b{display:block;height:100%;width:0;background:repeating-linear-gradient(90deg,#000080 0 4px,transparent 4px 5px)}
.cv.done b{background:repeating-linear-gradient(90deg,#c08800 0 4px,transparent 4px 5px)}
.l1{display:flex;align-items:center;gap:7px;min-width:0}
.l1 .tk{flex:0 1 auto;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.l1 .nm{flex:1 1 auto;min-width:0;color:#606060;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.l1 .cp{flex:0 0 16px;width:16px;height:16px;border:0;padding:0;background:transparent center no-repeat;opacity:0}
.prow:hover .cp{opacity:1}
.l1 .cp:hover{box-shadow:var(--thin-up)}
.l2{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap;color:#303030;overflow:hidden}
.l2 .ag{flex:0 0 32px;font-weight:700;color:#404040}
.l2 .ag.fresh{color:#008000}
.l2 .so{display:flex;gap:3px;flex:0 0 74px}
.l2 .so a,.l2 .so img{display:block;width:16px;height:16px}
.l2 .st{display:flex;align-items:center;gap:3px}
.l2 .st img{width:12px;height:12px}
.l2 .st small{font:8px var(--px8);color:#606060}
.l3{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden}
.ch{font:8px/1 var(--px8);padding:4px 4px 3px;box-shadow:var(--thin-dn);background:#f2fff2;color:#006000;white-space:nowrap}
.ch.bad{background:#fff0f0;color:#b00000}
.l3 .hp{margin-left:auto;font-weight:700;white-space:nowrap;padding-left:6px}
.l3 .hp:empty{display:none}
.r1,.r2{grid-column:3;display:flex;justify-content:flex-end;align-items:baseline;gap:5px;white-space:nowrap}
.r1{grid-row:1}
.r2{grid-row:2;color:#303030}
.r1 span,.r2 span:nth-child(odd){color:#808080}
.r1 .mc{color:#000080}
.mc.up{animation:fup 1s steps(1)}
.mc.dn{animation:fdn 1s steps(1)}
.prow .qb{grid-column:3;grid-row:3;justify-self:end;min-width:92px;height:24px;padding:0 8px;gap:5px}
.prow .qb img{width:10px;height:12px}

@media (max-width:1100px){
  .pulse .panes{grid-template-columns:minmax(0,1fr)}
  .pulse .pane{display:none}
  .pulse .pane.show{display:flex}
  .pulse .ptabs{display:flex}
}
@media (max-width:1100px){.cabox .caf{width:150px}}
@media (max-width:760px){
  .cabox .cal{display:none}
  .cabox .ca-tk{display:inline}
  .cabox .caf{width:104px}
  .cabox .cacopy{display:none}
  .tb span{display:none}
  .tb{min-width:36px}
  .qbl img{display:none}
  .throb{display:none}
  .prow{grid-template-columns:52px minmax(0,1fr) 108px;column-gap:6px}
  .pic img{width:46px;height:46px}
  .cv{width:50px}
}
@media (max-width:480px){
  .dun .art{display:none}
  .qbl .qbt{display:none}
  .rebar .tb[data-a="find"],.rebar .tb[data-a="wallet"]{display:none}
  .cabox .caf{width:92px}
}

/* ---------- a coin's window ---------- */
.coin .wbody{gap:0}
.chead{display:grid;grid-template-columns:72px minmax(170px,1.4fr) minmax(120px,.9fr) repeat(3,minmax(84px,.6fr)) minmax(170px,1fr);column-gap:14px;align-items:center;height:84px;flex:0 0 84px;padding:4px 8px;box-shadow:inset 0 -1px var(--sh),inset 0 -2px var(--hi)}
.cpic img{width:64px;height:64px;padding:2px;box-sizing:content-box;background:#fff;box-shadow:var(--sunken);display:block}
.cid{min-width:0}
.cid .r1{display:flex;align-items:baseline;gap:10px;min-width:0;white-space:nowrap}
.cid .tk{font-size:32px;line-height:34px;overflow:hidden;text-overflow:ellipsis;max-width:70%}
.cid .nm{color:#505050;overflow:hidden;text-overflow:ellipsis}
.cid .r2{display:flex;align-items:center;gap:8px;margin-top:4px;white-space:nowrap}
.cid .ca{min-width:0;height:22px;padding:0 6px;font-family:var(--mono)}
.cid .ca img{width:12px;height:12px}
.cid .links{display:flex;gap:4px}
.cid .links a,.cid .links img{display:block;width:16px;height:16px}
.cid .ag{color:#606060}
.cst{display:flex;flex-direction:column;gap:2px;white-space:nowrap;min-width:0}
.cst label{color:#606060}
.cst b{overflow:hidden;text-overflow:ellipsis}
.cst .mc{font-size:32px;line-height:34px;color:#000080}
.cst.ccv{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center}
.cst.ccv label{grid-column:1/3}
.prog{height:22px;padding:2px;box-shadow:var(--sunken);background:#fff}
.prog b{display:block;height:100%;width:0;background:repeating-linear-gradient(90deg,#000080 0 8px,transparent 8px 10px)}
.prog.done b{background:repeating-linear-gradient(90deg,#c08800 0 8px,transparent 8px 10px)}
.cvp{min-width:56px;text-align:right}
.cmain{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:6px;padding-top:4px}
.cleft{display:flex;flex-direction:column;min-height:0;min-width:0;gap:3px}
.ctool{display:flex;align-items:center;gap:2px;height:28px;flex:0 0 28px}
.ivb{min-width:42px;height:24px;padding:0 6px}
.ivb.on{box-shadow:var(--pressed);background:var(--g-dither-lt);font-weight:700}
.clab{color:#505050;padding:0 6px}
.ctool .now{min-width:56px;height:24px}
.crt{flex:1.5 1 0;min-height:150px;position:relative;padding:2px;box-shadow:var(--sunken);background:#000}
.crt-in{position:absolute;inset:2px;overflow:hidden;background:#000}
.crt-in::after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.24) 0 1px,transparent 1px 3px);box-shadow:inset 0 0 60px rgba(0,0,0,.55)}
.crt-cv{display:block;width:100%;height:100%;image-rendering:pixelated;cursor:crosshair}
.ctabs{display:flex;align-items:flex-end;height:26px;flex:0 0 26px;padding:0 4px;gap:0;position:relative;z-index:1}
.tab,.tt2{font:inherit;color:#000;background:var(--face);border:0;height:22px;padding:0 12px;box-shadow:inset 1px 1px var(--hi),inset -1px 0 var(--dk),inset -2px 0 var(--sh),inset 2px 2px var(--lt);border-radius:3px 3px 0 0;margin-right:-1px;white-space:nowrap}
.tab.on,.tt2.on{height:26px;margin-bottom:-2px;padding-bottom:2px;z-index:2;position:relative}
.ctabs .tabnote{color:#606060;align-self:center;padding-right:4px}
.cpanel{flex:1 1 0;min-height:110px;display:flex;padding:6px;box-shadow:var(--raised);background:var(--face)}
.lv{flex:1;min-height:0;background:#fff;box-shadow:var(--sunken);padding:2px;overflow:auto}
.lv table{border-collapse:separate;border-spacing:0;width:100%;font-size:16px}
.lv thead th{position:sticky;top:0;z-index:1;background:var(--face);box-shadow:var(--raised-btn);font-weight:400;text-align:left;padding:2px 7px;height:22px;white-space:nowrap}
.lv th.n,.lv td.n{text-align:right}
.lv td{padding:1px 7px;height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px;font-variant-numeric:tabular-nums}
.lv tr.b td{color:#006a00}
.lv tr.s td{color:#b00000}
.lv tr td.w{color:#000}
.lv tr.me td{background:#eaf4ff}
.lv tbody tr:hover td{background:var(--sel);color:#fff}
.lv tbody tr.new td{animation:newrow 2s steps(1)}
.lv td.wait{color:#808080;text-align:center;padding:16px;max-width:none}
.lv tbody tr:hover td.wait{background:none;color:#808080}
.bdg{font:8px/1 var(--px8);font-style:normal;padding:3px 3px 2px;margin-left:5px;color:#000;background:#ffd400;box-shadow:var(--thin-up);vertical-align:1px}
.bdg.you{background:#2060ff;color:#fff}
.bdg.kol{background:#7fe8d4}
.bdg.snp{background:#ffa0a0}
.bdg.ins{background:#ffbe70}
.bdg.bnd{background:#d4a8ff}

.cside{display:flex;flex-direction:column;gap:4px;min-height:0;overflow-y:auto;padding:0 2px 4px 0}
.cside .group{margin-top:10px;padding:14px 8px 8px}
.ttabs{display:flex;align-items:flex-end;height:26px;padding:0 2px;position:relative;z-index:1}
.tbody{box-shadow:var(--raised);padding:8px}
.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.pane-sell .presets{grid-template-columns:repeat(4,1fr)}
.presets .btn{min-width:0;height:28px;padding:0 4px}
.amt{display:flex;align-items:center;gap:5px;margin-top:8px}
.amt .field{flex:1;min-width:0;text-align:right}
.amt .btn.def{min-width:108px;height:28px;font-weight:700;white-space:nowrap}
.go-buy{color:#005a00}
.go-sell{color:#a00000}
.bal{margin-top:8px;color:#303030;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kv{display:grid;grid-template-columns:auto 1fr;gap:3px 10px}
.kv b,.kv2 b{text-align:right;font-weight:700;white-space:nowrap}
.pnl{margin-top:8px;padding-top:6px;box-shadow:inset 0 1px var(--sh),inset 0 2px var(--hi);display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pnl b{white-space:nowrap}
.kv2{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:3px 8px}
.kv2 span{color:#404040}
table.box{width:100%;border-collapse:collapse}
table.box th{font-weight:400;color:#606060;text-align:right;padding:1px 3px}
table.box td{text-align:right;padding:1px 3px;font-variant-numeric:tabular-nums}
table.box td:first-child{text-align:left;color:#404040}
@media (max-width:980px){
  .cmain{grid-template-columns:minmax(0,1fr)}
  .cside{max-height:260px}
  .chead{grid-template-columns:72px minmax(150px,1fr) minmax(110px,.8fr) minmax(130px,.8fr);height:auto;flex:0 0 auto;row-gap:4px}
  .chead .cst:nth-child(4),.chead .cst:nth-child(5),.chead .cst:nth-child(6){display:none}
}

/* ---------- My Portfolio ---------- */
.portfolio .wbody{gap:4px}
.pfhead{display:flex;align-items:center;gap:14px;padding:6px 8px;height:58px;flex:0 0 58px}
.pfhead>img{width:32px;height:32px}
.pfk{display:grid;grid-template-columns:repeat(3,auto auto);gap:0 10px;align-items:baseline}
.pfk span{color:#505050}
.pfk b{min-width:120px}
.pfbtn{margin-left:auto;display:flex;gap:6px}
.portfolio .lv,.kols .lv,.find .lv{margin:0 2px}
.coincell img,.kn img{vertical-align:-3px;margin-right:6px}

/* ---------- KOL Pager ---------- */
.pager{margin:2px;padding:10px;background:#2a2a30;box-shadow:var(--raised)}
.lcd{height:62px;padding:8px 12px;background:#86b462;color:#14280a;box-shadow:inset 2px 2px #4d7a32,inset -1px -1px #a8d888;overflow:hidden}
.lcd .l1{font:bold 16px/22px var(--px8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcd .l2{font:16px/22px var(--px8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kopt{display:flex;align-items:center;gap:6px;padding:6px 6px;white-space:nowrap}
.kmin{width:54px;text-align:right}

/* ---------- Find: Coins ---------- */
.fwrap{padding:6px 6px 8px}
.ftabs{display:flex;height:26px;align-items:flex-end;padding:0 2px;position:relative;z-index:1}
.fbox{box-shadow:var(--raised);padding:12px;display:flex;gap:14px}
.fbox .form{flex:1}
.fbtns{display:flex;flex-direction:column;gap:6px;width:112px}
.fani{display:flex;justify-content:center;padding-top:4px}
.fani img{width:32px;height:32px}
.fani.on img{animation:fspin .7s steps(1) infinite}
@keyframes fspin{0%{transform:translate(0,0)}25%{transform:translate(4px,0)}50%{transform:translate(4px,4px)}75%{transform:translate(0,4px)}}
select.field{height:24px;padding:1px 3px}

/* ---------- Paper Wallet ---------- */
.addrrow{display:flex;gap:4px;min-width:0}
.addrrow .field{flex:1;min-width:0}
.wbal{font:700 32px/36px var(--ui);margin:2px 0 10px;white-space:nowrap}
.wbtns{display:flex;gap:4px;flex-wrap:wrap}
.wnote{color:#404040;margin:12px 0 0;line-height:18px}

/* ---------- pop-up notes ---------- */
#toasts{position:fixed;right:6px;bottom:36px;z-index:5500;display:flex;flex-direction:column;gap:6px;width:310px;pointer-events:none}
.toast{position:relative;min-width:0;min-height:0;pointer-events:auto;cursor:var(--cur-hand,pointer)}
.toast .tbody2{padding:8px 10px 6px;line-height:18px}
.toast.bad>.title{background:linear-gradient(90deg,#800000,#c84040)}
