/* Wallet Tracker: Coordinated buying tiles (tap lists the wallets that bought)
   and Recent activity rows led by the trade size
   (design-refs/wallet-tracker-coord v3, wallet-tracker-cb-card v1).
   The section is a card like the page hero (.wlt-hero): plain title, tiles,
   and the open coin's wallets under a hairline. On a phone an open coin folds
   the tiles into one scrolling row and the list follows it directly. */
.wlt-cb{
  --cb-tile:#e3f1fc; --cb-tile-hover:#d4eafb; --cb-ring:#0077C2; --cb-ink:#0a2540; --cb-mute:#4a5b6e; --cb-line:rgba(10,37,64,.10);
  margin:0 0 16px;padding:20px 24px;border-radius:20px;color:var(--cb-ink);
  background:radial-gradient(90% 80% at 100% 0%,rgba(0,152,234,.14),transparent 55%),linear-gradient(165deg,rgba(255,255,255,.92),rgba(232,244,255,.88));
  border:1px solid rgba(0,152,234,.14);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 10px 32px rgba(10,37,64,.06)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-cb{
  --cb-tile:rgba(0,152,234,.16); --cb-tile-hover:rgba(0,152,234,.24); --cb-ring:#4DB8FF; --cb-ink:#f2f4f7; --cb-mute:#a6a8b0; --cb-line:rgba(255,255,255,.10);
  background:linear-gradient(180deg,#141414 0%,#0A0A0A 100%);border-color:rgba(255,255,255,.1);box-shadow:none}
.wlt-cb-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.wlt-cb-title{margin:0;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:-.03em;color:var(--cb-ink)}
.wlt-cb-open{padding:6px 2px;font-size:14px;font-weight:600;color:var(--cb-ring);text-decoration:none;white-space:nowrap}
.wlt-cb-open[hidden]{display:none}
.wlt-cb-open:hover{text-decoration:underline}
.wlt-cb-open:focus-visible{outline:2px solid var(--cb-ring);outline-offset:2px;border-radius:4px}

.wlt-cb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}
.wlt-cb-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:10px;border:0;border-radius:14px;
  background:var(--cb-tile);color:var(--cb-ink);font:inherit;text-align:left;cursor:pointer;
  transition:background-color .15s ease,box-shadow .15s ease}
@media(hover:hover){.wlt-cb-tile:hover{background:var(--cb-tile-hover)}}
.wlt-cb-tile[aria-expanded="true"]{box-shadow:inset 0 0 0 2px var(--cb-ring)}
.wlt-cb-tile:focus-visible{outline:2px solid var(--cb-ring);outline-offset:2px}
.wlt-cb-top{display:flex;align-items:center;gap:6px;width:100%;min-width:0}
.wlt-cb-coin{width:22px;height:22px;border-radius:6px;object-fit:cover;flex-shrink:0}
.wlt-cb-coin-emoji{display:grid;place-items:center;font-size:13px}
.wlt-cb-tk{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}
.wlt-cb-num{display:flex;align-items:baseline;width:100%;font-size:28px;font-weight:700;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.wlt-cb-num span{margin-left:5px;font-size:12px;font-weight:500;letter-spacing:0;color:var(--cb-mute)}
.wlt-cb-chev{align-self:center;margin-left:auto;flex-shrink:0;color:var(--cb-mute);transition:transform .2s cubic-bezier(.2,0,0,1)}
.wlt-cb-tile[aria-expanded="true"] .wlt-cb-chev{transform:rotate(180deg);color:var(--cb-ring)}
.wlt-cb-tile .wlt-coord-avs{display:inline-flex;align-items:center}

/* the open coin's wallets: a plain table under a hairline */
.wlt-cb-panel{margin-top:16px;padding-top:6px;border-top:1px solid rgba(0,152,234,.16)}
.wlt-cb-panel[hidden]{display:none}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-cb-panel{border-top-color:var(--cb-line)}
.wlt-cb-buyers{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));column-gap:24px}
.wlt-cb-buyer{display:grid;grid-template-columns:28px minmax(0,1fr) auto 56px;align-items:center;gap:10px;min-width:0;min-height:46px;padding:6px 0;
  border:0;border-bottom:1px solid var(--cb-line);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.wlt-cb-buyer:focus-visible{outline:2px solid var(--cb-ring);outline-offset:-2px;border-radius:6px}
@media(hover:hover){.wlt-cb-buyer:hover .wlt-cb-buyer-nm{color:var(--cb-ring)}}
.wlt-cb-buyer-av{display:flex;width:28px;height:28px;border-radius:50%;overflow:hidden}
.wlt-cb-buyer-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700}
.wlt-cb-buyer-amt{font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.wlt-cb-buyer-t{grid-column:4;font-size:13px;color:var(--cb-mute);text-align:right;white-space:nowrap}

@media(max-width:600px){
  .wlt-cb{padding:16px}
  .wlt-cb-title{font-size:20px}
  .wlt-cb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wlt-cb-buyers{grid-template-columns:1fr}
  /* open coin: tiles fold into one row that scrolls sideways, the list follows */
  .wlt-cb.is-open .wlt-cb-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;
    margin:0 -16px;padding:2px 16px;scroll-padding-inline:16px}
  .wlt-cb.is-open .wlt-cb-grid::-webkit-scrollbar{display:none}
  .wlt-cb.is-open .wlt-cb-tile{flex:0 0 132px;scroll-snap-align:start}
  .wlt-cb-panel{margin-top:6px;padding-top:0;border-top:0}
  .wlt-cb-buyer:last-child{border-bottom:0}
}

