/* ============================================================================
   blocks.css — per-block components, dark "Deep signal" look (COMPACT).
   Solid tactile panels (no glass), top-edge highlight, committed cyan accents.
   ============================================================================ */

/* --- generic block panel ------------------------------------------------ */
.xprf-block {
  position: relative;
  /* subtle top-down sheen over the card surface for depth */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, transparent 100%), var(--profile-surface);
  border: 1px solid var(--profile-border);
  border-radius: var(--profile-block-radius);
  padding: var(--profile-block-padding);
  box-shadow: var(--profile-shadow-card);
  transition: transform var(--profile-dur-base) var(--profile-ease),
              box-shadow var(--profile-dur-base) var(--profile-ease),
              border-color var(--profile-dur-base) var(--profile-ease);
}
:root[data-theme="light"] .xprf-block {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, transparent 100%), var(--profile-surface);
}
.xprf-block::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 var(--profile-hairline);
}
.xprf-block:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--profile-accent) 38%, var(--profile-border));
  box-shadow: var(--profile-shadow-card-hover), 0 0 26px -12px var(--profile-accent-glow);
}

/* ---- global block style (Design ▸ Block) — layered on the theme default.
   Frame variants apply in the floating frame only (contained joins blocks). --- */
:root[data-frame="floating"][data-block-frame="outline"] .xprf-block:not(.xprf-block--bare) {
  background: transparent; box-shadow: none;
}
:root[data-frame="floating"][data-block-frame="soft"] .xprf-block:not(.xprf-block--bare) {
  background: var(--profile-surface-2); border-color: transparent; box-shadow: none;
}
:root[data-block-frame="outline"] .xprf-block:not(.xprf-block--bare)::before,
:root[data-block-frame="soft"] .xprf-block:not(.xprf-block--bare)::before { box-shadow: none; }
:root[data-block-divider="none"] .xprf-block__head { border-bottom-color: transparent; }

/* --- collapsible large blocks (smooth height transition) --------------- */
.xprf-block.is-collapsible {
  overflow: hidden;
  transition: max-height var(--profile-dur-slow) var(--profile-ease),
              transform var(--profile-dur-base) var(--profile-ease),
              box-shadow var(--profile-dur-base) var(--profile-ease),
              border-color var(--profile-dur-base) var(--profile-ease);
}
.xprf-block.is-collapsed { max-height: 360px; }
.xprf-block.is-collapsible:not(.is-collapsed) { max-height: 4000px; }
.xprf-block.is-collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 116px; z-index: 1;
  /* stronger fade to the card's OWN background (surface) so the cut-off footer
     row clearly dissolves under the Show all button. */
  background: linear-gradient(to top, var(--profile-surface) 34%, color-mix(in srgb, var(--profile-surface) 55%, transparent) 68%, transparent);
  pointer-events: none; border-radius: inherit;
}
/* in a contained frame the card bg is transparent — fade to the wrapper's surface */
:root[data-frame="contained"] .xprf-block.is-collapsed::after {
  background: linear-gradient(to top, var(--profile-surface) 34%, color-mix(in srgb, var(--profile-surface) 55%, transparent) 68%, transparent);
}
.xprf-more {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: var(--profile-radius-pill);
  background: var(--profile-surface); border: 1px solid var(--profile-border);
  color: var(--profile-accent-ink); font-weight: var(--profile-fw-bold); font-size: 12px;
  /* surface-coloured halo makes the button feel like it floats above + masks the
     faded footer row behind it; plus a soft drop shadow for depth. */
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.3), 0 0 17px 12px color-mix(in srgb, var(--profile-surface) 84%, transparent);
  transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease), box-shadow var(--profile-dur-fast) var(--profile-ease);
}
/* lighter, airier shadow in light theme (the dark drop shadow read too heavy) */
:root[data-theme="light"] .xprf-more {
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.08), 0 0 16px 12px color-mix(in srgb, var(--profile-surface) 90%, transparent);
}
.xprf-more:hover { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); }
.xprf-more svg { width: 14px; height: 14px; transition: transform var(--profile-dur-base) var(--profile-ease); }
.xprf-block:not(.is-collapsed).is-collapsible .xprf-more { position: static; transform: none; margin: var(--profile-space-3) auto var(--profile-space-1); display: flex; width: max-content; }
.xprf-block:not(.is-collapsed).is-collapsible .xprf-more svg { transform: rotate(180deg); }

/* unified header: same bg as the card body, separated only by a super-light
   hairline — airy and refined (not a heavy filled bar) */
.xprf-block__head {
  display: flex; align-items: center; gap: 10px;
  margin: calc(var(--profile-block-padding) * -1) calc(var(--profile-block-padding) * -1) var(--profile-block-padding);
  padding: 12px var(--profile-block-padding);
  border-bottom: 1px solid var(--profile-hairline);
}
/* Tiered heads (anti-slop: not every block wears an identical filled icon-tile).
   Default = a quiet inline icon so the TITLE leads. Hero on-chain blocks keep the
   filled accent chip. Bare blocks have no head at all. */
.xprf-block__icon-badge {
  width: 22px; height: 22px; flex: none; display: grid; place-items: center;
  border-radius: 7px; background: transparent;
}
.xprf-block__icon {
  width: 17px; height: 17px; flex: none;
  color: var(--profile-muted);
}
/* hero on-chain blocks lead with a filled chip; everything else leads with type */
.xprf-block[data-block-type="balance"] .xprf-block__icon-badge,
.xprf-block[data-block-type="wallets"] .xprf-block__icon-badge {
  width: 28px; height: 28px; border-radius: 8px; background: var(--profile-accent-tint);
}
.xprf-block[data-block-type="balance"] .xprf-block__icon,
.xprf-block[data-block-type="wallets"] .xprf-block__icon {
  width: 16px; height: 16px; color: var(--profile-accent-ink);
}
/* accordion fold toggle (right of the header) */
.xprf-block__fold {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center; margin-left: 4px;
  border-radius: 7px; background: transparent; border: 0; color: var(--profile-muted); cursor: pointer;
  transition: color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease);
}
.xprf-block__fold:hover { color: var(--profile-fg); background: var(--profile-surface-hover); }
.xprf-block__fold svg { width: 16px; height: 16px; transition: transform var(--profile-dur-base) var(--profile-ease); }
.xprf-block.is-folded .xprf-block__fold svg { transform: rotate(180deg); }
.xprf-block__body { max-height: 4000px; transition: max-height var(--profile-dur-base) var(--profile-ease), opacity var(--profile-dur-base) var(--profile-ease); }
.xprf-block.is-folded .xprf-block__body { max-height: 0 !important; overflow: hidden; opacity: 0; }
.xprf-block.is-folded { padding-bottom: 0; }
.xprf-block.is-folded .xprf-block__head { margin-bottom: 0; border-bottom: 0; border-radius: calc(var(--profile-block-radius) - 1px); }
/* when the whole block is folded, always hide the internal Show all/less button
   (must beat the higher-specificity .is-collapsible:not(.is-collapsed) rule) */
.xprf-block.is-folded .xprf-more { display: none !important; }
.xprf-block.is-folded.is-collapsed::after { display: none; }
/* contained frame keeps a plain header (no full-bleed bar) */
:root[data-frame="contained"] .xprf-block__head {
  margin: 0 0 var(--profile-space-3); padding: 0; background: transparent; border-bottom: 0; border-radius: 0;
}
.xprf-block__title {
  font-family: var(--profile-font-heading);
  font-size: var(--profile-fs-title);
  font-weight: var(--profile-fw-semibold);
  letter-spacing: -0.01em; line-height: var(--profile-lh-tight);
}
.xprf-block__meta {
  margin-left: auto; color: var(--profile-muted);
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold);
  font-variant-numeric: tabular-nums;
}

/* shared copy button */
.xprf-copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--profile-border); border-radius: var(--profile-radius-sm);
  background: var(--profile-surface-2); color: var(--profile-muted); flex: none;
  transition: background var(--profile-dur-fast) var(--profile-ease),
              color var(--profile-dur-fast) var(--profile-ease),
              border-color var(--profile-dur-fast) var(--profile-ease);
}
.xprf-copy-btn:hover {
  background: var(--profile-accent-tint); color: var(--profile-accent-ink);
  border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border));
}
.xprf-copy-btn svg { width: 16px; height: 16px; transition: transform var(--profile-dur-fast) var(--profile-ease); }
.xprf-copy-btn:hover svg { transform: scale(1.08); }
.xprf-copy-btn.is-copied svg { animation: xprf-check-pop 0.34s var(--profile-ease) both; }
@keyframes xprf-check-pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.xprf-copy-btn.is-copied { color: var(--profile-success); border-color: color-mix(in srgb, var(--profile-success) 45%, var(--profile-border)); }

/* ============================ balance (wallet) ========================= */
.xprf-balance { display: flex; align-items: center; gap: var(--profile-space-3); }
.xprf-balance__logo {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, color-mix(in srgb, var(--profile-accent) 32%, var(--profile-surface-2)), var(--profile-surface-2));
  color: var(--profile-accent-ink);
  font-weight: var(--profile-fw-black); font-size: var(--profile-fs-xs);
  box-shadow: inset 0 1px 0 var(--profile-hairline), 0 0 24px -6px var(--profile-accent-glow);
}
.xprf-balance__logo svg { width: 24px; height: 24px; color: var(--profile-fg); }
.xprf-balance__col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.xprf-balance__label {
  color: var(--profile-muted); font-size: var(--profile-fs-xs);
  letter-spacing: 0; font-weight: var(--profile-fw-semibold);
}
.xprf-balance__value {
  font-size: 1.4rem; font-weight: var(--profile-fw-black);
  font-variant-numeric: tabular-nums; line-height: var(--profile-lh-tight); letter-spacing: -0.02em;
}
.xprf-balance__value .xprf-balance__unit {
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold);
  color: var(--profile-muted); margin-left: 4px;
}
.xprf-balance__sub {
  color: var(--profile-muted); font-size: var(--profile-fs-sm);
  font-variant-numeric: tabular-nums; font-weight: var(--profile-fw-medium);
}
.xprf-balance__avail {
  margin-top: 2px; color: var(--profile-muted); font-size: var(--profile-fs-xs);
  font-variant-numeric: tabular-nums; font-weight: var(--profile-fw-medium); opacity: .85;
}
.xprf-balance__side {
  margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
}
/* match the SVG's drawn aspect (104x34) so the line stays crisp, not squashed */
.xprf-balance__spark { width: 104px; height: 34px; line-height: 0; }
.xprf-balance__spark svg { width: 100%; height: 100%; }
.xprf-balance__fiat {
  margin-left: auto; text-align: right; color: var(--profile-muted);
  font-size: var(--profile-fs-sm); font-variant-numeric: tabular-nums; line-height: 1.4;
}

