/* Site-wide polish pass (2026-10-21): small fixes found by an audit of every page at 1440 and 390.
   Readable small labels, comfortable tap targets on phones, no names squeezed to one letter. */

/* small labels: nothing under 10px (DEV / TRACKED badges were 8.5px, stage chips 10px, nav labels 9.5px) */
html body .badge-pill{font-size:10px}
html body :is(.home-boards,.port-tiles,.sth-pod) .c-stage{font-size:11px!important}
html body .mobile-bottom-nav .mbn-lbl{font-size:10.5px}
html body .hld-profit-cap{font-size:11px}
html body .wlt-coord-av-more{font-size:10.5px}

/* tracked badge: the eye alone on phones, so trader names in narrow tables keep their letters */
@media(max-width:600px){
  html body .badge-tracked .badge-txt{display:none}
  html body .badge-tracked{padding:1px 4px}
}

/* phones: tap targets reach ~36px without changing how the controls look */
@media(hover:none) and (pointer:coarse){
  html body .trades-filter .tf-btn{min-height:32px;padding-inline:12px}
  html body #detailView .bs-c3-ticks button{min-height:32px}
  html body #detailView .dv-type-seg{min-width:36px;min-height:34px}
  html body #detailView .dv-tf-btn{font-size:12px!important}
  html body .wlt-remove-btn{width:36px;height:36px}
  html body .tgt-feed .tgt-link{display:inline-flex;align-items:center;min-height:36px}
  /* small coin links in the wallet feed get an invisible larger hit area (hearts already have one) */
  html body .wlt-ev3-coin{position:relative}
  html body .wlt-ev3-coin::after{content:"";position:absolute;inset:-8px -4px}
}

