/* FreeBnk: building a property portfolio (tools/freebnk/portfolio.py, story in tools/freebnk/STORY.md).
   His screens rebuilt natively inside the shared phone (.ip), in the screen's own points (--p, one point of the 393
   wide screen) and his app's face (Poppins, self-hosted, used only inside product UI). Beside it, a Figma-style layers
   panel: what each step keeps out of sight. Motion: assets/js/fb-portfolio.js (GSAP). */

/* ---------- the stage: beats | phone | layers ---------- */
.fbp-sec { --deep-accent: #FFD602; }
.fbp-stage { display: grid; grid-template-columns: minmax(0, 300px) 330px minmax(0, 236px); justify-content: center; align-items: center;
  column-gap: clamp(32px, calc(var(--cw, 1150px) * 0.045), 56px); }
.fbp-stage .nx-beats { gap: 26px; }
.fbp-phone.ip { width: 330px; padding: calc(330px * 0.034); justify-self: center; }
@media (max-width: 1179px) {
  .fbp-stage { grid-template-columns: minmax(0, 340px) 330px; row-gap: 40px; }
  .fbp-stage .fbl { grid-column: 1; grid-row: 2; align-self: start; }
  .fbp-phone.ip { grid-row: 1 / span 2; }
}
@media (max-width: 999px) {
  .fbp-stage { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .fbp-stage .fbl { grid-column: 1; grid-row: auto; justify-self: center; width: min(330px, 100%); }
  .fbp-phone.ip { grid-row: auto; width: min(320px, 82%); padding: calc(min(320px, 82%) * 0.034); }
}

/* ---------- the layers panel (Figma's dark UI, our own frame) ---------- */
.fbl { width: 100%; border-radius: 10px; background: #2C2C2C; color: #E6E6E6; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  font-family: var(--sans); font-size: 11px; line-height: 1.2; overflow: hidden; }
.fbl-hd { display: flex; justify-content: space-between; padding: 11px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.fbl-hd span:first-child { font-weight: 600; color: #fff; }
.fbl-hd span:last-child { color: rgba(255, 255, 255, 0.45); }
.fbl ul { list-style: none; margin: 0; padding: 0; }
.fbl-list { padding: 6px 0 8px; }
.fbl-grp { transition: opacity 0.4s ease; }
.fbl.js .fbl-grp { opacity: 0.45; }
.fbl.js .fbl-grp.on { opacity: 1; }
.fbl-gt { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.fbl-car { width: 8px; height: 8px; transition: transform 0.3s ease; }
.fbl-grp.on .fbl-gt { color: #fff; }
.fbl-grp.on .fbl-car { transform: rotate(90deg); }
.fbl-r { display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 30px; color: rgba(255, 255, 255, 0.82); }
.fbl-r span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbl-g { width: 11px; height: 11px; flex: none; color: rgba(255, 255, 255, 0.5); }
.fbl-eye { width: 14px; height: 14px; flex: none; color: rgba(255, 255, 255, 0.7); }
.fbl-ec { opacity: 0; }
.fbl-r.off { color: rgba(255, 255, 255, 0.3); }
.fbl-r.off .fbl-eo { opacity: 0; }
.fbl-r.off .fbl-ec { opacity: 1; }
.fbl-r.off .fbl-eye { color: rgba(255, 255, 255, 0.45); }
.fbl-s { margin: 2px 6px 4px; padding-left: 24px; padding-right: 6px;   /* inset 6px each side for the pill, so the eye and frame icon stay on the same columns as every other row */
  border-radius: 4px; color: #fff; }
.fbl-s.sel { background: #0C8CE9; }
.fbl-s.sel .fbl-g, .fbl-s.sel .fbl-eye { color: #fff; }
/* the static grid without the script: every group open, the hidden ones already hidden */
.fbl:not(.js) .fbl-h { color: rgba(255, 255, 255, 0.3); }
.fbl:not(.js) .fbl-h .fbl-eo { opacity: 0; }
.fbl:not(.js) .fbl-h .fbl-ec { opacity: 1; }

/* ---------- inside the phone: his app ---------- */
.fbp-ui { background: #000; color: #fff; }
.fbp-ui .ip-sb { color: #fff; }
.fbp { position: absolute; inset: 0; font-family: 'FB Poppins', var(--sans); letter-spacing: 0; overflow: hidden; }
.fbp p { margin: 0; }
.fbp b { font-weight: 500; }
.fbp-s { position: absolute; z-index: 1; inset: 0; background: #000; overflow: hidden; visibility: hidden; }   /* each screen is its own stacking context: a tab bar never shows through the next screen */
.fbp-s.on { visibility: visible; }
.fbp-list { background: #222; }
.fbp-list::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: calc(108 * var(--p)); background: linear-gradient(#222 82%, rgba(34, 34, 34, 0)); }
.fbp-i { fill: currentColor; }
.fbp-ui-i { width: calc(24 * var(--p)); height: calc(24 * var(--p)); display: block; }
.fbp-green { color: #8CE68C; }
.fbp-yel, .fbp-yl { color: #FFE600; }
.fbp-org { color: #FF9F0A; }
.fbp-grey { color: #6E6E6E; }
.fbp-dimt { color: #6E6E6E; }
.fbp-touch { position: absolute; z-index: 70; left: 0; top: 0; width: calc(40 * var(--p)); height: calc(40 * var(--p)); margin: calc(-20 * var(--p)) 0 0 calc(-20 * var(--p));
  border-radius: 50%; background: rgba(220, 220, 220, 0.55); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); opacity: 0; pointer-events: none; }

/* coins and his property-share mark */
.fbp-coin { position: relative; display: grid; place-items: center; width: calc(40 * var(--p)); height: calc(40 * var(--p)); border-radius: 50%; flex: none; }
.fbp-coin img { width: 100%; height: 100%; display: block; }
.fbp-usdt { background: #26A17B; }
.fbp-usdt > svg { width: 64%; height: 64%; }
.fbp-badge { position: absolute; right: -8%; bottom: -8%; width: 46%; height: 46%; border-radius: 50%; background: #8247E5; display: grid; place-items: center; box-shadow: 0 0 0 calc(1.5 * var(--p)) #000; }
.fbp-badge svg { width: 66%; height: 66%; }
.fbp-tok { background: #E5FD52; }
.fbp-tok svg { width: 100%; height: 100%; }

/* tab bar (his: FreeBnk mark, the glowing move button, the market arrow) */
.fbp-tab { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: calc(118 * var(--p)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(6 * var(--p)) calc(40 * var(--p)) calc(28 * var(--p)); background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 38%); }
.fbp-tb { display: grid; justify-items: center; gap: calc(3 * var(--p)); color: #8A8A8A; }
.fbp-tb .fbp-i { width: calc(32 * var(--p)); height: calc(32 * var(--p)); }
.fbp-tb b { font-size: calc(var(--a-caption) * var(--p)); font-weight: 600; }
.fbp-tb.on { color: #FFE600; }
.fbp-move { display: grid; place-items: center; width: calc(62 * var(--p)); height: calc(62 * var(--p)); border-radius: 50%; background: #FFE600; color: #222;
  box-shadow: 0 0 calc(22 * var(--p)) rgba(255, 196, 0, 0.45); }
.fbp-move .fbp-i { width: calc(34 * var(--p)); height: calc(34 * var(--p)); }

/* Explore > Property */
.fbp-tabs { position: absolute; left: calc(12 * var(--p)); right: calc(16 * var(--p)); top: calc(58 * var(--p)); display: flex; align-items: center; gap: calc(8 * var(--p)); z-index: 3; }
.fbp-tabs span { padding: calc(9 * var(--p)) calc(30 * var(--p)); border-radius: 99px; background: #2C2C2C; color: #8A8A8A; font-size: calc(var(--a-footnote) * var(--p)); font-weight: 600; }
.fbp-tabs span.on { background: #fff; color: #000; }
.fbp-tabs svg { margin-left: auto; color: #8A8A8A; }
.fbp-feed { position: absolute; left: 0; right: 0; top: calc(112 * var(--p)); padding: 0 calc(16 * var(--p)); display: grid; gap: calc(22 * var(--p)); }
.fbp-card { border-radius: calc(10 * var(--p)); background: #2A2A2A; overflow: hidden; padding-bottom: calc(14 * var(--p)); }
.fbp-card .fbp-ph { display: block; width: 100%; height: auto; aspect-ratio: 686 / 340; object-fit: cover; }
.fbp-cr { display: flex; justify-content: space-between; padding: calc(10 * var(--p)) calc(14 * var(--p)) 0; font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-cr b { font-weight: 400; }
.fbp-cs { padding-top: calc(4 * var(--p)); font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; }

/* the home */
.fbp-hero { position: relative; aspect-ratio: 686 / 340; overflow: hidden; }
.fbp-tagged { opacity: 0; display: block; width: 100%; height: 100%; left: 0; top: 0; }
.fbp-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 42%; background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0)); pointer-events: none; }   /* the status bar reads over a white room */
.fbp-hero .fbp-ph, .fbp-hero .fbp-tagged { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.fbp-back { position: absolute; z-index: 1; left: calc(16 * var(--p)); top: calc(56 * var(--p)); width: calc(34 * var(--p)); height: calc(34 * var(--p)); display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fbp-back .fbp-ui-i { width: calc(20 * var(--p)); height: calc(20 * var(--p)); }
.fbp-dots { position: absolute; z-index: 1; left: 50%; bottom: calc(10 * var(--p)); translate: -50% 0; display: flex; gap: calc(5 * var(--p)); }
.fbp-dots i { width: calc(6 * var(--p)); height: calc(6 * var(--p)); border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.fbp-dots i.on { background: #fff; }
.fbp-body { padding: calc(14 * var(--p)) calc(16 * var(--p)) 0; display: grid; gap: calc(8 * var(--p)); }
.fbp-title { display: flex; justify-content: space-between; align-items: flex-start; gap: calc(10 * var(--p)); }
.fbp-h { font-size: calc(var(--a-body) * var(--p)); font-weight: 500; }
.fbp-sub { margin-top: calc(2 * var(--p)) !important; font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }
.fbp-pbox { display: grid; justify-items: center; padding: calc(8 * var(--p)) calc(12 * var(--p)); border-radius: calc(8 * var(--p)); background: #2C2C2C; }
.fbp-pbox b { font-size: calc(var(--a-callout) * var(--p)); font-weight: 600; }
.fbp-pbox span { font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }
.fbp-by { display: flex; align-items: center; gap: calc(7 * var(--p)); font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }
.fbp-by .fbp-coin { width: calc(20 * var(--p)); height: calc(20 * var(--p)); }
.fbp-box { padding: calc(11 * var(--p)) calc(14 * var(--p)); border-radius: calc(10 * var(--p)); background: #2C2C2C; display: grid; gap: calc(4 * var(--p)); }
.fbp-row { display: flex; justify-content: space-between; align-items: center; gap: calc(10 * var(--p)); }
.fbp-bt { font-size: calc(var(--a-footnote) * var(--p)); }
.fbp-box .fbp-green { font-size: calc(var(--a-footnote) * var(--p)); }
.fbp-note { font-size: calc(var(--a-caption) * var(--p)); line-height: 1.45; color: #8A8A8A; }
.fbp-info { width: calc(14 * var(--p)); height: calc(14 * var(--p)); flex: none; color: #5E5E5E; display: inline-block; vertical-align: -2px; }
.fbp-tbl p { display: flex; justify-content: space-between; font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; line-height: 1.5; }
.fbp-foot { position: absolute; left: 0; right: 0; bottom: 0; height: calc(116 * var(--p)); background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 26%); }
.fbp-btn { position: absolute; left: calc(26 * var(--p)); right: calc(26 * var(--p)); bottom: calc(40 * var(--p)); height: calc(52 * var(--p)); display: grid; place-items: center;
  border-radius: 99px; background: #FFE600; color: #111; font-size: calc(var(--a-subhead) * var(--p)); font-weight: 500; }
.fbp-btn.dim { background: #4D4500; color: #1d1a00; }
.fbp-own { position: absolute; left: calc(16 * var(--p)); right: calc(16 * var(--p)); bottom: calc(30 * var(--p)); display: flex; justify-content: space-between; align-items: center;
  padding-top: calc(12 * var(--p)); border-top: 1px solid rgba(255, 230, 0, 0.55); display: none; }
.fbp-ownv { font-size: calc(var(--a-title-m) * var(--p)); font-weight: 600; }
.fbp-home.owned .fbp-buy { display: none; }
.fbp-home.owned .fbp-own { display: flex; }
.fbp-scrim { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; }
.fbp-sheet { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; padding: calc(56 * var(--p)) calc(24 * var(--p)) calc(48 * var(--p)); border-radius: calc(22 * var(--p)) calc(22 * var(--p)) 0 0;
  background: #2C2C2C; display: grid; gap: calc(14 * var(--p)); }
.fbp-sx { position: absolute; right: calc(16 * var(--p)); top: calc(14 * var(--p)); color: #8A8A8A; }
.fbp-opt { display: flex; gap: calc(14 * var(--p)); align-items: flex-start; padding-bottom: calc(14 * var(--p)); border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #FFE600; }
.fbp-opt:last-child { border-bottom: 0; padding-bottom: 0; }
.fbp-opt span { display: grid; gap: calc(2 * var(--p)); color: #fff; }
.fbp-opt b { font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-opt small { font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }

/* header for pushed screens */
.fbp-hd { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); top: calc(58 * var(--p)); display: grid; grid-template-columns: calc(32 * var(--p)) 1fr calc(32 * var(--p)); align-items: center; z-index: 2; }
.fbp-hd p { text-align: center; font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-hb { color: #CFCFCF; display: grid; place-items: center; }

/* pay with what you hold */
.fbp-ask { position: absolute; left: calc(20 * var(--p)); top: calc(110 * var(--p)); font-size: calc(var(--a-title-m) * var(--p)); line-height: 1.3; color: #FFE600; font-weight: 500; }
.fbp-prow { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); height: calc(64 * var(--p)); display: flex; align-items: center; gap: calc(12 * var(--p));
  padding: 0 calc(14 * var(--p)); border-radius: calc(12 * var(--p)); background: #1E1E1E; }
.fbp-prow-1 { top: calc(196 * var(--p)); }
.fbp-prow-2 { top: calc(270 * var(--p)); }
.fbp-prow p { display: grid; gap: calc(2 * var(--p)); font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-prow p > span { font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; }
.fbp .fbp-r { margin-left: auto; text-align: right; justify-items: end; }

/* the swap (his Swap Assets) */
.fbp-amt { position: absolute; left: 0; right: 0; top: calc(114 * var(--p)); height: calc(160 * var(--p)); text-align: center; }
.fbp-amt .fbp-yl { font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-big { font-size: calc(62 * var(--p)); line-height: 1.12; font-weight: 500; color: #FFE600; }
.fbp-big span { display: inline-block; }
.fbp-usd { font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-amt .fbp-grey { font-size: calc(var(--a-subhead) * var(--p)); margin-top: calc(4 * var(--p)) !important; }
.fbp-max { position: absolute; left: calc(22 * var(--p)); top: calc(70 * var(--p)); padding: calc(2 * var(--p)) calc(9 * var(--p)); border: 1.5px solid #CFCFCF; border-radius: 99px; font-size: calc(var(--a-caption) * var(--p)); color: #CFCFCF; }
.fbp-flip { position: absolute; right: calc(22 * var(--p)); top: calc(66 * var(--p)); color: #CFCFCF; }
.fbp-pair { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); top: calc(296 * var(--p)); display: grid; grid-template-columns: 1fr 1fr; gap: calc(6 * var(--p)); }
.fbp-pill { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: calc(7 * var(--p)); padding: calc(13 * var(--p)) 0; border-radius: calc(12 * var(--p)); background: #2C2C2C; }
.fbp-pill .fbp-coin { width: calc(24 * var(--p)); height: calc(24 * var(--p)); }
.fbp-pill b { font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-pill small { grid-column: 1 / -1; text-align: center; margin-top: calc(4 * var(--p)); font-size: calc(var(--a-micro) * var(--p)); color: #6E6E6E; }
.fbp-pa { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: calc(30 * var(--p)); height: calc(30 * var(--p)); display: grid; place-items: center; border-radius: 50%; background: #000; color: #fff; }
.fbp-pa .fbp-ui-i { width: calc(18 * var(--p)); height: calc(18 * var(--p)); }
.fbp-keys { position: absolute; left: calc(30 * var(--p)); right: calc(30 * var(--p)); top: calc(400 * var(--p)); display: grid; grid-template-columns: repeat(3, 1fr); row-gap: calc(8 * var(--p)); }
.fbp-k { position: relative; display: grid; place-items: center; height: calc(52 * var(--p)); font-size: calc(var(--a-title-m) * var(--p)); color: #fff; }
.fbp-k::before { content: ""; position: absolute; inset: calc(2 * var(--p)) calc(22 * var(--p)); border-radius: calc(14 * var(--p)); background: rgba(255, 255, 255, 0.12); opacity: 0; }
.fbp-k.hit::before { opacity: 1; }
.fbp-sell .fbp-keys { top: calc(420 * var(--p)); }

/* review */
.fbp-trade { position: absolute; left: 0; right: 0; top: calc(132 * var(--p)); display: flex; justify-content: center; align-items: center; gap: calc(16 * var(--p)); }
.fbp-trade .fbp-coin { width: calc(68 * var(--p)); height: calc(68 * var(--p)); box-shadow: 0 0 0 calc(6 * var(--p)) #2C2C2C; }
.fbp-ta { color: #CFCFCF; }
.fbp-det { position: absolute; left: calc(26 * var(--p)); right: calc(26 * var(--p)); top: calc(326 * var(--p)); display: grid; gap: calc(6 * var(--p)); font-size: calc(var(--a-footnote) * var(--p)); }
.fbp-lbl { font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; margin-top: calc(10 * var(--p)) !important; }
.fbp-det .fbp-row { align-items: flex-start; }
.fbp-det small { display: block; font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }
.fbp-det b { font-weight: 600; }
.fbp-rule { display: block; height: 1px; margin: calc(14 * var(--p)) 0 calc(8 * var(--p)); background: #FF9F0A; transform-origin: left; }

/* complete, with his tick */
.fbp-win { position: absolute; left: 0; right: 0; top: calc(236 * var(--p)); display: grid; justify-items: center; text-align: center; }
.fbp-bigtok { position: relative; width: calc(104 * var(--p)); height: calc(104 * var(--p)); }
.fbp-bigtok > .fbp-coin { width: 100%; height: 100%; }
.fbp-tick { position: absolute; right: calc(-14 * var(--p)); top: calc(-12 * var(--p)); width: calc(44 * var(--p)); height: calc(44 * var(--p)); }
.fbp-tick-d { position: absolute; inset: 0; border-radius: 50%; background: #FFE600; box-shadow: 0 0 0 calc(4 * var(--p)) #000; }
.fbp-tick-i { position: absolute; inset: 0; width: 100%; height: 100%; }
.fbp-rays { position: absolute; inset: -40%; }
.fbp-rays i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); }
.fbp-rays b { position: absolute; left: calc(-1.5 * var(--p)); top: calc(-36 * var(--p)); width: calc(3 * var(--p)); height: calc(8 * var(--p)); border-radius: 2px; background: #FFE600; opacity: 0; }
.fbp-wt { margin-top: calc(26 * var(--p)) !important; font-size: calc(var(--a-title-m) * var(--p)); font-weight: 600; letter-spacing: 0.02em; }
.fbp-ws { margin-top: calc(6 * var(--p)) !important; font-size: calc(var(--a-footnote) * var(--p)); line-height: 1.45; color: #CFCFCF; }
.fbp-later { position: absolute; left: 0; right: 0; bottom: calc(116 * var(--p)); text-align: center; font-size: calc(var(--a-footnote) * var(--p)); line-height: 1.45; color: #CFCFCF; }

/* the portfolio */
.fbp-top { position: absolute; left: calc(20 * var(--p)); right: calc(20 * var(--p)); top: calc(56 * var(--p)); display: flex; justify-content: space-between; }
.fbp-ci { display: grid; place-items: center; width: calc(40 * var(--p)); height: calc(40 * var(--p)); border-radius: 50%; background: #1C1C1C; color: #CFCFCF; }
.fbp-ci .fbp-i { width: calc(28 * var(--p)); height: calc(28 * var(--p)); }
.fbp-tl { position: absolute; right: calc(20 * var(--p)); top: calc(110 * var(--p)); font-size: calc(var(--a-footnote) * var(--p)); color: #FFE600; }
.fbp-total { position: absolute; right: calc(18 * var(--p)); top: calc(126 * var(--p)); font-size: calc(46 * var(--p)); font-weight: 600; letter-spacing: -0.01em;
  background: linear-gradient(90deg, #FFE600, #FFE600 45%, #FF9F0A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fbp-tv { font-variant-numeric: tabular-nums; }
.fbp-rentw { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); top: calc(206 * var(--p)); height: calc(68 * var(--p)); }
.fbp-rent { height: 100%; display: flex; align-items: center; gap: calc(10 * var(--p)); padding: 0 calc(14 * var(--p)) 0 calc(6 * var(--p)); border-radius: calc(14 * var(--p));
  background: linear-gradient(90deg, #FFE600, #FFC700); color: #111; transform-origin: 50% 0; }
.fbp-rent img { width: calc(58 * var(--p)); height: calc(58 * var(--p)); }
.fbp-rent p { display: grid; }
.fbp-rent b { font-size: calc(var(--a-subhead) * var(--p)); font-weight: 600; }
.fbp-rent span { font-size: calc(var(--a-footnote) * var(--p)); }
.fbp-cols { position: absolute; left: calc(22 * var(--p)); right: calc(22 * var(--p)); top: calc(292 * var(--p)); display: flex; justify-content: space-between; font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; }
.fbp-assets { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); top: calc(314 * var(--p)); }
.fbp-arow { height: calc(66 * var(--p)); margin-bottom: calc(8 * var(--p)); display: flex; align-items: center; gap: calc(12 * var(--p)); padding: 0 calc(14 * var(--p)); border-radius: calc(12 * var(--p)); background: #1C1C1C; overflow: hidden; }
.fbp-acn .fbp-coin { width: calc(40 * var(--p)); height: calc(40 * var(--p)); }
.fbp-arow p { display: grid; gap: calc(1 * var(--p)); font-size: calc(var(--a-subhead) * var(--p)); }
.fbp-arow p > span { font-size: calc(var(--a-caption) * var(--p)); color: #6E6E6E; }
.fbp-arow .fbp-r b { font-variant-numeric: tabular-nums; }

/* sell */
.fbp-sell .fbp-amt { top: calc(110 * var(--p)); }
.fbp-step { position: absolute; left: calc(14 * var(--p)); right: calc(14 * var(--p)); top: calc(300 * var(--p)); display: flex; align-items: center; gap: calc(10 * var(--p)); padding: calc(12 * var(--p)) calc(14 * var(--p));
  border-radius: calc(12 * var(--p)); background: #2C2C2C; }
.fbp-step .fbp-coin { width: calc(34 * var(--p)); height: calc(34 * var(--p)); }
.fbp-step p { display: grid; font-size: calc(var(--a-footnote) * var(--p)); flex: 1; }
.fbp-step small { font-size: calc(var(--a-caption) * var(--p)); color: #8A8A8A; }
.fbp-sb { color: #FF9F0A; }
.fbp-cnt { width: calc(34 * var(--p)); height: calc(28 * var(--p)); overflow: hidden; text-align: center; font-size: calc(var(--a-title-s) * var(--p)); line-height: calc(28 * var(--p)); }
.fbp-cnt span { display: block; }

/* reduced motion and no script: the finished first screen, nothing blank */
.fbp:not(.js) .fbp-list { visibility: visible; }