/* Recent activity row (design-refs/wallet-tracker-events, variant 1): one fixed
   height; left — name and «with N others», under it the amount and tokens;
   right — coin ticker and time. Buy vs sell is the rail colour only. */
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;column-gap:12px;height:68px;padding:0 16px 0 12px}
/* the row with an open «Bought by» list sits above the rows after it */
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3:is(:hover,:focus-within,:has(.is-tip-open)){z-index:3}
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--buy{--wt-rail:#00C853}
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--sell{--wt-rail:#F5365C}
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--launch{--wt-rail:#0098EA}
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--grad{--wt-rail:#FFB300}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--buy{--wt-rail:#3DDB8A}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--sell{--wt-rail:#FF5C6A}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-events-feed .wlt-ev-feed-row.wlt-ev3--launch{--wt-rail:#4DB8FF}
.wlt-ev3 .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wlt-ev3-main{min-width:0}
.wlt-ev3-who,.wlt-ev3-big{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.wlt-ev3-who{font-size:16px;line-height:1.3;color:var(--t2)}
.wlt-ev3-who b{min-width:3ch;overflow:hidden;text-overflow:ellipsis;font-weight:700;color:var(--t1)}
.wlt-ev3-big{margin-top:2px;font-variant-numeric:tabular-nums}
.wlt-ev3-amt{flex-shrink:0;font-size:18px;font-weight:700;letter-spacing:-.03em;line-height:1.25;color:var(--t1)}
.wlt-ev3-tok{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--t2)}
/* «with N others»: link-coloured text; hover or tap lists the wallets */
/* on a tight row the text shrinks with an ellipsis; the «Bought by» list hangs
   off the tag itself, so it is never clipped */
.wlt-ev3-wide,.wlt-ev3-narrow{display:inline-flex;min-width:0;flex-shrink:1}
html .wlt-ev3 .wlt-cluster-tag.wlt-ev3-with{display:inline-flex;min-width:0;max-width:100%}
.wlt-ev3-with-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wlt-ev3-who b,.wlt-ev4-nm{flex-shrink:2;min-width:6ch}
.wlt-ev3-amt,.wlt-ev4-coin b{flex-shrink:0}
.wlt-ev3 .wlt-ev3-narrow{display:none}
.wlt-ev3-with{--cb-ring:#0077C2}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-ev3-with{--cb-ring:#4DB8FF}
html .wlt-ev3 .wlt-cluster-tag.wlt-ev3-with{margin:0;padding:0;border:0;border-radius:0;background:none;
  font-size:15px;font-weight:600;color:var(--cb-ring);cursor:pointer}
.wlt-ev3-side{display:flex;align-items:center;gap:16px}
.wlt-ev3-coin{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:#0077C2;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-ev3-coin{color:#4DB8FF}
.wlt-ev3-coin:hover .wlt-ev3-tk{text-decoration:underline}
.wlt-ev3-coin:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:6px}
.wlt-ev3-ci{width:22px;height:22px;border-radius:6px;object-fit:cover;flex-shrink:0}
.wlt-ev3-ci-emoji{display:grid;place-items:center;font-size:13px}
.wlt-ev3-time{min-width:56px;font-size:14px;color:var(--t2);text-align:right;white-space:nowrap}
@media(max-width:600px){
  html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3{height:72px;padding:0 14px 0 12px}
  .wlt-ev3-who{font-size:15px}
  .wlt-ev3-amt{font-size:16px}
  .wlt-ev3 .wlt-ev3-wide{display:none}
  .wlt-ev3 .wlt-ev3-narrow{display:inline-flex}
  html .wlt-ev3 .wlt-cluster-tag.wlt-ev3-with{font-size:13px}
  .wlt-ev3-side{flex-direction:column;align-items:flex-end;gap:4px}
  .wlt-ev3-coin{min-height:0;font-size:14px}
  .wlt-ev3-ci{width:20px;height:20px}
  .wlt-ev3-time{min-width:0;font-size:13px}
}
/* the narrowest phones: time goes under the amount so names keep their width */
@media(max-width:380px){
  .wlt-cb-buyer{grid-template-columns:28px minmax(0,1fr) auto;row-gap:0}
  .wlt-cb-buyer-av,.wlt-cb-buyer-nm{grid-row:1/3}
  .wlt-cb-buyer-amt{grid-column:3;grid-row:1;text-align:right}
  .wlt-cb-buyer-t{grid-column:3;grid-row:2}
}
/* the narrowest phones: tighter row; the coin keeps its picture (tickers repeat, art tells coins apart) */
@media(max-width:380px){
  html .wlt-events-feed .wlt-ev-feed-row.wlt-ev3{grid-template-columns:30px minmax(0,1fr) auto;column-gap:8px;padding:0 10px 0 8px}
  html .wlt-events-feed .wlt-ev3 .wlt-ev-av{width:30px;height:30px}
  .wlt-ev3-big{gap:5px}
  .wlt-ev3-amt{font-size:15px}
  html .wlt-ev3 .wlt-cluster-tag.wlt-ev3-with{font-size:12px}
  .wlt-ev3-ci{width:18px;height:18px;border-radius:5px}
  .wlt-ev3-coin{gap:5px}
}

/* Coin-first rows (the «Coin» switch, design-refs/wallet-tracker-events v2):
   coin art with the wallet's avatar on its corner; ticker, MC and 24h change;
   under it who; amount and time on the right. Same fixed height. On a phone
   «with N others» moves up beside the ticker (in place of MC and change). */
.wlt-section-lbl-row:has(.wlt-feed-view){justify-content:flex-start}
.wlt-section-lbl-row:has(.wlt-feed-view) .trades-filter{margin-left:auto}
.wlt-feed-view{display:flex;gap:4px}
html .wlt-events-feed .wlt-ev-feed-row.wlt-ev4{grid-template-columns:44px minmax(0,1fr) auto;height:72px}
.wlt-ev4-cw{position:relative;display:block;width:44px;height:44px}
.wlt-ev4-cimg{display:block;width:44px;height:44px;border-radius:12px;object-fit:cover}
.wlt-ev4-cw .wlt-ev3-ci-emoji{font-size:22px}
.wlt-ev4-wav{position:absolute;right:-5px;bottom:-5px;display:flex;width:22px;height:22px;border-radius:50%;overflow:hidden;background:#fff;box-shadow:0 0 0 2px #fff}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-ev4-wav{background:#0a0a0a;box-shadow:0 0 0 2px #0a0a0a}
.wlt-ev4-cw:focus-visible{outline:2px solid #0077C2;outline-offset:3px;border-radius:12px}
.wlt-ev4-coin,.wlt-ev4-who{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.wlt-ev4-coin{font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums}
.wlt-ev4-coin b{font-weight:700;color:var(--t1)}
.wlt-ev4-mc{font:500 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--t2)}
.wlt-ev4-up,.wlt-ev4-dn{font-size:14px;font-weight:600}
.wlt-ev4-up{color:#167a3e}.wlt-ev4-dn{color:#c22f3b}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-ev4-up{color:#3DDB8A}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-ev4-dn{color:#FF5C6A}
.wlt-ev4-who{margin-top:3px;font-size:14px;color:var(--t2)}
.wlt-ev4-nm{min-width:3ch;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:var(--t1)}
html .wlt-ev4-who .wlt-cluster-tag.wlt-ev3-with{font-size:14px}
.wlt-ev4-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-left:4px}
.wlt-ev4-amt{font-size:18px;font-weight:700;letter-spacing:-.03em;color:var(--t1);white-space:nowrap;font-variant-numeric:tabular-nums}
.wlt-ev4-amt.is-note{font-size:13px;font-weight:600;letter-spacing:0;color:var(--t2)}
@media(max-width:600px){
  html .wlt-events-feed .wlt-ev-feed-row.wlt-ev4{grid-template-columns:44px minmax(0,1fr) auto;height:76px}
  .wlt-ev4-mc{display:none}
  .wlt-ev4-amt{font-size:16px}
  html .wlt-ev4-who .wlt-cluster-tag.wlt-ev3-with{font-size:13px}
  .wlt-ev4-who{font-size:13px}
}
@media(max-width:380px){
  html .wlt-events-feed .wlt-ev-feed-row.wlt-ev4{grid-template-columns:40px minmax(0,1fr) auto;column-gap:10px}
  .wlt-ev4-cw,.wlt-ev4-cimg{width:40px;height:40px}
  .wlt-ev4-up,.wlt-ev4-dn{display:none}
}

/* Profile › Followers / Following: rows packed into a grid of cards so name,
   address, follower count and the button sit together instead of at the two
   edges of a wide page. «Following» reads «Unfollow» on hover / focus. */
.wlt-follow-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:8px;padding:0 16px 16px}
html .wlt-follow-list .wlt-follow-row{gap:12px;min-height:72px;padding:10px 12px;border-radius:16px;
  background:rgba(0,152,234,.035);box-shadow:inset 0 0 0 1px rgba(0,152,234,.10)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-follow-list .wlt-follow-row{background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.wlt-follow-list .wlt-follow-row-av{width:44px;height:44px}
.wlt-follow-list .wlt-follow-row-id{gap:4px}
.wlt-follow-list .wlt-follow-row-name{font-size:16px}
.wlt-follow-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0}
.wlt-follow-list .wlt-follow-addr{padding:3px 9px;font-size:12px}
html .wlt-follow-list .wlt-follow-count{display:inline;font-size:13px;text-align:left}
.wlt-follow-list .wlt-follow-row-btn{min-height:40px;padding:0 14px;border-radius:12px;font-size:14px}
.wlt-follow-row-btn .wlt-fb-off{display:none}
html .wlt-follow-row-btn.is-following{cursor:pointer}
html:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) .wlt-follow-row-btn.is-following:is(:hover,:focus-visible),
html .wlt-follow-row-btn.is-following:is(:hover,:focus-visible){background:#fdecef;border-color:rgba(196,30,58,.35);color:#c41e3a}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-follow-row-btn.is-following:is(:hover,:focus-visible){background:rgba(255,92,106,.14);border-color:rgba(255,92,106,.4);color:#FF8A94}
.wlt-follow-row-btn.is-following:is(:hover,:focus-visible) .wlt-fb-on{display:none}
.wlt-follow-row-btn.is-following:is(:hover,:focus-visible) .wlt-fb-off{display:inline}
.wlt-follow-row-btn.is-following:is(:hover,:focus-visible) svg{display:none}
.wlt-follow-row-btn:focus-visible{outline:2px solid #0077C2;outline-offset:2px}
.wlt-follow-list .wlt-follow-addr{max-width:100%;min-width:0}
@media(min-width:481px){.wlt-follow-list .wlt-follow-row-meta{flex-wrap:nowrap}.wlt-follow-list .wlt-follow-count{flex-shrink:0}.wlt-follow-list .wlt-follow-addr{flex-shrink:1}}
.wlt-follow-list .wlt-follow-addr span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* phones: the button keeps only its icon (check = following, plus = follow) so names fit */
@media(max-width:480px){
  .wlt-follow-list{padding:0 10px 12px}
  html .wlt-follow-list .wlt-follow-row{gap:10px;padding:10px}
  .wlt-follow-list .wlt-follow-row-av{width:40px;height:40px}
  .wlt-follow-list .wlt-follow-row-btn{width:44px;min-height:44px;padding:0;justify-content:center}
  .wlt-follow-list .wlt-follow-row-btn span{display:none!important}
  .wlt-follow-list .wlt-follow-row-btn svg{display:block!important;width:16px;height:16px}
}

/* Profile › Rewards: only the total (counts up on open) and the earnings line —
   the coin chart's Line mode, overlays reused from style.css (dv-area-tip, dv-xh-*). */
.wlt-rew{
  --rw-ink:#0a2540; --rw-mute:#4a5b6e; --rw-card:#fff; --rw-line:rgba(10,37,64,.10); --rw-line2:#0077C2; --rw-x:rgba(10,37,64,.25);
  display:flex;flex-direction:column;gap:16px;margin:0 14px 14px;padding:24px;border-radius:22px;background:var(--rw-card);
  box-shadow:0 0 0 1px var(--rw-line),0 6px 20px rgba(10,37,64,.04);color:var(--rw-ink);font-variant-numeric:tabular-nums}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-rew{
  --rw-ink:#f2f4f7; --rw-mute:#a6a8b0; --rw-card:#111214; --rw-line:rgba(255,255,255,.09); --rw-line2:#4DB8FF; --rw-x:rgba(255,255,255,.3)}
.wlt-rew-big{display:flex;align-items:center;gap:10px;font-size:56px;font-weight:700;line-height:1;letter-spacing:-.05em}
.wlt-rew-big img{width:44px;height:44px;flex-shrink:0}
.wlt-rew-chart{position:relative;height:240px;margin:8px -8px 0 0;touch-action:pan-y}
@media(max-width:600px){
  .wlt-rew{margin:0 10px 12px;padding:18px;border-radius:20px}
  .wlt-rew-big{font-size:44px}.wlt-rew-big img{width:36px;height:36px}
  .wlt-rew-chart{height:200px;margin-right:-6px}
}
@media(prefers-reduced-motion:reduce){.wlt-rew-chart .dv-line-now-dot,.wlt-rew-chart .dv-line-now-dot::after{animation:none}}

/* Profile › Created coins, empty: Pepe and one solid pill button (own profile)
   or «No coins yet» (someone else's). */
.cr-empty2{display:flex;flex-direction:column;align-items:center;gap:20px;padding:56px 20px}
.cr-empty2-ico{width:104px;height:104px;object-fit:contain}
.cr-empty2-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 26px;border:0;border-radius:999px;
  background:#0077C2;color:#fff;font:700 17px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;transition:transform .1s ease}
.cr-empty2-btn:active{transform:scale(.97)}
.cr-empty2-btn:focus-visible{outline:2px solid #0077C2;outline-offset:3px}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .cr-empty2-btn{background:#f2f4f7;color:#0a0a0a}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .cr-empty2-btn:focus-visible{outline-color:#f2f4f7}
.cr-empty2-cap{margin:0;font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--t1)}
@media(prefers-reduced-motion:reduce){.cr-empty2-btn{transition:none}}

/* Recent activity: the label on its own line, every filter on one row under it */
@media(max-width:760px){
  html body .wlt-section-lbl-row:has(.wlt-feed-view){flex-wrap:wrap;row-gap:10px}
  html body .wlt-section-lbl-row:has(.wlt-feed-view) .wlt-section-lbl{flex-basis:100%}
  html body .wlt-section-lbl-row:has(.wlt-feed-view) :is(.wlt-feed-view,.trades-filter){flex-wrap:nowrap;margin:0}
  html body .wlt-section-lbl-row:has(.wlt-feed-view) .trades-filter{margin-left:auto!important;width:auto!important;flex:none!important}
  html body .wlt-section-lbl-row:has(.wlt-feed-view) .tf-btn{padding:6px 12px}
}
/* both filter groups share one unbreakable row (Safari wrapped them apart) */
.wlt-feed-filters{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin-left:auto;min-width:0}
.wlt-feed-filters > *{flex:none;margin:0!important;width:auto!important}
@media(max-width:760px){
  html body .wlt-section-lbl-row:has(.wlt-feed-view) .wlt-feed-filters{flex-basis:100%;justify-content:space-between;margin:0}
  html body .wlt-feed-filters .tf-btn{padding:6px 11px}
}

/* Recent activity filters, every screen: Wallet / Coin is a rectangular segmented
   control, All / Buy / Sell stay round pills */
html body .wlt-feed-view{display:inline-flex;gap:2px;padding:3px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,119,204,.16)}
html body .wlt-feed-view .tf-btn{border:0!important;border-radius:9px!important;padding:6px 14px;background:transparent;box-shadow:none!important}
html body .wlt-feed-view .tf-btn.active{background:#0077CC!important;color:#fff!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .wlt-feed-view{background:#161616;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .wlt-feed-view .tf-btn.active{background:#EDEDE6!important;color:#0A0A0A!important}
html body .wlt-feed-filters .trades-filter .tf-btn{border-radius:999px!important}
/* bigger tap targets */
html body .wlt-feed-filters .tf-btn{min-height:36px;touch-action:manipulation}

/* Dark theme: Follow is the light accent button with dark text (white on the
   light gradient was unreadable); Following stays the quiet outlined one */
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-follow-row-btn:not(.is-following){
  background:#EDEDE6!important;color:#0A0A0A!important;border:0!important;box-shadow:none!important}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-follow-row-btn:not(.is-following):hover{background:#FFFFFF!important;transform:none}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-follow-row-btn:not(.is-following) svg{color:#0A0A0A;stroke:currentColor}

/* Coordinated buying tiles in their coin's colour (design-refs/cb-tiles v3);
   --coin is set per tile by js/wallet-tracker.js, blue until it's known */
html body .wlt-cb-tile{background:linear-gradient(160deg,color-mix(in srgb,var(--coin,#0098EA) 22%,#fff),color-mix(in srgb,var(--coin,#0098EA) 8%,#fff));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--coin,#0098EA) 22%,transparent)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) body .wlt-cb-tile{background:linear-gradient(160deg,color-mix(in srgb,var(--coin,#0098EA) 26%,#121212),color-mix(in srgb,var(--coin,#0098EA) 8%,#121212))}
@media(hover:hover){html body .wlt-cb-tile:hover{filter:brightness(1.04)}}
html body .wlt-cb-tile[aria-expanded="true"]{box-shadow:inset 0 0 0 2px var(--cb-ring)}

/* ── Телефон: блоки трекера одной ширины, поиск без обрезки (2026-10-20) ── */
/* Тёмная тема: кромка строки кошелька белая, а не синяя */
html[data-theme="dark"] .wlt-wallet-row{border-color:rgba(255,255,255,.1)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .wlt-wallet-row.wlt-wallet-row:hover{border-color:rgba(255,255,255,.28)}
/* кнопки фильтров ленты: без задержки двойного тапа */
.wlt-feed-filters .tf-btn{touch-action:manipulation}
/* окна «Manage tracked …» (кошельки, каналы, аккаунты): поиск с теми же отступами, что и строки списка —
   общий .vsf обнуляет margin */
html body .mw-modal .mw-search-wrap.vsf{margin:0 24px 12px;width:auto}
@media(max-width:760px){
  /* строки кошельков и ленты идут с отступом 6px (js/mobile-edges.js) — поиск, «View all» и Import/Export тоже */
  html body .wlt-view .wlt-search-row,html body .wlt-view .wlt-io-row{margin-left:-18px;margin-right:-18px}
  html body .wlt-view .wlt-showall-btn{margin-left:-18px;margin-right:-18px;width:calc(100% + 36px)}
  /* поиск занимает всё место, кнопка — коротко «+ Add» */
  html body .wlt-view .wlt-search-row{gap:8px}
  html body .wlt-view .wlt-add-btn.vsf-btn{padding:0 16px!important}
  .wlt-add-more{display:none}
  /* окно «Manage tracked wallets»: поиск и строки одной ширины, с отступом от краёв */
  html body .mw-modal .mw-search-wrap.vsf{margin:0 12px 12px!important;width:auto!important}
  html body .mw-modal .mw-list{padding:2px 12px}
}