/* skeleton shimmer — GPU-friendly translateX sweep (no per-frame repaint) */
.xprf-skel {
  position: relative; display: inline-block; border-radius: 6px; overflow: hidden;
  /* lighter than the card surface so a loading tile reads as a clear frame
     (surface-2 was almost identical to the card bg → invisible "lost frame"). */
  background: var(--profile-surface-hover);
}
.xprf-skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--profile-fg) 12%, transparent), transparent);
  animation: xprf-shimmer 1.5s var(--profile-ease) infinite; will-change: transform;
}
@keyframes xprf-shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .xprf-skel::after { animation: none; } }

/* ============================ social_row (pills) ======================= */
.xprf-social { display: flex; flex-wrap: wrap; gap: var(--profile-space-2); }
.xprf-social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--profile-border); background: var(--profile-surface-2);
  color: var(--profile-fg); box-shadow: inset 0 1px 0 var(--profile-hairline);
  transition: background var(--profile-dur-fast) var(--profile-ease),
              color var(--profile-dur-fast) var(--profile-ease),
              border-color var(--profile-dur-fast) var(--profile-ease),
              transform var(--profile-dur-fast) var(--profile-ease);
}
.xprf-social__link:hover {
  background: var(--profile-accent-tint); color: var(--profile-accent-ink);
  border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border));
  transform: translateY(-2px); text-decoration: none;
}
.xprf-social__link svg { width: 20px; height: 20px; }

/* --- Social: bare (Linktree-style, no frame, centered) --- */
.xprf-block--bare { background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px 0 !important; }
.xprf-block--bare::before, .xprf-block--bare::after { display: none !important; }   /* kill inset top-hairline + fades */
.xprf-block--bare:hover { transform: none !important; }
/* even inside the contained frame, a bare row has no card + no divider */
:root[data-frame="contained"] .xprf-blocks > .xprf-block--bare,
:root[data-frame="contained"] .xprf-blocks > .xprf-block--bare + .xprf-block { border-top: 0 !important; }
.xprf-social-wrap.xprf-bare .xprf-social { justify-content: center; }

/* --- Social: icon styles --- */
.xprf-social--circle .xprf-social__link { border-radius: 50%; }
.xprf-social--minimal .xprf-social__link {
  background: none; border-color: transparent; box-shadow: none;
  color: var(--profile-fg-muted); width: 42px; height: 42px;
}
.xprf-social--minimal .xprf-social__link:hover {
  background: none; border-color: transparent; color: var(--profile-accent); transform: translateY(-2px);
}

/* --- Addresses: compact list --- */
.xprf-addr-list.is-compact .xprf-addr { padding-top: var(--profile-space-2); padding-bottom: var(--profile-space-2); }
.xprf-addr-list.is-compact .xprf-addr__value { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-addr-list.is-compact .xprf-addr.is-tappable { cursor: pointer; }

/* --- Addresses: chips --- */
.xprf-addr-chips { display: flex; flex-wrap: wrap; gap: var(--profile-space-2); }
.xprf-addr-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  border: 1px solid var(--profile-border); background: var(--profile-surface-2);
  color: var(--profile-fg); cursor: pointer;
  transition: background var(--profile-dur-fast) var(--profile-ease),
              border-color var(--profile-dur-fast) var(--profile-ease),
              transform var(--profile-dur-fast) var(--profile-ease);
}
.xprf-addr-chip:hover { background: var(--profile-accent-tint); border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border)); transform: translateY(-1px); }
.xprf-addr-chip__sym { font-weight: 700; font-size: 13px; letter-spacing: .01em; }
.xprf-addr-chip .xprf-addr__chain { width: 24px; height: 24px; }
.xprf-addr-chip .xprf-addr__chain img { width: 24px; height: 24px; }

/* --- Addresses: grid --- */
.xprf-addr-grid { display: grid; gap: var(--profile-space-2); }
.xprf-addr-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border-radius: 16px;
  border: 1px solid var(--profile-border); background: var(--profile-surface-2);
  color: var(--profile-fg); cursor: pointer;
  transition: background var(--profile-dur-fast) var(--profile-ease),
              border-color var(--profile-dur-fast) var(--profile-ease),
              transform var(--profile-dur-fast) var(--profile-ease);
}
.xprf-addr-tile:hover { background: var(--profile-accent-tint); border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border)); transform: translateY(-2px); }
.xprf-addr-tile__sym { font-weight: 700; font-size: 13px; }
.xprf-addr-tile .xprf-addr__chain { width: 34px; height: 34px; }
.xprf-addr-tile .xprf-addr__chain img { width: 34px; height: 34px; }

/* ============================ link button (web2) ======================= */
.xprf-linkbtn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; border-radius: 16px;
  background: var(--profile-surface); border: 1px solid var(--profile-border);
  color: var(--profile-fg); text-decoration: none; box-shadow: var(--profile-shadow-card);
  transition: transform var(--profile-dur-base) var(--profile-ease),
              border-color var(--profile-dur-base) var(--profile-ease),
              box-shadow var(--profile-dur-base) var(--profile-ease);
}
.xprf-linkbtn:hover {
  transform: translateY(-2px); text-decoration: none;
  border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border));
  box-shadow: var(--profile-shadow-card-hover), 0 0 26px -12px var(--profile-accent-glow);
}
.xprf-linkbtn.is-empty { opacity: .55; cursor: default; }
/* small icon beside the text (avatar-style): the image fills the frame (cover),
   a white backing only shows through transparent areas so dark favicons stay
   visible, and a hairline ring separates it from the card. */
.xprf-linkbtn__thumb { width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: hidden; box-sizing: border-box;
  background: #fff; border: 1px solid var(--profile-hairline); }
.xprf-linkbtn__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xprf-linkbtn--thumb-sm .xprf-linkbtn__thumb { width: 32px; height: 32px; }
/* featured layout = edge-to-edge banner photo, no backing/ring */
.xprf-linkbtn--featured .xprf-linkbtn__thumb { background: var(--profile-surface-2); border: 0; }
.xprf-linkbtn--featured .xprf-linkbtn__thumb img { object-fit: cover; }
/* classic thumbnail size + shape (featured layout overrides these below) */
.xprf-linkbtn--thumbshape-square .xprf-linkbtn__thumb { border-radius: 7px; }
.xprf-linkbtn--thumbshape-circle .xprf-linkbtn__thumb { border-radius: 50%; }
.xprf-linkbtn__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; align-items: center; text-align: center; }
.xprf-linkbtn__title { font-weight: 600; font-size: 15px; line-height: 1.25; }
.xprf-linkbtn__sub { font-size: 12.5px; color: var(--profile-on-bg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.xprf-linkbtn__go { width: 17px; height: 17px; flex: none; color: var(--profile-muted); }
/* text alignment */
.xprf-linkbtn--left  .xprf-linkbtn__body { align-items: flex-start; text-align: left; }
.xprf-linkbtn--right .xprf-linkbtn__body { align-items: flex-end;   text-align: right; }
.xprf-linkbtn--center .xprf-linkbtn__body { align-items: center;    text-align: center; }
/* featured: large banner image on top, text below */
.xprf-linkbtn--featured { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.xprf-linkbtn--featured .xprf-linkbtn__thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.xprf-linkbtn--featured .xprf-linkbtn__body { padding: 14px 16px; width: 100%; }
.xprf-linkbtn--featured.is-empty { padding: 22px 16px; }

/* ============================ content / text (web2) ==================== */
.xprf-content { display: flex; flex-direction: column; gap: 6px; padding: 2px; }
.xprf-content--left { text-align: left; }
.xprf-content--center { text-align: center; }
.xprf-content--right { text-align: right; }
.xprf-content__title { font-family: var(--profile-font-heading); font-weight: 800; font-size: 17px; line-height: 1.28; letter-spacing: -.01em; }
.xprf-content__body { font-size: 14.5px; line-height: 1.62; }
.xprf-content__body p { margin: 0 0 10px; }
.xprf-content__body p:last-child { margin-bottom: 0; }
.xprf-content__body a { color: var(--profile-accent); text-decoration: underline; text-underline-offset: 2px; }
.xprf-content__body a:hover { text-decoration: none; }
.xprf-content__body strong { font-weight: 800; }
.xprf-content__body em { font-style: italic; }

/* ============================ video (web2) ============================= */
.xprf-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #000; border: 1px solid var(--profile-border); }
.xprf-video__player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.xprf-video__cap { margin: 10px 2px 0; font-size: 13px; color: var(--profile-on-bg-muted); text-align: center; line-height: 1.4; }

/* ============================ heading (web2) =========================== */
.xprf-heading { display: flex; flex-direction: column; gap: 4px; padding: 4px 2px; }
.xprf-heading--left { align-items: flex-start; text-align: left; }
.xprf-heading--center { align-items: center; text-align: center; }
.xprf-heading--right { align-items: flex-end; text-align: right; }
.xprf-heading__title { font-family: var(--profile-font-heading); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.xprf-heading--sm .xprf-heading__title { font-size: 16px; }
.xprf-heading--md .xprf-heading__title { font-size: 20px; }
.xprf-heading--lg .xprf-heading__title { font-size: 26px; }
.xprf-heading__sub { margin: 0; color: var(--profile-on-bg-muted); font-size: 13px; line-height: 1.4; }
.xprf-heading.is-empty { opacity: .5; }

/* ============================ image / media (web2) ==================== */
.xprf-media { display: flex; flex-direction: column; gap: 8px; }
.xprf-media__fig { margin: 0; border-radius: 16px; overflow: hidden; background: var(--profile-surface-2);
  border: 1px solid var(--profile-border); box-shadow: var(--profile-shadow-card); line-height: 0; }
.xprf-media__img { display: block; width: 100%; height: auto; }
.xprf-media__fig--fill { aspect-ratio: 16 / 9; }
.xprf-media__fig--fill .xprf-media__img { width: 100%; height: 100%; object-fit: cover; }
.xprf-media__link { display: block; line-height: 0; transition: opacity var(--profile-dur-base) var(--profile-ease); }
.xprf-media__link:hover { opacity: .92; }
.xprf-media__cap { text-align: center; font-size: 13px; color: var(--profile-on-bg-muted); line-height: 1.4; }
.xprf-media__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 16 / 9; border-radius: 16px; border: 1px dashed var(--profile-border);
  color: var(--profile-muted); font-size: 13px; background: var(--profile-surface-2); }
.xprf-media__ph-ic { width: 30px; height: 30px; opacity: .7; }
.xprf-media__fig.is-broken { display: none; }

/* ============================ contact (web2) ========================== */
.xprf-contact { display: flex; flex-direction: column; }
.xprf-contact__row { display: flex; align-items: center; gap: 12px; padding: 11px var(--profile-space-1);
  color: var(--profile-fg); text-decoration: none;
  transition: background var(--profile-dur-fast) var(--profile-ease); border-radius: 10px; }
.xprf-contact__row + .xprf-contact__row { border-top: 1px solid var(--profile-border); }
a.xprf-contact__row:hover { background: var(--profile-accent-tint); }
.xprf-contact__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--profile-accent-tint); color: var(--profile-accent-ink); }
.xprf-contact__ic svg { width: 18px; height: 18px; }
.xprf-contact__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.xprf-contact__lbl { font-size: 11px; color: var(--profile-muted); font-weight: var(--profile-fw-medium); }
.xprf-contact__val { font-size: 14px; font-weight: var(--profile-fw-semibold); word-break: break-word; }

/* ============================ team (web2) ============================= */
.xprf-team { display: grid; gap: 12px; }
.xprf-team--c2 { grid-template-columns: repeat(2, 1fr); }
.xprf-team--c3 { grid-template-columns: repeat(3, 1fr); }
.xprf-team__card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 14px 8px; border-radius: 14px; background: var(--profile-surface-2); border: 1px solid var(--profile-border);
  color: var(--profile-fg); text-decoration: none;
  transition: transform var(--profile-dur-base) var(--profile-ease), border-color var(--profile-dur-base) var(--profile-ease); }
