/* X Feed panel (js/x-panel.js): the X feed docked beside the nav rail on wide screens,
   GMGN-style, in Vella's look (design-refs/x-panel, 2026-11-08). Phones keep the X Tracker page. */

html{--xp-w:440px;--wp-w:440px;--xp-gap:10px}
html.xp-open .right-area{margin-left:calc(var(--sb-w) + var(--xp-w) + var(--xp-gap))}
html.wp-open .right-area{margin-left:calc(var(--sb-w) + var(--wp-w) + var(--xp-gap))}
/* the wallet profile slides over the content, not over the docked panel */
html.xp-open :is(.wlt-hist-panel,.wlt-hist-backdrop){left:calc(var(--sb-w) + var(--xp-w) + var(--xp-gap))}
html.wp-open :is(.wlt-hist-panel,.wlt-hist-backdrop){left:calc(var(--sb-w) + var(--wp-w) + var(--xp-gap))}

/* tokens shared with the coin page's X Feed tab (.xp-coinfeed, js/x-tracker.js), which shows the same post cards */
:is(.xp,.xp-coinfeed){--xp-bg:#0F0F10;--xp-card:#161617;--xp-cell:#1E1E20;--xp-line:rgba(255,255,255,.08);--xp-line2:rgba(255,255,255,.16);
  --xp-ink:#EDEDE6;--xp-mute:#9A9A92;--xp-acc:#F0558E;--xp-acc-ink:#FF8AB4;--xp-up:#3DDB8A;--xp-dn:#FF7A8E;--xp-gold:#F5B83D}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) :is(.xp,.xp-coinfeed){
  --xp-bg:var(--lb-card,#D4E8FC);--xp-card:var(--lb-field,#C0DDF9);--xp-cell:rgba(0,103,179,.10);--xp-line:rgba(0,90,160,.16);--xp-line2:rgba(0,90,160,.30);
  --xp-ink:#0A2540;--xp-mute:#3B5670;--xp-acc:#C2185B;--xp-acc-ink:#A3134D;--xp-up:#0A5F31;--xp-dn:#A01A31;--xp-gold:#8A5A00}
html[data-glass] :is(.xp,.xp-coinfeed){--xp-card:rgba(255,255,255,.06);--xp-cell:rgba(255,255,255,.08)}
.xp-coinfeed{display:flex;flex-direction:column;gap:8px;padding-top:12px;color:var(--xp-ink);font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif}
.xp-coinfeed :is(button,a):focus-visible{outline:2px solid var(--xp-acc);outline-offset:2px}
.xp{position:fixed;z-index:99;left:var(--sb-w);top:10px;bottom:10px;width:var(--xp-w);display:none;flex-direction:column;
  border-radius:22px;background:var(--xp-bg);box-shadow:inset 0 0 0 1px var(--xp-line),0 20px 50px -24px rgba(0,0,0,.6);
  color:var(--xp-ink);font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif;overflow:hidden}
html.xp-open #xPanel{display:flex}
html.wp-open #wPanel{display:flex;width:var(--wp-w)}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp{
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:inset 0 0 0 1px var(--xp-line),0 18px 40px -26px rgba(10,37,64,.4)}
html[data-glass] .xp{background:var(--g-fill,rgba(14,14,16,.72));box-shadow:var(--g-edge,inset 0 0 0 1px rgba(255,255,255,.12)),0 20px 50px -24px rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%)}

/* drag the right edge to resize */
.xp-resize{position:absolute;top:0;right:0;bottom:0;width:8px;cursor:ew-resize;z-index:3}
.xp-resize::after{content:"";position:absolute;top:50%;right:2px;width:3px;height:36px;margin-top:-18px;border-radius:2px;background:var(--xp-line2);opacity:0;transition:opacity .15s ease}
.xp:hover .xp-resize::after,.xp.is-resizing .xp-resize::after{opacity:1}

/* header */
.xp-head{display:flex;align-items:center;gap:10px;padding:14px 12px 10px 16px}
.xp-logo{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--xp-acc)}
.xp-logo img{width:16px;height:16px;filter:invert(1)}
.xp-title{flex:1;min-width:0;font-size:17px;font-weight:800;letter-spacing:-.01em}
.xp-icon{flex:none;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:none;color:var(--xp-mute);cursor:pointer}
.xp-icon svg{width:18px;height:18px}
.xp-icon[aria-pressed="true"]{color:var(--xp-ink);background:var(--xp-cell)}
@media(hover:hover){.xp-icon:hover{color:var(--xp-ink);background:var(--xp-cell)}}