/* Swap on phones: the decorative stickers showed through the glass cards — keep the cards solid */
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) #dexView :is(.dex-sc-box,.dex-side-card,.dex-sc-slip,.bs-trade-settings-btn){
  background-color:var(--lb-solid,#D6E8FA)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* coin activity filters (Buy / Sell / Send): the idle labels were faint grey on blue */
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) .trades-filter .tf-btn:not(.active){color:var(--lb-text-2,#3A5571)!important}

/* chart trade markers: the DEV / YOU caption was 7px and the trade count 9px — readable now,
   still small enough to sit on a 28px dot (both themes) */
html body .dv-ev-dot .dv-ev-devtag{font-size:9px!important;letter-spacing:.05em;padding:2px 4px;bottom:-6px;border-radius:5px}
html body .dv-ev-dot .dv-ev-n{min-width:18px!important;height:18px!important;font-size:10.5px!important;padding:0 4px;right:-7px!important}
html body .dv-ev-dot .dv-ev-n.is-wide{font-size:10px!important;min-width:22px!important}
html body .dv-ev-dot:has(.dv-ev-devtag) .dv-ev-n{top:-7px!important;bottom:auto!important}
html body .dv-ev-dot:not(:has(.dv-ev-devtag)) .dv-ev-n{bottom:-6px!important}

/* coin trades on phones: the short address (EQKh…UjmN) is a fixed 9 characters and is never cut again;
   only tracked names may shorten. The account column takes the room the Buy/Sell pill doesn't need. */
@media(max-width:600px){
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(1){width:47%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(2){width:19%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(3){width:22%}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-acc-cell{gap:5px}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-addr:not(.tr-addr--name){flex:none;overflow:visible;text-overflow:clip}
  html body #detailView.dv-c3.dv-spot .trades-table .badge-pill{padding:1px 4px;font-size:9.5px}
  html body #detailView.dv-c3.dv-spot .trades-table td:first-child{padding-right:4px}
}
@media(max-width:360px){
  html body #detailView.dv-c3.dv-spot .trades-table .tr-av{width:22px!important;height:22px!important}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-addr{font-size:12px}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-type{padding:3px 6px}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(1){width:52%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(2){width:17%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(3){width:19%}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-acc-cell{gap:4px}
  html body #detailView.dv-c3.dv-spot .trades-table .badge-pill{font-size:9px;padding:1px 3px;letter-spacing:.02em}
  /* the Buy / Sell pill keeps its colour and word; the arrow goes so it fits the column */
  html body #detailView.dv-c3.dv-spot .trades-table .tr-arr{display:none}
}
html body .tr-type .tr-arr{font-style:normal}

/* coin holders: the short address (4…4) is a fixed width and is never cut; only names may shorten */
html body #detailView .dv-ht-name:not(.dv-ht-name--word){overflow:visible!important;text-overflow:clip!important;flex:none}
/* holders: pool / curve rows show a quiet «Liquidity» tag in the MCAP column instead of a dash */
html body .dv-ht-mc-liq{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.01em;line-height:1.2;white-space:nowrap;
  color:#0B6B44;background:rgba(18,183,106,.15)}
html[data-theme="dark"] body .dv-ht-mc-liq{color:#5BE0A0;background:rgba(91,224,160,.12)}
@media(max-width:360px){html body .dv-ht-mc-liq{padding:3px 6px;font-size:10.5px;letter-spacing:0}}

/* Learn and Points/Airdrop are off for now (user, 2026-10-22) — see HIDDEN_ROUTES in js/router.js */
#navLearn,#navCampaign,#mbnTrayCampaign{display:none!important}

/* Phones: a search sheet that the user is typing in sits at the top, above the keyboard
   (js/notifications.js adds .sheet-top and keeps --vvh / --vvt = the visible area). */
@media(max-width:700px){
  html body .modal-overlay.sheet-top{top:var(--vvt,0px);bottom:auto;height:var(--vvh,100dvh);align-items:flex-start}
  html body .modal-overlay.sheet-top > .modal{margin-top:calc(env(safe-area-inset-top,0px) + 8px);max-height:calc(var(--vvh,100dvh) - env(safe-area-inset-top,0px) - 16px)!important;border-radius:20px;animation:sheetTopIn .2s cubic-bezier(.2,0,0,1)}
  @keyframes sheetTopIn{from{opacity:.6;transform:translateY(-12px)}}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){html body .modal-overlay.sheet-top > .modal{animation:none}}

/* 2026-10-26 site pass ─ the Curve / Graduated chips on card art: Curve was 22% lilac with lilac text and vanished on
   bright pictures (lime, green, yellow); Graduated was 3.4:1 in light. Same chip as liquid glass: dark see-through
   pill, white text — reads on any art (light-soft paints Graduated with an id-weight !important, hence the repeats) */
html body:not(#_s) :is(.home-boards,.port-tiles) :is(.c-stage-curve,.c-stage-pool).c-stage.c-stage.c-stage{
  background:rgba(10,10,12,.62)!important;background-image:none!important;color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);font-weight:700}
/* dark theme: tertiary text (#52524C) was 2.5:1 on black — addresses, section labels, hints. Raised to ≥4.5:1,
   still a step below --t2 */
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]):not([data-glass]){--t3:#84847D}
/* light theme: the same token was #8BA5BC — about 2:1 on the soft-blue surfaces (inactive Profile tabs, hints) */
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]):not([data-glass]){--t3:#3A5873}
/* Create sits on the dark collage in every theme, but light-soft gave its close button the light field —
   a white × on pale blue (~1.3:1). It keeps the dark-theme button */
html body #createModal#createModal .modal-close.modal-close{background-color:rgba(255,255,255,.14)!important}
/* Bubble Map page: zoom buttons stood over the empty "Search a coin…" state with nothing to zoom — they appear
   with the map */
#bmCanvasWrap:has(#bmLoading:not(.hidden)) #bmZoomControls{display:none}
/* phones: Trades / Holders show only the last 4 characters (KhM7) — the head and dots (.addr-h) give their room to the columns */
@media(max-width:760px){.addr-h{display:none}}

/* 2026-10-26 (user, stand coin-size variant 4): on phones the coin tabs are a 3 × 2 grid of equal buttons on every
   device; Trades keep four columns (Account | Type | Size | Time) — the account column holds only avatar + 4
   characters + DEV, Size gets the room: 16px bold amount and a big 22px GRAM gem (1.2K / 125.4K / 1.25M —
   fmtTon shortens big amounts like market caps). Holders give the % bar and MCAP more room. */
@media(max-width:600px){
  html body #detailView.dv-c3.dv-spot .dv-vtabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;overflow:visible;padding:0;flex-wrap:nowrap}
  html body #detailView.dv-c3.dv-spot .dv-vtab{width:100%;min-width:0;padding:0 4px;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(1){width:34%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(2){width:20%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(3){width:32%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(5){width:14%}
  html body #detailView.dv-c3.dv-spot .trades-table td.tr-ton{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-gram{width:22px;height:22px;margin-left:4px;vertical-align:middle;margin-top:-2px}
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(1){width:34%}
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(2){width:37%}
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(3){width:29%}
  /* a contract's name wraps instead of cutting to «Bondi…»; its Curve / Pool tag only repeats the name */
  html body #detailView.dv-c3.dv-spot .dv-ht-table tr:is(:has(.badge-vella),.dv-ht-row-burn) .dv-ht-name{white-space:normal;line-height:1.2}
  html body #detailView.dv-c3.dv-spot .dv-ht-badges :is(.badge-curve,.badge-pool){display:none}
}
/* a tap leaves :hover stuck on touch screens: the ↗ cover stayed over the avatar */
@media(hover:none){
  html body #detailView .dv-ht-table tbody tr:hover .dv-ht-av-wrap::after{opacity:0}
  html body #detailView .dv-ht-table tbody tr:hover .dv-ht-av,
  html body #detailView .tr-acc-cell:hover .tr-av{transform:none;box-shadow:none}
}
/* narrow phones: everything one step smaller so the four columns fit whole */
@media(max-width:360px){
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(1){width:37%}
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(2){width:35%}
  html body #detailView.dv-c3.dv-spot .dv-ht-table :is(th,td):nth-child(3){width:28%}
  html body #detailView.dv-c3.dv-spot .dv-ht-badges .badge-pill{padding:1px 3px;letter-spacing:.02em}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(1){width:36%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(2){width:19%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(3){width:32%}
  html body #detailView.dv-c3.dv-spot #dvTradesTableWrap .trades-table :is(th,td):nth-child(5){width:13%}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-av{width:20px!important;height:20px!important}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-acc-cell{gap:3px}
  html body #detailView.dv-c3.dv-spot .trades-table :is(th,td){padding-left:4px!important;padding-right:4px!important}
  html body #detailView.dv-c3.dv-spot .trades-table td.tr-time{font-size:13px}
  html body #detailView.dv-c3.dv-spot .trades-table td.tr-ton{font-size:15px}
  html body #detailView.dv-c3.dv-spot .trades-table .tr-gram{width:18px;height:18px;margin-left:3px}
  html body #detailView.dv-c3.dv-spot .dv-vtab{font-size:13px}
}

/* 2026-10-26 (user): in the TG / X tracker podium the stage chip sits on the white card, not on the art — it wears
   the site's own stage colours, like the section counters: Graduated orange, Curve purple (both themes, glass too) */
html body:not(#_s):not(#_t) .sth-pod .c-stage-pool.c-stage.c-stage.c-stage{background:rgba(255,138,61,.16)!important;background-image:none!important;
  color:#9C4108!important;box-shadow:inset 0 0 0 1px rgba(255,138,61,.32)!important}
html body:not(#_s):not(#_t) .sth-pod .c-stage-curve.c-stage.c-stage.c-stage{background:rgba(167,139,250,.18)!important;background-image:none!important;
  color:#6D28D9!important;box-shadow:inset 0 0 0 1px rgba(167,139,250,.32)!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body:not(#_s):not(#_t) .sth-pod .c-stage-pool.c-stage.c-stage.c-stage{color:#FFB87A!important;background:rgba(255,138,61,.16)!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body:not(#_s):not(#_t) .sth-pod .c-stage-curve.c-stage.c-stage.c-stage{color:#C4B5FD!important;background:rgba(167,139,250,.2)!important}

/* 2026-10-26 (user): the creator and tracked wallets in Trades and Holders look like in the coin chat on every
   device — a ring round the avatar and a small tag under it (DEV / TRACKED), instead of a tag squeezed beside the
   address. Ring and tag colours: --ut-dev-* / --ut-trk-* below. The avatar column gets room for the 2px ring
   (it was cut by the row's rail / cell edge). */
/* colours: stand creator-tags variant 1 — solid tags, white letters (≥5:1 on the light blue; the old pale green was 1.6:1) */
html{--ut-dev-ring:#15803D;--ut-dev-bg:#15803D;--ut-dev-fg:#fff;--ut-dev-bd:transparent;
  --ut-trk-ring:#0369A1;--ut-trk-bg:#0369A1;--ut-trk-fg:#fff;--ut-trk-bd:transparent}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]){--ut-dev-ring:#3DDB8A;--ut-dev-bg:#3DDB8A;--ut-dev-fg:#062612;
  --ut-trk-ring:#4DB8FF;--ut-trk-bg:#4DB8FF;--ut-trk-fg:#04223A}
/* the avatar keeps the exact size and spot it has in an untagged row; the tag is written under it and the row grows
   by the tag's line — every cell of that row gets the extra bottom padding, so Type / Size / Time stay level with
   the avatar and the name (user 2026-10-27) */
html body #detailView :is(.tr-av-wrap,.dv-ht-av-wrap.is-dev,.dv-ht-av-wrap.is-tracked){position:relative;display:inline-flex;flex:none;padding:0!important;
  height:auto!important}
html body #detailView :is(.tr-av-wrap,.dv-ht-av-wrap) > .badge-pill:is(.badge-dev,.badge-tracked){position:absolute;left:0;top:calc(100% + 3px);bottom:auto;
  white-space:nowrap;box-sizing:border-box}
html body #detailView.dv-c3.dv-spot :is(.trades-table,.dv-ht-table) tbody tr:has(:is(.tr-av-wrap,.dv-ht-av-wrap) > .badge-pill) > td{padding-bottom:33px!important}
@media(max-width:860px){
  html body #detailView.dv-c3.dv-spot :is(.trades-table,.dv-ht-table) tbody tr:has(:is(.tr-av-wrap,.dv-ht-av-wrap) > .badge-pill) > td{padding-bottom:29px!important}
}
/* the ring is drawn INSIDE the avatar (user 2026-10-27): a tagged avatar keeps exactly the size and spot of an
   untagged one, so it never creeps toward the rail; the tag only adds a line under it and the row grows */
html body #detailView :is(.tr-acc-dev .tr-av,.dv-ht-av-wrap.is-dev .dv-ht-av){box-shadow:none!important;outline:2px solid var(--ut-dev-ring);outline-offset:-2px}
html body #detailView :is(.tr-acc-tracked .tr-av,.dv-ht-av-wrap.is-tracked .dv-ht-av){box-shadow:none!important;outline:2px solid var(--ut-trk-ring);outline-offset:-2px}
html body #detailView :is(.tr-av-wrap,.dv-ht-av-wrap) .badge-pill:is(.badge-dev,.badge-tracked){display:inline-flex!important;font-size:9px;padding:1px 4px;line-height:1.2;
  letter-spacing:.03em;margin:0;text-transform:uppercase;font-weight:800;border-radius:5px}
html body #detailView :is(.tr-av-wrap,.dv-ht-av-wrap) .badge-pill.badge-dev{background:var(--ut-dev-bg)!important;color:var(--ut-dev-fg)!important;border:1px solid var(--ut-dev-bd)!important}
html body #detailView :is(.tr-av-wrap,.dv-ht-av-wrap) .badge-pill.badge-tracked{background:var(--ut-trk-bg)!important;color:var(--ut-trk-fg)!important;border:1px solid var(--ut-trk-bd)!important}
html body #detailView .trades-table td:first-child:has(:is(.tr-acc-dev,.tr-acc-tracked)),
html body #detailView :is(.tr-acc-dev,.tr-acc-tracked),html body #detailView .dv-ht-table td:first-child,
html body #detailView .dv-ht-acc-cell{overflow:visible!important}

/* ════════ Popups: chart events, wallet windows (user 2026-10-26, stand popups v2 + grad-five v4) ════════
   Every .dv-ev-tip (trade / signal / graduation marks, the wallet window from Holders / Trades / Chat, a tracked
   wallet's holdings) is one card: a full-bleed header in the event's colour with white text, then tiles — the first
   one large across the full width, the rest sharing a row — and the first button filled with the header colour.
   Header colour (--pt-acc): trades by side (buy green / sell red; DEV / YOU name the actor), TG blue, X raspberry,
   graduation violet, wallets slate / dev green / tracked blue. White text on every header ≥4.8:1. */
html body .dv-ev-tip{--pt-acc:#334155;--pt-bg:#FFFFFF;--pt-ink:#0A2540;--pt-mute:#5B6B7D;--pt-cell:#F1F5FA;--pt-up:#0E8A43;--pt-dn:#D6204A}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip{--pt-bg:#121417;--pt-ink:#F3F5F8;--pt-mute:#98A2AE;--pt-cell:#1C2026;--pt-up:#3DDB8A;--pt-dn:#FF5C6A}
html body .dv-ev-tip.is-buy{--pt-acc:#15803D}
html body .dv-ev-tip.is-sell{--pt-acc:#C8102E}
html body .dv-ev-tip.is-grad{--pt-acc:#6D28D9}
html body .dv-ev-tip.is-tg{--pt-acc:#0077C2}
html body .dv-ev-tip.is-x{--pt-acc:#C2185B}
html body .dv-ev-tip.dv-ev-tip-wallet.is-dev{--pt-acc:#15803D}
html body .dv-ev-tip:is(.dv-ev-tip-wallet.is-tracked,#wltHoldingsPopup){--pt-acc:#0369A1}
/* card */
html body:not(#_p) .dv-ev-tip.dv-ev-tip{background:var(--pt-bg)!important;color:var(--pt-ink)!important;border:0!important;border-radius:22px!important;padding:0 18px 18px!important;
  box-shadow:0 24px 60px -20px rgba(0,0,0,.45)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:hidden}
/* header band */
html body:not(#_p) .dv-ev-tip .dv-ev-tip-hd2{margin:0 -18px 16px!important;padding:14px 18px!important;background:var(--pt-acc)!important;border:0!important;border-radius:0}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-dot2{display:none!important}
html body:not(#_p) .dv-ev-tip.dv-ev-tip .dv-ev-tip-type2.dv-ev-tip-type2{color:#fff!important;font-size:12.5px!important;letter-spacing:.09em}
html body:not(#_p) .dv-ev-tip.dv-ev-tip .dv-ev-tip-close.dv-ev-tip-close{background:rgba(255,255,255,.2)!important;color:#fff!important;box-shadow:none!important;border:0!important}
html body:not(#_p) .dv-ev-tip.dv-ev-tip .dv-ev-tip-close.dv-ev-tip-close:hover{background:rgba(255,255,255,.32)!important}
/* who row */
html body:not(#_p) .dv-ev-tip .dv-ev-tip-name{color:var(--pt-ink)!important}
html body:not(#_p) .dv-ev-tip :is(.dv-ev-tip-action-txt,.dv-ev-tip-cell-time){color:var(--pt-mute)!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-side.is-buy{color:var(--pt-up)!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-side.is-sell{color:var(--pt-dn)!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-av2{border-color:var(--pt-acc)!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-xn{background:color-mix(in oklab,var(--pt-acc) 14%,transparent)!important;color:var(--pt-acc)!important;border:0!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body:not(#_p) .dv-ev-tip .dv-ev-tip-xn{background:rgba(255,255,255,.08)!important;color:var(--pt-ink)!important}
/* DEV / YOU / TRACKED — solid tags, as in Trades and Holders */
html body:not(#_p) .dv-ev-tip .dv-ev-dev-pill.dv-ev-dev-pill{background:#15803D!important;color:#fff!important;border:0!important;box-shadow:none!important;font-size:10px!important;font-weight:800!important;
  letter-spacing:.06em!important;text-transform:uppercase;padding:2px 6px!important;border-radius:5px!important;margin-left:8px}
html body:not(#_p) .dv-ev-tip.is-me .dv-ev-dev-pill.dv-ev-dev-pill{background:#0369A1!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body:not(#_p) .dv-ev-tip .dv-ev-dev-pill.dv-ev-dev-pill{background:#3DDB8A!important;color:#062612!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body:not(#_p) .dv-ev-tip.is-me .dv-ev-dev-pill.dv-ev-dev-pill{background:#4DB8FF!important;color:#04223A!important}
html body .dv-ev-tip-wallet:is(.is-dev,.is-tracked) .dv-ev-tip-name::after{display:inline-block;margin-left:8px;padding:2px 6px;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1.2;vertical-align:2px;color:#fff}
html body .dv-ev-tip-wallet.is-dev .dv-ev-tip-name::after{content:"DEV";background:#15803D}
html body .dv-ev-tip-wallet.is-tracked .dv-ev-tip-name::after{content:"TRACKED";background:#0369A1}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip-wallet.is-dev .dv-ev-tip-name::after{background:#3DDB8A;color:#062612}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip-wallet.is-tracked .dv-ev-tip-name::after{background:#4DB8FF;color:#04223A}
/* tiles: the first large across the width, the rest share a row */
html body:not(#_p) .dv-ev-tip .dv-ev-tip-grid2{display:flex!important;flex-wrap:wrap;gap:8px}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-cell{flex:1 1 0;min-width:0;background:var(--pt-cell)!important;border:0!important;border-radius:12px!important;box-shadow:none!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-cell:first-child{flex-basis:100%}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-cell:first-child .dv-ev-tip-cell-val{font-size:30px!important;letter-spacing:-.03em}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-cell-lbl{color:var(--pt-mute)!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-cell-val{color:var(--pt-ink)!important}
html body:not(#_p) .dv-ev-tip :is(.dv-ev-tip-tgtext,.dv-ev-tip-note){background:var(--pt-cell)!important;color:var(--pt-ink)!important;box-shadow:none!important;border:0!important}
html body:not(#_p) .dv-ev-tip .ctp-trade-row{border-bottom-color:rgba(127,127,127,.15)!important;color:var(--pt-ink)!important}
/* buttons: the first filled with the header colour */
html body:not(#_p) .dv-ev-tip .dv-ev-tip-btn{background:var(--pt-cell)!important;color:var(--pt-ink)!important;border:0!important;box-shadow:none!important;border-radius:12px!important}
html body:not(#_p) .dv-ev-tip .dv-ev-tip-btn:first-child{background:var(--pt-acc)!important;color:#fff!important}
/* trade PnL — like the «Your position» card: GRAM figure with its gem, «↗ +40.0%» beside it */
html body:not(#_p) .dv-ev-tip .dv-ev-tip-pnl .dv-ev-tip-cell-val{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px}
html body .dv-ev-tip .dv-ev-tip-pnl-num{display:inline-flex;align-items:center;gap:6px;font-size:34px;font-weight:700;line-height:1.05;letter-spacing:-.04em;white-space:nowrap}
html body .dv-ev-tip .dv-ev-tip-pnl-gem{width:30px;height:30px;flex:none}
html body .dv-ev-tip .dv-ev-tip-pnl-pct{font-size:16px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
html body .dv-ev-tip .dv-ev-tip-pnl.is-up :is(.dv-ev-tip-pnl-num,.dv-ev-tip-pnl-pct){color:var(--pt-up)}
html body .dv-ev-tip .dv-ev-tip-pnl.is-dn :is(.dv-ev-tip-pnl-num,.dv-ev-tip-pnl-pct){color:var(--pt-dn)}
/* graduation (grad-five v4): coin, a full bonding curve, the MC it graduated at, status with a dot */
html body .dv-ev-tip .dv-ev-grad-coin{width:100%;height:100%;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:20px}
html body .dv-ev-tip .dv-ev-grad-curve{margin:0 0 12px}
html body .dv-ev-tip .dv-ev-grad-curve-top{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:var(--pt-mute);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
html body .dv-ev-tip .dv-ev-grad-curve-top b{color:var(--pt-acc);letter-spacing:0}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip .dv-ev-grad-curve-top b{color:#B9A2FF}
html body .dv-ev-tip .dv-ev-grad-bar{height:10px;border-radius:999px;background:var(--pt-cell);overflow:hidden}
html body .dv-ev-tip .dv-ev-grad-bar i{display:block;height:100%;width:100%;border-radius:inherit;background:linear-gradient(90deg,#A78BFA,#6D28D9)}
html body .dv-ev-tip .dv-ev-grad-status{display:flex;align-items:center;gap:8px;margin:-2px 0 14px;font-size:13px;font-weight:600;color:var(--pt-mute)}
html body .dv-ev-tip .dv-ev-grad-dot{width:8px;height:8px;border-radius:50%;background:#F59E0B;flex:none}
html body .dv-ev-tip .dv-ev-grad-dot.live{background:var(--pt-up);box-shadow:0 0 0 3px color-mix(in oklab,var(--pt-up) 25%,transparent)}
/* TG / X popups (stand signal-five v3): the post is the main part, then MC at post and when it was posted */
html body .dv-ev-tip .dv-ev-tip-post{color:var(--pt-ink);font-size:16.5px;line-height:1.45;font-weight:500;letter-spacing:-.005em;overflow-wrap:anywhere;
  max-height:min(46vh,340px);overflow-y:auto;margin:0 0 14px}
html body .dv-ev-tip .dv-ev-tip-post-tk{color:var(--pt-acc);font-weight:700}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip.is-x .dv-ev-tip-post-tk{color:#FF7AA8}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip.is-tg .dv-ev-tip-post-tk{color:#5BC0FF}
html body .dv-ev-tip .dv-ev-tip-post-stats{display:flex;gap:22px;margin:0 0 16px;padding-top:12px;border-top:1px solid color-mix(in oklab,var(--pt-ink) 10%,transparent)}
html body .dv-ev-tip .dv-ev-tip-post-stats div{display:flex;flex-direction:column;gap:3px;min-width:0}
html body .dv-ev-tip .dv-ev-tip-post-stats small{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--pt-mute)}
html body .dv-ev-tip .dv-ev-tip-post-stats b{font-size:15px;font-weight:700;color:var(--pt-ink);white-space:nowrap}
html body .dv-ev-tip .dv-ev-tip-more{display:inline;padding:0;border:0;background:none;font:inherit;font-weight:700;color:var(--pt-acc);cursor:pointer;white-space:nowrap}
html body .dv-ev-tip .dv-ev-tip-more:hover{text-decoration:underline}
html body .dv-ev-tip .dv-ev-tip-more:focus-visible{outline:2px solid var(--pt-acc);outline-offset:2px;border-radius:3px}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip.is-x .dv-ev-tip-more{color:#FF7AA8}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .dv-ev-tip.is-tg .dv-ev-tip-more{color:#5BC0FF}
/* TG / X post pictures (stand post-image v2): under the header, edge to edge, 16:9; several swipe sideways */
html body .dv-ev-tip .dv-ev-tip-media{position:relative;margin:-16px -18px 14px;aspect-ratio:16/9;overflow:hidden;background:var(--pt-cell)}
html body .dv-ev-tip .dv-ev-tip-media-slide{display:block;width:100%;height:100%;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative}
html body .dv-ev-tip .dv-ev-tip-media-slide img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
html body .dv-ev-tip .dv-ev-tip-media-slide.is-video::after{content:"";position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;
  background:rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center/24px no-repeat}
html body .dv-ev-tip .dv-ev-tip-media-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
html body .dv-ev-tip .dv-ev-tip-media-track::-webkit-scrollbar{display:none}
html body .dv-ev-tip .dv-ev-tip-media-track:focus-visible{outline:2px solid #fff;outline-offset:-4px}
html body .dv-ev-tip .dv-ev-tip-media-n{position:absolute;top:10px;right:10px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;line-height:1.2;pointer-events:none}
html body .dv-ev-tip .dv-ev-tip-media-arrow{position:absolute;top:50%;width:36px;height:36px;margin-top:-18px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;
  font-size:22px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;padding:0 0 3px;cursor:pointer;transition:background 150ms ease}
html body .dv-ev-tip .dv-ev-tip-media-arrow:hover{background:rgba(0,0,0,.7)}
html body .dv-ev-tip .dv-ev-tip-media-arrow:focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .dv-ev-tip .dv-ev-tip-media-arrow.prev{left:10px}
html body .dv-ev-tip .dv-ev-tip-media-arrow.next{right:10px}
html body .dv-ev-tip .dv-ev-tip-media-arrow[hidden]{display:none}
@media(hover:none){html body .dv-ev-tip .dv-ev-tip-media-arrow{display:none}}
/* the same pictures in the X feeds (X Tracker page, X Signals under a coin): under the text, rounded, not edge to edge */
html body .xtr-post :is(.dv-ev-tip-media,.dv-ev-tip-media-slide,.dv-ev-tip-media-slide img,.dv-ev-tip-media-track,.dv-ev-tip-media-n,.dv-ev-tip-media-arrow){box-sizing:border-box}
html body .xtr-post .dv-ev-tip-media{position:relative;width:100%;max-width:560px;margin:10px 0 4px;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:rgba(127,127,127,.14)}
html body .xtr-post .dv-ev-tip-media-slide{display:block;width:100%;height:100%;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative}
html body .xtr-post .dv-ev-tip-media-slide img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
html body .xtr-post .dv-ev-tip-media-slide.is-video::after{content:"";position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;
  background:rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center/24px no-repeat}
html body .xtr-post .dv-ev-tip-media-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
html body .xtr-post .dv-ev-tip-media-track::-webkit-scrollbar{display:none}
html body .xtr-post .dv-ev-tip-media-track:focus-visible{outline:2px solid #fff;outline-offset:-4px}
html body .xtr-post .dv-ev-tip-media-n{position:absolute;top:10px;right:10px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;line-height:1.2;pointer-events:none}
html body .xtr-post .dv-ev-tip-media-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:5px;pointer-events:none}
html body .xtr-post .dv-ev-tip-media-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5)}
html body .xtr-post .dv-ev-tip-media-dots i.on{background:#fff}
html body .xtr-post .dv-ev-tip-media-arrow{position:absolute;top:50%;width:36px;height:36px;margin-top:-18px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;
  font-size:22px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;padding:0 0 3px;cursor:pointer;transition:background 150ms ease}
html body .xtr-post .dv-ev-tip-media-arrow:hover{background:rgba(0,0,0,.7)}
html body .xtr-post .dv-ev-tip-media-arrow:focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .xtr-post .dv-ev-tip-media-arrow.prev{left:10px}
html body .xtr-post .dv-ev-tip-media-arrow.next{right:10px}
html body .xtr-post .dv-ev-tip-media-arrow[hidden]{display:none}
@media(hover:none){html body .xtr-post .dv-ev-tip-media-arrow{display:none}}
html body .dv-ev-tip .dv-ev-tip-media-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;pointer-events:none}
html body .dv-ev-tip .dv-ev-tip-media-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(0,0,0,.15);transition:transform 150ms ease,background 150ms ease}
html body .dv-ev-tip .dv-ev-tip-media-dots i.on{background:#fff;transform:scale(1.35)}
@media(prefers-reduced-motion:reduce){html body .dv-ev-tip .dv-ev-tip-media-dots i{transition:none}}

/* Coin page, narrow right column: the amount needs the room more than the word "Balance". */
@media(min-width:861px) and (max-width:1180px){
  html body #detailView.dv-c3.dv-spot .bs-body > .bs-bal-row #bsBalLbl{display:none}
}