a.xprf-team__card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border)); }
.xprf-team__card, .xprf-team__card:hover, .xprf-team__card:focus { text-decoration: none; }
.xprf-team__av { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center; background: var(--profile-accent-tint); color: #fff;
  font-weight: var(--profile-fw-black); font-size: 18px;
  border: 1px solid var(--profile-border); box-shadow: inset 0 1px 0 var(--profile-hairline); }
.xprf-team__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xprf-team__name { font-weight: var(--profile-fw-bold); font-size: 13.5px; line-height: 1.25; }
.xprf-team__role { font-size: 11.5px; color: var(--profile-on-bg-muted); line-height: 1.3; }
@media (max-width: 360px) { .xprf-team--c3 { grid-template-columns: repeat(2, 1fr); } }

/* ============================ event (web2) ============================ */
.xprf-event { display: flex; align-items: center; gap: 14px; padding: 4px 2px; }
.xprf-event__badge { flex: none; width: 56px; height: 60px; border-radius: 13px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px; background: var(--profile-accent-tint);
  color: var(--profile-accent-ink); box-shadow: inset 0 1px 0 var(--profile-hairline); }
.xprf-event__badge--ic svg { width: 26px; height: 26px; }
.xprf-event__mon { font-size: 11px; font-weight: var(--profile-fw-black); letter-spacing: .06em; text-transform: uppercase; }
.xprf-event__day { font-size: 24px; font-weight: var(--profile-fw-black); line-height: 1; font-variant-numeric: tabular-nums; }
.xprf-event__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.xprf-event__name { font-weight: var(--profile-fw-bold); font-size: 15.5px; line-height: 1.25; }
.xprf-event__meta { display: flex; flex-direction: column; gap: 3px; }
.xprf-event__when, .xprf-event__where { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--profile-on-bg-muted); }
.xprf-event__mi { width: 14px; height: 14px; flex: none; opacity: .8; }
.xprf-event__cta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px;
  width: 100%; height: 42px; border-radius: 12px; text-decoration: none;
  background: var(--profile-accent); color: var(--profile-accent-text); font-weight: var(--profile-fw-bold); font-size: 14px;
  transition: filter var(--profile-dur-base) var(--profile-ease); }
.xprf-event__cta:hover { filter: brightness(1.06); }
.xprf-event__cta-ic { width: 16px; height: 16px; }

