/*
 * GBP Stablecoins: site chrome and homepage, built from the Pen frame
 * "D2 · Homepage v2 · viewport 1440×900" (design/onchainmoney.pen, vI1NW).
 * Every size, colour, spacing and type value below is taken from that frame;
 * comments name the Pen node where it isn't obvious.
 */

@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --surface: #FBFBF8;
  --surface-alt: #F1F3EE;
  --surface-inverse: #13261A;
  --ink: #13261A;
  --ink-secondary: #56685A;
  --ink-muted: #8A968C;
  --ink-inverse: #F7F8F4;
  --line: #E1E6DE;
  --accent: #2D6B3F;
  --accent-bright: #7FD39A;
  --accent-soft: #E4F0E7;
  --gold: #C9A45C;
  --good: #1F7A3D;
  --warning: #A15C07;
  --critical: #B42318;
  --footer-link: #B7C4B9;
  --footer-muted: #8FA393;

  --font-heading: "Newsreader", Georgia, serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --nav-h: 75px;
  --sidebar-w: 380px;
}

/* Reset what WordPress and theme.json add around our markup. */
body.ocm-d2 { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.ocm-d2 .wp-site-blocks { padding: 0; }
body.ocm-d2 .wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
body.ocm-d2 :where(.d2) *, body.ocm-d2 :where(.d2) { box-sizing: border-box; }
.d2 :where(h1, h2, h3, p, ul, ol, table) { margin: 0; padding: 0; }
.d2 :where(ul, ol) { list-style: none; }
:where(.d2) a { color: inherit; text-decoration: none; }
.d2 svg { display: block; flex: none; }
.d2 .d2-mono { font-family: var(--font-mono); }
/* Pen renders Newsreader at its default optical size (opsz 18) whatever the font size;
   browsers would otherwise scale opsz with size and set headings wider. */
.d2 { font-optical-sizing: none; }
.d2-wordmark__name, .d2-h1, .d2-learn__title, .d2-guide__title, .d2-panel-title, .d2-report__title, .d2-footer__wordmark { font-variation-settings: "opsz" 18; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Nav (mwBnp): 1440×75, padding 20/64, gap 40, bottom rule ---- */
.d2-nav { position: sticky; top: 0; z-index: 20; height: var(--nav-h); display: flex; align-items: center; gap: 40px; padding: 20px 64px; background: var(--surface); box-shadow: inset 0 -1px 0 var(--line); }
.d2-wordmark { display: flex; align-items: center; gap: 10px; height: 24px; }
.d2-wordmark__mark { display: block; width: 22px; height: 22px; flex: none; }
.d2-wordmark__name { font-family: var(--font-heading); font-size: 24px; line-height: 24px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.d2-nav__links { flex: 1; display: flex; align-items: center; gap: 28px; }
.d2-nav__links a { font-size: 14px; line-height: 18px; color: var(--ink-secondary); font-weight: 400; }
.d2-nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.d2-search { width: 300px; height: 35px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--surface-alt); border-radius: 6px; }
.d2-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; margin: 0; font: 400 13px/17px var(--font-body); color: var(--ink); outline: none; }
.d2-search input::placeholder { color: var(--ink-muted); opacity: 1; }
.d2-search:focus-within { box-shadow: 0 0 0 2px var(--accent-soft); }

/* ---- Body (O55QXK): main column + sidebar column ---- */
.d2-body { display: flex; align-items: flex-start; }
.d2-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px 32px 40px 64px; }

/* Heading (RTWLR) */
.d2-heading { display: flex; flex-direction: column; gap: 8px; }
.d2-h1 { font-family: var(--font-heading); font-size: 40px; line-height: 40px; font-weight: 400; letter-spacing: -0.6px; color: var(--ink); }
.d2-summary { max-width: 820px; font-size: 15px; line-height: 23px; color: var(--ink-secondary); }

/* Tabs (Memje) */
.d2-tabs { display: flex; align-items: center; gap: 4px; height: 42px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-tab { display: flex; align-items: center; gap: 8px; height: 42px; padding: 12px 14px; box-shadow: inset 0 -2px 0 var(--ink); }
.d2-tab__label { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink); }
.d2-tab__tag { display: inline-flex; align-items: center; height: 17px; padding: 2px 7px; border-radius: 9999px; background: var(--accent-soft); color: var(--accent); font: 400 10px/13px var(--font-mono); }

/* Table (U0vJy5) */
.d2-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* Widths as shares of the design's 964px table, so wider screens widen every column
   rather than only the coin column. Chains is 14px wider than drawn, for the icons. */
