html:has(body.page-fproject),
body.page-fproject {
  --fp-text-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #000;
  overflow-x: clip;
  color-scheme: dark;
  font-family: var(--fp-text-font);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

html:has(body.page-fproject)::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html:has(body.page-fproject)::-webkit-scrollbar-track {
  background: #000;
}

html:has(body.page-fproject)::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  background-clip: padding-box;
}

html:has(body.page-fproject)::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
  background-clip: padding-box;
}

body.page-fproject ::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

body.page-fproject ::-webkit-scrollbar-track,
body.page-fproject ::-webkit-scrollbar-corner {
  background: transparent;
}

body.page-fproject ::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  background-clip: padding-box;
}

body.page-fproject ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  background-clip: padding-box;
}

.fp-main {
  position: relative;
  padding: clamp(5.4rem, 12vw, 8rem) 0 clamp(5rem, 12vw, 8rem);
}

.fp-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  height: 480px;
  background: radial-gradient(ellipse 55% 50% at 50% 8%, rgba(218, 47, 39, 0.11) 0%, transparent 70%);
  pointer-events: none;
}

.fp-wrap {
  position: relative;
  width: min(46rem, 92%);
  margin: 0 auto;
}

.fp-title {
  margin: 0 0 1.6rem;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.046em;
  line-height: 0.98;
  color: #fff;
}

.fp-title-scam {
  color: #da2f27;
  text-decoration: underline;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 0.07em;
}

.fp-lead {
  margin: 0 0 1.55rem;
  font-family: var(--fp-text-font);
  font-size: clamp(1.18rem, 2.4vw, 1.38rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
}

.fp-lead em,
.fp-lead strong {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.fp-lead + .fp-lead {
  margin-top: -0.55rem;
}

.fp-name {
  color: #3ecf8e;
  font-weight: 600;
}

.fp-avant {
  color: #3ecf8e;
  font-weight: 700;
}

.fp-bench-cta {
  margin: 0 0 1.55rem;
}

.fp-bench-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  padding: 0.95rem 1.75rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.fp-bench-btn .fp-brand,
.fp-bench-btn .brand-wordmark,
.fp-bench-btn .brand-mark {
  color: inherit;
  font-weight: 700;
}

.fp-brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.fp-brand .brand-wordmark {
  font-size: 1.05em;
}

.fp-cmp-ex {
  display: inline;
  margin-left: 0.25em;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.86em;
  font-weight: 400;
}

.fp-sh-sub {
  margin-top: 1.6rem;
}

.fp-hit {
  color: #da2f27;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.07em;
}

.fp-pnl {
  color: #da2f27;
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.08em;
}

/* Chiffre défavorable : rouge appuyé, sans soulignement. */
.fp-fig {
  color: #ff6b62;
  font-weight: 600;
}

.fp-h {
  margin: 2.4rem 0 1rem;
  font-family: var(--title-font);
  font-size: clamp(1.4rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.15;
  color: #fff;
}

.fp-h-num {
  color: #da2f27;
  margin-right: 0.35em;
}

.fp-sh {
  margin: 2.1rem 0 0.85rem;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: #fff;
}

.fp-p {
  margin: 0 0 1.25rem;
  font-family: var(--fp-text-font);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
}

.fp-p.fp-p-on {
  color: #fff;
}

.fp-inline-link {
  color: #ff6b4a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.fp-inline-link:hover {
  color: #ff9a7a;
}

.fp-p:last-child { margin-bottom: 0; }

.fp-schema {
  margin: 2rem -0.4rem 2.2rem;
  padding: 0.4rem 0 0;
}

.fp-schema-canvas {
  position: relative;
}

.fp-schema-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--title-font), sans-serif;
}

.fp-schema-svg a {
  cursor: pointer;
}

.fp-schema-svg a:hover circle {
  fill: rgba(218, 47, 39, 0.28);
  stroke: #ff5a52;
}

.fp-solscan-link {
  display: block;
  width: fit-content;
  margin: 0.05rem 0 0 calc(340 / 760 * 100%);
  color: #ff6b4a;
  font-family: var(--title-font), sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.fp-solscan-link:hover {
  color: #ff9a7a;
}

.fp-vault-tip {
  position: absolute;
  left: 36.84%;
  top: 28.5%;
  z-index: 3;
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  max-width: min(22rem, calc(100% - 1.5rem));
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--title-font), sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.14s ease;
}

.fp-vault-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #161616;
}