/* ============================ embed (web2) ============================ */
.xprf-embed { position: relative; width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--profile-border); background: var(--profile-surface-2); box-shadow: var(--profile-shadow-card); }
.xprf-embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ============================ token spotlight (web3) ================== */
.xprf-tspot { display: flex; flex-direction: column; gap: 12px; padding: 2px; }
.xprf-tspot__head { display: flex; align-items: center; gap: 11px; }
.xprf-tspot__logo { width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: var(--profile-accent-tint); font-size: 12px; font-weight: var(--profile-fw-black); box-shadow: inset 0 1px 0 var(--profile-hairline); }
.xprf-tspot__logo img { width: 100%; height: 100%; object-fit: cover; }
.xprf-tspot__id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.xprf-tspot__name { font-weight: var(--profile-fw-bold); font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-tspot__sym { font-size: 11.5px; color: var(--profile-muted); font-weight: var(--profile-fw-semibold); letter-spacing: .03em; }
.xprf-tspot__pricerow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.xprf-tspot__price { font-size: 26px; font-weight: var(--profile-fw-black); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.xprf-tspot__chg { font-size: 12.5px; font-weight: var(--profile-fw-bold); }
.xprf-tspot__chg.is-up { color: var(--profile-success); }
.xprf-tspot__chg.is-down { color: var(--profile-danger); }
.xprf-tspot__chart { width: 100%; }
.xprf-tspot__spark { width: 100%; height: 80px; display: block; }
.xprf-tspot__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.xprf-tspot__stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px;
  background: var(--profile-surface-2); border: 1px solid var(--profile-border); }
.xprf-tspot__stat-lbl { font-size: 11px; letter-spacing: 0; color: var(--profile-muted); font-weight: var(--profile-fw-semibold); }
.xprf-tspot__stat-val { font-size: 14px; font-weight: var(--profile-fw-bold); font-variant-numeric: tabular-nums; }

/* ============================ official links (web3 trust) ============= */
.xprf-official__tag { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: 8px; margin-right: auto; padding: 3px 9px; border-radius: var(--profile-radius-pill);
  background: var(--profile-accent-tint); color: var(--profile-accent-ink); font-size: 11px; font-weight: var(--profile-fw-bold); }
.xprf-official__tag svg { width: 13px; height: 13px; flex: none; color: var(--profile-accent); }
.xprf-official { display: flex; flex-direction: column; }
.xprf-official__row { display: flex; align-items: center; gap: 12px; padding: 11px var(--profile-space-1); color: var(--profile-fg); text-decoration: none;
  border-radius: 10px; transition: background var(--profile-dur-fast) var(--profile-ease); }
.xprf-official__row + .xprf-official__row { border-top: 1px solid var(--profile-border); }
.xprf-official__row:hover { background: var(--profile-accent-tint); }
.xprf-official__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--profile-accent-tint); color: var(--profile-accent-ink); }
.xprf-official__ic svg { width: 18px; height: 18px; flex: none; }
.xprf-official__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.xprf-official__label { font-size: 14px; font-weight: var(--profile-fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-official__host { font-size: 11.5px; color: var(--profile-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-official__check { width: 17px; height: 17px; flex: none; color: var(--profile-accent); }
/* gold 'Official' tier — shown when the account is a verified organization.
   (blue/'Verified' owner tier keeps the accent defaults above.) */
.xprf-official__tag.is-org { background: color-mix(in srgb, #f4b731 14%, var(--profile-surface)); color: #ffd36b; }
.xprf-official__tag.is-org svg { color: #f4b731; }
:root[data-theme="light"] .xprf-official__tag.is-org { color: #8a5e05; background: color-mix(in srgb, #f4b731 22%, var(--profile-surface)); }
.xprf-official-wrap.is-org .xprf-official__ic { background: color-mix(in srgb, #f4b731 15%, transparent); color: #f4b731; }
.xprf-official-wrap.is-org .xprf-official__check { color: #f4b731; }
.xprf-official-wrap.is-org .xprf-official__row:hover { background: color-mix(in srgb, #f4b731 12%, transparent); }

/* Team → Partners / Backers variant (logo tiles, contain-fit, no circle) */
.xprf-team--partners .xprf-team__av { width: 62px; height: 62px; border-radius: 14px; background: var(--profile-surface); border: 1px solid var(--profile-border); }
.xprf-team--partners .xprf-team__img { object-fit: contain; padding: 8px; }
.xprf-team--partners .xprf-team__role { color: var(--profile-muted); }

/* ============================ wallets (holdings) ======================= */
.xprf-portfolio-hero {
  padding: 14px var(--profile-space-1);
  border-bottom: 1px solid var(--profile-hairline);
  margin-bottom: var(--profile-space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.xprf-portfolio-hero__lbl {
  font-size: 11px;
  font-weight: var(--profile-fw-semibold);
  letter-spacing: 0;
  color: var(--profile-muted);
}
.xprf-portfolio-hero__val {
  font-size: 32px;
  font-weight: var(--profile-fw-black);
  line-height: 1.1;
  color: var(--profile-fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.xprf-assets { display: flex; flex-direction: column; }
.xprf-asset { display: flex; align-items: center; gap: var(--profile-space-3); padding: var(--profile-space-2) var(--profile-space-1); }
.xprf-asset + .xprf-asset { border-top: 1px solid var(--profile-border); }
.xprf-asset__logo {
  width: 30px; height: 30px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center;
  background: var(--profile-accent-tint); color: var(--profile-accent-ink);
  font-size: 10px; font-weight: var(--profile-fw-black);
  box-shadow: inset 0 1px 0 var(--profile-hairline);
}
.xprf-asset__logo img { width: 100%; height: 100%; object-fit: cover; }
.xprf-asset__id { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
/* line 1: symbol (truncates) + allocation % (kept) */
.xprf-asset__symline { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.xprf-asset__sym { flex: 0 1 auto; min-width: 0; font-weight: var(--profile-fw-semibold); font-size: var(--profile-fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-asset__alloc { flex: none; color: var(--profile-muted); font-size: 11px; font-weight: var(--profile-fw-medium); font-variant-numeric: tabular-nums; }
/* line 2: unit price + 24h change */
.xprf-asset__sub { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--profile-muted); white-space: nowrap; }
.xprf-asset__price { font-variant-numeric: tabular-nums; }
.xprf-asset__amt { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-variant-numeric: tabular-nums; }
.xprf-asset__usd { font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-sm); }
.xprf-asset__chg { font-size: 11px; font-weight: var(--profile-fw-semibold); }
.xprf-asset__chg.is-up { color: var(--profile-success); }
.xprf-asset__chg.is-down { color: var(--profile-danger); }
.xprf-asset__bal { color: var(--profile-muted); font-size: 12px; }

@media (max-width: 360px) {
  .xprf-asset { gap: 8px; }
  .xprf-asset__sym, .xprf-asset__usd { font-size: 13px; }
  .xprf-asset__alloc, .xprf-asset__price, .xprf-asset__chg, .xprf-asset__bal { font-size: 10px; }
  .xprf-portfolio-hero__val { font-size: 28px; }
}

/* ============================ addresses ================================= */
/* light list like Wallets — plain rows split by a hairline, no per-row box */
.xprf-addr-list { display: flex; flex-direction: column; }
.xprf-addr {
  display: flex; align-items: center; gap: var(--profile-space-3);
  padding: var(--profile-space-2) var(--profile-space-1);
  background: transparent; border: 0; border-radius: 0;
}
.xprf-addr + .xprf-addr { border-top: 1px solid var(--profile-border); }
.xprf-addr__chain {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
  font-size: 10px; font-weight: var(--profile-fw-black);
}
.xprf-addr__chain.is-fallback {
  background: var(--profile-accent-tint); color: var(--profile-accent-ink);
  box-shadow: inset 0 1px 0 var(--profile-hairline);
}
.xprf-addr__chain img { width: 100%; height: 100%; object-fit: contain; }
.xprf-addr__body { min-width: 0; display: flex; flex-direction: column; }
.xprf-addr__name { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold); }
.xprf-addr__value {
  color: var(--profile-muted); font-size: var(--profile-fs-xs);
  font-family: var(--profile-font-mono); letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xprf-addr__actions { margin-left: auto; display: flex; gap: 5px; flex: none; }

/* ============================ nft_showcase ============================== */
.xprf-nft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--profile-space-2); }
@media (max-width: 380px) { .xprf-nft-grid { grid-template-columns: repeat(2, 1fr); } }
.xprf-nft {
  display: block; position: relative;
  border-radius: var(--profile-radius-sm); overflow: hidden;
  background: var(--profile-surface-2); border: 1px solid var(--profile-border);
  aspect-ratio: 1 / 1;
  transition: transform var(--profile-dur-base) var(--profile-ease),
              border-color var(--profile-dur-base) var(--profile-ease),
              box-shadow var(--profile-dur-base) var(--profile-ease);
}
.xprf-nft:hover {
  border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border));
}
.xprf-nft__media { position: absolute; inset: 0; }
.xprf-nft__media img, .xprf-nft__media svg { width: 100%; height: 100%; object-fit: cover; }
.xprf-nft__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 1px;
  padding: 16px 8px 7px;
  background: linear-gradient(to top, rgba(0,0,0,0.88), transparent);
}
.xprf-nft__name {
  font-size: var(--profile-fs-xs); font-weight: var(--profile-fw-bold);
  color: var(--profile-on-cover);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xprf-nft__coll {
  font-size: 10px; color: rgba(255,255,255,0.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xprf-nft__coll:empty { display: none; }
.xprf-nft__view {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold);
  color: var(--profile-accent-text);
  background: color-mix(in srgb, var(--profile-accent) 76%, transparent);
  opacity: 0; transition: opacity var(--profile-dur-base) var(--profile-ease);
}
.xprf-nft:hover .xprf-nft__view, .xprf-nft:focus-visible .xprf-nft__view { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .xprf-nft__view { transition: none; } }

/* ---- NFT collection cards (uniform frames) ---- */
.xprf-coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--profile-space-3); }
@media (max-width: 400px) { .xprf-coll-grid { grid-template-columns: repeat(2, 1fr); } }
.xprf-coll { display: flex; flex-direction: column; gap: 9px; padding: 0; text-align: left; background: transparent; border: 0; cursor: pointer; font: inherit; color: inherit; }
/* stacked-card effect: two tiers peek above the avatar to signal "a collection" */
.xprf-coll__frame { position: relative; margin-top: 12px; isolation: isolate; }
.xprf-coll__frame::before, .xprf-coll__frame::after {
  content: ""; position: absolute; border-radius: 12px 12px 0 0; z-index: 0;
  background: var(--profile-surface-hover); border: 1px solid color-mix(in srgb, var(--profile-fg) 12%, var(--profile-border)); border-bottom: 0;
  transition: border-color var(--profile-dur-base) var(--profile-ease), transform var(--profile-dur-base) var(--profile-ease);
}
.xprf-coll__frame::before { left: 9%; right: 9%; top: -6px; height: 16px; }
.xprf-coll__frame::after { left: 16%; right: 16%; top: -12px; height: 14px; opacity: 0.6; }
.xprf-coll__av { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--profile-surface-hover); border: 1px solid color-mix(in srgb, var(--profile-fg) 12%, var(--profile-border)); transition: border-color var(--profile-dur-base) var(--profile-ease), box-shadow var(--profile-dur-base) var(--profile-ease); }
.xprf-coll__av img, .xprf-coll__av svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--profile-dur-base) var(--profile-ease); }
.xprf-coll:hover .xprf-coll__av { border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--profile-accent) 30%, transparent); }
.xprf-coll:hover .xprf-coll__av img { transform: scale(1.05); }
/* the two backing tiers lift + fan out on hover for a mechanical 3D-stack feel */
.xprf-coll:hover .xprf-coll__frame::before { border-color: color-mix(in srgb, var(--profile-accent) 40%, var(--profile-border)); transform: translateY(-3px) scaleX(1.03); }
.xprf-coll:hover .xprf-coll__frame::after { border-color: color-mix(in srgb, var(--profile-accent) 40%, var(--profile-border)); transform: translateY(-5px) scaleX(1.06); }
@media (prefers-reduced-motion: reduce) { .xprf-coll:hover .xprf-coll__av img, .xprf-coll:hover .xprf-coll__frame::before, .xprf-coll:hover .xprf-coll__frame::after { transform: none; } }
.xprf-coll__badge { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 2px 8px; border-radius: 6px; background: rgba(8, 9, 16, 0.62); color: #fff; font-size: 11px; font-weight: var(--profile-fw-semibold); font-variant-numeric: tabular-nums; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.xprf-coll__name { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }

/* ---- NFT collections: LIST layout (compact rows) ---- */
.xprf-coll-list { display: flex; flex-direction: column; gap: 8px; margin-top: var(--profile-space-2); }
.xprf-coll-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px;
  border-radius: 14px; background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: inherit; cursor: pointer;
  transition: border-color var(--profile-dur-base) var(--profile-ease), transform var(--profile-dur-base) var(--profile-ease); }
.xprf-coll-row:hover { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); transform: translateY(-1px); }
.xprf-coll-row.is-skel { pointer-events: none; }
.xprf-coll-row__av { position: relative; width: 52px; height: 52px; flex: none; border-radius: 12px; overflow: hidden; background: var(--profile-surface-hover); }
.xprf-coll-row__av .xprf-coll__av { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 12px; margin: 0; }
.xprf-coll-row__av .xprf-coll__badge { top: 3px; right: 3px; padding: 1px 6px; font-size: 10px; }
.xprf-coll-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.xprf-coll-row__body .xprf-coll__name { text-align: left; padding: 0; }
.xprf-coll-row__count { font-size: 12px; color: var(--profile-on-bg-muted); }
.xprf-coll-row__chev { flex: none; color: var(--profile-muted); display: grid; place-items: center; }
.xprf-coll-row__chev svg { width: 18px; height: 18px; }

/* ---- NFT collection popup (marketplace) ---- */
.xprf-nft-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: var(--profile-space-4); background: rgba(5,6,12,.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: xprf-overlay-in var(--profile-dur-base) var(--profile-ease) both; }
/* radial ambient accent glow behind the panel for depth */
.xprf-nft-modal::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--profile-accent) 16%, transparent) 0%, transparent 60%);
}
.xprf-nft-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 820px; max-height: 88vh; display: flex; flex-direction: column;
  /* frosted glass that lets the blurred page + glow bleed through subtly */
  background: color-mix(in srgb, var(--profile-surface) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--profile-fg) 8%, var(--profile-border));
  border-radius: var(--profile-block-radius); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  padding: var(--profile-space-4); overflow: hidden;
  animation: xprf-panel-spring 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* faint grain over the panel to break up the flat digital fill */
.xprf-nft-modal__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.xprf-nft-modal__panel > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .xprf-nft-modal__panel { animation: none; } }
@media (max-width: 360px) { .xprf-nft-modal { padding: var(--profile-space-2); } .xprf-nft-modal__panel { padding: 14px; } .xprf-nft-modal__body { margin: 0 -14px 0; padding: 0 14px 12px; } .xprf-nft-foot { margin: 0 -14px 0; padding: 12px 14px 4px; } }
@media (prefers-reduced-motion: reduce) { .xprf-nft-modal, .xprf-nft-modal__panel { animation: none; } }
.xprf-nft-modal__head { display: flex; align-items: center; gap: var(--profile-space-2); margin-bottom: var(--profile-space-3); }
.xprf-nft-modal__title { min-width: 0; flex: 0 1 auto; font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-nft-modal__count { flex: none; white-space: nowrap; color: var(--profile-muted); font-size: var(--profile-fs-xs); font-weight: var(--profile-fw-semibold); }
.xprf-nft-modal__x { margin-left: auto; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-muted); }
.xprf-nft-modal__x svg { width: 16px; height: 16px; }
/* header Back button (detail view) — same circular style as Close, before title */
.xprf-nft-modal__back { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-fg); margin-right: var(--profile-space-2); transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-nft-modal__back:hover { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); background: var(--profile-surface-hover); }
.xprf-nft-modal__back svg { width: 16px; height: 16px; }
.xprf-nft-modal__body { overflow-y: auto; overflow-x: hidden; flex: 1; min-height: 0; margin: 0 calc(var(--profile-space-4) * -1) 0; padding: 0 var(--profile-space-4) var(--profile-space-3); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--profile-fg) 24%, transparent) transparent; }
.xprf-nft-modal__body::-webkit-scrollbar { width: 8px; }
.xprf-nft-modal__body::-webkit-scrollbar-track { background: transparent; }
.xprf-nft-modal__body::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--profile-fg) 22%, transparent); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.xprf-nft-modal__body::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--profile-fg) 36%, transparent); background-clip: padding-box; }
/* footer holding the pager — always visible below the scroll area */
.xprf-nft-foot {
  flex: none; display: flex; align-items: center; justify-content: center;
  margin: 0 calc(var(--profile-space-4) * -1) 0;   /* bleed sides only — keep the panel's bottom padding as breathing room */
  padding: var(--profile-space-3) var(--profile-space-4) var(--profile-space-1);
  border-top: 1px solid var(--profile-border);
}
.xprf-nft-foot .xprf-nft-pager { margin-top: 0; }
.xprf-nftc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
@media (max-width: 460px) { .xprf-nftc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
/* grid/list view toggle in the modal header (segmented pill) */
.xprf-nft-view { flex: none; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--profile-surface-2); border: 1px solid var(--profile-border); }
.xprf-nft-vbtn { width: 28px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--profile-muted); cursor: pointer; transition: background var(--profile-dur-fast) var(--profile-ease), color var(--profile-dur-fast) var(--profile-ease); }
.xprf-nft-vbtn svg { width: 15px; height: 15px; }
.xprf-nft-vbtn:hover:not(.is-on) { color: var(--profile-fg); }
.xprf-nft-vbtn.is-on { background: var(--profile-surface); color: var(--profile-accent-ink); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
/* list view: one row per NFT (thumbnail + name + chevron) */
.xprf-nftc-list { display: flex; flex-direction: column; gap: 8px; }
.xprf-nftc-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; text-align: left; background: var(--profile-surface-2); border: 1px solid var(--profile-border); border-radius: 12px; cursor: pointer; transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-nftc-row:hover { border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border)); background: var(--profile-surface-hover); }
.xprf-nftc-row .xprf-nftc__media { width: 46px; height: 46px; flex: none; border-radius: 9px; overflow: hidden; background: var(--profile-surface); aspect-ratio: auto; }
.xprf-nftc-row .xprf-nftc__name { flex: 1 1 auto; min-width: 0; padding: 0; background: transparent; border-top: 0; font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--profile-fg); }
.xprf-nftc-row__chev { flex: none; color: var(--profile-muted); display: grid; place-items: center; }
.xprf-nftc-row__chev svg { width: 16px; height: 16px; }
/* framed artwork card: image on top, name in a surface-2 footer */
.xprf-nftc {
  position: relative; display: flex; flex-direction: column; padding: 0; text-align: left;
  background: var(--profile-surface); border: 1px solid color-mix(in srgb, var(--profile-fg) 12%, var(--profile-border)); border-radius: 16px;
  overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.5);
  transition: border-color var(--profile-dur-base) var(--profile-ease),
              box-shadow var(--profile-dur-base) var(--profile-ease);
}
/* stable hover — no size/position change (so it never tucks under the sticky
   filter bar or loses its rounded top); just a soft accent ring + border. */
