/* Plexa Chain app · THE LOOK (Site + Kit chat, 12-04): the app is dark ink, ONE accent (International Orange: #FF5A14 on the dark app, #FF4F00 on the site), TikTok Sans for every
   word, the system mono for hashes and addresses. Two strands: Solana = the stone/ink strand, Plexa = the orange strand. Tool look: flat
   panels, hairlines, numbers in tabular figures, nothing moves on its own. */
@font-face { font-family: "TikTok Sans"; src: url("/app/assets/fonts/tiktok-sans-300_900.woff2") format("woff2"); font-weight: 300 900; font-stretch: 75% 150%; font-display: swap; }
:root {
  /* THE LOOK, app side (dark "ink", the strands inverted): TEAM.md "Site + Kit" */
  --ink: #121412; --ink-2: #161916; --panel: #1A1D1A; --panel-2: #232723; --line: rgba(236, 237, 232, .10); --line-2: rgba(236, 237, 232, .17);
  --text: #ECEDE8; --text-2: #A9ADA5; --mute: #767B73; --faint: #565B54;
  --sol: #ECEDE8; --plx: #FF5A14; --plx-2: #FF7A3D; --plx-bg: rgba(255, 90, 20, .10); --plx-line: rgba(255, 90, 20, .40); --on-plx: #111311;
  --up: #2FB67C; --down: #E5484D; --warn: #E9B44C;
  --r: 8px; --r-s: 6px; --r-xs: 4px;
  --sans: "TikTok Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
/* NO STOCK SCROLLBARS (larpcheck/scrollbars.css): the standard properties ONLY inside @supports, else Chrome ignores the webkit rules */
:root { color-scheme: dark; --sb-thumb: #2c302c; --sb-thumb-hover: #3a3f3a; }
*::-webkit-scrollbar { width: 8px; height: 8px; } *::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 4px; } *::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; } *::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; } }
.no-sb { scrollbar-width: none; } .no-sb::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--ink); color: var(--text); font: 14px/1.45 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--plx-2); }
button, input, select, textarea { font: inherit; color: inherit; }
.mono, code { font-family: var(--mono); font-size: .92em; }
.mute { color: var(--mute); } .faint { color: var(--faint); } .up { color: var(--up); } .down { color: var(--down); } .plx { color: var(--plx); } .sol { color: var(--sol); }
.is-hidden { display: none !important; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 20px; background: rgba(18, 20, 18, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; font-stretch: 114%; letter-spacing: -.03em; white-space: nowrap; }
.brand .mk { position: relative; width: 22px; height: 22px; }
.brand .mk i { position: absolute; left: 0; right: 0; height: 4px; border-radius: 1px; }
.brand .mk i:first-child { top: 4px; background: var(--sol); transform: skewY(-14deg); }
.brand .mk i:last-child { bottom: 4px; background: var(--plx); transform: skewY(14deg); }
.tabs { display: flex; gap: 2px; overflow-x: auto; }
.tabs::-webkit-scrollbar { display: none; }
@supports (-moz-appearance: none) { .tabs { scrollbar-width: none; } }
.tabs a { padding: 7px 11px; border-radius: var(--r-s); color: var(--text-2); white-space: nowrap; }
.tabs a:hover { color: var(--text); background: var(--panel); }
.tabs a.on { color: var(--text); background: var(--panel-2); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.heads { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-xs); color: var(--mute); font-size: 12px; white-space: nowrap; }
.heads b { color: var(--text); font-weight: 550; font-family: var(--mono); font-size: 11.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; }
.dot.live { background: var(--plx); box-shadow: 0 0 0 3px var(--plx-bg); }
.ca { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-xs); overflow: hidden; font-size: 12px; }
.ca b { padding: 5px 9px; background: var(--panel-2); font-weight: 600; }
.ca button { display: flex; gap: 8px; align-items: center; border: 0; background: none; padding: 5px 10px; cursor: pointer; font-family: var(--mono); font-size: 11.5px; }
.ca button i { font-style: normal; color: var(--plx); font-family: var(--sans); }
.icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--text-2); }
.wbtn { padding: 7px 13px; border-radius: var(--r-xs); background: var(--text); color: var(--ink); font-weight: 600; white-space: nowrap; }
.wbtn:hover { color: var(--ink); background: #fff; }
.wbtn.has { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.netbar { padding: 8px 20px; background: #1d1611; border-bottom: 1px solid rgba(255, 90, 20, .28); color: #f1cdb7; font-size: 13px; }
.netbar b { color: var(--plx-2); font-weight: 600; }

/* ---------- layout ---------- */
.view { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 22px 20px 40px; }
.loading, .empty { padding: 40px 0; color: var(--mute); text-align: center; }
.empty b { display: block; color: var(--text-2); font-weight: 550; margin-bottom: 4px; }
.foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 12.5px; flex-wrap: wrap; }
.foot .grow { flex: 1; } .foot a:hover { color: var(--text); }
.h1 { font-size: 24px; font-weight: 680; font-stretch: 114%; letter-spacing: -.03em; margin: 0; }
.h2 { font-size: 15px; font-weight: 650; font-stretch: 114%; letter-spacing: -.02em; margin: 0; }
.sub { color: var(--mute); margin: 4px 0 0; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; }
.pagehead { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pagehead .grow { min-width: 10px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.grid-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1080px) { .grid2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-sides { grid-template-columns: 1fr; } .top { gap: 10px; padding: 0 12px; } .heads, .ca { display: none; } .view { padding: 16px 12px 30px; } }

/* ---------- panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.panel > .ph { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.panel > .ph .t { font-weight: 600; }
.panel > .pb { padding: 14px; }
.panel.sol-side { border-top: 2px solid var(--sol); }
.panel.plx-side { border-top: 2px solid var(--plx); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-xs); border: 1px solid var(--line-2); color: var(--text-2); font-size: 11.5px; white-space: nowrap; }
.tag.plx { border-color: var(--plx-line); color: var(--plx-2); background: var(--plx-bg); }
.tag.ok { border-color: rgba(63, 201, 138, .4); color: var(--up); }
.tag.warn { border-color: rgba(233, 180, 76, .45); color: var(--warn); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.kv > div { min-width: 0; }
.kv .k { color: var(--mute); font-size: 12px; }
.kv .v { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv .v small { font-size: 12px; color: var(--mute); font-weight: 450; }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--sol); border-radius: 6px; }
.bar.plx > i { background: var(--plx); }
.lines { display: flex; flex-direction: column; }
.lines > div { display: flex; gap: 12px; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.lines > div:last-child { border-bottom: 0; }
.lines > div > span:first-child { color: var(--mute); }
.lines > div > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }

/* ---------- buttons + forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--panel-2); cursor: pointer; font-weight: 550; white-space: nowrap; }
.btn:hover { border-color: rgba(236, 237, 232, .3); color: var(--text); }
.btn.primary { background: var(--plx); border-color: var(--plx); color: var(--on-plx); }
.btn.primary:hover { background: var(--plx-2); border-color: var(--plx-2); color: var(--on-plx); }
.btn.light { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 12.5px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label { font-size: 12.5px; color: var(--text-2); font-weight: 550; }
.field .hint { font-size: 12px; color: var(--mute); }
.in { width: 100%; padding: 10px 12px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--ink-2); outline: none; }
.in:focus { border-color: var(--plx-line); box-shadow: 0 0 0 3px var(--plx-bg); }
textarea.in { resize: vertical; min-height: 74px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--ink-2); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: var(--r-xs); cursor: pointer; color: var(--text-2); font-weight: 550; white-space: nowrap; }
.seg button.on { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg.plx button.on { background: var(--plx-bg); color: var(--plx-2); box-shadow: inset 0 0 0 1px var(--plx-line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--plx); }
.amount { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--ink-2); }
.amount input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 12px; outline: none; font-size: 18px; font-weight: 600; }
.amount .u { padding: 0 12px; color: var(--mute); white-space: nowrap; }
.amount button { margin-right: 6px; }
.msg { padding: 10px 12px; border-radius: var(--r-s); font-size: 13px; margin: 10px 0; }
.msg.err { background: rgba(240, 82, 90, .1); border: 1px solid rgba(240, 82, 90, .35); color: #ffb3b6; }
.msg.ok { background: rgba(63, 201, 138, .08); border: 1px solid rgba(63, 201, 138, .32); color: #a8ecc9; }
.msg.info { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); }
.msg.warn { background: rgba(233, 180, 76, .08); border: 1px solid rgba(233, 180, 76, .35); color: #f2d79b; }

/* ---------- the board (the memescope) ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }
.col { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); min-height: 220px; }
.col > .ch { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-bottom: 1px solid var(--line); position: sticky; top: 56px; background: var(--ink-2); border-radius: var(--r) var(--r) 0 0; z-index: 2; }
.col > .ch .t { font-weight: 600; }
.col > .ch .n { color: var(--mute); font-size: 12px; }
.col > .cb { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 11px; padding: 11px; border-radius: var(--r-s); background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.card:hover { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
.pic { width: 52px; height: 52px; border-radius: var(--r-s); background: var(--panel-2); overflow: hidden; display: grid; place-items: center; font-weight: 650; color: var(--text-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic.lg { width: 64px; height: 64px; border-radius: var(--r); }
.pic.sm { width: 28px; height: 28px; border-radius: var(--r-xs); font-size: 11px; }
.card .l1 { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.card .sym { font-weight: 650; white-space: nowrap; }
.card .nm { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 13px; }
.card .age { margin-left: auto; color: var(--mute); font-size: 12px; white-space: nowrap; }
.card .l2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.side { border-left: 2px solid var(--sol); padding-left: 7px; min-width: 0; }
.side.p { border-left-color: var(--plx); }
.side .k { font-size: 10.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.side .v { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.side .v.off { color: var(--faint); font-weight: 500; }
.card .l3 { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--mute); }
.card .l3 .spark { flex: 1; height: 22px; min-width: 40px; }
.card .act { margin-left: auto; padding: 3px 10px; border-radius: var(--r-xs); border: 1px solid var(--plx-line); color: var(--plx-2); font-weight: 600; font-size: 12px; white-space: nowrap; background: var(--plx-bg); }
.lock { height: 3px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.lock i { display: block; height: 100%; background: var(--plx); }

/* ---------- the coin page ---------- */
.coinhead { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.coinhead .t { font-size: 26px; font-weight: 680; font-stretch: 114%; letter-spacing: -.03em; }
.coinhead .n { color: var(--mute); font-size: 15px; }
.cas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.cachip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 12px; cursor: pointer; background: none; }
.cachip:hover { border-color: var(--line-2); }
.cachip .w { color: var(--mute); }
.cachip .a { font-family: var(--mono); font-size: 11.5px; }
.cachip.p { border-color: var(--plx-line); }
.cachip.p .w { color: var(--plx-2); }
.chart { width: 100%; height: 260px; display: block; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--mute); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.steps { display: flex; flex-direction: column; gap: 0; margin: 12px 0 4px; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 7px 0; position: relative; }
.step .o { width: 14px; height: 14px; margin: 3px 4px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--ink); }
.step.done .o { border-color: var(--plx); background: var(--plx); }
.step.now .o { border-color: var(--plx); }
.step .s { font-size: 13px; } .step .s small { display: block; color: var(--mute); font-size: 12px; overflow-wrap: anywhere; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 25px; bottom: -7px; width: 2px; background: var(--line); }
.step.done:not(:last-child)::after { background: var(--plx-line); }
.addr-same { padding: 9px 11px; border-radius: var(--r-s); background: var(--ink-2); border: 1px dashed var(--line-2); font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }
.addr-same b { font-family: var(--mono); font-weight: 500; color: var(--text); font-size: 12px; }
.qr { background: #fff; padding: 10px; border-radius: var(--r-s); width: 196px; margin: 8px auto; }
.qr svg { display: block; width: 100%; height: auto; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 550; color: var(--mute); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td.wrap { white-space: normal; overflow-wrap: anywhere; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl a.l { color: var(--text); border-bottom: 1px dotted var(--faint); }
.tbl a.l:hover { color: var(--plx-2); border-color: var(--plx-line); }
.tblwrap { overflow-x: auto; }
.subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 0; overflow-x: auto; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs button { border: 0; background: none; padding: 10px 12px; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 550; }
.subtabs button.on { color: var(--text); border-bottom-color: var(--plx); }
.sig { font-family: var(--mono); font-size: 11.5px; word-break: break-all; color: var(--text-2); }
.ok-x { color: var(--up); } .no-x { color: var(--down); }

/* ---------- explorer ---------- */
.x-search { display: flex; gap: 8px; margin-bottom: 16px; }
.x-search input { flex: 1; }
.stat4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 860px) { .stat4 { grid-template-columns: 1fr 1fr; } }
.stat { padding: 13px 14px; }
.stat .k { color: var(--mute); font-size: 12px; } .stat .v { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin-top: 3px; white-space: nowrap; }
.stat .v small { font-size: 12px; color: var(--mute); font-weight: 450; }
.blocks { display: flex; gap: 6px; overflow: hidden; padding: 4px 0 2px; }
.blk { flex: 0 0 auto; width: 74px; padding: 7px 8px; border-radius: var(--r-xs); border: 1px solid var(--line); background: var(--panel); font-size: 11.5px; }
.blk b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; }
.blk.tx { border-color: var(--plx-line); background: var(--plx-bg); }

/* ---------- toasts + modal ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 10px 14px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line-2); max-width: 360px; font-size: 13px; }
.toast.err { border-color: rgba(240, 82, 90, .5); } .toast.ok { border-color: rgba(63, 201, 138, .45); }
.back { position: fixed; inset: 0; background: rgba(6, 7, 6, .72); z-index: 40; display: grid; place-items: center; padding: 16px; }
.modal { width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); }
.modal .ph { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal .ph .t { font-weight: 650; } .modal .ph button { margin-left: auto; }
.modal .pb { padding: 16px; }
body.soon .view { max-width: 640px; padding-top: 18vh; } body.soon h1 { font-size: 34px; letter-spacing: -.02em; }

/* $PLEXA pinned first (SPEC v2 §3b) */
.panel.pin { margin-bottom: 14px; border-left: 2px solid var(--plx); }
a.panel.pin:hover { border-color: var(--line-2); border-left-color: var(--plx); color: var(--text); }
.panel.pin .spark { width: 160px; height: 28px; }