.fp-schema:has(.fp-vault-link:hover) .fp-vault-tip {
  opacity: 1;
}

@media (max-width: 640px) {
  .fp-vault-tip {
    white-space: normal;
  }
}

.fp-p strong,
.fp-list strong {
  color: #fff;
  font-weight: 600;
}

.fp-p em,
.fp-list em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.fp-num {
  color: #da2f27;
  font-weight: 700;
}

.fp-list {
  margin: 0 0 1.4rem;
  padding: 0 0 0 1.15rem;
  font-family: var(--fp-text-font);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
}

.fp-list li {
  margin: 0 0 0.45rem;
}

.fp-list li::marker {
  color: rgba(255, 255, 255, 0.28);
}

.fp-daily-wrap {
  margin: 0 0 2rem;
  overflow: visible;
}

.fp-daily-chart {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.45rem;
  align-items: stretch;
}

.fp-daily-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 176px;
  text-align: right;
  font-size: 0.68rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
}

.fp-daily-plot {
  position: relative;
  height: 176px;
}

.fp-daily-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.fp-daily-grid span {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-daily {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 100%;
}

.fp-daily-bar {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #da2f27;
  border-radius: 1px 1px 0 0;
  opacity: 0.88;
  cursor: pointer;
}

.fp-daily-bar:hover,
.fp-daily-bar.is-hot {
  opacity: 1;
  background: #ff5a52;
}

.fp-daily-hover {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, calc(-100% - 10px));
  padding: 0.42rem 0.62rem 0.38rem;
  border-radius: 8px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: var(--title-font), sans-serif;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
}

.fp-daily-hover strong {
  display: block;
  color: #ff6b4a;
  font-size: 0.92rem;
  font-weight: 600;
}

.fp-daily-hover span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.fp-daily-axis {
  position: relative;
  height: 1.4rem;
  margin: 0.35rem 0 0 3.85rem;
}

.fp-daily-tick {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
}

.fp-daily-note {
  margin: 0.7rem 0 0;
  font-family: var(--fp-text-font);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.fp-punch {
  margin: 2rem 0 2.2rem;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.28;
  color: #fff;
}

.fp-punch-quote {
  display: block;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86em;
  font-weight: 500;
}

.fp-punch-no {
  color: #da2f27;
  font-size: 1.12em;
}

.fp-dists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  margin: 0 0 1.6rem;
}