.xprf-nftc:hover {
  border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border));
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--profile-accent) 28%, transparent);
}
.xprf-nft-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--profile-muted); background: var(--profile-surface-hover); }
.xprf-nft-noimg svg { width: 34%; height: 34%; opacity: 0.5; }
.xprf-nftc__media { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--profile-surface-hover); }
.xprf-nftc__media img, .xprf-nftc__media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--profile-dur-base) var(--profile-ease); }
.xprf-nftc:hover .xprf-nftc__media img { transform: scale(1.04); }
.xprf-nftc__name { padding: 8px 11px; background: var(--profile-surface-2); border-top: 1px solid var(--profile-border); font-size: 12px; font-weight: var(--profile-fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--profile-fg); }
/* pagination */
.xprf-nft-pager { display: flex; align-items: center; justify-content: center; gap: var(--profile-space-3); margin-top: var(--profile-space-4); }
.xprf-nft-pager button { height: 34px; min-width: 34px; padding: 0 14px; border-radius: var(--profile-radius-pill); background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-fg); font-weight: var(--profile-fw-semibold); font-size: var(--profile-fs-sm); display: inline-flex; align-items: center; gap: 5px; transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-nft-pager button:hover:not(:disabled) { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); background: var(--profile-surface-hover); }
.xprf-nft-pager button:disabled { opacity: 0.4; cursor: default; }
.xprf-nft-pager__info { font-size: var(--profile-fs-sm); color: var(--profile-muted); font-weight: var(--profile-fw-semibold); font-variant-numeric: tabular-nums; }
/* in-collection quick filter */
.xprf-nft-search { margin-bottom: var(--profile-space-3); }
.xprf-nft-search__input {
  width: 100%; height: 38px; padding: 0 14px; border-radius: var(--profile-radius-pill);
  background: var(--profile-surface-2); border: 1px solid var(--profile-border);
  color: var(--profile-fg); font: inherit; font-size: var(--profile-fs-sm); outline: none;
  transition: border-color var(--profile-dur-fast) var(--profile-ease);
}
.xprf-nft-search__input::placeholder { color: var(--profile-muted); }
.xprf-nft-search__input:focus { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); }
.xprf-nftc__info { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(8,9,16,.62); color: #fff; opacity: 0; transition: opacity var(--profile-dur-fast) var(--profile-ease); }
.xprf-nftc:hover .xprf-nftc__info, .xprf-nftc:focus-within .xprf-nftc__info { opacity: 1; }
.xprf-nftc__info svg { width: 15px; height: 15px; }

/* ---- NFT detail (Info) ---- */
@keyframes xprf-slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.xprf-nft-detail { display: flex; flex-direction: column; gap: var(--profile-space-3); animation: xprf-slide-in var(--profile-dur-base) var(--profile-ease) both; }
@media (prefers-reduced-motion: reduce) { .xprf-nft-detail { animation: none; } }
.xprf-nftd__media { box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.6); }
.xprf-nftd__split { display: grid; grid-template-columns: 1fr; gap: var(--profile-space-4); }
.xprf-nftd__info { display: flex; flex-direction: column; gap: var(--profile-space-3); min-width: 0; }
.xprf-nftd__left { display: flex; flex-direction: column; gap: var(--profile-space-3); }
/* explorer link as a balanced full-width button under the image */
.xprf-nftd__left .xprf-nftd__link {
  align-self: stretch; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  max-width: 380px; margin: 0 auto; width: 100%;
  border: 1px solid var(--profile-border); border-radius: var(--profile-radius-sm);
  background: var(--profile-surface-2); color: var(--profile-accent-ink); font-weight: var(--profile-fw-semibold);
  transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease);
}
.xprf-nftd__left .xprf-nftd__link:hover { border-color: color-mix(in srgb, var(--profile-accent) 50%, var(--profile-border)); background: var(--profile-surface-hover); text-decoration: none; }
@media (min-width: 620px) {
  /* desktop: image left, info right (audit 1.3 split view) */
  .xprf-nftd__split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .xprf-nftd__split .xprf-nftd__media { max-width: none; margin: 0; }
  .xprf-nftd__left .xprf-nftd__link { max-width: none; }
}
.xprf-nftd__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 8px; border-radius: var(--profile-radius-pill); background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-fg); font-weight: var(--profile-fw-semibold); font-size: var(--profile-fs-sm); }
.xprf-nftd__back svg { width: 16px; height: 16px; }
.xprf-nftd__media { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 1; border-radius: var(--profile-radius-sm); overflow: hidden; background: var(--profile-surface-2); border: 1px solid var(--profile-border); }
.xprf-nftd__media img, .xprf-nftd__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* mobile (single-column detail): let the artwork bleed edge-to-edge for a
   fuller, more premium hero — no side gutters, no side border */