/* tabs */
.xp-tabs{display:flex;gap:4px;padding:0 12px 10px 12px}
.xp-tab{height:34px;padding:0 13px;border:0;border-radius:11px;background:none;color:var(--xp-mute);font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.xp-tab[aria-selected="true"]{background:var(--xp-ink);color:var(--xp-bg)}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp-tab[aria-selected="true"]{background:#0067B3;color:#fff}
.xp-tab b{margin-left:5px;font-weight:700;opacity:.7;font-variant-numeric:tabular-nums}

/* on a coin page: one tick narrows the feed to that coin */
.xp-scope{display:flex;align-items:center;gap:10px;margin:0 12px 10px;min-height:44px;padding:6px 12px 6px 10px;border-radius:12px;background:var(--xp-cell);
  box-shadow:inset 0 0 0 1px var(--xp-line);cursor:pointer;user-select:none}
.xp-scope[hidden]{display:none}
.xp-scope input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.xp-scope-box{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;box-shadow:inset 0 0 0 2px var(--xp-line2);color:transparent;transition:background .15s ease,box-shadow .15s ease}
.xp-scope-box svg{width:14px;height:14px}
.xp-scope input:checked + .xp-scope-box{background:var(--xp-acc);box-shadow:none;color:#fff}
.xp-scope input:focus-visible + .xp-scope-box{outline:2px solid var(--xp-acc);outline-offset:2px}
.xp-scope:has(input:checked){box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--xp-acc) 60%,transparent)}
.xp-scope-coin{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;overflow:hidden;font-size:16px}
.xp-scope-coin img{width:100%;height:100%;object-fit:cover}
.xp-scope-txt{flex:1;min-width:0;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xp-scope-txt b{font-weight:800}
.xp-scope-n{flex:none;padding:2px 8px;border-radius:999px;background:var(--xp-bg);color:var(--xp-mute);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.xp-scope-n::after{content:" posts"}

/* toolbar */
.xp-tools{display:flex;gap:8px;padding:0 12px 10px}
.xp-search{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:12px;background:var(--xp-cell);box-shadow:inset 0 0 0 1px var(--xp-line)}
.xp-search svg{flex:none;width:16px;height:16px;color:var(--xp-mute)}
.xp-search input{flex:1;min-width:0;border:0;background:none;color:var(--xp-ink);font:inherit;font-size:14px;outline:0}
.xp-search input::placeholder{color:var(--xp-mute);opacity:1}
.xp-search:focus-within{box-shadow:inset 0 0 0 2px var(--xp-acc)}
.xp-filter-btn{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:0;border-radius:12px;background:var(--xp-cell);box-shadow:inset 0 0 0 1px var(--xp-line);
  color:var(--xp-ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.xp-filter-btn svg{width:16px;height:16px}
.xp-filter-btn b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--xp-acc);color:#fff;font-size:11px;line-height:18px;text-align:center}
.xp-chips{display:flex;gap:6px;padding:0 12px 10px;overflow-x:auto;scrollbar-width:none}
.xp-chips::-webkit-scrollbar{display:none}
.xp-chip{flex:none;height:30px;padding:0 11px;border:0;border-radius:999px;background:var(--xp-cell);color:var(--xp-mute);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.xp-chip[aria-pressed="true"]{background:color-mix(in srgb,var(--xp-acc) 18%,transparent);color:var(--xp-acc-ink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--xp-acc) 50%,transparent)}

/* filter popover */
.xp-pop{position:absolute;z-index:5;right:12px;top:150px;width:min(300px,calc(100% - 24px));padding:14px;border-radius:16px;background:var(--xp-bg);
  box-shadow:inset 0 0 0 1px var(--xp-line2),0 18px 40px -12px rgba(0,0,0,.55)}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp-pop{background:var(--lb-solid,#D6E8FA)}
.xp-pop[hidden]{display:none}
.xp-pop h5{margin:0 0 8px;font-size:12px;font-weight:700;color:var(--xp-mute);text-transform:none}
.xp-pop h5 + .xp-checks,.xp-pop h5 + .xp-seg{margin-bottom:14px}
.xp-checks{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}
.xp-checks label{display:flex;align-items:center;gap:8px;min-height:32px;font-size:14px;font-weight:600;cursor:pointer}
.xp-checks input{width:18px;height:18px;accent-color:var(--xp-acc)}
.xp-seg{display:flex;gap:3px;padding:3px;border-radius:11px;background:var(--xp-cell)}
.xp-seg button{flex:1;height:30px;border:0;border-radius:8px;background:none;color:var(--xp-mute);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.xp-seg button[aria-pressed="true"]{background:var(--xp-ink);color:var(--xp-bg)}
.xp-pop-foot{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.xp-link{padding:6px 0;border:0;background:none;color:var(--xp-acc-ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}

/* feed */
.xp-feed-wrap{position:relative;flex:1;min-height:0}
.xp-feed{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 14px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:var(--xp-line2) transparent}
.xp-new{position:absolute;z-index:4;left:50%;top:8px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:0;border-radius:17px;
  background:var(--xp-acc);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px -8px rgba(0,0,0,.5)}
.xp-new[hidden]{display:none}
.xp-empty{margin:auto;padding:40px 24px;text-align:center;color:var(--xp-mute);font-size:14px}
.xp-empty img{width:72px;height:72px;margin-bottom:10px}
.xp-empty b{display:block;margin-bottom:4px;font-size:16px;color:var(--xp-ink)}

/* a post */
.xp-post{flex:none;position:relative;padding:12px 12px 10px;border-radius:16px;background:var(--xp-card);box-shadow:inset 0 0 0 1px var(--xp-line)}
.xp-post.is-new{animation:xp-arrive .28s cubic-bezier(.23,1,.32,1) both,xp-glow 2.4s ease-out .28s both;outline:2px solid transparent;outline-offset:-2px}
@keyframes xp-arrive{from{opacity:0;transform:translateY(-8px)}}
@keyframes xp-glow{from{outline-color:color-mix(in srgb,var(--xp-acc) 85%,transparent)}to{outline-color:transparent}}
@media(prefers-reduced-motion:reduce){.xp-post.is-new{animation:xp-glow 2.4s ease-out both}}
.xp-ctx{display:flex;align-items:center;gap:6px;margin:0 0 8px 48px;font-size:12.5px;font-weight:600;color:var(--xp-mute)}
.xp-ctx svg{width:14px;height:14px}
.xp-ctx b{color:var(--xp-acc-ink);font-weight:700}
.xp-row{display:flex;gap:10px}
.xp-av{position:relative;flex:none;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:var(--xp-cell);cursor:pointer}
.xp-av img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.xp-post.is-following .xp-av img{outline:2px solid var(--xp-acc);outline-offset:-2px}
.xp-body{flex:1;min-width:0}
.xp-top{display:flex;align-items:flex-start;gap:8px}
.xp-who{flex:1;min-width:0}
.xp-name{display:flex;align-items:center;gap:5px;min-width:0;font-size:14.5px;font-weight:800}
.xp-name span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xp-ver{flex:none;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#1D9BF0;color:#fff;font-size:9.5px;font-weight:900}
.xp-meta{display:flex;flex-wrap:wrap;gap:0 10px;margin-top:1px;font-size:12.5px;font-weight:500;color:var(--xp-mute)}
.xp-meta b{font-weight:700;color:var(--xp-ink);font-variant-numeric:tabular-nums}
.xp-side{flex:none;display:flex;align-items:center;gap:4px}
.xp-time{font-size:12.5px;font-weight:700;color:var(--xp-up);font-variant-numeric:tabular-nums}
.xp-time.is-old{color:var(--xp-mute)}
.xp-kind{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:var(--xp-acc-ink)}
.xp-kind svg{width:14px;height:14px}
.xp-follow{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:9px;background:none;color:var(--xp-mute);cursor:pointer}
.xp-follow svg{width:16px;height:16px}
.xp-follow[aria-pressed="true"]{color:var(--xp-acc-ink)}
@media(hover:hover){.xp-follow:hover{background:var(--xp-cell);color:var(--xp-ink)}}
.xp-text{margin-top:8px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.xp-tk{color:var(--xp-acc-ink);font-weight:700}
.xp-ca{display:inline-flex;align-items:center;gap:5px;height:24px;margin:0 2px;padding:0 8px;border:0;border-radius:7px;background:var(--xp-cell);color:var(--xp-ink);
  font:600 12.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;cursor:pointer;vertical-align:1px}
.xp-ca svg{width:12px;height:12px;color:var(--xp-mute)}

/* pictures */
.xp-media{position:relative;margin-top:10px;border-radius:14px;overflow:hidden;background:var(--xp-cell);aspect-ratio:16/9}
.xp-media-track{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.xp-media-track::-webkit-scrollbar{display:none}
.xp-media-track a{flex:0 0 100%;scroll-snap-align:start}
.xp-media-track img{display:block;width:100%;height:100%;object-fit:cover}
.xp-media-n{position:absolute;top:8px;right:8px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700}
.xp-media.is-video a{position:relative}
.xp-media.is-video a::after{content:"";position:absolute;left:50%;top:50%;width:48px;height:48px;margin:-24px 0 0 -24px;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/22px no-repeat}

/* the post it answers or quotes */
.xp-ref{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--xp-cell);box-shadow:inset 3px 0 0 var(--xp-acc)}
.xp-ref-top{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--xp-mute)}
.xp-ref-top img{width:20px;height:20px;border-radius:50%}
.xp-ref-top b{color:var(--xp-ink);font-weight:800;font-size:13px}
.xp-ref-text{margin-top:5px;font-size:13.5px;line-height:1.4;color:var(--xp-ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* deleted */
.xp-post.is-deleted{padding-top:0;overflow:hidden}
.xp-deleted{display:flex;align-items:center;gap:8px;margin:0 -12px 10px;padding:9px 12px;font-size:12.5px;font-weight:700;color:var(--xp-dn);
  background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--xp-dn) 16%,transparent) 0 10px,color-mix(in srgb,var(--xp-dn) 9%,transparent) 10px 20px)}
.xp-deleted svg{width:15px;height:15px}
.xp-post.is-deleted .xp-row{opacity:.62}

/* the coin and the numbers */
.xp-foot{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.xp-coin{display:inline-flex;align-items:center;gap:7px;max-width:100%;height:34px;padding:0 4px 0 4px;border:0;border-radius:11px;background:var(--xp-cell);box-shadow:inset 0 0 0 1px var(--xp-line);
  color:var(--xp-ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-width:0}
.xp-coin img,.xp-coin .xp-coin-em{flex:none;width:26px;height:26px;border-radius:8px;object-fit:cover;display:grid;place-items:center;font-size:15px}
.xp-coin-mc{color:var(--xp-mute);font-weight:600;font-variant-numeric:tabular-nums}
.xp-chg{flex:none;font-variant-numeric:tabular-nums}
.xp-coin > span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xp-chg.up{color:var(--xp-up)}.xp-chg.dn{color:var(--xp-dn)}
.xp-buy{flex:none;display:inline-flex;align-items:center;height:26px;margin-left:2px;padding:0 10px;border:0;border-radius:8px;background:var(--xp-up);color:#06120B;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp-buy{background:#0A6B3A;color:#fff}
.xp-stats{display:flex;align-items:center;gap:12px;margin-left:auto;font-size:12.5px;font-weight:600;color:var(--xp-mute);font-variant-numeric:tabular-nums}
.xp-stats span{display:inline-flex;align-items:center;gap:4px}
.xp-stats svg{width:14px;height:14px}
.xp-stats a{display:inline-flex;align-items:center;gap:3px;color:var(--xp-mute);text-decoration:none;font-weight:700}
@media(hover:hover){.xp-stats a:hover{color:var(--xp-ink)}}

/* focus */
.xp :is(button,a,input):focus-visible{outline:2px solid var(--xp-acc);outline-offset:2px}
.xp .xp-search input:focus-visible{outline:0}

/* one button in the nav for X: the panel; TG Tracker and the X Tracker page leave the rail
   (the page opens from the panel, phones keep both in the More tray) */
.sidebar #navTgTracker,.sidebar #navXTracker{display:none!important}
/* where the panel is, the coin page has no TG / X Signals tabs: its posts are one tick away in the panel */
html.dock-ok :is(#dvTabTg,#dvTabX){display:none!important}
button.nav-item.xp-nav{border:0;font:inherit;-webkit-appearance:none;appearance:none}
button.nav-item.xp-nav:not(.active){background:transparent}

/* ── Wallets panel (js/wallet-panel.js): the same shell in the same slot, one open at a time ── */
.wp{--xp-acc:#1F6FD6;--xp-acc-ink:#8DC0FF}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .wp{--xp-acc:#0067B3;--xp-acc-ink:#004F8A}
.wp-logo{flex:none;display:grid;place-items:center;width:32px;height:32px}
.wp-logo img{width:30px;height:30px}
.wp-side{flex:none;padding:3px}
.wp-side button{flex:none;height:32px;padding:0 11px}
.wp-side[hidden]{display:none}
.wp-chips{align-items:center}
.wp-chips-lbl{flex:none;margin-right:2px;font-size:12px;font-weight:700;color:var(--xp-mute)}
.wp-chip{display:inline-flex;align-items:center;gap:6px;padding:0 10px 0 4px}
.wp-chip:not(:has(img)){padding-left:11px}
.wp-chip img{width:22px;height:22px;border-radius:7px;object-fit:cover}
.wp-chip b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--xp-acc);color:#fff;font-size:11px;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.wp-scope-n::after{content:" trades"}

/* a trade: green / red rail, who and when on top, amount and coin below */
.wp-ev,.wp-wal{flex:none;position:relative;display:flex;gap:10px;padding:10px 10px 10px 12px;border-radius:14px;background:var(--xp-card);box-shadow:inset 0 0 0 1px var(--xp-line)}
/* rails in the chart's candle colours in both themes (user 2026-11-10: the text greens were too dark) */
.wp-ev.is-buy{box-shadow:inset 3px 0 0 #20B26C,inset 0 0 0 1px var(--xp-line)}
.wp-ev.is-sell{box-shadow:inset 3px 0 0 #EF454A,inset 0 0 0 1px var(--xp-line)}
.wp-ev.is-new{animation:xp-arrive .28s cubic-bezier(.23,1,.32,1) both,xp-glow 2.4s ease-out .28s both;outline:2px solid transparent;outline-offset:-2px}
@media(prefers-reduced-motion:reduce){.wp-ev.is-new{animation:xp-glow 2.4s ease-out both}}
.wp-av{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--xp-cell);cursor:pointer;overflow:hidden}
.wp-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.wp-top{display:flex;align-items:center;gap:7px;min-width:0;min-height:20px}
.wp-name{min-width:0;padding:0;border:0;background:none;color:var(--xp-ink);font:inherit;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
@media(hover:hover){.wp-name:hover{text-decoration:underline;text-underline-offset:3px}}
.wp-act{flex:none;font-size:12.5px;font-weight:700;color:var(--xp-mute)}
.wp-ev.is-buy .wp-act{color:var(--xp-up)}
.wp-ev.is-sell .wp-act{color:var(--xp-dn)}
.wp-with{position:relative;flex:none;padding:1px 7px;border:0;border-radius:999px;background:color-mix(in srgb,var(--xp-acc) 16%,transparent);color:var(--xp-acc-ink);font:inherit;font-size:11.5px;font-weight:700;line-height:1.5;cursor:pointer;
  transition:background-color .15s ease,scale .12s ease-out}
.wp-with::after{content:"";position:absolute;inset:-10px -4px}   /* a finger-sized target around a small pill */
@media(hover:hover){.wp-with:hover{background:color-mix(in srgb,var(--xp-acc) 28%,transparent)}}
.wp-with[aria-expanded="true"]{background:color-mix(in srgb,var(--xp-acc) 28%,transparent)}
.wp-with:active{scale:.96}
.wp-with:focus-visible{outline:2px solid var(--xp-acc);outline-offset:2px}

/* who else bought (js/wallet-panel.js Buyers): a card on hover with a mouse, a bottom sheet on touch */
.wb-layer{color:var(--xp-ink);font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif}
.wb-pop-layer{position:fixed;inset:0;z-index:1000;pointer-events:none}
.wb-pop{position:fixed;pointer-events:auto;width:288px;max-height:min(340px,70vh);display:flex;flex-direction:column;padding:10px 6px 6px;border-radius:16px;
  background:var(--cs-pop);box-shadow:0 0 0 1px var(--xp-line2),0 12px 32px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.14);
  opacity:0;transform:scale(.97);transition:opacity .14s ease-out,transform .14s cubic-bezier(.23,1,.32,1)}
.wb-pop-layer.is-in .wb-pop{opacity:1;transform:none}
.wb-pop-layer.is-out .wb-pop{transition-duration:.12s}
@media(prefers-reduced-motion:reduce){.wb-pop{transform:none}}
.wb-hd{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:0 8px 8px}
.wb-hd > div{display:flex;flex-direction:column;gap:1px;min-width:0}
.wb-hd b{font-size:14px;font-weight:800;color:var(--xp-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-hd span{font-size:12.5px;font-weight:500;color:var(--xp-mute)}
.wb-pop .wb-x{display:none}
.wb-list{min-height:0;display:flex;flex-direction:column;gap:2px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.wb-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:44px;padding:6px 8px;border:0;border-radius:12px;
  background:none;color:var(--xp-ink);font:inherit;text-align:left;cursor:pointer;transition:background-color .12s ease}
@media(hover:hover){.wb-row:hover{background:var(--xp-cell)}}
.wb-row:active{background:var(--xp-cell)}
.wb-row:focus-visible{outline:2px solid var(--xp-acc);outline-offset:-2px}
.wb-av{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--xp-cell);overflow:hidden}
.wb-name{min-width:0;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-amt{display:flex;flex-direction:column;align-items:flex-end;font-size:13.5px;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums;color:var(--xp-up);white-space:nowrap}
.wb-amt small{font-size:11.5px;font-weight:600;color:var(--xp-mute)}
.wb-t{min-width:26px;font-size:12.5px;font-weight:600;color:var(--xp-mute);text-align:right;font-variant-numeric:tabular-nums}
.wb-sheet .wb-hd{padding:2px 2px 10px}
.wb-sheet .wb-list{margin:0 -4px}
.wb-sheet .wb-row{min-height:52px}
.wp-time{margin-left:auto;flex:none}
.wp-bot{display:flex;align-items:center;gap:8px;min-width:0}
.wp-amt{flex:none;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.wp-bot .xp-coin{margin-left:auto;flex:0 1 auto;min-width:0}
.wp-bot .xp-coin > span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.wp-ca{margin:0}
.wp-stat{margin-left:auto;font-size:12.5px;font-weight:600;color:var(--xp-mute)}
.wp-stat b{color:var(--xp-ink);font-variant-numeric:tabular-nums}

/* add a wallet */
.wp-foot{padding:10px 12px 12px;border-top:1px solid var(--xp-line)}
.wp-foot[hidden]{display:none}
.wp-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;height:42px;border:0;border-radius:12px;background:var(--xp-acc);color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.wp-add svg{width:16px;height:16px}
.wp-add-inline{width:auto;margin-top:14px;padding:0 18px}

/* selected All / Buy / Sell (and the filter popover's choices): the same blue as the selected tab above them */
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp-seg button[aria-pressed="true"]{background:#0067B3;color:#fff}
/* a hint too long for the field ends in "…" instead of a cut word */
.xp-search input,.xp-search input::placeholder{text-overflow:ellipsis}

/* ── coin sheet (js/coin-sheet.js): one button in the search row raises the coins from the bottom ── */
.xp{--cs-sel:var(--xp-ink);--cs-sel-ink:var(--xp-bg);--cs-pop:var(--xp-bg);--cs-ring:var(--xp-ink)}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .xp{--cs-sel:#0067B3;--cs-sel-ink:#fff;--cs-pop:var(--lb-solid,#D6E8FA);--cs-ring:#0067B3}
.cs-btn{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 10px;border:0;border-radius:12px;background:var(--xp-cell);
  box-shadow:inset 0 0 0 1px var(--xp-line);color:var(--xp-ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap;transition:scale .16s cubic-bezier(.23,1,.32,1)}
.cs-btn[hidden]{display:none}
.cs-btn > svg{width:18px;height:18px;color:var(--xp-mute)}
.cs-btn:active{scale:.97}
.cs-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--xp-acc);color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.cs-btn.is-picked{padding-left:6px;box-shadow:inset 0 0 0 1.5px var(--xp-acc)}
.cs-btn[aria-expanded="true"]{box-shadow:inset 0 0 0 2px var(--xp-acc)}
.cs-btn-img{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;overflow:hidden}
.cs-btn-img img,.cs-btn-img .cs-em{width:100%;height:100%;object-fit:cover;font-size:14px}

/* the layer: backdrop and sheet. Transitions, not keyframes: they turn round smoothly when interrupted.
   In 320 ms on the iOS drawer curve, out in 200 ms; only transform and the backdrop move. */
.cs-layer{display:none}
.cs-layer.is-open{position:absolute;inset:0;z-index:6;display:flex;background:transparent;transition:background-color .32s cubic-bezier(.32,.72,0,1)}
.cs-layer.is-in{background:rgba(0,0,0,.42)}
html:not([data-theme="dark"]):not([data-scheme="dark"]):not([data-theme="voidtype"]) .cs-layer.is-in{background:rgba(10,37,64,.28)}
.cs-layer.is-out{pointer-events:none;transition-duration:.2s}
.cs-sheet{margin-top:auto;width:100%;max-height:80%;display:flex;flex-direction:column;padding:6px 12px 14px;border-radius:20px 20px 0 0;background:var(--cs-pop);
  box-shadow:0 -12px 40px -12px rgba(0,0,0,.5);transform:translate3d(0,100%,0);transition:transform .32s cubic-bezier(.32,.72,0,1);will-change:transform}
.cs-layer.is-in .cs-sheet{transform:translate3d(0,0,0)}
.cs-layer.is-out .cs-sheet{transition-duration:.2s;transition-timing-function:cubic-bezier(.23,1,.32,1)}
.cs-grab{flex:none;width:40px;height:4px;margin:2px auto 8px;border-radius:2px;background:var(--xp-line2)}
.cs-hd{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 2px 12px}
.cs-hd > div{display:flex;flex-direction:column;gap:1px;min-width:0}
.cs-hd b{font-size:14.5px;font-weight:800;color:var(--xp-ink)}
.cs-hd span{font-size:12.5px;font-weight:500;color:var(--xp-mute)}
.cs-x{flex:none;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:var(--xp-cell);color:var(--xp-mute);cursor:pointer}
.cs-x svg{width:16px;height:16px}
.cs-q{flex:none;display:flex;align-items:center;gap:8px;height:40px;margin:0 0 12px;padding:0 12px;border-radius:12px;background:var(--xp-cell);box-shadow:inset 0 0 0 1px var(--xp-line)}
.cs-q svg{width:15px;height:15px;color:var(--xp-mute)}
.cs-q input{flex:1;min-width:0;border:0;background:none;color:var(--xp-ink);font:inherit;font-size:14px;outline:0;text-overflow:ellipsis}
.cs-q input::placeholder{color:var(--xp-mute);opacity:1}
.cs-q:focus-within{box-shadow:inset 0 0 0 2px var(--xp-acc)}
.cs-none{grid-column:1/-1;padding:18px 8px;text-align:center;color:var(--xp-mute);font-size:13.5px}

/* tiles in the look of the hot coins in the site search (header-refinement.css, #platformHeader .sr-chipt) */
.cs-tiles{flex:0 1 auto;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:88px;gap:8px;align-content:start;overflow-y:auto;overscroll-behavior:contain;
  margin:0 -4px;padding:0 4px 4px;scrollbar-width:thin}
.cs-g{position:relative;isolation:isolate;overflow:hidden;display:block;height:88px;padding:0;border:0;border-radius:20px;background:#1a1a1a;cursor:pointer;text-align:left;font:inherit;
  transition:scale .16s cubic-bezier(.23,1,.32,1)}
.cs-art{position:absolute;inset:0;z-index:-2;display:block}
.cs-art img,.cs-em{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s cubic-bezier(.2,0,0,1)}
.cs-em{display:grid;place-items:center;font-size:40px}
.cs-collage{display:grid;grid-template-columns:1fr 1fr}
.cs-collage .cs-em{font-size:24px}
.cs-g::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 25%,rgba(0,0,0,.78) 100%);pointer-events:none}
.cs-g::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);pointer-events:none}
.cs-tk,.cs-mc{position:absolute;left:12px;right:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.cs-tk{bottom:28px;font-size:15px;font-weight:700;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.cs-mc{bottom:10px;font-size:12px;font-weight:600;color:rgba(255,255,255,.88)}
/* how many posts / wallets: a light glass capsule with an icon */
.cs-n{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:4px;height:24px;padding:0 9px 0 7px;border-radius:12px;color:#fff;font-variant-numeric:tabular-nums;pointer-events:none;
  background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px) saturate(160%);backdrop-filter:blur(10px) saturate(160%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 2px 8px rgba(0,0,0,.18);text-shadow:0 1px 4px rgba(0,0,0,.35)}
.cs-n svg{width:13px;height:13px}
.cs-n b{font-size:12px;font-weight:800;line-height:1}
/* the chosen one: a frame in the selected-tab colour and a tick */
.cs-g.is-on::after{box-shadow:inset 0 0 0 3px var(--cs-ring),inset 0 0 0 4.5px rgba(255,255,255,.9)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .cs-g.is-on::after{box-shadow:inset 0 0 0 3px var(--cs-ring)}
.cs-ck{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cs-sel);color:var(--cs-sel-ink)}
.cs-ck svg{width:13px;height:13px}
@media(hover:hover){.cs-g:hover .cs-art img{transform:scale(1.06)}}
.cs-g:active{scale:.97}
.xp :is(.cs-btn,.cs-g,.cs-x):focus-visible{outline:2px solid var(--xp-acc);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.cs-sheet{transform:none;transition:none}.cs-g,.cs-art img,.cs-btn{transition:none}}

/* ── the panel shows, the page sets up (user 2026-11-09) ──
   Where the panels are, the full tracker pages drop what the panels already show: the X Tracker page
   its post feed, the Wallet Tracker page its activity feed and coordinated-buying tiles. Left on the
   pages: who is tracked (add, remove, alerts / on charts, import, export).
   A note where the feed was points to the panel. Narrower screens have no slot for the panels, so each
   panel sits inside its own page where the old feed was (below). */
.dock-hint{display:none}
/* where a panel can dock (js/x-panel.js VellaDock), not at a fixed window width */
html.dock-ok #xTrackerView :is(.stk-feed-h,.tgt-search-wrap,#xtrNewBanner,#xtrFeed),
html.dock-ok #walletTrackerView :is(.wlt-cb,.wlt-section-lbl-row,.wlt-events-feed){display:none!important}
html.dock-ok .dock-hint{display:flex;align-items:center;gap:14px;margin:20px 0 28px;padding:16px 18px;border-radius:18px;
  border:1.5px solid rgba(0,152,234,.16);background:linear-gradient(180deg,rgba(0,152,234,.06),transparent);color:var(--t1)}
html.dock-ok:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .dock-hint{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.03)}
html.dock-ok .dock-hint img{flex:none;width:44px;height:44px}
html.dock-ok .dock-hint > div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html.dock-ok .dock-hint b{font-size:15px;font-weight:800}
html.dock-ok .dock-hint span{font-size:13.5px;color:var(--t2)}
html.dock-ok .dock-hint-btn{flex:none;height:40px;padding:0 16px;border:0;border-radius:12px;background:#0067B3;color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:scale .16s cubic-bezier(.23,1,.32,1)}
html.dock-ok:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .dock-hint-btn{background:#EDEDE6;color:#0A0A0A}
html.dock-ok .dock-hint-btn:active{scale:.97}
html.dock-ok .dock-hint-btn:focus-visible{outline:2px solid #0067B3;outline-offset:2px}
html.dock-ok.xp-open .dock-hint-x .dock-hint-btn,html.dock-ok.wp-open .dock-hint-w .dock-hint-btn{display:none}
.xp-setup svg{width:16px;height:16px}

/* Phones and windows without room to dock: the panel inside its page (js/x-panel.js, js/wallet-panel.js place()),
   in place of the page's old feed, scrolling with the page; the coin sheet rises from the screen's bottom. */
.xp.xp-inline{position:relative;z-index:auto;left:auto;top:auto;bottom:auto;width:auto;display:flex;margin:20px 0 8px}
.xp-inline :is(.xp-resize,[data-act="close"]){display:none}
/* the feed is the page; the gear opens the page's setup (#/wallets/setup, #/x-tracker/setup) with a way back */
.xp-back{display:none}
.has-xp-inline:not(.is-setup) > :not(.xp),.has-xp-inline.is-setup > .xp{display:none!important}
.has-xp-inline.is-setup > .xp-back{display:inline-flex;align-items:center;gap:4px;height:44px;margin:4px 0 6px -10px;padding:0 14px 0 6px;border:0;border-radius:12px;
  background:none;color:var(--t1);font:inherit;font-size:16px;font-weight:800;cursor:pointer;-webkit-tap-highlight-color:transparent}
.has-xp-inline.is-setup > .xp-back svg{width:22px;height:22px}
.has-xp-inline.is-setup > .xp-back:active{scale:.97}
.xp-inline .xp-feed-wrap{flex:none}
.xp-inline .xp-feed{height:auto;overflow:visible}
.xp-inline .xp-new{position:fixed;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));z-index:50;box-shadow:0 8px 24px -8px rgba(0,0,0,.45)}
.cs-layer.cs-fixed{position:fixed;z-index:1000;color:var(--xp-ink);font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,sans-serif}
.cs-fixed .cs-sheet{max-height:82vh;max-height:82dvh;padding-bottom:calc(14px + env(safe-area-inset-bottom))}
#xTrackerView.has-xp-inline :is(.stk-feed-h,.tgt-search-wrap,#xtrNewBanner,#xtrFeed),
#walletTrackerView.has-xp-inline :is(.wlt-cb,.wlt-section-lbl-row,.wlt-events-feed){display:none!important}
/* a page column is wider than the panel: pictures keep a sane height */
.xp-inline .xp-media{max-height:min(56vw,380px)}
@media(max-width:760px){
  .xp.xp-inline{margin:16px 0 8px;border-radius:20px}
  .xp-inline .xp-head{padding:12px 8px 8px 14px}
  .xp-inline .xp-tabs{overflow-x:auto;scrollbar-width:none}
}
/* phones: the search gets its own row, the filters and coins share the one under it */
@media(max-width:440px){
  /* the coin row (picture, ticker, MC, change, Buy) starts at the card's left edge, under the avatar, so it fits whole (user 2026-11-12) */
  .xp-post .xp-foot{margin-left:-48px}
  .xp-inline .xp-tools{flex-wrap:wrap}
  .xp-inline .xp-search{flex:1 1 100%}
  .xp-inline .xp-tools > :not(.xp-search):not([hidden]){flex:1 1 0;justify-content:center}
  .xp-inline .wp-side button{flex:1}
}
.wlt-search-input{text-overflow:ellipsis}
.cs-sheet:focus{outline:0}
/* narrow phones (320): a trade's coin moves under the amount rather than squeezing its ticker away */
@media(max-width:360px){
  .xp-inline .wp-bot{flex-wrap:wrap;row-gap:6px}
  .xp-inline .wp-bot .xp-coin{flex-shrink:0;max-width:100%}
  /* the name keeps the first line with the time; Bought and +N others go under it */
  .xp-inline .wp-top{flex-wrap:wrap;row-gap:4px}
  .xp-inline .wp-name{order:1;flex:1 1 calc(100% - 60px);text-align:left}
  .xp-inline .wp-time{order:2}
  .xp-inline :is(.wp-act,.wp-with){order:3}
}

/* opening a panel and typing in its search: the parts rise in one after another, like the site search (style.css .ms-drop) */
@keyframes xpRise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes xpFade{from{opacity:0}}
.xp.xp-rise{animation:xpFade .2s ease-out backwards}
.xp.xp-rise > :not(.xp-resize),.xp-feed.xp-rise > :nth-child(-n+8){animation:xpRise .28s cubic-bezier(.2,0,0,1) backwards}
.xp.xp-rise > :nth-child(3),.xp-feed.xp-rise > :nth-child(2){animation-delay:.04s}
.xp.xp-rise > :nth-child(4),.xp-feed.xp-rise > :nth-child(3){animation-delay:.08s}
.xp.xp-rise > :nth-child(5),.xp-feed.xp-rise > :nth-child(4){animation-delay:.12s}
.xp.xp-rise > :nth-child(n+6),.xp-feed.xp-rise > :nth-child(n+5){animation-delay:.16s}
@media(prefers-reduced-motion:reduce){.xp-rise,.xp-rise > *{animation:none!important}}