.fp-dist-title {
  margin: 0 0 0.7rem;
  font-family: var(--title-font);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.fp-dist-sell {
  color: #da2f27;
  font-weight: 600;
}

.fp-dist-row {
  display: grid;
  grid-template-columns: 5.6rem 1fr 3.1rem;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 0.38rem;
}

.fp-dist-lab,
.fp-dist-val {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.fp-dist-val {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

.fp-dist-track {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fp-dist-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #3ecf8e;
}

.fp-dist-fill--sell {
  background: #da2f27;
}

.fp-ex-cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin: 1.85rem 0 1.2rem;
}

.fp-ex-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #080808;
  overflow: hidden;
}

.fp-ex-card--fp {
  border-color: rgba(218, 47, 39, 0.2);
}

.fp-ex-card--bl {
  border-color: rgba(62, 207, 142, 0.22);
}

.fp-ex-card-head {
  padding: 1.15rem 1.35rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.fp-ex-card-kicker {
  display: block;
  margin: 0 0 0.22rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.fp-ex-card-name {
  display: block;
  font-family: var(--title-font);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.fp-ex-card--fp .fp-ex-card-name {
  color: #ff8a82;
}

.fp-ex-card-name.fp-brand {
  display: inline-flex;
  color: #fff;
}

.fp-ex-card-body {
  padding: 0 1.35rem;
}

.fp-ex-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.88rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.fp-ex-card-row:first-child {
  border-top: 0;
}

.fp-ex-card-row--total {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.fp-ex-card-lab {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
}

.fp-ex-card-lab small {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.34);
}

.fp-ex-card-row--total .fp-ex-card-lab {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
}

.fp-ex-card-val {
  flex-shrink: 0;
  font-family: var(--title-font);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
}

.fp-ex-card-row--total .fp-ex-card-val {
  color: #fff;
  font-weight: 600;
}

.fp-ex-card-pnl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1.05rem 1.35rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
}

.fp-ex-card-pnl::before {
  content: none;
}

.fp-ex-card--fp .fp-ex-card-pnl {
  background: linear-gradient(180deg, #241010 0%, #3a1414 100%);
}

.fp-ex-card--bl .fp-ex-card-pnl {
  background: linear-gradient(180deg, #0f1c16 0%, #123528 100%);
}

.fp-ex-card-pnl .fp-ex-card-lab {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.92);
}

.fp-ex-card-pnl .fp-ex-card-val {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.fp-ex-card-val--bad {
  color: #ff6b62;
}

.fp-ex-card-val--good {
  color: #3ecf8e;
}

.fp-ex-cmp-note {
  margin: 0 0 1.85rem;
  font-family: var(--fp-text-font);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 640px) {
  .fp-ex-cmp {
    grid-template-columns: 1fr;
  }
}

/* ── Section 3 : analyse par wallet ───────────────────── */

.fp-offer,
.fp-find {
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.15rem 1.1rem;
  border: 0;
  border-radius: 22px;
  background: #1c1c1e;
  color: rgba(255, 255, 255, 0.92);
}

.fp-offer-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--fp-text-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #8e8e93;
}

.fp-offer > p:not(.fp-offer-kicker),
.fp-find > p {
  margin: 0 0 1.05rem;
  font-family: var(--fp-text-font);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.47;
  color: rgba(255, 255, 255, 0.78);
}

.fp-offer strong,
.fp-find strong {
  font-weight: 600;
  color: #fff;
}

.fp-offer .fp-brand,
.fp-offer .brand-wordmark {
  color: #fff;
  font-weight: 600;
}

.fp-offer .brand-mark {
  color: #ff9f0a;
}

.fp-offer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 14px;
  background: #ff9f0a;
  color: #fff;
  font-family: var(--fp-text-font);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.fp-offer-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.fp-offer-btn:hover {
  background: #ffb020;
  color: #fff;
}

.fp-offer-btn:active {
  background: #e68a00;
  color: #fff;
}

.fp-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.fp-info-icon {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.38);
}

.fp-info p {
  margin: 0;
  font-family: var(--fp-text-font);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.fp-info em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 500;
}

.fp-find .fp-wallet-search {
  position: relative;
  margin: 0;
}

.fp-wallet-search-field {
  position: relative;
  display: block;
}

.fp-wallet-search-icon {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.fp-wallet-search {
  margin: 0 0 1rem;
}

.fp-wallet-search-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.7rem 1rem 0.7rem 2.35rem;
  border: 0;
  border-radius: 12px;
  background: #2c2c2e;
  color: #fff;
  font-family: var(--fp-text-font);
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  outline: none;
}

.fp-wallet-search-input::placeholder {
  color: #636366;
  font-family: var(--fp-text-font);
}

.fp-wallet-search-input:focus {
  background: #3a3a3c;
}

.fp-wallet-search-input::-webkit-search-decoration,
.fp-wallet-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.fp-wallet-search-meta {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.42);
}

.fp-wallets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.6rem 0 2rem;
}

.fp-wallet {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #080808;
  overflow: hidden;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.fp-wallet[open] {
  border-color: rgba(255, 255, 255, 0.14);
  background: #0a0a0a;
}

.fp-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.16s ease;
}

.fp-wallet-head::-webkit-details-marker {
  display: none;
}

.fp-wallet-head:hover {
  background: rgba(255, 255, 255, 0.025);
}

.fp-wallet-id {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.fp-wallet-caret {
  display: inline-flex;
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  color: rgba(255, 255, 255, 0.32);
  transition: transform 0.18s ease, color 0.18s ease;
}

.fp-wallet-caret svg {
  width: 100%;
  height: 100%;
}

.fp-wallet[open] .fp-wallet-caret {
  transform: rotate(90deg);
  color: rgba(255, 255, 255, 0.6);
}

.fp-wallet-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-wallet-stats {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-shrink: 0;
}

.fp-wallet-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.fp-wallet-stat-lab {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.45);
}

.fp-wallet-stat-val {
  font-family: var(--title-font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.fp-wallet-stat-val--gross {
  color: rgba(255, 255, 255, 0.82);
}

.fp-wallet-stat-val--net {
  color: #3ecf8e;
}

.fp-wallet-stat-val--bad {
  color: #ff6b62;
}

.fp-wallet-body {
  padding: 0 1.2rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fp-wallet-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0 1.15rem;
  color: rgba(255, 255, 255, 0.45);
}

.fp-wallet-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

/* Subgrid keeps captions, values and footnotes on shared baselines across tiles. */
@supports (grid-template-rows: subgrid) {
  .fp-wallet-tiles {
    grid-template-rows: auto auto auto;
  }

  .fp-tile {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0.3rem;
  }

  .fp-tile-cap {
    min-height: 0;
  }

  .fp-tile-sub {
    margin-top: 0;
  }
}

.fp-tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
}

.fp-tile--hero {
  border-color: rgba(218, 47, 39, 0.26);
  background: rgba(218, 47, 39, 0.085);
}

.fp-tile-cap {
  display: block;
  min-height: 2.5em;
  font-family: var(--fp-text-font);
  font-size: 0.97rem;
  font-weight: 550;
  letter-spacing: 0.002em;
  line-height: 1.28;
  color: rgba(255, 255, 255, 0.62);
}

.fp-tile-cap .fp-brand {
  font-size: 1em;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

.fp-tile-cap .brand-wordmark {
  font-size: 1em;
}

.fp-tile-cap .fp-line-swatch {
  display: inline-block;
  position: relative;
  top: -0.14em;
  margin-right: 0.42rem;
}

.fp-tile-val {
  font-family: var(--title-font);
  font-size: clamp(1.4rem, 3.1vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fp-tile--hero .fp-tile-val {
  font-size: clamp(1.6rem, 3.6vw, 1.95rem);
}

.fp-tile-val--bad {
  color: #ff6b62;
}

.fp-tile-val--good {
  color: #3ecf8e;
}

.fp-tile-val--bl {
  color: #fff;
}

.fp-tile-val--count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.36rem;
}

.fp-tile-count-ext {
  color: #8bb6ff;
}

.fp-tile-count-sep {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 400;
}

.fp-tile-sub {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  margin-top: auto;
  padding-top: 0.1rem;
  font-family: var(--fp-text-font);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.38);
}

.fp-tile-key {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.fp-tile-key::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fp-tile-key--fp::before {
  background: rgba(255, 255, 255, 0.55);
}

.fp-tile-key--ext::before {
  background: #5b8fe6;
}

.fp-tile-key--ext {
  color: rgba(139, 182, 255, 0.72);
}

.fp-wallet-cmp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem 0.9rem;
  border: 1px solid rgba(252, 136, 28, 0.24);
  border-radius: 14px;
  background: rgba(252, 136, 28, 0.06);
}

.fp-wallet-cmp-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.fp-wallet-cmp-stat .fp-tile-cap {
  min-height: 0;
}

.fp-wallet-cmp-stat .fp-tile-sub {
  margin-top: 0;
}

.fp-wallet-cmp-badge {
  flex-shrink: 0;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(62, 207, 142, 0.14);
  color: #3ecf8e;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.fp-wallet-meta-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.1rem;
}

.fp-wallet-solscan-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.fp-wallet-solscan-btn svg {
  width: 0.82rem;
  height: 0.82rem;
}

.fp-wallet-solscan-btn:hover {
  border-color: rgba(255, 107, 74, 0.45);
  background: rgba(255, 107, 74, 0.08);
  color: #ff9a7a;
}

.fp-line-swatch {
  display: block;
  width: 1.05rem;
  height: 2.5px;
  border-radius: 2px;
  flex-shrink: 0;
}

.fp-line-swatch--gross {
  background: rgba(255, 255, 255, 0.88);
}

.fp-line-swatch--net {
  background: #ff4d3a;
}

.fp-line-swatch--bl {
  background: #fc881c;
}

.fp-wallet-chart {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.7rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: #0a0a0a;
}

.fp-wallet-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin: 0 0.35rem 0.45rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

.fp-wallet-chart-key {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fp-wallet-chart-key i {
  display: block;
  width: 1.55rem;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

.fp-wallet-chart-key--gross i {
  background: rgba(255, 255, 255, 0.88);
}

.fp-wallet-chart-key--net i {
  background: #ff4d3a;
}

.fp-wallet-chart-key--bl i {
  background: #fc881c;
}

.fp-wallet-chart-tip-row {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
}

.fp-wallet-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fp-wallet-chart-tip {
  position: absolute;
  z-index: 2;
  min-width: 10.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #141414;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.35;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
}

.fp-wallet-chart-tip strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.fp-wallet-chart-tip span {
  display: block;
}

.fp-wallet-empty {
  margin: 0 0 0.3rem;
  padding: 0.2rem 0 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
}

.fp-wallet-table-wrap {
  max-height: 22rem;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
}

.fp-wallet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.fp-wallet-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.6rem 0.8rem;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.fp-wallet-table td {
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.fp-wallet-table tbody tr:last-child td {
  border-bottom: 0;
}

.fp-wallet-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.022);
}

.fp-wallet-table tbody tr.fp-wallet-row-fee td {
  background: rgba(255, 59, 48, 0.16);
}

.fp-wallet-table tbody tr.fp-wallet-row-fee:hover td {
  background: rgba(255, 59, 48, 0.22);
}

.fp-wallet-table tbody tr.fp-wallet-row-ext td {
  background: rgba(47, 124, 246, 0.18);
}

.fp-wallet-table tbody tr.fp-wallet-row-ext:hover td {
  background: rgba(47, 124, 246, 0.26);
}

.fp-wallet-table tbody tr.fp-wallet-row-ext .fp-wallet-date,
.fp-wallet-table tbody tr.fp-wallet-row-ext .fp-wallet-token a,
.fp-wallet-table tbody tr.fp-wallet-row-ext .fp-wallet-solscan-link {
  color: rgba(176, 208, 255, 0.78);
}

.fp-wallet-ext-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.08rem 0.38rem;
  border: 1px solid rgba(120, 176, 255, 0.45);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9cc4ff;
  vertical-align: middle;
}

.fp-wallet-side--ext {
  color: #8bb6ff;
  text-transform: lowercase;
}

.fp-wallet-fee-ext {
  color: rgba(156, 196, 255, 0.72);
}

.fp-wallet-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fp-wallet-date {
  color: rgba(255, 255, 255, 0.4);
}

.fp-wallet-side {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: lowercase;
}

.fp-wallet-side--buy {
  color: #3ecf8e;
}

.fp-wallet-side--sell {
  color: #ff6b62;
}

.fp-wallet-side--fee {
  color: #ff6b62;
  text-transform: none;
  letter-spacing: -0.01em;
}

.fp-wallet-fee-sep {
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
  font-weight: 400;
}

.fp-wallet-solscan-col {
  text-align: right;
}

.fp-wallet-solscan-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  color: #ff6b4a;
  font-size: 0.74rem;
  font-weight: 500;
  text-decoration: none;
}

.fp-wallet-solscan-link svg {
  width: 0.85rem;
  height: 0.85rem;
}

.fp-wallet-solscan-link:hover {
  color: #ff9a7a;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.fp-wallet-token a {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.fp-wallet-token a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fp-wallet-fee {
  color: #ff8a82;
}

.fp-wallet-pos {
  color: #3ecf8e;
}

.fp-wallet-neg {
  color: #ff6b62;
}

@media (max-width: 640px) {
  .fp-offer-btn {
    width: 100%;
  }

  .fp-wallet-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .fp-wallet-stats {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .fp-wallet-tiles {
    grid-template-columns: 1fr;
  }

  .fp-wallet-cmp {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

.fp-recap {
  margin: 2.6rem 0 1.2rem;
  padding: 1.7rem 1.6rem 1.8rem;
  border: 1px solid rgba(218, 47, 39, 0.24);
  border-radius: 18px;
  background: rgba(218, 47, 39, 0.065);
}

.fp-recap-kicker {
  margin: 0 0 1.5rem;
  font-family: var(--title-font);
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.15;
  color: #fff;
}

.fp-recap-list {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fp-recap-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fp-recap-fig {
  font-family: var(--title-font);
  font-size: clamp(2.1rem, 6.4vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #ff5a52;
  font-variant-numeric: tabular-nums;
}

.fp-recap-fig-unit {
  font-size: 0.46em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.42);
}

.fp-recap-txt {
  font-family: var(--fp-text-font);
  font-size: clamp(1.02rem, 2.3vw, 1.18rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.fp-recap-txt strong {
  color: #fff;
  font-weight: 600;
}

.fp-recap-txt em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.fp-recap-txt .fp-brand {
  font-size: 1em;
}

.fp-ex-shot {
  margin: 1.35rem 0 1.7rem;
  padding: 1px;
  border: 0;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.22);
  box-shadow: none;
}

.fp-ex-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
  background: #0a0a0a;
}

@media (max-width: 720px) {
  .fp-dists {
    grid-template-columns: 1fr;
  }
}

.fp-share { margin: 3rem 0 0; text-align: center; }
.fp-share-title { margin: 0 0 1rem; font-family: var(--fp-text-font); color: rgba(255, 255, 255, 0.74); }
.fp-share-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