@media (max-width: 639px) {
  .xprf-nftd__media {
    max-width: none; width: auto;
    margin: 0 calc(var(--profile-space-4) * -1);
    border-radius: 0; border-left: 0; border-right: 0;
  }
}
@media (max-width: 360px) { .xprf-nftd__media { margin: 0 -14px; } }
.xprf-nftd__name { font-size: 1.1rem; font-weight: var(--profile-fw-black); letter-spacing: -.01em; }
.xprf-nftd__coll { color: var(--profile-accent-ink); font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold); }
.xprf-nftd__coll:empty { display: none; }
.xprf-nftd__desc { color: var(--profile-muted); font-size: var(--profile-fs-sm); max-height: 120px; overflow-y: auto; }
.xprf-nftd__desc:empty { display: none; }
.xprf-nftd__attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.xprf-nftd__chip { display: flex; flex-direction: column; gap: 2px; padding: 7px 11px; border-radius: 10px; background: var(--profile-surface-2); border: 1px solid var(--profile-border); }
.xprf-nftd__chip-k { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--profile-accent-ink); font-weight: var(--profile-fw-bold); }
.xprf-nftd__chip-v { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); }
.xprf-nftd__chip--default { border-style: dashed; }
.xprf-nftd__chip--default .xprf-nftd__chip-v { color: var(--profile-muted); font-weight: var(--profile-fw-semibold); }
/* NFT ID + copy as one integrated code-chip capsule */
.xprf-nftd__row { display: flex; align-items: center; gap: 8px; background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); border-radius: 10px; padding: 4px 4px 4px 12px; }
.xprf-nftd__row .xprf-copy-btn { width: 30px; height: 30px; flex: none; }
.xprf-nftd__id { flex: 1; min-width: 0; font-family: var(--profile-font-mono); font-size: var(--profile-fs-xs); color: var(--profile-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xprf-nftd__link { align-self: flex-start; color: var(--profile-accent-ink); font-weight: var(--profile-fw-semibold); font-size: var(--profile-fs-sm); }

/* ============================ domains (My Domains · stats) ============= */
.xprf-dom { display: block; }

/* primary hero */
.xprf-dom-primary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: inherit; padding: 12px 14px; margin-bottom: 14px;
  border-radius: 12px; background: var(--profile-accent-tint);
  border: 1px solid color-mix(in srgb, var(--profile-accent) 22%, transparent);
  transition: border-color var(--profile-dur-base) var(--profile-ease), transform var(--profile-dur-base) var(--profile-ease);
}
.xprf-dom-primary:hover { border-color: color-mix(in srgb, var(--profile-accent) 50%, transparent); transform: translateY(-1px); text-decoration: none; }
.xprf-dom-primary:hover .xprf-dom-primary__label,
.xprf-dom-primary:hover .xprf-dom-primary__name { text-decoration: none; }
.xprf-dom-primary__label { font-size: 11px; letter-spacing: 0; color: var(--profile-accent-ink); opacity: .85; margin-bottom: 2px; }
.xprf-dom-primary__name { font-family: var(--profile-font-mono); font-size: 16px; font-weight: var(--profile-fw-bold); color: var(--profile-accent-ink); word-break: break-all; }
.xprf-dom-primary__check { width: 24px; height: 24px; color: var(--profile-accent); flex: none; }

/* stat tiles */
.xprf-dom-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.xprf-dstat { background: var(--profile-surface-2); border-radius: 10px; padding: 20px 16px; min-height: 76px; display: flex; flex-direction: column; justify-content: center; }
.xprf-dstat__num { font-size: 22px; font-weight: var(--profile-fw-bold); line-height: 1.1; }
.xprf-dstat__lbl { font-size: var(--profile-fs-xs); color: var(--profile-muted); margin-top: 2px; white-space: nowrap; }
/* tighten horizontal padding on narrow phones so "Premium ≤4" stays on one line */
@media (max-width: 360px) { .xprf-dstat { padding: 16px 10px; } }

/* breakdown sections */
.xprf-dom-sec { margin-bottom: 14px; }
.xprf-dom-sec__lbl { font-size: var(--profile-fs-xs); color: var(--profile-muted); margin-bottom: 8px; }
.xprf-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.xprf-bar-row:last-child { margin-bottom: 0; }
.xprf-bar-row__lbl { font-family: var(--profile-font-mono); font-size: var(--profile-fs-sm); width: 52px; flex: none; color: var(--profile-fg); }
.xprf-bar { flex: 1; height: 8px; border-radius: 6px; background: var(--profile-surface-2); overflow: hidden; }
/* softened fill — fades toward the right so the bar reads quiet, not laser-bright */
.xprf-bar__fill { height: 100%; border-radius: 6px; background: linear-gradient(to right, var(--profile-accent) 0%, color-mix(in srgb, var(--profile-accent) 30%, transparent) 100%); }
.xprf-bar-row__n { font-size: var(--profile-fs-sm); width: 22px; text-align: right; flex: none; color: var(--profile-muted); }

.xprf-len-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xprf-len-chip { font-size: 12px; padding: 4px 10px; border-radius: 8px; background: var(--profile-surface-2); color: var(--profile-muted); white-space: nowrap; }
.xprf-len-chip.is-premium { background: var(--profile-accent-tint); color: var(--profile-accent-ink); font-weight: var(--profile-fw-medium); }

/* footer */
.xprf-dom-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--profile-hairline); padding-top: 12px; }
.xprf-dom-since { font-size: var(--profile-fs-xs); color: var(--profile-muted); display: inline-flex; align-items: center; gap: 4px; }
.xprf-dom-since__i { width: 14px; height: 14px; }
.xprf-dom-cta { font-size: var(--profile-fs-sm); color: var(--profile-accent); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.xprf-dom-cta:hover { text-decoration: underline; }
.xprf-dom-cta__i { width: 14px; height: 14px; transition: transform var(--profile-dur-fast) var(--profile-ease); }
.xprf-dom-cta:hover .xprf-dom-cta__i { transform: translate(1.5px, -1.5px); }

/* ============================ donate (Support / Tip) ================== */
.xprf-donate { display: flex; flex-direction: column; gap: 12px; }
.xprf-donate__lead { font-size: var(--profile-fs-sm); color: var(--profile-muted); }
.xprf-donate__lead b { color: var(--profile-fg); }
.xprf-amts { display: flex; flex-wrap: wrap; gap: 7px; }
.xprf-amt { padding: 7px 13px; border-radius: 10px; background: var(--profile-surface-2); border: 1px solid var(--profile-border); font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); cursor: pointer; font-variant-numeric: tabular-nums; user-select: none; transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-amt:hover { border-color: color-mix(in srgb, var(--profile-accent) 40%, var(--profile-border)); }
.xprf-amt.is-on { background: var(--profile-accent-tint); border-color: color-mix(in srgb, var(--profile-accent) 50%, transparent); color: var(--profile-accent-ink); }
.xprf-amt--custom { color: var(--profile-muted); font-weight: var(--profile-fw-semibold); }
.xprf-amt-input { width: 100%; height: 40px; border-radius: 10px; background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-fg); padding: 0 12px; font: inherit; font-variant-numeric: tabular-nums; }
.xprf-amt-input:focus { outline: none; border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--profile-border)); }
.xprf-donate__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 13px; background: var(--profile-accent); color: var(--profile-accent-text); font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-base); text-decoration: none; transition: filter var(--profile-dur-fast) var(--profile-ease), transform var(--profile-dur-fast) var(--profile-ease); }
.xprf-donate__btn:hover { filter: brightness(1.06); transform: translateY(-1px); text-decoration: none; }
.xprf-donate__btn.is-disabled { opacity: 0.5; pointer-events: none; }
.xprf-donate__btn-i { width: 17px; height: 17px; }
.xprf-donate__to { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 10px; background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); }
.xprf-donate__addr { font-family: var(--profile-font-mono); font-size: var(--profile-fs-xs); color: var(--profile-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xprf-donate__to .xprf-copy-btn { width: 30px; height: 30px; flex: none; }
.xprf-donate__hint { font-size: var(--profile-fs-xs); color: var(--profile-muted); line-height: 1.5; }

/* ============================ pool (Liquidity / AMM) =================== */
.xprf-pool { display: flex; flex-direction: column; }
.xprf-pool__row { display: flex; align-items: center; gap: 14px; padding: 10px 2px; }
.xprf-pool__row + .xprf-pool__row { border-top: 1px solid var(--profile-hairline); }
/* isolate so the coins' internal z-index (a:1, b:2) stay LOCAL and don't escape
   above the collapse fade / Show all layer of the block */
.xprf-duo { position: relative; width: 50px; height: 32px; flex: none; isolation: isolate; }
.xprf-duo__c { position: absolute; top: 0; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font: var(--profile-fw-bold) 9px/1 var(--profile-font); color: #fff; border: 2px solid var(--profile-surface); background: var(--profile-surface-hover); }
.xprf-duo__c img { width: 100%; height: 100%; object-fit: cover; }
.xprf-duo__a { left: 0; z-index: 1; }
.xprf-duo__b { right: 0; z-index: 2; }
.xprf-pool__id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.xprf-pool__sym { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-pool__sub { font-size: var(--profile-fs-xs); color: var(--profile-muted); }
.xprf-pool__val { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.xprf-pool__usd { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); font-variant-numeric: tabular-nums; }
.xprf-pool__fee { font-size: 10px; font-weight: var(--profile-fw-semibold); color: var(--profile-muted); background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); padding: 2px 7px; border-radius: 7px; letter-spacing: .01em; }

/* ============================ favorite_coins =========================== */
.xprf-coins { display: flex; flex-direction: column; }
.xprf-coin { display: flex; align-items: center; gap: var(--profile-space-3); padding: var(--profile-space-2) var(--profile-space-1); }
.xprf-coin + .xprf-coin { border-top: 1px solid var(--profile-border); }
.xprf-coin__logo {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--profile-accent-tint); color: var(--profile-accent-ink);
  font-size: 10px; font-weight: var(--profile-fw-black);
  box-shadow: inset 0 1px 0 var(--profile-hairline); overflow: hidden;
}
.xprf-coin__logo img { width: 100%; height: 100%; object-fit: cover; }
.xprf-coin__id { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.xprf-coin__name { font-weight: var(--profile-fw-semibold); font-size: var(--profile-fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-coin__sym { color: var(--profile-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.xprf-coin__spark { width: 64px; height: 26px; line-height: 0; flex: none; }
.xprf-coin__spark svg { width: 100%; height: 100%; }
.xprf-coin__spark:empty { display: none; }
.xprf-coin__price {
  text-align: right; flex: none; margin-left: var(--profile-space-3);
  font-variant-numeric: tabular-nums; font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-sm);
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
}
.xprf-coin__chg { font-size: var(--profile-fs-xs); font-weight: var(--profile-fw-semibold); font-variant-numeric: tabular-nums; }
.xprf-coin__chg.is-up   { color: var(--profile-success); }
.xprf-coin__chg.is-down { color: var(--profile-danger); }

/* ============================ featured_tweet =========================== */
.xprf-tweet {
  border: 1px solid var(--profile-border); border-radius: var(--profile-radius-sm);
  padding: var(--profile-space-3); background: var(--profile-surface-2);
}
.xprf-tweet__head { display: flex; align-items: center; gap: var(--profile-space-3); }
.xprf-tweet__avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--profile-accent-tint); box-shadow: inset 0 1px 0 var(--profile-hairline); }
.xprf-tweet__handle { color: var(--profile-muted); font-size: var(--profile-fs-xs); }
.xprf-tweet__name { font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-sm); }
.xprf-tweet__body { margin-top: var(--profile-space-2); font-size: var(--profile-fs-sm); color: var(--profile-fg); }
.xprf-tweet__foot { margin-top: var(--profile-space-2); color: var(--profile-muted); font-size: var(--profile-fs-xs); font-family: var(--profile-font-mono); letter-spacing: -0.02em; }

/* --- history / activity block ------------------------------------------- */
.xprf-txstats { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--profile-space-3); }
.xprf-txstats__bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--profile-surface-2); }
.xprf-txstats__seg { height: 100%; min-width: 3px; }
.xprf-txstats__seg + .xprf-txstats__seg { box-shadow: -1.5px 0 0 var(--profile-surface); }
.xprf-txstats__legend { display: flex; align-items: center; gap: 6px; font-size: var(--profile-fs-xs); }
.xprf-txstats__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.xprf-txstats__top { color: var(--profile-fg); font-weight: var(--profile-fw-semibold); }
.xprf-txstats__pct { color: var(--profile-muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.xprf-txlist { display: flex; flex-direction: column; }
.xprf-tx { display: flex; align-items: center; gap: 12px; padding: 10px var(--profile-space-1); color: var(--profile-fg); text-decoration: none; border-radius: 10px; transition: background var(--profile-dur-fast) var(--profile-ease); }
.xprf-tx + .xprf-tx { border-top: 1px solid var(--profile-border); }
.xprf-tx:hover { background: var(--profile-accent-tint); text-decoration: none; }
.xprf-tx__ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; overflow: hidden; }
.xprf-tx__ic svg { width: 18px; height: 18px; }
.xprf-tx__thumb img, .xprf-tx__ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xprf-tx__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.xprf-tx__label { font-size: 14px; font-weight: var(--profile-fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-tx__cp { color: var(--profile-muted); font-weight: var(--profile-fw-medium); font-family: var(--profile-font-mono); font-size: var(--profile-fs-xs); }
.xprf-tx__sub { color: var(--profile-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-tx__amt { flex: none; text-align: right; font-size: 13px; font-weight: var(--profile-fw-bold); font-variant-numeric: tabular-nums; color: var(--profile-fg); white-space: nowrap; }
.xprf-tx__amt.is-in { color: #22c55e; }
.xprf-tx.is-skel { pointer-events: none; }
.xprf-tx.is-skel .xprf-tx__ic { background: var(--profile-surface-2); }
/* interactive card/row anchors must never get the global a:hover underline */
.xprf-official__row:hover, .xprf-linkbtn:hover { text-decoration: none; }
/* consistency: no link inside any block gains an underline on hover. Rich-text
   paragraph links (.xprf-content__body a) keep their own always-on underline for
   readability — their :hover rule above already removes it, so this is harmless. */
.xprf-blocks a:hover { text-decoration: none; }

/* --- address QR / reveal dialog ----------------------------------------- */
/* shared overlay/panel entrance motion (used by QR dialog + NFT modal) */
@keyframes xprf-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes xprf-panel-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes xprf-panel-spring { from { opacity: 0; transform: translateY(12px) scale(0.95); } to { opacity: 1; transform: none; } }

.xprf-addr-dialog {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  padding: var(--profile-space-5); background: rgba(5, 6, 12, 0.66);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: xprf-overlay-in var(--profile-dur-base) var(--profile-ease) both;
}
/* ambient accent glow behind the panel (matches the NFT modal) */
.xprf-addr-dialog::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--profile-accent) 16%, transparent) 0%, transparent 60%);
}
.xprf-addr-dialog__panel {
  position: relative; z-index: 1;
  background: color-mix(in srgb, var(--profile-surface) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--profile-fg) 8%, var(--profile-border));
  border-radius: var(--profile-block-radius); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  padding: var(--profile-space-6); width: 100%; max-width: 340px;
  display: flex; flex-direction: column; align-items: center; gap: var(--profile-space-4); text-align: center;
  animation: xprf-panel-spring 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .xprf-addr-dialog, .xprf-addr-dialog__panel { animation: none; }
}
.xprf-addr-dialog__head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.xprf-addr-dialog__head .xprf-addr__chain { width: 34px; height: 34px; flex: none; }
.xprf-addr-dialog__head .xprf-addr__chain img { width: 34px; height: 34px; }
.xprf-addr-dialog__title { font-weight: var(--profile-fw-bold); font-size: var(--profile-fs-title); }
.xprf-addr-dialog__qrph {
  width: 180px; height: 180px; border-radius: var(--profile-radius-sm);
  background:
    repeating-linear-gradient(0deg, var(--profile-fg) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, var(--profile-fg) 0 6px, var(--profile-surface-2) 6px 12px);
  opacity: 0.14;
}
.xprf-qr {
  width: 208px; height: 208px; line-height: 0;
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--profile-border);
  box-shadow: 0 8px 26px -10px rgba(0, 0, 0, 0.30), inset 0 1px 0 var(--profile-hairline);
}
.xprf-qr svg, .xprf-qr canvas { width: 100% !important; height: 100% !important; display: block; }
/* unified address bar: truncated address + inline copy in one tappable row */
.xprf-addr-dialog__addr-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; margin-top: var(--profile-space-3); padding: 5px 5px 5px 12px;
  border-radius: 12px; background: var(--profile-surface-2); border: 1px solid var(--profile-border);
  cursor: pointer;
  transition: background var(--profile-dur-fast) var(--profile-ease), border-color var(--profile-dur-fast) var(--profile-ease);
}
.xprf-addr-dialog__addr-row:hover {
  background: var(--profile-surface-hover);
  border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border));
}
.xprf-addr-dialog__addr-text {
  font-family: var(--profile-font-mono); font-size: 11px; color: var(--profile-fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; text-align: left;
}
.xprf-addr-dialog__addr-row .xprf-copy-btn { height: 28px; width: 28px; padding: 0; flex: none; }

/* --- editor field primitives -------------------------------------------- */
.xprf-edit-form { display: flex; flex-direction: column; gap: var(--profile-space-3); }
.xprf-field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-semibold); color: var(--profile-fg);
}
.xprf-field--check { flex-direction: row; align-items: center; gap: var(--profile-space-2); }
.xprf-field input[type="url"], .xprf-field input[type="number"], .xprf-field input[type="text"] {
  min-height: var(--profile-touch-min); padding: 0 var(--profile-space-3);
  border: 1px solid var(--profile-border); border-radius: var(--profile-radius-sm);
  background: var(--profile-surface-2); color: var(--profile-fg);
  font: inherit; font-weight: var(--profile-fw-regular);
}
.xprf-field input::placeholder { color: var(--profile-muted); }
.xprf-field input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--profile-accent); }

