/* OMEN board theme, loaded last. The landing's near-black field, silver ink, expanded stage
   titles and Manrope tabular figures across the board, market page, review and FORGE dock.
   Presentation only: layout, sizes and breakpoints stay with the earlier terminal layers. */
.terminal-page{--stage-new:#87cdbd;--stage-bonding:#d9b887;--stage-pool:#b9a9dd;--th-panel:linear-gradient(180deg,#0f0f16,#0a0a0f 60%);--th-edge:#2a2a37;--th-line:#1c1c26;--th-ink:#f1f1f5;--th-muted:#8e8ea4;--th-faint:#71718a;--th-silver:#dfdcef;background:#09090e;color:#e9e8f1}
html body.terminal-page *{font-family:Manrope,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums}
.terminal-page .ti-copy,.terminal-page .ti-copy *,.terminal-page kbd{font-family:ui-monospace,Consolas,monospace}
.terminal-page [data-stage=new]{--stage:var(--stage-new)}.terminal-page [data-stage=bonding]{--stage:var(--stage-bonding)}.terminal-page [data-stage=pool]{--stage:var(--stage-pool)}
.terminal-page .tb-positive{color:#87cdbd}.terminal-page .tb-negative{color:#dca3b5}

/* Header and toolbar */
.terminal-page .tb-header{background:#0a0a0f;border-bottom:1px solid var(--th-line)}
.terminal-page .tb-brand span{font-weight:600;letter-spacing:.2em;color:#e8e5f2}.terminal-page .tb-brand svg{color:#d7d1eb}
.terminal-page .tb-brand small,.terminal-page .tb-toolbar .tb-eyebrow,.terminal-page .tb-network small,.terminal-page .tb-ticket-heading>span{padding:3px 8px;border:1px solid #30303d;border-radius:999px;background:transparent;font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#9d9db3}
.terminal-page .tb-nav button{border-radius:8px;font-weight:600;color:#a9a9bd;transition:background .2s,color .2s}.terminal-page .tb-nav button:hover{background:#14141c;color:#fff}.terminal-page .tb-nav button[aria-current=page]{background:#1a1a24;color:#fff;box-shadow:inset 0 0 0 1px #2c2c3a}
.terminal-page .tb-header .tb-search{background:#0f0f15;border:1px solid #262633;border-radius:9px}.terminal-page .tb-header .tb-search:focus-within{border-color:#a6a0bb}.terminal-page .tb-search kbd{border-color:#30303d;color:#8e8ea4;white-space:nowrap}
.terminal-page .tb-forge-toggle{border:1px solid #4a3f2e;border-radius:8px;background:#d9b8870d;color:#d9b887;font-weight:600}.terminal-page .tb-forge-toggle:hover,.terminal-page .tb-forge-toggle[aria-expanded=true]{background:#d9b8871a;color:#ecd3ad}
.terminal-page .tb-toolbar h1{font-weight:600;letter-spacing:-.035em;color:var(--th-ink)}.terminal-page .tb-network{color:#b6b6c8}
.terminal-page .tb-sort select{background-color:#0f0f15;border:1px solid #2c2c3a;border-radius:8px;color:#e9e8f1}

/* Board: one dark panel, stage-tinted heads, the stage name as the strongest label. */
.terminal-page .tb-board{position:relative;background:var(--th-panel);border:1px solid var(--th-edge);border-radius:14px;box-shadow:0 34px 80px -30px #000,inset 0 1px 0 #ffffff0b}
.terminal-page .tb-board:before,.terminal-page .tb-order-panel:before,.terminal-page .tb-review:before{content:"";position:absolute;z-index:3;top:0;left:8%;width:42%;height:1px;background:linear-gradient(90deg,transparent,#d7d1eb8c,transparent);pointer-events:none}
.terminal-page .tb-column+.tb-column{border-color:var(--th-line)}
.terminal-page .tb-column-head{background:linear-gradient(180deg,color-mix(in srgb,var(--stage) 9%,transparent),transparent 95%);border-bottom:0}
.terminal-page .tb-column-head:before{top:auto;bottom:0;left:0;right:0;height:1px;opacity:1;background:linear-gradient(90deg,color-mix(in srgb,var(--stage) 80%,transparent),color-mix(in srgb,var(--stage) 12%,transparent) 55%,var(--th-line))}
.terminal-page .tb-column-head h2{font:600 13px/1.25 "Zalando Sans Expanded",Manrope,sans-serif;letter-spacing:.015em;text-transform:uppercase;color:var(--th-ink)}
.terminal-page .tb-column-head p{color:var(--th-muted)}.terminal-page .tb-phase-icon{color:var(--stage)}
.terminal-page .tb-column-head>span:last-child{background:transparent;border:0;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--stage)}
.terminal-page .tb-column-scroll{background:transparent;scrollbar-color:#3a3a4c transparent}
.terminal-page .tb-market-card{background:transparent;border:0;border-bottom:1px solid var(--th-line);border-radius:0;box-shadow:none;transition:background .2s}
.terminal-page .tb-market-card:hover,.terminal-page .tb-market-card:focus-within{background:linear-gradient(90deg,color-mix(in srgb,var(--stage) 8%,transparent),#ffffff03 75%)}
.terminal-page .tb-avatar.ti-glyph{background:#101017;border-color:#272734;border-radius:11px;transition:border-color .2s,box-shadow .2s}
.terminal-page .ti-glyph[data-token-preview]:hover{border-color:color-mix(in srgb,var(--stage,#d7d1eb) 70%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--stage,#d7d1eb) 12%,transparent)}
.terminal-page .tb-token-name strong{font-weight:600;color:var(--th-ink)}.terminal-page .tb-token-name small{color:var(--th-muted)}.terminal-page .tb-token-age{color:var(--th-faint)}
.terminal-page .tb-token-mini-meta{font-size:10px;color:var(--th-faint)}.terminal-page .tb-token-mini-meta b{color:#3e3e50}
.terminal-page .tb-card-cap small{font-weight:600;letter-spacing:.12em;color:var(--th-faint)}.terminal-page .tb-card-cap strong{font-weight:600;letter-spacing:-.02em;color:#efeef6}
.terminal-page .tb-card-stats{letter-spacing:.06em;color:var(--th-faint)}.terminal-page .tb-card-stats b{letter-spacing:0;font-weight:600;color:#d6d4e2}
.terminal-page .tb-star{color:#8e8ea4}.terminal-page .tb-star[aria-pressed=true]{color:#d9b887}
.terminal-page .tb-progress{height:1.5px;background:#18181f}.terminal-page .tb-progress i{opacity:.85;background:linear-gradient(90deg,color-mix(in srgb,var(--stage) 40%,transparent),var(--stage))}
.terminal-page .tb-market-card[data-stage=pool] .tb-progress{display:none}
.terminal-page .tb-mobile-phases button{border-radius:8px;font-weight:600}.terminal-page .tb-mobile-phases button[aria-pressed=true]{background:#1a1a24;color:#fff;box-shadow:inset 0 0 0 1px #2c2c3a}
.terminal-page .tb-status{background:#0a0a0f;border-color:var(--th-line);letter-spacing:.04em;color:var(--th-faint)}

/* Market page */
.terminal-page .tb-token-heading{border-color:var(--th-line)}.terminal-page .tb-token-heading h1{font-weight:600;letter-spacing:-.02em;color:var(--th-ink)}.terminal-page .tb-token-heading p{color:var(--th-muted)}
.terminal-page .tb-stage-tag{padding:4px 8px;border:1px solid color-mix(in srgb,var(--stage) 35%,transparent);border-radius:6px;background:color-mix(in srgb,var(--stage) 9%,transparent);font:600 10px/1.3 Manrope,sans-serif;letter-spacing:.04em;color:var(--stage)}
.terminal-page .tb-token-metrics small{font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--th-faint)}.terminal-page .tb-token-metrics strong{font-weight:600;color:var(--th-ink)}
.terminal-page .tb-chart-panel,.terminal-page .tb-market-activity,.terminal-page .tb-order-panel{position:relative;background:var(--th-panel);border:1px solid var(--th-edge);border-radius:14px;box-shadow:0 30px 70px -36px #000}
.terminal-page .tb-chart-panel{background:#0c0d12}
.terminal-page .tb-chart-top,.terminal-page .tb-activity-tabs{background:transparent;border-color:var(--th-line)}
.terminal-page .tb-timeframes button{border-radius:6px;font-weight:600;color:var(--th-muted)}.terminal-page .tb-timeframes button:hover{color:#fff}.terminal-page .tb-timeframes button[aria-pressed=true]{background:#1d1d28;color:#fff;box-shadow:inset 0 0 0 1px #2e2e3c}
.terminal-page .tb-activity-tabs button{font-weight:600;color:var(--th-muted)}.terminal-page .tb-activity-tabs button[aria-selected=true]{border-color:#d7d1eb;color:#fff}.terminal-page .tb-activity-tabs>small{letter-spacing:.12em;color:var(--th-faint)}
.terminal-page .tb-activity-body{background:transparent}
.terminal-page .tb-trades-head{font-weight:600;letter-spacing:.1em;color:var(--th-faint);border-color:var(--th-line)}.terminal-page .tb-trade-row{border-color:var(--th-line);color:#d6d4e2}
.terminal-page .tb-token-about{border-color:var(--th-line)}.terminal-page .tb-token-about p{color:#b6b6c8}
.terminal-page .tb-ticket-heading h2{font-weight:600;letter-spacing:-.01em;color:var(--th-ink)}
.terminal-page .tb-side-toggle{padding:3px;background:#0b0b10;border:1px solid #262633;border-radius:10px}.terminal-page .tb-side-toggle button{border-radius:7px;font-weight:600;color:var(--th-muted)}.terminal-page .tb-side-toggle button[aria-pressed=true]{background:var(--th-silver);color:#171722}
.terminal-page .tb-ticket-type{border-color:var(--th-line);color:#c9c9d8}
.terminal-page .tb-amount-label{color:var(--th-muted)}
.terminal-page .tb-amount{background:#0c0c12;border:1px solid #34344a;border-radius:10px;transition:border-color .2s,box-shadow .2s}.terminal-page .tb-amount:focus-within{border-color:#a6a0bb;box-shadow:0 0 0 3px #a6a0bb1f}.terminal-page .tb-amount input{font-weight:600;letter-spacing:-.02em;color:#f4f3f8}
.terminal-page .tb-presets button{background:#13131b;border:1px solid #2a2a37;border-radius:7px;font-weight:600;color:#c9c9d8}.terminal-page .tb-presets button:hover{border-color:#4a4a5e;color:#fff}
.terminal-page .tb-order-details dt{color:var(--th-muted)}.terminal-page .tb-order-details dd{font-weight:600;color:#e6e5ef}
.terminal-page .tb-btn{background:#14141c;border-color:#3d3d4f;border-radius:8px;font-weight:600;color:#e8e6f1}.terminal-page .tb-btn:hover{background:#1e1e29;border-color:#a6a0bb}
.terminal-page .tb-btn.primary,.terminal-page .tb-order-panel>.tb-btn.primary{background:var(--th-silver);border-color:var(--th-silver);color:#171722}.terminal-page .tb-btn.primary:hover,.terminal-page .tb-order-panel>.tb-btn.primary:hover{background:#eeebfa;border-color:#eeebfa}
.terminal-page .tb-order-note,.terminal-page .tb-activity-note{color:var(--th-faint)}
.terminal-page .tb-core-compact strong{color:var(--th-ink)}.terminal-page .tb-core-compact p{color:#b6b6c8}
.terminal-page .ti-snapshot{border-color:var(--th-line)}.terminal-page .ti-snapshot-grid small,.terminal-page .ti-holder-summary small{font-weight:600;letter-spacing:.12em;color:var(--th-faint)}

/* Portfolio and watchlist */
.terminal-page .tb-portfolio-hero,.terminal-page .tb-portfolio-section{position:relative;background:var(--th-panel);border:1px solid var(--th-edge);border-radius:14px;box-shadow:0 30px 70px -36px #000}
.terminal-page .tb-portfolio-hero:before{content:"";position:absolute;top:0;left:6%;width:36%;height:1px;background:linear-gradient(90deg,transparent,#d7d1eb8c,transparent);pointer-events:none}
.terminal-page .tb-portfolio-hero small{font-weight:600;letter-spacing:.14em;color:#9d9db3}.terminal-page .tb-portfolio-hero strong{font-weight:600;letter-spacing:-.04em;color:var(--th-ink)}.terminal-page .tb-portfolio-hero p{color:var(--th-muted)}
.terminal-page .tb-portfolio-section h2{font:600 12px/1.3 "Zalando Sans Expanded",Manrope,sans-serif;letter-spacing:.02em;text-transform:uppercase;color:var(--th-ink);border-color:var(--th-line)}
.terminal-page .tb-holding{border-color:var(--th-line)}
.terminal-page .tb-state{color:#b6b6c8}.terminal-page .tb-state strong{color:var(--th-ink)}

/* Review, toast and FORGE dock share the same surfaces. */
.terminal-page .tb-review{position:fixed;background:linear-gradient(180deg,#111118,#0a0a0f 60%);border:1px solid #2c2c3a;border-radius:16px;box-shadow:0 40px 90px -20px #000;color:#ecebf3}
.terminal-page .tb-review::backdrop{background:#050508c4}
.terminal-page .tb-review .tb-eyebrow{font-weight:600;letter-spacing:.14em;color:#9d9db3}.terminal-page .tb-review h2{font-weight:600;letter-spacing:-.035em}
.terminal-page .tb-review p{color:#b6b6c8}.terminal-page .tb-review dl{border-color:var(--th-line)}.terminal-page .tb-review dt{color:var(--th-muted)}.terminal-page .tb-review dd{font-weight:600}
.terminal-page .tb-toast{background:#14141c;border-color:#2c2c3a;border-radius:10px;color:#ecebf3;box-shadow:0 20px 50px -10px #000}
.terminal-page .tb-forge-dock{background:#0a0a0f;border-color:var(--th-line)}
.terminal-page .forge-panel{--forge-bg:#0a0a0f;--forge-surface:#111118;--forge-line:#1f1f2a;--forge-text:#ecebf3;--forge-muted:#9191a7;--forge-amber:#d9b887}
@media(prefers-reduced-motion:reduce){.terminal-page .tb-market-card,.terminal-page .tb-avatar.ti-glyph,.terminal-page .tb-nav button,.terminal-page .tb-amount{transition:none}}

/* Board rows. Compact by default (about twice the markets per screen); comfortable restores
   the sparkline, liquidity and curve line. Safety sits in the row; quick buy appears on hover. */
.terminal-page .tb-card-cap>small{display:none}
.terminal-page .tb-card-cap strong small{display:inline;margin-right:6px;font-size:10px;font-weight:600;letter-spacing:.1em;color:var(--th-faint)}
.tb-card-safety{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:10px;font:500 11px/1.3 Manrope,sans-serif;color:var(--th-muted)}
.tb-metric{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.tb-metric small{font-size:9.5px;font-weight:600;letter-spacing:.1em;color:var(--th-faint)}
.tb-metric svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.tb-holders{color:#c9c9d8}.tb-metric.is-ok{color:#87cdbd}.tb-metric.is-watch{color:#d9b887}.tb-metric.is-high{color:#ec8ea3}.tb-metric.is-unknown{color:#5f5f74}
.tb-score{display:inline-flex;align-items:center;gap:6px;color:#5f5f74}.tb-score i{display:block;width:34px;height:3px;overflow:hidden;border-radius:2px;background:#1f1f2a}.tb-score b{display:block;height:100%;background:linear-gradient(90deg,#d9b887,#87cdbd)}
.tb-card-vol{margin-left:auto;white-space:nowrap}.tb-card-vol b,.tb-card-liq b{margin-left:4px;font-weight:600;color:#d6d4e2}.tb-card-liq{white-space:nowrap}
.tb-card-safety .ti-copy{min-height:22px;padding:2px 6px;font-size:10px}
.tb-card-signal .tb-spark{display:block}
.tb-copy-badge{margin-left:2px;padding:1px 5px;border:1px solid #6a3a46;border-radius:4px;background:#2a1219;font:700 9px/1.4 Manrope,sans-serif;letter-spacing:.08em;color:#ec8ea3}
body[data-density=compact] .terminal-page .tb-market-card,body.terminal-page[data-density=compact] .tb-market-card{min-height:0;padding:10px 14px}
body.terminal-page[data-density=compact] .tb-avatar.ti-glyph{width:38px;height:38px;border-radius:9px}
body.terminal-page[data-density=compact] .tb-token-open{min-height:40px;gap:11px}
body.terminal-page[data-density=compact] .tb-token-name strong{font-size:14px}body.terminal-page[data-density=compact] .tb-token-name small{font-size:11px}
body.terminal-page[data-density=compact] .tb-card-cap strong{font-size:15px}
body.terminal-page[data-density=compact] .tb-token-mini-meta,body.terminal-page[data-density=compact] .tb-card-signal,body.terminal-page[data-density=compact] .tb-card-liq{display:none}
body.terminal-page[data-density=compact] .tb-card-safety{margin-top:7px;padding-left:49px;gap:4px 10px;font-size:10.5px}
.terminal-page .tb-market-card .tb-star{opacity:0;transition:opacity .2s}
.terminal-page .tb-market-card:hover .tb-star,.terminal-page .tb-market-card:focus-within .tb-star,.terminal-page .tb-market-card .tb-star[aria-pressed=true]{opacity:1}
.tb-quick-buy{position:absolute;z-index:2;top:12px;right:46px;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border:1px solid #5b4b32;border-radius:8px;background:#17130d;color:#ecd3ad;font:600 12px/1 Manrope,sans-serif;cursor:pointer;opacity:0;transform:translateY(-3px);pointer-events:none;transition:opacity .18s,transform .18s,background .18s}
.tb-quick-buy svg{width:13px;height:13px;fill:currentColor}
.tb-quick-buy:hover{background:#2a2114;color:#fff}
.terminal-page .tb-market-card:hover .tb-quick-buy,.terminal-page .tb-market-card:focus-within .tb-quick-buy{opacity:1;transform:none;pointer-events:auto}
.terminal-page .tb-market-card:hover .tb-card-cap,.terminal-page .tb-market-card:focus-within .tb-card-cap{opacity:.12}
.terminal-page .tb-card-cap{transition:opacity .18s}
.tb-market-card>.ti-peek{position:absolute;right:10px;bottom:8px}
@media(hover:hover) and (pointer:fine){.tb-market-card>.ti-peek{display:none}}
@media(hover:none){.terminal-page .tb-market-card .tb-star{opacity:1}.tb-quick-buy{position:static;opacity:1;transform:none;pointer-events:auto;margin:10px 0 0 49px}.terminal-page .tb-market-card:hover .tb-card-cap{opacity:1}}

/* Column tools: quick-buy amount, filters, alerts and the visible count. */
.terminal-page .tb-column-head{gap:10px}
.terminal-page .tb-column-head>div:not(.tb-column-tools){flex:1;min-width:0}
.tb-column-tools{display:flex;align-items:center;gap:6px;margin-left:auto}
.tb-quick{display:inline-flex;align-items:center;gap:3px;height:28px;padding:0 8px;border:1px solid #2c2c3a;border-radius:7px;background:#0f0f15;color:#d9b887;font:600 11px/1 Manrope,sans-serif}
.tb-quick svg{width:12px;height:12px;fill:currentColor}
.tb-quick input{width:40px;padding:0;border:0;background:transparent;color:#ecebf3;font:600 12px/1 Manrope,sans-serif;outline:none;-moz-appearance:textfield;appearance:textfield}
.tb-quick input::-webkit-inner-spin-button,.tb-quick input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.tb-quick:focus-within{border-color:#a6a0bb}
.tb-col-btn{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #2c2c3a;border-radius:7px;background:transparent;color:#9d9db3;cursor:pointer;transition:color .2s,border-color .2s}
.tb-col-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tb-col-btn:hover{color:#fff;border-color:#4a4a5e}
.tb-col-btn[aria-pressed=true],.tb-col-btn[data-on],.tb-col-btn[aria-expanded=true]{color:var(--stage);border-color:color-mix(in srgb,var(--stage) 45%,transparent)}
.terminal-page .tb-column-head .tb-count{min-width:22px;text-align:right;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--stage)}
.tb-filter{display:grid;gap:10px;padding:14px 16px;border-bottom:1px solid var(--th-line);background:#0d0d13}
.tb-filter label{display:grid;gap:5px;font:600 10px/1.3 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--th-faint)}
.tb-filter input[type=number]{height:34px;padding:0 10px;border:1px solid #2c2c3a;border-radius:8px;background:#0a0a0f;color:#ecebf3;font:600 13px/1 Manrope,sans-serif}
.tb-filter input[type=number]:focus{border-color:#a6a0bb;outline:none}
.tb-filter .tb-filter-check{display:flex;align-items:center;gap:8px;text-transform:none;letter-spacing:0;font-size:12px;color:#c9c9d8}
.tb-filter p{margin:0;font-size:11px;color:var(--th-faint)}
.tb-filter-actions{display:flex;justify-content:flex-end;gap:8px}.terminal-page .tb-filter-actions .tb-btn{width:auto;min-height:32px;padding:0 14px;font-size:12px}

/* Toolbar density switch and the status bar. */
.terminal-page .tb-toolbar-right{display:flex;align-items:center;gap:12px}
.tb-density{display:inline-flex;padding:3px;border:1px solid #262633;border-radius:9px;background:#0b0b10}
.tb-density button{height:30px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--th-muted);font:600 12px/1 Manrope,sans-serif;cursor:pointer}
.tb-density button[aria-pressed=true]{background:#1d1d28;color:#fff;box-shadow:inset 0 0 0 1px #2e2e3c}
.terminal-page .tb-status{display:flex;align-items:center;gap:18px}.terminal-page .tb-status b{font-weight:600;color:#d6d4e2}
.tb-feed{display:inline-flex;align-items:center;gap:7px;color:#d9b887}.terminal-page .tb-feed i{width:6px;height:6px;border-radius:50%;background:#d9b887}
.terminal-page .tb-status a{margin-left:auto}
@media(max-width:900px){.tb-quick input{width:32px}.tb-density button{padding:0 9px;font-size:11px}.terminal-page .tb-status{gap:12px;flex-wrap:wrap}}
@media(max-width:700px){.terminal-page .tb-status span:nth-child(n+3):nth-child(-n+5){display:none}}
@media(prefers-reduced-motion:reduce){.tb-quick-buy,.terminal-page .tb-card-cap,.terminal-page .tb-market-card .tb-star{transition:none}}

.terminal-page .tb-header .tb-search{width:340px}@media(max-width:1279px){.terminal-page .tb-header .tb-search{width:260px}}@media(max-width:900px){.terminal-page .tb-header .tb-search{width:190px}}@media(max-width:700px){.terminal-page .tb-header .tb-search{width:100%}}

/* Touch: quick buy and info end the metrics line instead of taking rows of their own. */
.tb-card-safety>.ti-peek{display:none}
@media(hover:none){.tb-card-safety>.tb-quick-buy{margin:0 0 0 auto;height:30px}.tb-card-safety>.ti-peek{display:grid;width:30px;height:30px;min-height:30px}.tb-card-vol{margin-left:0}body.terminal-page[data-density=compact] .tb-card-safety{padding-left:0}}
.tb-hidden-note{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 8px;font:600 11px/1.3 Manrope,sans-serif;color:var(--th-faint)}.tb-hidden-note button{padding:4px 10px;border:1px solid #2c2c3a;border-radius:7px;background:#12121a;color:#d6d4e2;font:600 11px/1.2 Manrope,sans-serif;cursor:pointer}.tb-hidden-note button:hover{border-color:#a6a0bb;color:#fff}

/* Market page: header metrics and actions, chart over detail tabs, one scrolling sidebar
   with the CORE read, trade ticket, holders, score and on-chain facts. */
.terminal-page .tb-token-view{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0}
.terminal-page .tb-token-heading{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:12px 2px;border-bottom:1px solid var(--th-line)}
.terminal-page .tb-token-heading>.ti-glyph{flex:none;width:40px;height:40px}
.terminal-page .tb-token-identity{min-width:0}.terminal-page .tb-token-identity h1{margin:0 0 3px;font-size:20px;line-height:1.15;white-space:nowrap}.terminal-page .tb-token-identity p{margin:0;max-width:160px;overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.terminal-page .tb-token-heading .tb-stage-tag{display:inline-block;flex:none}
.terminal-page .tb-token-metrics{display:flex;align-items:center;gap:28px;min-width:0;margin:0 0 0 18px}
.terminal-page .tb-token-metrics>div{display:flex;flex-direction:column;gap:5px}.terminal-page .tb-token-metrics small{font-size:9px}.terminal-page .tb-token-metrics strong{font-size:15px}.terminal-page .tb-token-metrics .tb-change{font-size:13px;font-weight:600;white-space:nowrap}
/* Header actions: copy, project links, watch and hide share one visible 36px button. Links a
   sample market does not have stay readable and say so in their tooltip. */
.tb-token-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
.tb-token-actions .ti-socials,.tb-token-actions .ti-socials.is-compact{gap:6px;padding-right:12px;margin-right:6px;border-right:1px solid var(--th-line)}
.terminal-page .tb-token-actions :is(.ti-social,.ti-address-empty,.tb-star,.tb-hide){display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;margin:0;padding:0;border:1px solid #34344a;border-radius:9px;background:#14141c;color:#e6e5ef;opacity:1;font-size:16px;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.terminal-page .tb-token-actions :is(.ti-social,.ti-address-empty,.tb-hide) svg{width:17px;height:17px;opacity:1;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.terminal-page .tb-token-actions :is(a.ti-social,.tb-star,.tb-hide):hover{border-color:#a6a0bb;background:#1d1d28;color:#fff}
.terminal-page .tb-token-actions :is(.ti-social.is-unavailable,.ti-address-empty){background:#121219;color:#c2c1d3;cursor:help}.terminal-page .tb-token-actions :is(.ti-social.is-unavailable,.ti-address-empty):hover{border-color:#4a4a5e;color:#d6d4e2}
.tb-token-actions .ti-address-empty span{display:none}
.terminal-page .tb-token-actions .ti-copy{min-height:36px;padding:0 11px;border-color:#34344a;border-radius:9px;background:#14141c;color:#e6e5ef}.terminal-page .tb-token-actions .ti-copy:hover{border-color:#a6a0bb}
.terminal-page .tb-token-actions .tb-star[aria-pressed=true]{border-color:#5b4b32;background:#17130d;color:#d9b887}.terminal-page .tb-token-actions .tb-hide[aria-pressed=true]{border-color:#5b4b32;background:#17130d;color:#d9b887}

/* The 12 px tracks between the chart, the tabs and the side column are drag handles. Defaults per width below; a dragged size arrives as an inline variable and is clamped to the room left. */
.terminal-page .tb-detail-grid{--tb-side-w:340px;--tb-activity-h:250px;display:grid;grid-template-columns:minmax(0,1fr) 12px clamp(240px,var(--tb-side-w),40vw);gap:0;min-height:0;padding-top:12px}
.terminal-page .tb-chart-stack{display:grid;grid-template-rows:minmax(0,1fr) 12px clamp(120px,var(--tb-activity-h),calc(100vh - 400px));gap:0;min-width:0;min-height:0}
.terminal-page .tb-chart-panel,.terminal-page .tb-market-activity{border-radius:12px}
.tb-split{position:relative;z-index:2;touch-action:none;outline:0}.tb-split.is-col{cursor:col-resize}.tb-split.is-row{cursor:row-resize}
.tb-split:before,.tb-split:after{content:"";position:absolute;border-radius:2px;transition:background-color .15s}
.tb-split.is-col:before{top:50%;left:4px;width:4px;height:32px;margin-top:-16px;background:#2a2a38}.tb-split.is-row:before{left:50%;top:4px;width:32px;height:4px;margin-left:-16px;background:#2a2a38}
.tb-split.is-col:after{top:0;bottom:0;left:5px;width:2px}.tb-split.is-row:after{left:0;right:0;top:5px;height:2px}
.tb-split:hover:after,.tb-split:focus-visible:after,.tb-split.is-dragging:after{background:#a6a0bb}.tb-split:hover:before,.tb-split:focus-visible:before,.tb-split.is-dragging:before{background:#a6a0bb}
.tb-resizing-col,.tb-resizing-col *{cursor:col-resize!important;user-select:none}.tb-resizing-row,.tb-resizing-row *{cursor:row-resize!important;user-select:none}
.tb-chart-display{display:inline-flex;margin-left:auto;padding:2px;border:1px solid #262633;border-radius:8px;background:#0b0b10}
.tb-chart-display button{height:24px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--th-muted);font:600 11px/1 Manrope,sans-serif;cursor:pointer}.tb-chart-display button[aria-pressed=true]{background:#1d1d28;color:#fff;box-shadow:inset 0 0 0 1px #2e2e3c}
.terminal-page .tb-chart-fit{margin-left:0}
.terminal-page .tb-activity-tabs{gap:20px;overflow-x:auto;scrollbar-width:none}.terminal-page .tb-activity-tabs::-webkit-scrollbar{display:none}
.terminal-page .tb-activity-tabs button{flex:none;font-size:12px;cursor:pointer}.terminal-page .tb-activity-tabs button span{margin-left:4px;padding:1px 5px;border-radius:5px;background:#1a1a24;font:600 10px/1.3 Manrope,sans-serif;color:var(--th-muted)}
.tb-feed-chip{display:inline-flex;align-items:center;gap:6px;flex:none;margin-left:auto;font:600 9px/1 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#d9b887}.tb-feed-chip i{width:5px;height:5px;border-radius:50%;background:#d9b887}
.terminal-page .tb-trades-head.is-wide,.terminal-page .tb-trade-row.is-wide{grid-template-columns:.6fr .6fr 1fr 1.1fr 1fr .7fr;font-family:Manrope,sans-serif}
.terminal-page .tb-trades-empty{padding:22px 16px;font-size:12px;color:#b6b6c8}.terminal-page .tb-trades-empty span{max-width:440px;margin:6px auto 0;font-size:11px;line-height:1.5;color:var(--th-faint)}
/* Bundles: one summary row per block, its wallets indented under it. Position: the Creator grid with a smaller note. */
.tb-bundle-row{background:#ffffff04}.tb-bundle-row small{margin-left:4px;color:var(--th-faint);font-weight:500}
.tb-bundle-wallet{min-height:38px;font-size:11.5px;color:var(--th-muted)}.tb-bundle-wallet>span:first-child{padding-left:14px}.tb-bundle-wallet a{color:#c9c7d6}
.tb-position dd small{display:block;margin-top:3px;font:500 10.5px/1.2 Manrope,sans-serif;color:var(--th-faint)}.tb-trades-empty .tb-btn{margin-top:10px}
.tb-creator{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:18px 16px}.tb-creator dt{font:600 9px/1.3 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--th-faint)}.tb-creator dd{margin:6px 0 0;font:600 13px/1.3 Manrope,sans-serif;color:#d6d4e2}.tb-creator .ti-address-empty span{display:inline}

.tb-token-side{--ti-line:var(--th-line);--ti-muted:var(--th-muted);--ti-faint:var(--th-faint);display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin;scrollbar-color:#3a3a4c transparent}
.tb-side-block{flex:none;padding:14px 16px;border:1px solid var(--th-edge);border-radius:12px;background:var(--th-panel)}
.tb-side-label{display:flex;align-items:center;gap:7px;font:600 10px/1.3 Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#9d9db3}
.tb-core-read .tb-side-label{color:#d9b887}.tb-core-read p{margin:9px 0 8px;font:13px/1.55 Manrope,sans-serif;color:#d6d4e2}.tb-core-read small,.tb-side-note{display:block;font:11px/1.45 Manrope,sans-serif;color:var(--th-faint)}
.tb-side-frames{padding:0;overflow:hidden}.tb-side-frames .ti-frames{border:0}.tb-side-frames .ti-frames>div{padding-left:14px}
.tb-token-side .is-positive{color:#87cdbd}.tb-token-side .is-negative{color:#dca3b5}.tb-token-side .is-flat{color:#c9c9d6}.tb-token-side .is-empty{color:#5f5f74}
.tb-side-activity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.tb-side-activity small{display:block;font:11px/1.3 Manrope,sans-serif;color:var(--th-muted)}.tb-side-activity b{display:block;margin-top:4px;font:600 14px/1.3 Manrope,sans-serif;color:#ecebf3}
.tb-flow{display:flex;height:4px;margin:12px 0 8px;border-radius:2px;background:#1f1f2a}
.tb-token-side .ti-card-grid{margin-top:12px}.tb-token-side .ti-score .ti-section-label{display:none}.tb-token-side .ti-score .ti-score-title{margin-top:0}
.tb-onchain{display:grid;gap:7px;margin:10px 0 0;padding-bottom:10px;border-bottom:1px solid var(--th-line)}.tb-onchain div{display:flex;justify-content:space-between;gap:12px}.tb-onchain dt{font:12px/1.3 Manrope,sans-serif;color:var(--th-muted)}.tb-onchain dd{margin:0;font:600 12px/1.3 Manrope,sans-serif;color:#d6d4e2;text-align:right}
.tb-token-side .ti-card-rows{margin-top:10px}

.terminal-page .tb-token-side .tb-order-panel{flex:none;display:flex;flex-direction:column;overflow:visible;min-height:0;padding:16px;border-radius:12px}
.tb-balance{display:flex;justify-content:space-between;align-items:baseline;margin:12px 0 2px;font:12px/1.3 Manrope,sans-serif;color:var(--th-muted)}.tb-balance b{font-weight:600;color:#e6e5ef}
.terminal-page .tb-token-side .tb-amount-label{margin-top:10px}
.terminal-page .tb-token-side .tb-order-details{margin:12px 0 0}
.tb-slippage{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0;font:12px/1.3 Manrope,sans-serif;color:var(--th-muted)}.tb-slippage>div{display:inline-flex;padding:2px;border:1px solid #262633;border-radius:8px;background:#0b0b10}
.tb-slippage button{height:24px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--th-muted);font:600 11px/1 Manrope,sans-serif;cursor:pointer}.tb-slippage button[aria-pressed=true]{background:#1d1d28;color:#fff;box-shadow:inset 0 0 0 1px #2e2e3c}
.tb-order-more{margin:10px 0 12px;border-top:1px solid var(--th-line)}.tb-order-more summary{display:flex;justify-content:space-between;padding:10px 0 2px;font:600 12px/1.3 Manrope,sans-serif;color:#c9c9d8;cursor:pointer;list-style:none}.tb-order-more summary::-webkit-details-marker{display:none}.tb-order-more summary:after{content:"+";color:var(--th-faint)}.tb-order-more[open] summary:after{content:"−"}
.tb-order-more dl{display:grid;gap:6px;margin:8px 0 0}.tb-order-more div{display:flex;justify-content:space-between;gap:12px}.tb-order-more dt{font:12px/1.3 Manrope,sans-serif;color:var(--th-muted)}.tb-order-more dd{margin:0;font:600 12px/1.3 Manrope,sans-serif;color:#c9c9d8;text-align:right}
.terminal-page .tb-token-side .tb-order-panel>.tb-order-note{font-size:10.5px;line-height:1.5}

@media(min-width:1700px){.terminal-page .tb-detail-grid{--tb-side-w:370px;--tb-activity-h:290px}.terminal-page .tb-token-metrics{gap:38px}.terminal-page .tb-token-metrics strong{font-size:18px}}
@media(max-width:1279px){.terminal-page .tb-detail-grid{--tb-side-w:300px}.terminal-page .tb-token-metrics{gap:18px;margin-left:8px}.terminal-page .tb-token-metrics>div:nth-child(5){display:none}}
@media(max-width:1024px) and (min-width:701px){.terminal-page .tb-token-metrics>div:nth-child(4){display:none}.terminal-page .tb-token-heading .tb-stage-tag{display:none}.terminal-page .tb-detail-grid{--tb-side-w:280px}.tb-creator{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:701px) and (max-height:820px){.terminal-page .tb-detail-grid{--tb-activity-h:200px}.terminal-page .tb-token-heading{padding-block:9px}}
@media(max-width:700px){
  .terminal-page .tb-token-view{display:block;height:auto}
  .terminal-page .tb-token-heading{flex-wrap:wrap;gap:10px;padding:12px 0}
  .terminal-page .tb-token-heading .tb-stage-tag{display:inline-block}
  .terminal-page .tb-token-metrics{flex-basis:100%;order:3;justify-content:space-between;gap:10px;margin:2px 0 0;padding-top:12px;border-top:1px solid var(--th-line);overflow-x:auto;scrollbar-width:none}
  .terminal-page .tb-token-metrics>div:nth-child(n+4){display:none}.terminal-page .tb-token-metrics strong{font-size:15px}
  .tb-token-actions{order:2;flex-basis:100%;justify-content:flex-end}.tb-token-actions .ti-socials{display:flex}
  .terminal-page .tb-token-actions :is(.ti-social,.ti-address-empty,.tb-star,.tb-hide){width:40px;height:40px;min-height:40px}.tb-token-actions .ti-socials,.tb-token-actions .ti-socials.is-compact{margin-right:auto;padding-right:0;border-right:0}
  .terminal-page .tb-detail-grid{display:flex;flex-direction:column;gap:12px}
  .terminal-page .tb-chart-stack{display:contents}.tb-split{display:none}
  .terminal-page .tb-chart-panel{order:1;height:340px}
  .tb-token-side{display:contents}.terminal-page .tb-token-side .tb-order-panel{order:2}.tb-token-side>.tb-side-block{order:4}
  .terminal-page .tb-market-activity{order:3;min-height:230px}.terminal-page .tb-activity-body{max-height:420px}
  .tb-chart-display button{height:32px}.tb-slippage button{height:32px;padding:0 10px}
  .terminal-page .tb-trades-head.is-wide,.terminal-page .tb-trade-row.is-wide{grid-template-columns:.7fr .7fr 1fr 1fr}.terminal-page .tb-trades-head.is-wide span:nth-child(n+5),.terminal-page .tb-trade-row.is-wide span:nth-child(n+5){display:none}
  .tb-creator{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Search palette: trending markets when the box opens, matches while typing. */
.tb-palette{position:fixed;z-index:70;max-width:calc(100vw - 24px);overflow:hidden;border:1px solid #2c2c3a;border-radius:14px;background:linear-gradient(180deg,#111118,#0b0b10 70%);box-shadow:0 34px 80px -24px #000,inset 0 1px 0 #ffffff0b}
.tb-palette[hidden]{display:none}
.tb-palette-head,.tb-palette li{display:grid;grid-template-columns:minmax(0,1fr) 84px 64px 92px;align-items:center;gap:10px}
.tb-palette-head{padding:12px 16px 8px;font:600 10px/1.3 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--th-faint)}
.tb-palette-head>span:first-child{display:flex;align-items:center;gap:7px;color:#b6b6c8}.tb-palette-head svg{width:14px;height:14px;stroke:#d9b887;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tb-palette-head>span:nth-child(n+2),.tb-palette li>:nth-child(n+3){text-align:right}
.tb-palette ul{max-height:min(60vh,430px);margin:0;padding:0 6px 6px;overflow-y:auto;list-style:none;scrollbar-width:thin;scrollbar-color:#3a3a4c transparent}
.tb-palette li{grid-template-columns:32px minmax(0,1fr) 84px 64px 92px;min-height:48px;padding:6px 10px;border-radius:9px;cursor:pointer;font:600 12px/1.3 Manrope,sans-serif;color:#d6d4e2}
.tb-palette li[aria-selected=true]{background:#191923;box-shadow:inset 0 0 0 1px #2a2a37}
.tb-palette li .ti-glyph{width:32px;height:32px}
.tb-palette-name{min-width:0}.tb-palette-name strong{display:block;font-size:13px;color:var(--th-ink)}.tb-palette-name small{display:block;overflow:hidden;font-weight:500;font-size:11px;white-space:nowrap;text-overflow:ellipsis;color:var(--th-muted)}
.tb-palette li>b{font-weight:600;color:#ecebf3}
.tb-palette-stage{justify-self:end;padding:3px 7px;border:1px solid color-mix(in srgb,var(--stage) 35%,transparent);border-radius:6px;background:color-mix(in srgb,var(--stage) 9%,transparent);font-size:10.5px;white-space:nowrap;color:var(--stage)}
.tb-palette li.tb-palette-empty{display:block;min-height:0;padding:22px 12px;text-align:center;font-weight:500;color:var(--th-muted);cursor:default}
.tb-palette-foot{display:flex;align-items:center;gap:6px;padding:9px 16px;border-top:1px solid var(--th-line);font:500 11px/1 Manrope,sans-serif;color:var(--th-faint)}
.tb-palette-foot kbd{min-width:20px;padding:3px 5px;border:1px solid #30303d;border-radius:5px;text-align:center;font-size:10px;color:#b6b6c8}.tb-palette-foot kbd+kbd{margin-left:-2px}.tb-palette-foot kbd:not(:first-child):not(kbd+kbd){margin-left:10px}
.tb-palette-all{margin-left:auto;padding:5px 10px;border:1px solid #2c2c3a;border-radius:7px;background:#12121a;color:#d6d4e2;font:600 11px/1 Manrope,sans-serif;cursor:pointer}.tb-palette-all:hover{border-color:#a6a0bb;color:#fff}

/* Header: Docs is a page link beside the views. */
.terminal-page .tb-nav .tb-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 13px;border-radius:8px;font:600 13px/1 Manrope,sans-serif;color:#a9a9bd;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.terminal-page .tb-nav .tb-nav-link:after{content:"↗";font-size:11px;color:var(--th-faint)}
.terminal-page .tb-nav .tb-nav-link:hover{background:#14141c;color:#fff}
.tb-density[hidden]{display:none}
@media(max-width:1279px){.terminal-page .tb-nav .tb-nav-link{padding:0 10px;font-size:12px}}
@media(max-width:700px){.terminal-page .tb-nav .tb-nav-link{flex:1;min-height:44px;padding:0 6px}.terminal-page .tb-nav button{padding-inline:6px}}

/* Trending: one ranked table with stage chips and sortable columns. */
/* Trending (Sentro layout): list tabs underlined on the left, the time window as a segmented control on the right. */
.tb-trend-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 8px;border-bottom:1px solid var(--th-line)}
.tb-trend-tabs{display:flex;gap:4px}
.tb-trend-tabs button{position:relative;height:40px;padding:0 12px;border:0;background:transparent;color:var(--th-muted);font:600 13px/1 Manrope,sans-serif;cursor:pointer}.tb-trend-tabs button:hover{color:#fff}
.tb-trend-tabs button[aria-selected=true]{color:#f1f1f5}.tb-trend-tabs button[aria-selected=true]:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:#d7d1eb}
.tb-trend-frames{display:inline-flex;margin-bottom:6px;padding:3px;border:1px solid #262633;border-radius:9px;background:#0b0b10}
.tb-trend-frames button{min-width:42px;height:28px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--th-muted);font:600 12px/1 Manrope,sans-serif;cursor:pointer}.tb-trend-frames button:hover{color:#fff}.tb-trend-frames button[aria-pressed=true]{background:#1d1d28;color:#fff;box-shadow:inset 0 0 0 1px #2e2e3c}
.tb-trend-note{margin:0 0 12px;font:600 11px/1.4 Manrope,sans-serif;color:var(--th-faint)}.tb-trend-note span{color:#d9b887}
.tb-trend-badge{padding:2px 6px;border:1px solid #3a3150;border-radius:999px;background:#151320;color:#c9b3f0;font:600 9.5px/1.2 Manrope,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap}
.tb-trend-badge.is-curve{border-color:#3d3527;background:#17140f;color:#d9b887}
.tb-trend .tb-trend-volume{min-width:132px}
.tb-trend td.tb-trend-volume>span{display:inline-block;min-width:54px;vertical-align:middle}
.tb-trend-split{display:inline-flex;width:44px;height:4px;margin-left:10px;vertical-align:middle;border-radius:3px;overflow:hidden;background:#dca3b5}.tb-trend-split b{display:block;height:100%;background:#87cdbd}
.tb-trend-split.is-empty{background:repeating-linear-gradient(90deg,#3a3a4c 0 3px,transparent 3px 6px)}
.tb-trend td.tb-trend-txns i{margin:0 5px;font-style:normal;color:var(--th-faint)}
.tb-trend-wrap{position:relative;overflow-x:auto;border:1px solid var(--th-edge);border-radius:14px;background:var(--th-panel);box-shadow:0 34px 80px -30px #000,inset 0 1px 0 #ffffff0b;scrollbar-width:thin;scrollbar-color:#3a3a4c transparent}
.tb-trend{width:100%;border-collapse:collapse;font:600 12.5px/1.3 Manrope,sans-serif;color:#d6d4e2}
.tb-trend :is(th,td){height:58px;padding:0 12px;border-bottom:1px solid var(--th-line);text-align:right;white-space:nowrap;font-weight:600}
.tb-trend thead :is(th,td){height:40px;background:#0d0d13;font:600 10px/1 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--th-faint)}
.tb-trend thead button{display:inline-flex;align-items:center;gap:4px;padding:6px 0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.tb-trend thead button:hover,.tb-trend thead [aria-sort=ascending] button,.tb-trend thead [aria-sort=descending] button{color:#f1f1f5}.tb-trend thead button i{font-style:normal;color:#d9b887}
.tb-trend .tb-trend-rank,.tb-trend .tb-trend-market{text-align:left}
.tb-trend td.tb-trend-rank{width:28px;color:var(--th-faint)}
.tb-trend tbody tr{cursor:pointer;transition:background .15s}.tb-trend tbody tr:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--stage) 8%,transparent),#ffffff03 75%)}
.tb-trend tbody tr:last-child>*{border-bottom:0}
.tb-trend .tb-trend-market .tb-token-open{min-height:44px}.tb-trend .tb-token-name strong{display:flex;align-items:center;gap:6px;font-size:13px}.tb-trend .tb-token-name small{max-width:150px;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.tb-trend td small{display:block;margin-top:3px;font:500 10px/1.2 Manrope,sans-serif;color:var(--th-faint)}
.tb-trend .is-empty{color:#5f5f74}
.tb-trend .tb-stage-tag{display:inline-block}
.tb-trend .tb-trend-actions{width:1%}.tb-trend-actions>*{vertical-align:middle}
.tb-trend .tb-trend-actions .tb-quick-buy{position:static;display:inline-flex;margin:0;opacity:1;transform:none;pointer-events:auto}
.tb-trend .tb-trend-actions .tb-star{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:6px}
.tb-trend-empty{text-align:center!important;color:var(--th-muted)}
@media(max-width:1279px){.tb-trend .is-opt1{display:none}}
@media(max-width:1024px){.tb-trend .is-opt2{display:none}.tb-trend :is(th,td){padding:0 9px}}
@media(max-width:700px){
  .tb-trend-bar{flex-direction:column;align-items:stretch;gap:8px}.tb-trend-tabs{justify-content:space-between}.tb-trend-tabs button{flex:1;height:44px;padding:0 4px}
  .tb-trend-frames{display:flex;order:-1;margin:0}.tb-trend-frames button{flex:1;height:36px}
  .tb-trend :is(th,td){height:60px;padding:0 7px}.tb-trend .is-opt3{display:none}.tb-trend .tb-trend-volume{min-width:0}.tb-trend-split{display:flex;width:44px;margin:4px 0 0 auto}
  .tb-trend .tb-token-name small{max-width:96px}.tb-trend .tb-token-name strong{flex-wrap:wrap;row-gap:3px}.tb-trend-badge.is-curve{display:none}
  .tb-trend .tb-trend-rank{display:none}.tb-trend thead :is(th,td){letter-spacing:.04em}.tb-trend th.tb-trend-market{max-width:150px;white-space:normal}
}
@media(max-width:700px){.tb-palette li{grid-template-columns:32px minmax(0,1fr) 70px 72px}.tb-palette-head{grid-template-columns:minmax(0,1fr) 70px 72px}.tb-palette li>:nth-child(4),.tb-palette-head>:nth-child(3){display:none}.tb-palette li{min-height:52px}.tb-palette-foot{display:none}}

/* FORGE dock motion. Wide screens: the dock column grows from 0 while the panel slides in from
   the right edge. Narrow screens: the overlay slides in over a fading backdrop. */
@media(min-width:1280px){
  .terminal-page .tb-workspace{transition:grid-template-columns .42s cubic-bezier(.22,.8,.24,1)}.terminal-page .tb-workspace:not(.forge-open){grid-template-columns:minmax(0,1fr) 0px}
  .terminal-page .tb-forge-dock{display:flex;justify-content:flex-end}.terminal-page .tb-forge-dock[hidden]{display:none}
  .terminal-page .tb-forge-dock>#forge-panel{flex:none;width:100%;min-width:320px;opacity:0;transform:translateX(28px);transition:opacity .32s ease,transform .42s cubic-bezier(.22,.8,.24,1)}
  .terminal-page .tb-workspace.forge-open .tb-forge-dock>#forge-panel{opacity:1;transform:none;transition-delay:.06s}
}
@media(max-width:1279px){
  .terminal-page .tb-forge-dock{transform:translateX(104%);transition:transform .42s cubic-bezier(.22,.8,.24,1),visibility 0s linear .42s;visibility:hidden}
  .terminal-page .tb-workspace.forge-open .tb-forge-dock{transform:none;visibility:visible;transition:transform .42s cubic-bezier(.22,.8,.24,1)}
  .terminal-page .tb-dock-backdrop:not([hidden]){animation:tb-fade-in .3s ease both}
}
@keyframes tb-fade-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.terminal-page .tb-workspace,.terminal-page .tb-forge-dock,.terminal-page .tb-forge-dock>#forge-panel{transition:none!important}.terminal-page .tb-dock-backdrop{animation:none!important}}
/* Public-address balance controls use the terminal's existing type and surfaces. */
.tb-live-wallet{display:flex;flex-direction:column;gap:10px;min-width:0;margin:16px 0}
.tb-live-wallet label{font-size:12px;color:var(--tb-muted,#aaa3b7)}
.tb-live-wallet input{box-sizing:border-box;min-width:0;width:100%;border:1px solid #ffffff18;background:#0c0d12;color:#e3e0ec;padding:11px 12px;border-radius:6px;font:inherit;font-size:12px}
.tb-live-wallet input:focus-visible{outline:1px solid #c6b5e9;outline-offset:2px}
.tb-order-panel button:disabled,.tb-chart-display button:disabled{opacity:.5;cursor:default}
@media(max-width:700px){.tb-live-wallet input{font-size:16px}}

/* Keep live prices on one line and column tools usable in narrow desktop panes. */
.terminal-page .tb-live-price{white-space:nowrap;font-size:10px;line-height:1.25;color:var(--th-muted);font-variant-numeric:tabular-nums}
.terminal-page .tb-token-name strong{min-width:0}
.tb-token-symbol{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-token-age{flex-shrink:0;white-space:nowrap}
@media(min-width:701px) and (max-width:1100px){
 .terminal-page .tb-column-head{display:grid;grid-template-columns:22px minmax(0,1fr);gap:6px 9px;height:auto;min-height:94px;padding:10px 12px;align-content:center}
 .terminal-page .tb-column-head h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .terminal-page .tb-column-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
 .terminal-page .tb-column-tools{grid-column:1/-1;justify-content:flex-end;margin-left:0}
}
@media(min-width:701px) and (max-width:900px){
 .terminal-page .tb-mobile-phases{display:flex;gap:6px;height:59px;padding-bottom:15px}
 .terminal-page .tb-mobile-phases button{flex:1;min-height:44px;border:1px solid var(--th-line);border-radius:7px;background:var(--th-panel);color:var(--th-muted);font:600 11px Manrope,sans-serif}
 .terminal-page .tb-mobile-phases button[aria-pressed=true]{border-color:#64546f;background:#282231;color:var(--th-ink)}
 .terminal-page .tb-board{display:block;height:calc(100% - 59px)}
 .terminal-page .tb-column{height:100%}
 .terminal-page .tb-column:not([data-active=true]){display:none}
 .terminal-page .tb-column+.tb-column{border-left:0}
}

/* Live Board swaps: count of the shown window, always visible (the old liquidity slot is hidden in compact). */
.tb-card-tx{white-space:nowrap}.tb-card-tx b{font-weight:600;color:#d6d4e2}
.tb-live-price b{font-weight:600;margin-left:2px}.tb-live-price b small{font-weight:500;opacity:.7}

/* Live market analysis: buy/sell share of quote volume in a fully indexed window. */
.tb-flow{overflow:hidden}.tb-flow i{display:block;height:100%;background:#87cdbd}.tb-flow i+i{background:#dca3b5}
.tb-core-read .tb-onchain{margin:0 0 8px}

/* Board card identity row, Axiom style (live mode): age, creator, site, socials, search on X, holders, @handle, contract. */
.tb-card-links.ti-hover-links{flex-wrap:wrap;gap:4px 8px;margin:5px 0 0;padding-left:49px;min-width:0}
.tb-card-links .ti-hover-count{margin-left:2px}.tb-card-links .ti-hover-handle{margin:0;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-card-links .ti-copy{margin-left:auto;min-height:22px;padding:2px 6px;font-size:10px}
.tb-card-pills{display:flex;flex-wrap:wrap;gap:5px}.tb-card-pills .ti-hover-pill{padding:2px 7px;font-size:10.5px}.tb-card-pills .ti-hover-pill svg{width:13px;height:13px}
body.terminal-page[data-density=compact] .tb-card-links.ti-hover-links{margin-top:3px}
.terminal-page .tb-market-card{container-type:inline-size}
@container(max-width:400px){.tb-card-links .ti-copy,.tb-card-pills .ti-hover-pill svg{display:none}.tb-card-links .ti-hover-handle{max-width:110px}.tb-card-pills{gap:4px}.tb-card-pills .ti-hover-pill{padding:2px 6px}}

/* Axiom-style pause: a column under the pointer keeps its rows; numbers still update in place. */
.tb-paused{display:none;align-items:center;gap:3px;margin-left:8px;padding:1px 6px 1px 4px;border:1px solid #3a3150;border-radius:999px;color:#c9b3f0;font:600 9.5px/1.4 Manrope,sans-serif;letter-spacing:.04em;text-transform:none;vertical-align:middle}
.tb-paused svg{width:10px;height:10px;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.tb-column.is-paused .tb-paused{display:inline-flex}
/* A market that just appeared on the Board flashes once. */
@keyframes tb-new-row{from{background:#87cdbd1f;box-shadow:inset 2px 0 0 #87cdbd}to{background:transparent;box-shadow:inset 2px 0 0 transparent}}
.terminal-page .tb-market-card.is-new{animation:tb-new-row 2.4s ease-out both}
@media(prefers-reduced-motion:reduce){.terminal-page .tb-market-card.is-new{animation:none;box-shadow:inset 2px 0 0 #87cdbd}}
/* Filter fields in two columns; checks, note and actions span the row. */
.tb-filter{grid-template-columns:1fr 1fr;column-gap:10px}.tb-filter .tb-filter-check,.tb-filter p,.tb-filter-actions{grid-column:1/-1}
.tb-filter label{min-width:0}.tb-filter input[type=number]{min-width:0;width:100%}