.d2-table col.c-rank { width: 3.73%; }
.d2-table col.c-price { width: 9.34%; }
.d2-table col.c-24h { width: 8.5%; }
.d2-table col.c-supply { width: 12.03%; }
.d2-table col.c-30d { width: 8.5%; }
.d2-table col.c-7d { width: 8.71%; }
.d2-table col.c-chains { width: 6.85%; }
.d2-table col.c-uk { width: 15.56%; }
.d2-table th, .d2-table td { padding: 0 8px; box-shadow: inset 0 -1px 0 var(--line); vertical-align: middle; text-align: right; white-space: nowrap; }
/* Headers wider than their column overflow to the left, as Pen right-aligns them. */
.d2-table th > span { display: flex; justify-content: flex-end; }
.d2-table th.is-left > span { justify-content: flex-start; }
.d2-table th { height: 40px; font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.d2-table td { height: 64px; font: 400 14px/18px var(--font-mono); color: var(--ink); }
.d2-table .is-left { text-align: left; }
.d2-table .d2-rank { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.d2-table .d2-chg { font-size: 13px; line-height: 17px; }
.d2 .d2-up { color: var(--good); }
.d2 .d2-down { color: var(--critical); }
.d2 .d2-flat { color: var(--ink-secondary); }

.d2-coin { display: flex; align-items: center; gap: 12px; }
.d2-coin__avatar { width: 30px; height: 30px; border-radius: 9999px; border: 1px solid var(--line); object-fit: cover; background: #fff; }
.d2-coin__text { display: flex; flex-direction: column; gap: 2px; }
.d2-coin__ticker { font: 600 15px/19px var(--font-body); color: var(--ink); }
.d2-coin__name { font: 400 12px/16px var(--font-body); color: var(--ink-muted); }

/* Spark (uQCgF): 64×26, 7 bars, gap 3, bottom aligned, 1px top radius */
.d2-spark { display: inline-flex; align-items: flex-end; gap: 3px; width: 64px; height: 26px; vertical-align: middle; }
.d2-spark i { flex: 1; border-radius: 1px 1px 0 0; background: #2D6B3F66; }
.d2-spark.is-down i { background: #B4231866; }

/* UK status: FCA badge (nsLRd) and plain text (gSUcU) */
.d2-fca { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 3px 8px 3px 5px; border-radius: 4px; background: var(--accent-soft); }
.d2-fca__seal { width: 16px; height: 16px; border-radius: 9999px; background: var(--accent); display: grid; place-items: center; }
.d2-fca__text { font: 500 12px/16px var(--font-body); color: var(--accent); }
.d2-notreg { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/16px var(--font-body); color: var(--ink-muted); }

/* Table footer (XITTf) */
.d2-tablefoot { display: flex; justify-content: space-between; align-items: center; height: 32px; padding-top: 4px; }
.d2-source { flex: 1; min-width: 0; font: 400 11px/14px var(--font-mono); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-pager { flex: none; display: flex; align-items: center; gap: 6px; }
.d2-pager__count { font: 400 11px/14px var(--font-mono); color: var(--ink-muted); white-space: nowrap; }
.d2-pager__btn { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; font: 400 12px/16px var(--font-mono); color: var(--ink-muted); background: transparent; }
.d2-pager__btn.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Learn (P5OVP) */
.d2-learn { display: flex; flex-direction: column; gap: 24px; padding: 32px 0 8px; }
.d2-learn__head { display: flex; justify-content: space-between; align-items: flex-end; }
.d2-learn__titles { display: flex; flex-direction: column; gap: 8px; }
.d2-eyebrow { font: 400 11px/14px var(--font-mono); letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.d2-learn__title { font-family: var(--font-heading); font-size: 34px; line-height: 34px; font-weight: 400; color: var(--ink); }
.d2-link { font: 500 14px/18px var(--font-body); color: var(--accent); }
.d2-guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.d2-guide { display: flex; flex-direction: column; gap: 12px; }
.d2-guide__img { width: 100%; height: 170px; border-radius: 6px; object-fit: cover; display: block; }
.d2-guide__eyebrow { font: 400 10px/13px var(--font-mono); letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink-muted); }
.d2-guide__title { font-family: var(--font-heading); font-size: 21px; line-height: 1.2; font-weight: 400; color: var(--ink); }
.d2-guide__dek { font-size: 13px; line-height: 1.45; color: var(--ink-secondary); }

/* Sidebar (FOD6v): 380 wide, padding 24, sticky under the nav, full viewport height */
.d2-sidebar { position: sticky; top: var(--nav-h); flex: none; width: var(--sidebar-w); height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px 24px 26px; background: var(--surface-alt); box-shadow: inset 1px 0 0 var(--line); overflow-y: auto; }
.d2-sidebar__top { display: flex; flex-direction: column; gap: 22px; }
.d2-panel-head { display: flex; justify-content: space-between; align-items: center; height: 22px; }
.d2-panel-title { font-family: var(--font-heading); font-size: 22px; line-height: 22px; font-weight: 400; color: var(--ink); }

.d2-signals { display: flex; flex-direction: column; gap: 12px; }
.d2-live { display: flex; align-items: center; gap: 6px; font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; color: var(--good); }
.d2-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.d2-signal { display: flex; gap: 10px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-signal__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.d2-signal__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.d2-signal__meta { display: flex; justify-content: space-between; height: 13px; }
.d2-signal__tag { font: 400 9px/12px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
.d2-signal__when { font: 400 10px/13px var(--font-mono); color: var(--ink-muted); }
.d2-signal__body { font-size: 13px; line-height: 18px; color: var(--ink); }
.d2-signal.is-good .d2-signal__tag { color: var(--good); }
.d2-signal.is-warning .d2-signal__tag { color: var(--warning); }
.d2-signal.is-critical .d2-signal__tag { color: var(--critical); }
.d2-signal.is-info .d2-signal__tag { color: var(--ink-secondary); }
.d2-quiet { font-size: 13px; line-height: 18px; color: var(--ink-secondary); padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--line); }

.d2-rules { display: flex; flex-direction: column; gap: 10px; }
.d2-rules__link { font: 500 12px/16px var(--font-body); color: var(--accent); }
.d2-rule { display: flex; gap: 10px; }
.d2-rule__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid var(--ink-muted); background: #fff; }
.d2-rule.is-done .d2-rule__dot { background: var(--accent); border-color: var(--accent); }
.d2-rule.is-next .d2-rule__dot { background: var(--gold); border-color: var(--gold); }
.d2-rule__text { display: flex; flex-direction: column; gap: 1px; }
.d2-rule__date { font: 400 9px/12px var(--font-mono); letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-muted); }
.d2-rule.is-next .d2-rule__date { color: var(--warning); }
.d2-rule__label { font: 400 12px/16px var(--font-body); color: var(--ink); }

/* State of sterling onchain (zY20V) */
.d2-report { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 10px; background: var(--surface-inverse); }
.d2-report__eyebrow { font: 400 9px/12px var(--font-mono); letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent-bright); }
.d2-report__title { font-family: var(--font-heading); font-size: 22px; line-height: 1.15; font-weight: 400; color: var(--ink-inverse); }
.d2-report__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d2-report__stat { display: flex; flex-direction: column; gap: 2px; }
.d2-report__v { font: 400 17px/22px var(--font-mono); color: var(--ink-inverse); }
.d2-report__k { font: 400 10px/13px var(--font-body); color: var(--footer-muted); }
.d2-report__link { font: 500 13px/17px var(--font-body); color: var(--accent-bright); }

/* ---- Footer (Z9n9l) ---- */
.d2-footer { display: flex; flex-direction: column; gap: 16px; padding: 36px 64px 40px; background: var(--surface-inverse); }
.d2-footer__top { display: flex; justify-content: space-between; align-items: center; }
.d2-footer__wordmark { font-family: var(--font-heading); font-size: 22px; line-height: 22px; color: var(--ink-inverse); }
.d2-footer__links { display: flex; gap: 24px; }
.d2-footer__links a, .d2-footer__links button { font: 400 13px/17px var(--font-body); color: var(--footer-link); background: none; border: 0; padding: 0; cursor: pointer; }
.d2-footer__disclaimer { max-width: 900px; font-size: 12px; line-height: 1.5; color: var(--footer-muted); }

/* Focus and hover, kept quiet. */
:where(.d2) a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Whole-row and card links stay plain; the row tint is the hover state. */
.d2 :is(.d2-coin, .d2-guide, .d2-res, .d2-linkbtn, .d2-report, .d2-signal, .d2-wordmark, .d2-nav a):hover,
.d2 :is(.d2-table, .d2-mtable) a:hover { text-decoration: none; }
.d2 a:focus-visible, .d2 button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.d2-table tbody tr:hover td { background: #F6F7F3; }

/* =====================================================================
 * Coin page: Pen frame "E · Coin page · tGBP" (w1EWne)
 * ===================================================================== */
.d2 .d2-warn { color: var(--warning); }
.d2 .d2-muted { color: var(--ink-muted); }
.d2-unavailable { padding: 40px 64px; font-size: 14px; color: var(--ink-secondary); }
.d2-coin-empty { min-height: 50vh; }
.d2-coinname, .d2-panel__title, .d2-about__title, .d2-risks__title { font-variation-settings: "opsz" 18; }

/* Breadcrumb (L4Uhc): padding 18/64/0, gap 8 */
.d2-crumbs { display: flex; align-items: center; gap: 8px; height: 35px; padding: 18px 64px 0; font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.d2-crumbs [aria-current] { color: var(--ink); }

/* Coin header (LCwxH): padding 20/64/28, gap 48, bottom rule */
.d2-coinhead { display: flex; gap: 48px; padding: 20px 64px 28px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-identity { flex: none; width: 520px; align-self: flex-start; display: flex; flex-direction: column; gap: 16px; }
.d2-namerow { display: flex; align-items: center; gap: 14px; height: 60px; }
.d2-namerow__icon { width: 52px; height: 52px; border-radius: 9999px; border: 1px solid var(--line); object-fit: cover; background: #fff; }
.d2-namerow__names { display: flex; flex-direction: column; gap: 4px; }
.d2-namerow__line1 { display: flex; align-items: center; gap: 10px; height: 34px; }
.d2-coinname { font-family: var(--font-heading); font-size: 34px; line-height: 34px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.d2-chip { display: inline-flex; align-items: center; height: 22px; padding: 3px 8px; border-radius: 4px; background: var(--surface-alt); font: 400 12px/16px var(--font-mono); color: var(--ink); white-space: nowrap; }
.d2-chip--muted { color: var(--ink-secondary); }
.d2-namerow__line2 { display: flex; align-items: center; gap: 12px; height: 22px; }
.d2-issuer { font-size: 13px; line-height: 17px; color: var(--ink-secondary); }
.d2-pricerow { display: flex; align-items: flex-end; gap: 14px; height: 68px; }
.d2-bigprice { font: 400 52px/68px var(--font-mono); letter-spacing: -1.5px; color: var(--ink); }
.d2-deltas { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; font: 400 13px/17px var(--font-mono); white-space: nowrap; }
.d2-deltas__24h { color: var(--ink-secondary); }
.d2-range24 { width: 360px; display: flex; flex-direction: column; gap: 6px; }
.d2-range24__track { position: relative; height: 6px; border-radius: 9999px; background: var(--surface-alt); }
.d2-range24__track i { position: absolute; top: 0; height: 6px; border-radius: 9999px; background: var(--accent); }
.d2-range24__labels { display: flex; justify-content: space-between; font: 400 11px/14px var(--font-mono); color: var(--ink-muted); }

/* Key metrics (XN8f5): 2 rows × 3, each 106 high, padding 18/20, gap 6 */
.d2-keystats { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 106px; align-self: flex-start; }
.d2-keystat { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.d2-keystat:nth-child(-n+3) { box-shadow: inset 0 -1px 0 var(--line); }
.d2-keystat:nth-child(3n+1), .d2-keystat:nth-child(3n+2) { box-shadow: inset -1px 0 0 var(--line); }
.d2-keystat:nth-child(1), .d2-keystat:nth-child(2) { box-shadow: inset -1px -1px 0 var(--line), inset 0 -1px 0 var(--line); }
.d2-keystat__label { font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.d2-keystat__value { font: 400 24px/31px var(--font-mono); letter-spacing: -0.5px; color: var(--ink); white-space: nowrap; }
.d2-keystat__detail { font: 400 11px/14px var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Main (c2zfQ): padding 28/64/40, gap 32; left fill, rail 360 */
.d2-coinmain { display: flex; align-items: flex-start; gap: 32px; padding: 28px 64px 40px; }
.d2-coinleft { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.d2-coinrail { flex: none; width: 360px; display: flex; flex-direction: column; gap: 20px; }

/* Panels: white, 1px line inside, radius 8, padding 20 */
.d2-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.d2-marketspanel, .d2-railpanel { gap: 12px; }
.d2-panel__head { display: flex; justify-content: space-between; align-items: center; height: 27px; }
.d2-panel__head--short { height: 20px; }
.d2-panel__head--tall { height: 30px; }
.d2-panel__titles { display: flex; align-items: flex-end; gap: 12px; }
.d2-panel__title { font-family: var(--font-heading); font-size: 20px; line-height: 20px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.d2-panel__sub { font: 400 11px/14px var(--font-mono); text-transform: uppercase; white-space: nowrap; }
.d2-panel__foot { font: 400 10px/13px var(--font-mono); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-panel__footrow { display: flex; justify-content: space-between; align-items: center; height: 17px; }
.d2-textlink { font: 500 13px/17px var(--font-body); color: var(--accent); white-space: nowrap; }

/* Segmented controls (U3VbE, lXA6T) */
.d2-seg { display: flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--surface-alt); }
.d2-seg a { border-radius: 4px; color: var(--ink-muted); }
.d2-seg a[aria-current] { background: #fff; color: var(--ink); }
.d2-seg--mono a { padding: 4px 9px; font: 400 10px/13px var(--font-mono); }
.d2-seg--body a { padding: 4px 10px; font: 400 12px/16px var(--font-body); }
.d2 .d2-seg a:hover { text-decoration: none; color: var(--ink); }

/* Price chart (Y3dkN): y axis 52 + gap 4 + plot 820×230; x axis padded 56 */
.d2-chart { display: flex; gap: 4px; height: 230px; }
.d2-chart__y { position: relative; flex: none; width: 52px; }
.d2-chart__y span { position: absolute; left: 0; font: 400 10px/13px var(--font-mono); color: var(--ink-muted); }
.d2 .d2-chart__plot { flex: 1 1 0; min-width: 0; width: auto; height: 230px; display: block; overflow: visible; }
.d2-chart__band { position: absolute; left: 64px; font: 400 9px/11px var(--font-mono); letter-spacing: 1.2px; color: #2D6B3F99; pointer-events: none; }
.d2-chart__x { display: flex; justify-content: space-between; padding-left: 56px; font: 400 10px/13px var(--font-mono); color: var(--ink-muted); }

/* Volume and liquidity (Gw6vQ): two panels, gap 20; bars 140 high, gap 3 */
.d2-twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.d2-bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.d2-bars i { flex: 1; border-radius: 2px 2px 0 0; }
.d2-chart--empty { align-items: center; justify-content: center; }
.d2-chart--empty p { font-size: 13px; color: var(--ink-muted); }
.d2-bars--empty { align-items: center; justify-content: center; }
.d2-bars--empty p { font-size: 13px; color: var(--ink-muted); }

/* Markets table (U3CFF): header 36, rows 52, cells padding 0/6 */
.d2-mtable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.d2-mtable th, .d2-mtable td { padding: 0 6px; text-align: right; white-space: nowrap; vertical-align: middle; box-shadow: inset 0 -1px 0 var(--line); }
.d2-mtable th { height: 36px; font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.d2-mtable th > span { display: flex; justify-content: flex-end; }
.d2-mtable td { height: 52px; font: 400 12px/16px var(--font-mono); color: var(--ink); }
.d2-mtable .is-left { text-align: left; }
.d2-mtable .d2-rank { color: var(--ink-muted); }
.d2-venue { display: flex; align-items: center; gap: 8px; }
.d2-venue__logo { flex: none; width: 24px; height: 24px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--surface-alt); font: 600 11px/14px var(--font-body); color: var(--ink-secondary); }
.d2-venue__logo.is-cex { background: var(--surface-inverse); color: #fff; }
.d2-venue__text { display: flex; flex-direction: column; gap: 1px; }
.d2-venue__name { font: 500 14px/18px var(--font-body); color: var(--ink); }
.d2-venue__kind { font: 400 11px/14px var(--font-body); color: var(--ink-muted); }
.d2-share { display: flex; align-items: center; gap: 8px; }
.d2-share__track { width: 64px; height: 6px; border-radius: 9999px; background: var(--surface-alt); overflow: hidden; }
.d2-share__track i { display: block; height: 6px; border-radius: 9999px; background: var(--accent); }
.d2-share__pct { font: 400 11px/14px var(--font-mono); color: var(--ink-secondary); }
.d2-plain { font: 400 12px/16px var(--font-body); color: var(--ink-muted); }

/* Right rail panels */
.d2-railsub { font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; color: var(--ink-muted); white-space: nowrap; }
.d2-contract { display: flex; align-items: center; gap: 10px; height: 17px; }
.d2-contract__chain { flex: 1; min-width: 0; font-size: 13px; line-height: 17px; color: var(--ink); }
.d2-contract__addr { font: 400 12px/16px var(--font-mono); color: var(--ink); }
.d2-iconbtn { display: grid; place-items: center; width: 13px; height: 13px; padding: 0; border: 0; background: none; cursor: pointer; }
.d2-fact { display: flex; flex-direction: column; gap: 4px; padding-bottom: 10px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-fact__k { font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.d2-fact__v { font-size: 13px; line-height: 17px; color: var(--ink); }
.d2-fact__badge { display: flex; height: 22px; align-items: center; }
.d2-linkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.d2-linkbtn { display: flex; align-items: center; gap: 8px; height: 32px; padding: 8px 10px; border-radius: 6px; background: var(--surface-alt); font-size: 12px; line-height: 16px; color: var(--ink); overflow: hidden; }
.d2-linkbtn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* About (yuV2n): surface-alt, padding 48/64/56, gap 48; answers + risks card */
.d2-about { display: flex; align-items: flex-start; gap: 48px; padding: 48px 64px 56px; background: var(--surface-alt); }
.d2-about__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.d2-about__head { display: flex; flex-direction: column; gap: 8px; }
.d2-about__title { font-family: var(--font-heading); font-size: 32px; line-height: 32px; font-weight: 400; color: var(--ink); }
.d2-answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.d2-answer { display: flex; flex-direction: column; gap: 8px; }
.d2-answer__q { font: 600 16px/21px var(--font-body); color: var(--ink); }
.d2-answer__a { font-size: 14px; line-height: 22px; color: var(--ink-secondary); }
.d2-risks { flex: none; width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.d2-risks__title { font-family: var(--font-heading); font-size: 22px; line-height: 22px; font-weight: 400; color: var(--ink); }
.d2-risk { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-risk__k { font: 600 14px/18px var(--font-body); color: var(--ink); }
.d2-risk__v { font-size: 13px; line-height: 20px; color: var(--ink-secondary); }

/* =====================================================================
   Interaction states: tooltips, inline reloads, copy, chart hover,
   chain icons, UK rule details, search typeahead (Pen vz60t).
   ===================================================================== */

/* Tooltip: first line bold, the rest secondary. */
.d2-tip { position: fixed; z-index: 100; display: none; max-width: 280px; padding: 8px 10px; border-radius: 6px; background: var(--surface-inverse); color: var(--ink-inverse); box-shadow: 0 8px 24px #13261A33; pointer-events: none; font: 400 12px/16px var(--font-body); }
.d2-tip strong { display: block; font-weight: 600; }
.d2-tip span { display: block; color: var(--footer-link); font-family: var(--font-mono); font-size: 11px; }
.d2-tipped { cursor: help; text-decoration: underline dotted var(--ink-muted); text-underline-offset: 3px; }

/* Inline reloads: keep the panel's size, shimmer the body while the new data loads. */
@keyframes d2-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
[data-section].is-loading { pointer-events: none; }
[data-section].is-loading :is(.d2-chart, .d2-chart__x, .d2-mtable tbody td) { position: relative; color: transparent; }
[data-section].is-loading :is(.d2-chart, .d2-mtable tbody td) > * { visibility: hidden; }
[data-section].is-loading .d2-chart::after,
[data-section].is-loading .d2-mtable tbody td::after { content: ""; position: absolute; inset: 0; margin: auto 6px; height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-alt) 25%, #E7EBE4 50%, var(--surface-alt) 75%); background-size: 200% 100%; animation: d2-shimmer 1.2s linear infinite; }
[data-section].is-loading .d2-chart::after { height: auto; margin: 0 0 0 56px; border-radius: 6px; }
[data-section].is-loading .d2-mtable tbody td:first-child::after { margin-left: 0; }

/* Copy: the tick replaces the copy icon for a few seconds. */
.d2-copy svg + svg { display: none; }
.d2-copy.is-copied svg:first-child { display: none; }
.d2-copy.is-copied svg + svg { display: block; }

/* Chart hover */
.d2-chart { position: relative; }
.d2-hover-plot { position: absolute; top: 0; bottom: 0; left: 56px; right: 0; cursor: crosshair; }
.d2-cursor { position: absolute; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: #13261A40; display: none; pointer-events: none; }
.d2-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2D6B3F33; display: none; pointer-events: none; }
.d2-bars.d2-hover-plot { position: static; cursor: default; }
.d2-bars i { transition: opacity .12s; }
.d2-bars:hover i:not(.is-hot) { opacity: .55; }
.d2-bars i.is-hot { background: var(--bar) !important; opacity: 1; }

/* Chain icons */
.d2-chains { display: inline-flex; align-items: center; justify-content: flex-end; vertical-align: middle; }
.d2-chain { display: grid; place-items: center; width: 18px; height: 18px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #fff; cursor: default; position: relative; }
.d2-chain:first-child { margin-left: 0; }
.d2-chain img { width: 18px; height: 18px; border-radius: 50%; display: block; }
.d2-chain i { font: 600 9px/1 var(--font-body); font-style: normal; color: var(--ink-secondary); }
.d2-chain--more { width: auto; min-width: 18px; padding: 0 4px; border-radius: 9999px; background: var(--surface-alt); font: 400 10px/18px var(--font-mono); color: var(--ink-secondary); }
.d2-contract__chain { display: flex; align-items: center; gap: 6px; }
.d2-contract__chain img { width: 14px; height: 14px; border-radius: 50%; flex: none; }

/* UK rules: extras appear with "All", a rule opens to show its detail. */
.d2-rule.is-extra { display: none; }
.d2-rules.is-all .d2-rule.is-extra { display: flex; }
.d2-rule[data-detail] { cursor: pointer; }
.d2-rule[data-detail]:hover .d2-rule__label { color: var(--accent); }
.d2-rule__detail { display: none; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--surface-alt); }
.d2-rule.is-open .d2-rule__detail { display: block; }
.d2-rule__detail p { font: 400 12px/17px var(--font-body); color: var(--ink-secondary); }
.d2-rule__detail .d2-rule__meta { margin-top: 6px; font: 400 10px/13px var(--font-mono); letter-spacing: .4px; color: var(--ink-muted); }
.d2-rule__detail a { color: var(--accent); }

/* Search typeahead (vz60t): the box widens to 420 and drops a 420px panel. */
.d2-search { position: relative; transition: width .15s; }
.d2-search.is-focus, .d2-search.is-open { width: 420px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.d2-search input::-webkit-search-cancel-button { display: none; }
.d2-search__clear { display: none; padding: 0; border: 0; background: none; cursor: pointer; }
.d2-search.has-text .d2-search__clear { display: grid; place-items: center; }
.d2-searchdrop { position: absolute; top: 44px; right: 0; width: 420px; max-height: min(462px, calc(100vh - 80px)); overflow: auto; z-index: 60; padding-top: 8px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 18px 48px #13261A1F, 0 2px 6px #13261A0F; }
.d2-sgroup { padding-bottom: 6px; }
.d2-sgroup__head { display: flex; justify-content: space-between; padding: 4px 16px 6px; font: 400 10px/13px var(--font-mono); letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink-muted); }
.d2-res { display: flex; align-items: center; gap: 10px; height: 40px; padding: 8px 16px; color: var(--ink); }
.d2-res.is-active, .d2-res:hover { background: var(--accent-soft); }
.d2-res img { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.d2-res__text { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.d2-res__name { font: 400 14px/18px var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-res__name b { font-weight: 700; color: var(--accent); }
.d2-res__ticker { font: 400 11px/14px var(--font-mono); color: var(--ink-muted); }
.d2-res__ticker b { font-weight: 400; color: var(--accent); }
.d2-res__price { font: 400 12px/16px var(--font-mono); color: var(--ink-secondary); }
.d2-res__logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--surface-alt); font: 600 11px/1 var(--font-body); color: var(--ink-secondary); flex: none; }
.d2-res--guide { height: 34px; padding: 8px 16px; }
.d2-res--guide .d2-res__name { font-size: 13px; }
.d2-snone { padding: 12px 16px 16px; font-size: 13px; color: var(--ink-muted); }
.d2-sfoot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--surface-alt); border-radius: 0 0 10px 10px; }
.d2-sfoot a { font: 500 13px/17px var(--font-body); color: var(--accent); }
.d2-keys { display: flex; align-items: center; gap: 4px; font: 400 10px/13px var(--font-mono); color: var(--ink-muted); }
.d2-keys kbd { padding: 1px 5px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: var(--ink-secondary); }

/* =====================================================================
   Exchanges (Pen m5MGJ8 "F · Exchanges · where to buy GBP stablecoins")
   ===================================================================== */
.d2-xhead__title, .d2-xid__name, .d2-scorecard__title { font-variation-settings: "opsz" 18; font-optical-sizing: none; }

/* Page head (b0VHl) */
.d2-xhead { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 64px 20px; }
.d2-xhead .d2-disclosure { align-self: stretch; }
.d2-xhead__eyebrow { font: 400 11px/14px var(--font-mono); letter-spacing: 1.6px; color: var(--accent); }
.d2-xhead__title { font-family: var(--font-heading); font-size: 48px; line-height: 48px; font-weight: 400; letter-spacing: -0.6px; color: var(--ink); }
.d2-xfacts { display: flex; gap: 36px; padding-top: 6px; }
.d2-xfact { display: flex; align-items: flex-end; gap: 10px; }
.d2-xfact__v { font: 400 28px/36px var(--font-mono); letter-spacing: -0.5px; color: var(--ink); white-space: nowrap; }
.d2-xfact__k { width: 170px; font-size: 13px; line-height: 18px; color: var(--ink-secondary); }
.d2-disclosure { display: flex; align-items: center; gap: 10px; height: 36px; padding: 10px 14px; border-radius: 6px; background: var(--surface-alt); font-size: 12px; line-height: 16px; color: var(--ink-secondary); white-space: nowrap; }
.d2-disclosure span { overflow: hidden; text-overflow: ellipsis; }
.d2-disclosure a { font-weight: 500; color: var(--accent); }

/* Filters (rfxWn) */
.d2-xfilters { display: flex; align-items: center; gap: 10px; height: 55px; padding: 8px 64px 16px; }
.d2-fchip { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 7px 12px; border-radius: 9999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 17px; color: var(--ink); white-space: nowrap; }
.d2-fchip[aria-current] { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: #fff; }
.d2 .d2-fchip:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink-muted); }
.d2 .d2-fchip[aria-current]:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.d2-xfilters__spacer { flex: 1; }
.d2-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 17px; color: var(--ink); white-space: nowrap; }
.d2 .d2-toggle:hover { text-decoration: none; }
.d2-toggle__switch { display: flex; justify-content: flex-start; width: 32px; height: 18px; padding: 2px; border-radius: 9999px; background: var(--line); transition: background .15s; }
.d2-toggle__switch i { width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.d2-toggle[aria-checked="true"] .d2-toggle__switch { justify-content: flex-end; background: var(--accent); }
.d2-sort { position: relative; }
.d2-sort summary { display: flex; align-items: center; gap: 6px; height: 31px; padding: 7px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 17px; color: var(--ink); white-space: nowrap; cursor: pointer; list-style: none; }
.d2-sort summary::-webkit-details-marker { display: none; }
.d2-sort__menu { position: absolute; right: 0; top: 37px; z-index: 30; min-width: 100%; padding: 4px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px #13261A1F; }
.d2-sort__menu a { display: block; padding: 7px 10px; border-radius: 4px; font-size: 13px; line-height: 17px; white-space: nowrap; }
.d2-sort__menu a:hover, .d2-sort__menu a[aria-current] { background: var(--accent-soft); text-decoration: none; }

/* Exchange list (L7cYu) */
.d2-xlist { display: flex; flex-direction: column; gap: 16px; padding: 0 64px 24px; }
.d2-xempty { padding: 32px 0; font-size: 14px; color: var(--ink-secondary); }
.d2-xempty a { color: var(--accent); }
.d2-xcard { display: flex; flex-direction: column; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.d2-xcard__main { display: flex; align-items: center; gap: 28px; padding: 22px 24px; }
.d2-xcard--onchain .d2-xcard__main { padding: 20px 24px; }
.d2-xid { flex: none; width: 260px; display: flex; align-items: center; gap: 14px; }
.d2-xid__rank { flex: none; min-width: 8px; font: 400 13px/17px var(--font-mono); color: var(--ink-muted); }
.d2-xid__logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-inverse); font: 600 18px/23px var(--font-body); color: #fff; }
.d2-xid__logo--soft { background: var(--surface-alt); }
.d2-xid__names { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.d2-xid__name { font-family: var(--font-heading); font-size: 24px; line-height: 24px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.d2-xdata { flex: 1; min-width: 0; display: flex; align-items: flex-start; }
.d2-xstat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 0 14px; box-shadow: inset 1px 0 0 var(--line); white-space: nowrap; }
.d2-xstat__k { font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.d2-xstat__row { display: flex; align-items: flex-end; gap: 4px; }
.d2-xstat__big { font: 400 26px/34px var(--font-mono); letter-spacing: -0.5px; color: var(--ink); }
.d2-xstat__of { font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.d2-xstat__mid { font: 400 20px/26px var(--font-mono); color: var(--ink); }
.d2-xstat__text { font-size: 13px; line-height: 17px; color: var(--ink); }
.d2-xstat__body { font-size: 15px; line-height: 19px; color: var(--ink); }
.d2-xstat__d { font: 400 11px/14px var(--font-mono); color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; }
.d2 .d2-xstat .d2-muted { color: var(--ink-muted); }
.d2-xcoins { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.d2-xcoin { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/16px var(--font-mono); color: var(--ink); }
.d2-xcoin img { width: 22px; height: 22px; border-radius: 50%; }
.d2-xactions { flex: none; width: 170px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.d2-cta { display: block; width: 100%; height: 42px; padding: 12px 0; border-radius: 6px; background: var(--accent); font: 500 14px/18px var(--font-body); color: #fff; text-align: center; white-space: nowrap; }
.d2 .d2-cta:hover { text-decoration: none; background: #255A35; }
.d2-xactions__review { font-size: 13px; line-height: 17px; color: var(--accent); }
.d2-xreg { display: flex; align-items: center; gap: 16px; height: 36px; padding: 10px 24px; background: var(--surface-alt); box-shadow: inset 0 1px 0 var(--line); font-size: 12px; line-height: 16px; white-space: nowrap; }
.d2-xreg__status { color: var(--ink); }
.d2-xreg__risk { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-muted); }
.d2-xreg__link { font-weight: 500; color: var(--accent); }
[data-section].is-loading .d2-xcard { position: relative; }
[data-section].is-loading .d2-xcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #FFFFFFB3 25%, #F1F3EECC 50%, #FFFFFFB3 75%); background-size: 200% 100%; animation: d2-shimmer 1.2s linear infinite; }

/* Method and guide (EVHrc) */
.d2-xmethod { display: flex; align-items: flex-start; gap: 32px; padding: 24px 64px 56px; }
.d2-scorecard { flex: none; width: 420px; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 10px; background: var(--surface-inverse); }
.d2-scorecard__eyebrow, .d2-before__eyebrow { font: 400 11px/14px var(--font-mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-bright); }
.d2-before__eyebrow { color: var(--accent); }
.d2-scorecard__title { font-family: var(--font-heading); font-size: 22px; line-height: 26px; font-weight: 400; color: var(--ink-inverse); }
.d2-weight { display: flex; flex-direction: column; gap: 6px; }
.d2-weight__head { display: flex; justify-content: space-between; font-size: 13px; line-height: 17px; color: var(--ink-inverse); }
.d2-weight__w { font: 400 12px/16px var(--font-mono); color: var(--accent-bright); }
.d2-weight__track { height: 6px; border-radius: 9999px; background: #FFFFFF1A; }
.d2-weight__track i { display: block; height: 6px; border-radius: 9999px; background: var(--accent-bright); }
.d2-scorecard__link { align-self: flex-start; font: 500 13px/17px var(--font-body); color: var(--accent-bright); }
.d2-before { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.d2-faq { align-self: stretch; display: flex; flex-direction: column; }
.d2-faq__item { padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line); }
.d2-faq__item summary { display: flex; justify-content: space-between; align-items: center; height: 21px; font: 600 16px/21px var(--font-body); color: var(--ink); cursor: pointer; list-style: none; }
.d2-faq__item summary::-webkit-details-marker { display: none; }
.d2-faq__item summary svg { transition: transform .15s; }
.d2-faq__item:not([open]) summary svg { transform: rotate(-90deg); }
.d2-faq__item p { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--ink-secondary); }

/* Real venue logos (assets/d2/venues), circular. */
.d2-venue__logo.has-img, .d2-res__logo.has-img, .d2-xid__logo.has-img { background: none; border-radius: 50%; }
.d2-venue__logo img, .d2-res__logo img, .d2-xid__logo img { width: 100%; height: 100%; display: block; border-radius: 50%; }

/* Price / Supply tabs on the coin chart: the active one reads as the panel title. */
.d2-charttabs { display: flex; align-items: baseline; gap: 18px; }
.d2-charttabs a { color: var(--ink-muted); }
.d2-charttabs a[aria-current] { color: var(--ink); }
.d2 .d2-charttabs a:hover { color: var(--ink); text-decoration: none; }

/* Chain pie tooltip */
.d2-chains { cursor: default; }
.d2-tip .d2-pie { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.d2-tip .d2-pie svg { flex: none; }
.d2-tip .d2-pie ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; min-width: 150px; }
.d2-tip .d2-pie li { display: flex; align-items: center; gap: 6px; font: 400 11px/14px var(--font-body); color: var(--ink-inverse); }
.d2-tip .d2-pie li i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.d2-tip .d2-pie li span { display: inline; flex: 1; color: var(--ink-inverse); font-family: var(--font-body); font-size: 11px; }
.d2-tip .d2-pie li b { font: 400 11px/14px var(--font-mono); color: var(--footer-link); }

/* =====================================================================
   Exchange review (Pen srXJV "F2 · Exchange review · Coinbase")
   ===================================================================== */
.d2-rhead__title, .d2-panel2__title, .d2-rreg__title { font-variation-settings: "opsz" 18; font-optical-sizing: none; }
.d2-rhead { display: flex; align-items: center; gap: 40px; height: 131px; padding: 20px 64px 28px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-rhead__id { flex: 1; min-width: 0; display: flex; align-items: center; gap: 18px; }
.d2-rhead__logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--surface-inverse); font: 600 28px/36px var(--font-body); color: #fff; overflow: hidden; }
.d2-rhead__names { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.d2-rhead__title { font-family: var(--font-heading); font-size: 42px; line-height: 42px; font-weight: 400; letter-spacing: -0.5px; color: var(--ink); white-space: nowrap; }
.d2-rhead__line { display: flex; align-items: center; gap: 12px; }
.d2-rhead__meta { font-size: 13px; line-height: 17px; color: var(--ink-secondary); white-space: nowrap; }
.d2-rscore { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.d2-rscore__k { font: 400 10px/13px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.d2-rscore__v { display: flex; align-items: flex-end; gap: 4px; }
.d2-rscore__n { font: 400 52px/68px var(--font-mono); letter-spacing: -1.5px; color: var(--ink); }
.d2-rscore__of { font: 400 16px/21px var(--font-mono); color: var(--ink-muted); }
.d2-rscore__pending { font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.d2-rhead__actions { flex: none; width: 220px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.d2-cta.d2-cta--lg { height: 45px; padding: 13px 0; font-size: 15px; line-height: 19px; }
.d2-rhead__disc { font: 400 10px/13px var(--font-mono); color: var(--ink-muted); }

.d2-rbody { display: flex; align-items: flex-start; gap: 32px; padding: 28px 64px 48px; }
.d2-rmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.d2-rrail { flex: none; width: 340px; display: flex; flex-direction: column; gap: 16px; }
.d2-verdict { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 10px; background: var(--accent-soft); }
.d2-verdict__k { font: 400 10px/13px var(--font-mono); letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent); }
.d2-verdict__t { font-size: 17px; line-height: 26px; color: var(--ink); }
.d2-rfacts { display: flex; flex-direction: column; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.d2-rfacts__row { display: flex; height: 81px; }
.d2-rfacts__row + .d2-rfacts__row { box-shadow: inset 0 1px 0 var(--line); }
.d2-rfact { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.d2-rfact + .d2-rfact { box-shadow: inset 1px 0 0 var(--line); }
.d2-rfact__k { font: 400 9px/12px var(--font-mono); letter-spacing: 1.1px; color: var(--ink-muted); white-space: nowrap; }
.d2-rfact__v.is-mono { font: 400 22px/31px var(--font-mono); color: var(--ink); }
.d2-rfact__v.is-text { font-size: 14px; line-height: 20px; color: var(--ink); }
.d2 .d2-rfact__v.d2-muted { color: var(--ink-muted); }
.d2-panel2 { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.d2-panel2__title { font-family: var(--font-heading); font-size: 22px; line-height: 22px; font-weight: 400; color: var(--ink); }
.d2-rtable { display: flex; flex-direction: column; gap: 10px; }
.d2-rtable__head, .d2-rtable__row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 90px 120px; align-items: center; }
.d2-rtable__head { height: 21px; padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--line); font: 400 10px/13px var(--font-mono); letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-muted); }
.d2-rtable__row { height: 36px; padding: 6px 0; font: 400 13px/17px var(--font-mono); color: var(--ink); }
.d2-rtable__coin { display: flex; align-items: center; gap: 10px; font: 600 14px/18px var(--font-body); }
.d2-rtable__coin img { width: 24px; height: 24px; border-radius: 50%; }
.d2-rnote { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.d2-rscores { gap: 14px; }
.d2-rscores__head { display: flex; justify-content: space-between; align-items: center; height: 22px; }
.d2-rscorebar { display: flex; flex-direction: column; gap: 6px; }
.d2-rscorebar__head { display: flex; justify-content: space-between; font-size: 14px; line-height: 18px; color: var(--ink); }
.d2-rscorebar__v { font: 400 12px/16px var(--font-mono); }
.d2-rscorebar__track { height: 8px; border-radius: 9999px; background: var(--surface-alt); }
.d2-rscorebar__track i { display: block; height: 8px; border-radius: 9999px; background: var(--accent); }
.d2-tradeoffs { display: flex; gap: 16px; }
.d2-tradeoff { flex: 1 1 0; min-width: 0; }
.d2-tradeoff__title { font: 600 15px/19px var(--font-body); color: var(--ink); }
.d2-tradeoff ul { display: flex; flex-direction: column; gap: 10px; }
.d2-tradeoff li { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-secondary); }
.d2-rreg__title { font-family: var(--font-heading); font-size: 20px; line-height: 20px; font-weight: 400; color: var(--ink); }
.d2-rreg__fact { display: flex; flex-direction: column; gap: 3px; height: 40px; padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--line); }
.d2-rreg__v { font-size: 13px; line-height: 17px; color: var(--ink); }
.d2-rreg .d2-textlink { align-self: flex-start; }
.d2-rcompare { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 10px; background: var(--surface-alt); }
.d2-rcompare__title { font: 600 14px/18px var(--font-body); color: var(--ink); }
.d2-rcompare__row { display: flex; align-items: center; gap: 10px; height: 28px; }
.d2 .d2-rcompare__row:hover { text-decoration: none; }
.d2 .d2-rcompare__row:hover .d2-rcompare__n { color: var(--accent); }
.d2-rcompare__logo { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--surface-inverse); font: 600 12px/16px var(--font-body); color: #fff; overflow: hidden; }
.d2-rcompare__n { flex: 1; min-width: 0; font: 500 14px/18px var(--font-body); color: var(--ink); }
.d2-rcompare__c { font: 400 13px/17px var(--font-mono); color: var(--ink); }
.d2-rcompare .d2-textlink { align-self: flex-start; }
.d2-riskbox { padding: 16px; border-radius: 8px; background: #FBF0E1; font-size: 12px; line-height: 18px; color: #5A4320; }
.d2-rhead__logo.has-img, .d2-rcompare__logo.has-img { background: none; border-radius: 50%; }
.d2-rhead__logo img, .d2-rcompare__logo img { width: 100%; height: 100%; display: block; border-radius: 50%; }