/* --- empty / error states ----------------------------------------------- */
.xprf-empty { color: var(--profile-muted); font-size: var(--profile-fs-sm); text-align: center; padding: var(--profile-space-3); }
.xprf-error { color: var(--profile-danger); font-size: var(--profile-fs-sm); }

/* ---- NFT Collection block (project card: floor / owners / items / 24h vol) ----
   Lite layout, no banner, so it sits quietly in the feed. Mobile-first. */
.xprf-nftcol { display: flex; flex-direction: column; }
.xprf-nftcol__idrow { display: flex; align-items: center; gap: 12px; }
.xprf-nftcol__logo { width: 58px; height: 58px; flex: none; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; background: var(--profile-surface-2);
  border: 1px solid var(--profile-hairline); color: var(--profile-muted); }
.xprf-nftcol__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xprf-nftcol__logo.is-ph svg { width: 30px; height: 30px; }
.xprf-nftcol__id { flex: 1; min-width: 0; }                 /* min-width:0 lets the name ellipsis */
.xprf-nftcol__nr { display: flex; align-items: center; gap: 6px; min-width: 0; }
.xprf-nftcol__name { margin: 0; font-size: var(--profile-fs-title); font-weight: var(--profile-fw-bold);
  letter-spacing: -0.01em; color: var(--profile-fg); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }   /* long names truncate */
.xprf-nftcol__vf { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd97a, #f5c451); color: #5a3d00; }
.xprf-nftcol__vf svg { width: 10px; height: 10px; }
/* issuer line + inline copy action */
.xprf-nftcol__issrow { display: flex; align-items: center; gap: 4px; margin-top: 3px; min-width: 0; }
.xprf-nftcol__iss { color: var(--profile-muted); font-size: var(--profile-fs-xs);
  font-family: var(--profile-font-mono, ui-monospace, Menlo, monospace);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-nftcol__copy { flex: none; width: 22px; height: 22px; padding: 0; border: 0; background: transparent;
  color: var(--profile-muted); border-radius: 6px; display: grid; place-items: center; cursor: pointer;
  transition: color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-nftcol__copy:hover { color: var(--profile-fg); background: var(--profile-surface-2); }
.xprf-nftcol__copy svg { width: 13px; height: 13px; }
.xprf-nftcol__copy.is-copied { color: var(--profile-up, #36d399); }
/* 2×2 grid of EQUAL-weight stat tiles — balanced, compact, small accent icon. */
.xprf-nftcol__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.xprf-nftcol__st { display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 9px 10px; border-radius: 11px;
  background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); }
.xprf-nftcol__sic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--profile-surface); border: 1px solid var(--profile-hairline); color: var(--profile-accent); }
.xprf-nftcol__sic svg { width: 15px; height: 15px; }
.xprf-nftcol__sbody { min-width: 0; }
.xprf-nftcol__sv { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-black);
  color: var(--profile-fg); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.15; }
.xprf-nftcol__sv small { font-size: 9px; font-weight: var(--profile-fw-bold); color: var(--profile-muted); margin-left: 2px; letter-spacing: .02em; }
.xprf-nftcol__sl { display: block; margin-top: 1px; font-size: 10px;
  color: var(--profile-muted); font-weight: var(--profile-fw-semibold); }

.xprf-nftcol__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.xprf-nftcol__cta { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 12px; background: var(--profile-surface-2);
  border: 1px solid var(--profile-border); color: var(--profile-fg);
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); text-decoration: none;
  transition: border-color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-nftcol__cta:hover { border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border)); }
.xprf-nftcol__cta svg { width: 15px; height: 15px; color: var(--profile-accent); flex: none; }
.xprf-nftcol__socs { display: flex; gap: 7px; flex: none; }
.xprf-nftcol__so { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-muted);
  text-decoration: none; transition: color var(--profile-dur-fast) var(--profile-ease); }
.xprf-nftcol__so:hover { color: var(--profile-fg); }
.xprf-nftcol__so svg { width: 16px; height: 16px; }
.xprf-nftcol__attr { margin: 10px 0 0; text-align: center; font-size: 10px; color: var(--profile-muted); opacity: .7; }

/* ---- standardized data-source credit (reusable across blocks that pull from
   a third party). Quiet + tiny, pinned bottom-right via U.sourceFoot(src). ---- */
.xprf-srcfoot { display: flex; justify-content: flex-end; margin-top: 10px; }
.xprf-src { display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: 10px; font-weight: var(--profile-fw-semibold); letter-spacing: .01em;
  color: var(--profile-muted); text-decoration: none; opacity: .6;
  transition: opacity var(--profile-dur-fast) var(--profile-ease), color var(--profile-dur-fast) var(--profile-ease); }
.xprf-src:hover { opacity: 1; color: var(--profile-fg); }
.xprf-src__ic { width: 12px; height: 12px; border-radius: 3px; object-fit: cover; flex: none; }
.xprf-src__t { white-space: nowrap; }

/* ---- Mobile :hover latch fix -------------------------------------------------
   Touch browsers keep :hover on the last-tapped element until another tap — and
   it survives returning from a newly-opened tab — so a tapped block stays "stuck"
   with the accent border / lift / glow. Where there's no real hover pointer,
   cancel those hover states back to base. Desktop (hover: hover) is untouched. */
@media (hover: none) {
  .xprf-block:hover { transform: none; border-color: var(--profile-border); box-shadow: var(--profile-shadow-card); }
  .xprf-linkbtn:hover, .xprf-nftcol__cta:hover, .xprf-nftcol__so:hover,
  .xprf-xtok__cta:hover, .xprf-xtok__so:hover, a.xprf-team__card:hover,
  .xprf-coll:hover, .xprf-coll-row:hover, .xprf-dom-primary:hover,
  .xprf-addr-chip:hover, .xprf-addr-tile:hover, .xprf-social__link:hover,
  .xprf-official__row:hover, .xprf-official-wrap.is-org .xprf-official__row:hover,
  a.xprf-contact__row:hover {
    transform: none; box-shadow: none; border-color: var(--profile-border); }
  .xprf-social__link:hover { background: var(--profile-surface-2); color: inherit; }
  .xprf-addr-chip:hover, .xprf-addr-tile:hover { background: var(--profile-surface-2); }
  .xprf-official__row:hover, .xprf-official-wrap.is-org .xprf-official__row:hover,
  a.xprf-contact__row:hover { background: transparent; }
}

/* Momentary tap-active feedback (driven by boot.js on touch). Shows the same
   accent lift/glow as desktop hover, then boot.js removes .is-tap after a beat. */
.xprf-block.is-tap {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--profile-accent) 38%, var(--profile-border));
  box-shadow: var(--profile-shadow-card-hover), 0 0 26px -12px var(--profile-accent-glow);
  transition: border-color var(--profile-dur-fast) var(--profile-ease),
              box-shadow var(--profile-dur-fast) var(--profile-ease),
              transform var(--profile-dur-fast) var(--profile-ease);
}
@media (prefers-reduced-motion: reduce) { .xprf-block.is-tap { transform: none; } }

/* ---- XRPL Token block (project token: price + holders/trustlines/mcap/vol) ----
   Trust-first layout, mirrors the NFT Collection block's shape. Mobile-first. */
.xprf-xtok { display: flex; flex-direction: column; }
.xprf-xtok__idrow { display: flex; align-items: center; gap: 12px; }
.xprf-xtok__logo { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: linear-gradient(135deg, #2b4bd6, #49e0c8);
  color: #fff; font-weight: var(--profile-fw-black); font-size: 17px; border: 1px solid var(--profile-hairline); }
.xprf-xtok__logo.has-img { background: var(--profile-surface-2); }
.xprf-xtok__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xprf-xtok__id { flex: 1; min-width: 0; }
.xprf-xtok__nr { display: flex; align-items: center; gap: 7px; min-width: 0; }
.xprf-xtok__name { margin: 0; font-size: var(--profile-fs-title); font-weight: var(--profile-fw-bold);
  letter-spacing: -0.01em; color: var(--profile-fg); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.xprf-xtok__sym { flex: none; font-size: 10.5px; font-weight: var(--profile-fw-black); color: var(--profile-muted);
  background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); border-radius: 6px;
  padding: 1px 6px; letter-spacing: .03em; }
.xprf-xtok__vf { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd97a, #f5c451); color: #5a3d00; }
.xprf-xtok__vf svg { width: 10px; height: 10px; }
.xprf-xtok__issrow { display: flex; align-items: center; gap: 4px; margin-top: 3px; min-width: 0; }
.xprf-xtok__iss { color: var(--profile-muted); font-size: var(--profile-fs-xs);
  font-family: var(--profile-font-mono, ui-monospace, Menlo, monospace);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xprf-xtok__copy { flex: none; width: 22px; height: 22px; padding: 0; border: 0; background: transparent;
  color: var(--profile-muted); border-radius: 6px; display: grid; place-items: center; cursor: pointer;
  transition: color var(--profile-dur-fast) var(--profile-ease), background var(--profile-dur-fast) var(--profile-ease); }
.xprf-xtok__copy:hover { color: var(--profile-fg); background: var(--profile-surface-2); }
.xprf-xtok__copy.is-copied { color: var(--profile-up, #36d399); }
.xprf-xtok__copy svg { width: 13px; height: 13px; }
.xprf-xtok__pricewrap { flex: none; text-align: right; padding-left: 8px; }
.xprf-xtok__price { font-size: var(--profile-fs-title); font-weight: var(--profile-fw-black);
  color: var(--profile-fg); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.1; }
.xprf-xtok__chg { margin-top: 2px; font-size: 11px; font-weight: var(--profile-fw-bold); white-space: nowrap; }
.xprf-xtok__chg.is-up { color: var(--profile-up, #36d399); }
.xprf-xtok__chg.is-down { color: var(--profile-down, #ff6b6b); }

.xprf-xtok__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.xprf-xtok__st { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border-radius: 11px;
  background: var(--profile-surface-2); border: 1px solid var(--profile-hairline); }
.xprf-xtok__sic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--profile-surface); border: 1px solid var(--profile-hairline); color: var(--profile-accent); }
.xprf-xtok__sic svg { width: 15px; height: 15px; }
.xprf-xtok__sbody { min-width: 0; }
.xprf-xtok__sv { font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-black); color: var(--profile-fg);
  font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.15; }
.xprf-xtok__sv small { font-size: 9px; font-weight: var(--profile-fw-bold); color: var(--profile-muted); margin-left: 2px; letter-spacing: .02em; }
.xprf-xtok__sl { display: block; margin-top: 1px; font-size: 10px; color: var(--profile-muted); font-weight: var(--profile-fw-semibold); }

.xprf-xtok__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.xprf-xtok__cta { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 12px; background: var(--profile-surface-2);
  border: 1px solid var(--profile-border); color: var(--profile-fg);
  font-size: var(--profile-fs-sm); font-weight: var(--profile-fw-bold); text-decoration: none;
  transition: border-color var(--profile-dur-fast) var(--profile-ease); }
.xprf-xtok__cta:hover { border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--profile-border)); }
.xprf-xtok__cta svg { width: 15px; height: 15px; color: var(--profile-accent); flex: none; }
.xprf-xtok__socs { display: flex; gap: 7px; flex: none; }
.xprf-xtok__so { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--profile-surface-2); border: 1px solid var(--profile-border); color: var(--profile-muted);
  text-decoration: none; transition: color var(--profile-dur-fast) var(--profile-ease); }
.xprf-xtok__so:hover { color: var(--profile-fg); }
.xprf-xtok__so svg { width: 16px; height: 16px; }
