/* TraderPayout wallet payout leaderboard. Tokens follow the live Payout Radar (.payout-radar) palette. */
:root {
  --ink: #0a0d12;
  --ink-2: #0d131d;
  --panel: #121822;
  --panel-2: #151d2a;
  --text: #ffffff;
  --text-hi: #ffffff;
  --muted: #a9b5c5;
  --muted-2: #ffffff;
  --blue: #1e90ff;
  --blue-hi: #38a1ff;
  --blue-soft: #69a7ff;
  --edge: rgba(96, 165, 250, .22);
  --edge-hi: rgba(120, 180, 255, .45);
  --div: rgba(59, 139, 246, .13);
  --row: rgba(255, 255, 255, .045);
  --gold: #ffd21f;
  --green: #41c47c;
  --amber: #d4a85a;
  --sans: "Geist", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --title: "Archivo", "Geist", Inter, system-ui, sans-serif;
  --mono: var(--sans);
  --r: 14px;
  --gutter: 28px;
  --toolbar-h: 64px;
  color-scheme: dark;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--toolbar-h) + 12px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(30, 144, 255, .13), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink) 520px);
  background-color: var(--ink);
  color: var(--text); font: 400 14px/1.5 var(--sans);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
a { color: var(--blue-soft); text-decoration: none; }
a:hover { color: #9cc7ff; text-decoration: underline; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
/* no fixed-width face: addresses and hashes use Geist with tabular figures */
.mono { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.muted { color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--blue); color: #fff; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
[hidden] { display: none !important; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 var(--sans); white-space: nowrap; vertical-align: 1px; }
.tag--full { color: #8fe0b5; background: rgba(65, 196, 124, .1); border: 1px solid rgba(65, 196, 124, .28); }
.tag--match { color: #f0cf8e; background: rgba(212, 168, 90, .1); border: 1px solid rgba(212, 168, 90, .32); }
.tag--soft { color: var(--muted-2); border: 1px solid var(--edge); }
.tag--xs { font-size: 10.5px; padding: 1px 7px; }

/* ---------- panels / charts ---------- */
.viz { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 12px; margin-top: 28px; }
.panel { padding: 16px 18px 14px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.panel__title { font: 650 15px/1.3 var(--title); color: var(--text-hi); }
.panel__sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.chart__plot { position: relative; border-radius: 8px; }
.chart__plot { min-height: 190px; }
.chart__plot svg { display: block; width: 100%; height: auto; }
.chart__plot .grid, .hist .grid { stroke: rgba(147, 180, 226, .09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__plot .ax, .hist .ax { fill: #7f90a8; font: 500 10.5px var(--sans); }
.bar .hit { fill: transparent; }
.bar .fill { fill: #2f7fe0; transition: fill .15s; }
.bar.partial .fill { fill: rgba(47, 127, 224, .45); }
.bar:hover .fill, .bar.sel .fill { fill: var(--blue-hi); }
.bar.sel .hit { fill: rgba(56, 161, 255, .07); }
.chart__readout { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--div); font-size: 13px; color: var(--muted-2); min-height: 32px; }
.readout__v strong { color: var(--text-hi); font-family: var(--title); font-size: 15px; }
.dist__list { display: grid; gap: 12px; }
.dist__row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.dist__label { color: var(--text); font-weight: 500; }
.dist__n { color: var(--text-hi); font-weight: 600; }
.dist__bar { height: 6px; margin-top: 6px; border-radius: 999px; background: rgba(147, 180, 226, .08); overflow: hidden; }
.dist__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0d63d8, var(--blue-hi)); }
.dist__meta { margin-top: 4px; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .viz { grid-template-columns: 1fr; } }


/* =====================================================================
   v5: measured layout around the supplied trophy photograph
   ===================================================================== */

/* ---------- v5 rhythm: one spacing scale, hairlines instead of boxes ---------- */
:root { --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px; --hair: rgba(148, 178, 220, .12); --measure: 1120px; }
@media (max-width: 640px) { :root { --s4: 32px; --s5: 48px; --s6: 64px; } }
.wrap { max-width: calc(var(--measure) + var(--gutter) * 2); }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--hair); background: transparent; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-hi); }
.brand:hover { text-decoration: none; color: var(--text-hi); }
.brand__img { display: block; height: 28px; width: auto; max-width: 200px; object-fit: contain; }
.brand__fallback { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: block; width: 28px; height: auto; border-radius: 7px; }
.brand__word { font: 800 19px/1 var(--title); letter-spacing: -.015em; }
.brand__word span { color: var(--blue-hi); margin-left: 1px; }
@media (max-width: 640px) { .topbar__in { min-height: 60px; } .brand__img { height: 24px; } .brand__mark { width: 24px; } .brand__word { font-size: 17px; } }

/* ---------- firm marks ---------- */
.firm { display: inline-flex; align-items: center; gap: 6px; font: 800 13px/1 var(--title); color: var(--text-hi); white-space: nowrap; }
.firm::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-hi); flex: none; }
.firm--img::before { display: none; }
.firm__img { display: block; width: auto; object-fit: contain; }
/* the firm sits above the title at the same visual weight as the site logo, not as a second headline */
.firm--hero { font-size: 16px; font-weight: 700; letter-spacing: .01em; color: #dbe4f0; }
.firm--hero::before { display: none; }
.firm--hero .firm__img { height: 24px; max-width: 160px; }
.firm--dw { font-size: 14px; }
.firm--dw .firm__img { height: 18px; max-width: 120px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; }
.hero__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s4); padding-top: var(--s5); }
.hero__text { flex: 1 1 520px; max-width: 640px; min-width: 0; }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.lockup { display: inline-flex; align-items: center; min-height: 24px; }
.hero__name { font: 700 clamp(34px, 4.2vw, 52px)/1.04 var(--title); letter-spacing: -.03em; color: #fff; }
.hero__lede { margin-top: var(--s2); font-size: 15.5px; line-height: 1.65; color: var(--muted-2); text-wrap: pretty; }
.hero__link { font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(105, 167, 255, .45); }
@media (max-width: 640px) {
  .hero__in { padding-top: var(--s4); gap: var(--s3); }
  .hero__name { font-size: 34px; }
}
@media (max-width: 360px) {
  .hero__name { font-size: 28px; }
  .hero__lede { font-size: 14.5px; }
  .seg--hero { width: 100%; }
  .seg--hero button { flex: 1; }
}

/* ---------- segmented control ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted-2); font-weight: 600; font-size: 13px; white-space: nowrap; }
.seg button:hover { color: var(--text-hi); }
.seg button[aria-checked="true"] { color: #fff; background: #1a6ee0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.seg--sm button { min-height: 32px; padding: 0 12px; font-size: 12px; }

/* ---------- stage: framing is set by the installed artwork (--stage-ratio / --stage-pos / --stage-max) ---------- */
.stage { position: relative; isolation: isolate; margin-top: var(--s4); overflow-x: clip; }
.stage__media { position: relative; width: min(var(--stage-max, 820px), 100%); margin: 0 auto; aspect-ratio: var(--stage-ratio, 3 / 2); overflow: hidden; }
/* a wide neutral halo (the artwork's own backdrop tone, ~#0f1014) so the page rises gradually to the photo:
   no edge, no oval; purely behind the image, never over it */
.stage::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(calc(var(--stage-max, 820px) * 1.7), 170vw); aspect-ratio: var(--stage-ratio, 3 / 2); transform: translate(-50%, -6%) scale(1, 1.25);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #0f1014 0%, rgba(15, 16, 20, .92) 32%, rgba(13, 15, 19, .55) 56%, rgba(10, 13, 18, 0) 100%); pointer-events: none; }
/* one continuous scene. Fades are set from measured positions in the artwork's crop window:
   gold top at 11% (top fade ends at 9%), feet at ~87% (bottom fade starts at 86%, floor reflection fades out),
   plaques span 11-91% horizontally (side fades 0-8% and 92-100%). Every fade reaches zero at the edge. */
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--stage-pos, 50% 50%); opacity: 0; transition: opacity .6s ease;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect; }
.stage.is-loaded .stage__img { opacity: 1; }
.stage.is-noimage .stage__media { display: none; }
.stage__wrap { max-width: calc(var(--stage-max, 820px) + var(--gutter) * 2); position: relative; z-index: 1; margin-top: var(--s2); }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "p2 p1 p3"; align-items: start; }
.pinfo--1 { grid-area: p1; } .pinfo--2 { grid-area: p2; } .pinfo--3 { grid-area: p3; }
/* centre each summary on its plaque (shift measured from the artwork, see app.js stageShifts) */
.pinfo { transform: translateX(var(--shift, 0%)); }
.pinfo { display: grid; justify-items: center; text-align: center; align-content: start; gap: 2px; min-width: 0; padding: 0 8px; }
.pinfo__place { font: 700 13px/1.3 var(--title); letter-spacing: .02em; color: #c9d2de; }
.pinfo--1 .pinfo__place { color: #f1cf6a; }
.pinfo--3 .pinfo__place { color: #dca37b; }
.pinfo__total { margin-top: 6px; font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--title); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.pinfo__wallet { margin-top: 6px; font-size: 13.5px; color: var(--text); }
.pinfo__meta { font-size: 13px; color: var(--muted); }
.pinfo__cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; padding: 0 10px; border: 0; background: none; color: var(--blue-soft); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pinfo__cta:hover { color: #9cc7ff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .pinfo__total { font-size: 22px; } .pinfo__meta { font-size: 12.5px; } }
/* phones: one quiet list in rank order under the artwork, separated by hairlines rather than boxes */
@media (max-width: 640px) {
  .stage { margin-top: var(--s3); }
  .stage__wrap { margin-top: var(--s1); }
  .podium { grid-template-columns: 1fr; grid-template-areas: none; border-top: 1px solid var(--hair); }
  .pinfo, .pinfo--1, .pinfo--2, .pinfo--3 { grid-area: auto; }
  .pinfo { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "place total" "place wallet" "place meta" "place cta"; transform: none; justify-items: start; text-align: left; align-items: center; column-gap: 12px; row-gap: 2px; padding: var(--s2) 0; border-bottom: 1px solid var(--hair); }
  .pinfo__place { grid-area: place; align-self: start; padding-top: 5px; font-size: 14px; }
  .pinfo__total { grid-area: total; margin: 0; font-size: 22px; }
  .pinfo__wallet { grid-area: wallet; margin: 2px 0 0; font-size: 13px; }
  .pinfo__meta { grid-area: meta; }
  .pinfo__cta { grid-area: cta; justify-self: start; margin: 2px 0 0 -10px; }
}

/* ---------- stats rail ---------- */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s5); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: var(--s3) var(--s3) var(--s3) 0; min-width: 0; }
.stat + .stat { padding-left: var(--s3); border-left: 1px solid var(--hair); }
.stat__label { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.stat__value { font: 700 clamp(22px, 2.1vw, 28px)/1.15 var(--title); letter-spacing: -.015em; color: #fff; white-space: nowrap; }
.stat__sub { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 640px) { .stat { padding: var(--s2) var(--s2) var(--s2) 0; } .stat + .stat { padding-left: var(--s2); } .stat__value { font-size: 20px; } .stat__sub { font-size: 12px; } }
@media (max-width: 360px) { .stat__value { font-size: 18.5px; } }

/* ---------- seals (profile identity; small in the ranking, absent from the podium) ---------- */
.sealwrap { display: inline-block; flex: none; line-height: 0; border-radius: 50%; }
.sealwrap .seal { width: 100%; height: 100%; display: block; }

/* ---------- ranking ---------- */
.board { margin-top: var(--s6); outline: none; }
.board__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.board__title { font: 700 30px/1.15 var(--title); letter-spacing: -.02em; color: #fff; }
.board__sub { margin-top: 6px; font-size: 14px; color: var(--muted-2); line-height: 1.55; }
.toolbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: var(--s3) calc(var(--gutter) * -1) 0; padding: 10px var(--gutter); background: #0a0d12; }
.search { position: relative; flex: 1 1 260px; min-width: 0; }
.search svg { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, .025); color: var(--text-hi); font-family: var(--mono); font-size: 13px; }
.search input::placeholder { color: #71839c; font-family: var(--sans); }
.search input:focus { border-color: var(--blue-hi); outline: none; box-shadow: 0 0 0 3px rgba(56, 161, 255, .18); }
.sort { display: inline-flex; gap: 8px; }
.sort select { min-height: 44px; padding: 0 34px 0 12px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, .025) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23a2b5cc' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; appearance: none; -webkit-appearance: none; font-size: 13px; font-weight: 500; }
.sort select option { background: #0f1622; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, .025); color: var(--text-hi); }
.iconbtn:hover { border-color: var(--edge-hi); }
.iconbtn svg { width: 18px; height: 18px; transition: transform .2s; }
.iconbtn svg.up { transform: rotate(180deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: #1a6ee0; color: #fff; font-weight: 600; font-size: 13.5px; text-align: center; }
.btn:hover { background: #2a7cf0; text-decoration: none; color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: transparent; border: 1px solid var(--hair); color: var(--text-hi); }
.btn--ghost:hover { border-color: var(--edge-hi); background: rgba(30, 144, 255, .06); }
.btn--sm { padding: 0 14px; font-size: 13px; }
@media (max-width: 760px) {
  .toolbar { position: relative; gap: 8px; padding-top: 0; padding-bottom: 0; background: none; }
  .search { flex: 1 1 100%; }
  .sort { flex: 1 1 auto; min-width: 0; }
  .sort select { flex: 1; min-width: 0; width: 100%; }
  #export { flex: 0 0 auto; }
}
.status { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.lb { margin-top: var(--s2); border-top: 1px solid var(--hair); }
.lb__head, .row { display: grid; grid-template-columns: 56px minmax(220px, 1.7fr) minmax(130px, 1.1fr) 84px minmax(110px, 1fr) 120px 128px; align-items: center; column-gap: 16px; padding: 0 4px; }
.row__facts { display: contents; }
.lb__head { min-height: 46px; border-bottom: 1px solid var(--hair); font-size: 12.5px; font-weight: 500; color: var(--muted); position: sticky; top: var(--toolbar-h); z-index: 5; background: #0a0d12; }
.lb__head button { align-self: stretch; min-height: 46px; min-width: 44px; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.lb__head button:hover, .lb__head button.on { color: var(--text-hi); }
.lb__head button.on::after { content: " \2193"; color: var(--blue-hi); }
.lb__head button.on[data-dir="asc"]::after { content: " \2191"; }
.lb__head button[data-sort="rank"].on[data-dir="asc"]::after { content: " \2193"; }
.lb__head button[data-sort="rank"].on[data-dir="desc"]::after { content: " \2191"; }
.num { text-align: right; justify-self: end; }
.row { position: relative; min-height: 64px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); transition: background .12s; }
.row:hover { background: rgba(59, 139, 246, .04); }
.row__rank { display: inline-flex; align-items: baseline; gap: 2px; font: 700 15px/1 var(--title); color: var(--muted-2); }
.row--r1 .row__rank { color: #f1cf6a; } .row--r2 .row__rank { color: #dfe5ee; } .row--r3 .row__rank { color: #dca37b; }
.row__tie { font-size: 12px; color: var(--muted); }
.row__wallet { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row__seal { width: 24px; height: 24px; opacity: .9; }
.lb__open { padding: 0; border: 0; background: none; color: var(--text-hi); font-size: 14px; font-weight: 500; text-align: left; }
.lb__open::after { content: ""; position: absolute; inset: 0; }
.lb__open:focus-visible { outline: none; }
.lb__open:focus-visible::after { outline: 2px solid var(--blue-hi); outline-offset: -2px; border-radius: 4px; }
.row:hover .lb__open { color: var(--blue-soft); }
.copy { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; margin: -8px -6px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); }
.copy:hover { color: var(--text-hi); background: rgba(255, 255, 255, .04); }
.copy svg { width: 15px; height: 15px; }
.row__label { display: none; }
.row__cell { min-width: 0; text-align: right; justify-self: end; }
.row__total strong { font: 700 16px/1.2 var(--title); color: #fff; white-space: nowrap; }
.row__count, .row__largest, .row__latest { color: var(--text); font-size: 14px; }
.row__largest .row__v, .row__latest .row__v { white-space: nowrap; }
.row__proof .row__v { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.proof { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.proof svg { width: 10px; height: 10px; }
@media (max-width: 1120px) {
  .lb__head, .row { grid-template-columns: 44px minmax(190px, 1.6fr) minmax(120px, 1fr) 70px minmax(100px, 1fr) 108px 116px; column-gap: 12px; }
}
/* phones: an unboxed list. Line 1 wallet, line 2 full total, line 3 facts in prose, line 4 proof. */
@media (max-width: 860px) {
  .lb__head { display: none; }
  .row { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "rank wallet" ". total" ". facts" ". proof"; gap: 4px 8px; padding: var(--s2) 0; min-height: 0; }
  .row:hover { background: none; }
  .row__rank { grid-area: rank; font-size: 15px; padding-top: 4px; }
  .row__wallet { grid-area: wallet; }
  .row__total { grid-area: total; text-align: left; justify-self: start; }
  .row__total strong { font-size: 20px; }
  .row__facts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 2px 16px; }
  .row__facts .row__cell { justify-self: auto; text-align: left; }
  .row__facts .row__label { display: inline; margin-right: 5px; color: var(--muted); font-size: 13px; }
  .row__facts .row__v { font-size: 13.5px; color: var(--text); white-space: nowrap; }
  .row__proof { grid-area: proof; justify-self: start; text-align: left; }
  .row__proof .row__v { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .proof { min-height: 32px; }
}

.empty { padding: 36px 20px; text-align: center; }
.empty h3 { font: 650 16px/1.35 var(--title); color: var(--text-hi); }
.empty p { margin: 6px auto 0; max-width: 52ch; color: var(--muted-2); font-size: 13.5px; line-height: 1.55; }
.empty .btn, .empty__actions { margin-top: 14px; }
.empty__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.empty__actions .btn { margin-top: 0; }
.empty--error { border: 1px solid rgba(212, 168, 90, .35); border-radius: 16px; }
.more { display: flex; justify-content: center; padding: var(--s3) 0 0; }
@media (max-width: 860px) { .more .btn { width: 100%; } }

/* ---------- Declared by Apex: firm-reported, set apart by an amber rule and its own type, not by boxes ---------- */
.apex { margin-top: var(--s6); padding-top: var(--s4); border-top: 2px solid rgba(212, 168, 90, .45); }
.apex__label { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #e8c27e; }
.apex__title { margin-top: 10px; font: 700 26px/1.2 var(--title); letter-spacing: -.015em; color: #fff; }
.apex__note { margin-top: 8px; max-width: 70ch; font-size: 14.5px; line-height: 1.65; color: var(--muted-2); }
.apex__details { margin-top: var(--s2); max-width: 820px; }
.apex__details > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; color: #e8c27e; list-style: none; }
.apex__details > summary::-webkit-details-marker { display: none; }
.apex__details > summary::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.apex__details[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.apex__details ul { padding: 4px 0 8px 18px; list-style: disc; display: grid; gap: 8px; }
.apex__details li { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); overflow-wrap: anywhere; }
.apex__details strong { color: var(--text); font-weight: 600; }
.apex__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: var(--s3); }
.apex__search { flex: 0 1 340px; }
.apex__search input { font-family: var(--sans); }
.apex__count { font-size: 13px; color: var(--muted); }
.apex__table { margin-top: var(--s2); border-top: 1px solid var(--hair); }
.apex__row { display: grid; grid-template-columns: 130px minmax(100px, .8fr) minmax(170px, 1.3fr) 110px 130px; gap: 6px 16px; align-items: center; min-height: 52px; padding: 8px 4px; border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--text); }
.apex__row--head { min-height: 44px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.apex__amt { font: 700 15px/1.3 var(--title); color: #fff; }
/* phones: name and amount on one line, location and date beneath, certificate last; cells keep sr-only labels */
@media (max-width: 760px) {
  .apex__row--head { display: none; }
  .apex__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name amt" "region region" "date date" "cert cert"; gap: 2px 12px; padding: 14px 0; }
  .apex__name { grid-area: name; font: 600 15px/1.35 var(--title); color: #fff; }
  .apex__amt { grid-area: amt; justify-self: end; text-align: right; }
  .apex__region { grid-area: region; font-size: 13.5px; color: var(--muted-2); }
  .apex__date { grid-area: date; font-size: 13px; color: var(--muted); }
  .apex__cert { grid-area: cert; justify-self: start; text-align: left; }
  .apex__search { flex: 1 1 100%; }
  .apex__cert .proof { min-height: 32px; }
}

/* ---------- progressive disclosures: quiet rows divided by hairlines ---------- */
.fold { margin-top: 0; border-bottom: 1px solid var(--hair); }
.board + .fold, .apex + .fold { margin-top: var(--s6); border-top: 1px solid var(--hair); }
.fold > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t chev" "s chev"; align-items: center; column-gap: 14px; min-height: 72px; padding: 14px 0; list-style: none; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold__t { grid-area: t; font: 700 17px/1.35 var(--title); color: #fff; }
.fold__s { grid-area: s; font-size: 13px; color: var(--muted); }
.fold > summary svg { grid-area: chev; width: 28px; height: 28px; padding: 9px 7px; border: 1px solid var(--hair); border-radius: 50%; color: var(--text-hi); transition: transform .2s; }
.fold[open] > summary svg { transform: rotate(180deg); }
.fold > summary:hover .fold__t { color: var(--blue-soft); }
.fold .viz { margin: 0; padding: 0 0 var(--s3); }
.panel { border: 1px solid var(--hair); border-radius: 14px; background: rgba(255, 255, 255, .015); }
.method__body { padding: 0 0 var(--s3); }
.method__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.method__block h3 { font: 650 14px/1.35 var(--title); color: #fff; margin-bottom: 8px; }
.method__block p, .method__block li { font-size: 13.5px; line-height: 1.65; color: var(--muted-2); }
.method__block p + p { margin-top: 8px; }
.method__block .links li + li { margin-top: 6px; }
.method__block .mono { display: block; font-size: 11.5px; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .method__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .method__grid { grid-template-columns: 1fr; } }

.foot { margin: var(--s5) 0 var(--s4); padding-top: var(--s2); border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- profile drawer ---------- */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(620px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--edge-hi); background: radial-gradient(90% 40% at 30% 0%, rgba(30, 144, 255, .16), transparent 70%), linear-gradient(180deg, #0f1828, #0a0f18 420px); color: var(--text); box-shadow: -30px 0 80px rgba(0, 0, 0, .5); }
.drawer::backdrop { background: rgba(4, 7, 12, .7); backdrop-filter: blur(3px); }
.drawer[open] { animation: slide .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__in { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 26px; }
@media (max-width: 640px) { .drawer { width: 100vw; border-left: 0; } .drawer__in { padding: 0 16px; } }
.dw__bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -26px; padding: 12px 26px; background: #0c121d; border-bottom: 1px solid var(--div); }
@media (max-width: 640px) { .dw__bar { margin: 0 -16px; padding: 8px 16px; } }
.dw__bar-t { font: 650 11.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); }
.dw__hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 22px; padding: 20px; border: 1px solid var(--edge); border-radius: 20px; background: radial-gradient(60% 90% at 0% 50%, rgba(30, 144, 255, .14), transparent 70%), rgba(13, 20, 32, .7); }
.dw__hero--r1 { border-color: rgba(255, 210, 31, .4); background: radial-gradient(60% 90% at 0% 50%, rgba(255, 210, 31, .1), transparent 70%), rgba(13, 20, 32, .7); }
.dw__seal { width: 112px; height: 112px; box-shadow: 0 0 0 4px rgba(10, 15, 24, .9), 0 0 0 5px rgba(79, 176, 255, .35), 0 18px 40px rgba(0, 0, 0, .45); }
.dw__hero--r1 .dw__seal { box-shadow: 0 0 0 4px rgba(10, 15, 24, .9), 0 0 0 5px rgba(255, 210, 31, .55), 0 18px 40px rgba(0, 0, 0, .45); }
.dw__heroid { min-width: 0; display: grid; gap: 6px; }
.dw__title { font-size: 22px; font-weight: 500; color: var(--text-hi); }
.dw__ident { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--muted-2); }
.dw__total { margin-top: 4px; font: 800 34px/1.05 var(--title); letter-spacing: -.02em; color: var(--text-hi); }
.dw__totlabel { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted-2); }
.dw__totlabel .medal { width: 22px; height: 22px; font-size: 11px; }
@media (max-width: 480px) {
  .dw__hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 14px; gap: 14px; }
  .dw__seal { width: 96px; height: 96px; }
  .dw__heroid { justify-items: center; }
  .dw__ident, .dw__totlabel { justify-content: center; }
  .dw__total { font-size: 30px; }
}
.dw__addr { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(10, 15, 24, .7); }
.dw__addrlabel { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dw__addr code { display: block; font-size: 13px; color: var(--text-hi); overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.dw__addr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dw__addr-actions svg { width: 14px; height: 14px; }
.dw__note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dw__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 16px; border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; background: var(--div); }
.dw__stats > div { padding: 12px 14px; background: #0f1622; min-width: 0; }
.dw__stats dt { font-size: 10.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dw__stats dd { margin-top: 4px; font: 700 16px/1.25 var(--title); color: var(--text-hi); overflow-wrap: anywhere; }
.dw__period { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(30, 144, 255, .07); border: 1px solid var(--edge); font-size: 13px; line-height: 1.5; }
.dw__period strong { color: var(--text-hi); }
.dw__sec { margin-top: 24px; }
.dw__h { font: 700 15px/1.3 var(--title); color: var(--text-hi); }
.dw__rechead { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dw__mix { font-size: 12.5px; color: var(--muted); }
.hist { margin-top: 10px; }
.hist svg { display: block; width: 100%; height: auto; }
.hist .grid { stroke: rgba(147, 180, 226, .09); stroke-width: 1; }
.hist .ax { fill: #7f90a8; font: 500 10.5px var(--sans); }
.hist .area { fill: rgba(30, 144, 255, .12); }
.hist .line { fill: none; stroke: var(--blue-hi); stroke-width: 1.8; stroke-linejoin: round; }
.hist .dot { fill: #0b1019; stroke: var(--blue-hi); stroke-width: 1.4; }
.hist .dot--match { stroke: var(--amber); }
.hist figcaption { margin-top: 6px; font-size: 12px; }
/* receipt timeline */
.receipts { position: relative; }
.receipts::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(79, 176, 255, .55), rgba(79, 176, 255, .08)); }
.rc { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 124px; gap: 4px 14px; align-items: center; margin-left: 22px; padding: 12px 0; border-bottom: 1px solid var(--row); outline: none; }
.rc::before { content: ""; position: absolute; left: -20px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: #0b1019; border: 2px solid #41c47c; box-shadow: 0 0 0 3px rgba(10, 15, 24, .9); }
.rc--match::before { border-color: var(--amber); }
.rc--out { opacity: .6; }
.rc__amt { display: block; font: 800 15.5px/1.25 var(--title); color: var(--text-hi); }
.rc__exact { display: block; font-size: 11.5px; color: var(--muted); }
.rc__meta { font-size: 12.5px; color: var(--text); line-height: 1.45; }
.rc__meta time { display: block; }
.rc__tx { display: block; font-size: 11.5px; color: var(--muted); }
.rc__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 520px) {
  .rc { grid-template-columns: minmax(0, 1fr) auto; }
  .rc__meta { grid-column: 1 / -1; grid-row: 2; }
  .rc__side { grid-row: 1; grid-column: 2; }
}
.dw__foot { position: sticky; bottom: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin: 22px -26px 0; padding: 12px 26px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--edge); background: #0b1019; }
@media (max-width: 640px) { .dw__foot { margin: 22px -16px 0; padding-left: 16px; padding-right: 16px; } .dw__foot .btn { flex: 1 1 140px; } }
/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; max-width: calc(100vw - 32px); padding: 10px 16px; border: 1px solid var(--edge-hi); border-radius: 10px; background: #13203a; color: var(--text-hi); font-size: 13px; font-weight: 500; box-shadow: 0 14px 36px rgba(0, 0, 0, .4); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* v7: a centered source explorer, wide enough for the existing site. */
:root{--measure:1400px;--text:#fff;--muted-2:#fff;--muted:#c6d0dd}
[hidden]{display:none!important}
.hero__in{display:block;padding-top:52px;text-align:center}
.hero__text{max-width:none;width:100%}.hero__title{align-items:center;gap:16px}
.hero__eyebrow{font:600 11px/1.5 var(--sans);letter-spacing:.22em;color:#91b7eb}
.hero__name{font-size:clamp(34px,4.6vw,66px);font-weight:700;letter-spacing:-.045em;line-height:1.1}
.hero__lede{font-size:20px;margin:18px 0 0;color:white;text-wrap:balance}.hero__scope{margin:9px 0 0;color:#c6d0dd;font-size:14px;line-height:1.6}
.source-switch{margin-top:34px;text-align:center}.source-switch .seg{display:inline-flex;width:auto;margin-top:20px}
#firm-nav{display:flex;justify-content:center;gap:8px;border-bottom:1px solid var(--hair);padding:0 0 20px}
#firm-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:60px;padding:9px 20px;border:1px solid transparent;background:none;color:#d9e1ec;border-radius:10px;font-size:15px;font-weight:600;white-space:nowrap}
#firm-nav button[aria-pressed=true]{background:#12233c;border-color:#31598c;color:#fff;box-shadow:inset 0 1px #ffffff0b}
#firm-nav button:hover{background:#132032}.switch-mark{display:grid;place-items:center;width:32px;height:32px;flex:none}.switch-mark img{object-fit:contain;width:100%;height:100%}.switch-mark span{font-size:12px;color:#a6caff}
#firm-nav small{position:absolute;top:100%;font-size:10px;color:#c4ae82;font-weight:400;line-height:16px}
.source-context{margin-top:28px}.source-kicker{color:#8db8f5;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.14em;line-height:1.6}#source-title{font:700 25px/1.3 var(--title);margin:5px 0 7px}#source-description{font-size:14px;line-height:1.7;color:#fff;margin:0}#source-method{display:inline-block;font-size:12px;line-height:2;margin-top:4px}
.stage{margin-top:14px}.stage__media{max-height:490px}.stage__img{object-fit:cover;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent)}
.stage__wrap{margin-top:-6px}.pinfo{transform:none;gap:4px}.pinfo__total{font-size:32px}.pinfo__meta{color:#c6d0dd}.rail{margin-top:44px}.stat{text-align:center}.stat__label{display:block;font-size:12px;color:#c6d0dd}.firm-stats .stat{padding:26px 12px}.firm-date{font-size:24px}.board__title{font-size:28px}.apex{margin-top:32px}.apex__head{text-align:center}.apex__title{font-size:28px}
.source-row{display:grid;grid-template-columns:1.35fr 1fr .6fr .9fr 1fr;gap:20px;align-items:center;padding:21px 16px;border-bottom:1px solid var(--hair);font-size:14px;min-width:0}.source-row>div{display:flex;align-items:center;gap:17px}.source-row>strong,.source-row>span{text-align:right}.source-row i{display:none}.source-row--head{font-size:11px;color:#c6d0dd;text-transform:uppercase;letter-spacing:.07em;padding-top:16px;padding-bottom:16px}.source-rank{color:#c6d0dd;min-width:22px}.source-wallet{border:0;background:none;color:#a2c6ff;font-weight:600;padding:8px 0}.source-table{border-top:1px solid var(--hair)}#firm-status{font-size:12px;color:#c6d0dd;margin-top:20px}#firm-sort{background:#0c1420;color:#fff;border:1px solid var(--hair);border-radius:10px;padding:12px;font:inherit}.firm-profile{padding:24px;max-width:100%;color:#fff}.firm-profile header{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#9bc2ff;font-size:12px}.firm-profile h2{font:700 28px var(--title);margin-top:28px}.profile-total{font:700 38px var(--title);margin:14px 0 8px}.firm-profile code{display:block;font:13px/1.7 var(--sans);overflow-wrap:anywhere;margin:24px 0}.profile-note{font-size:13px;line-height:1.8;color:#d4dce7}.firm-profile h3{font-size:18px;margin:32px 0 16px}.transfer-list article{padding:20px 0;border-top:1px solid var(--hair);display:grid;grid-template-columns:1fr auto;gap:8px}.transfer-list article p,.transfer-list article a{grid-column:1/-1;font-size:12px;line-height:1.6}.transfer-list time{font-size:12px;color:#d4dce7}.transfer-list strong{font-size:20px}.transfer-list p{margin:0}
body[data-firm=apex] #source-method{display:none}
@media(min-width:1600px){.wrap{max-width:1500px}}
@media(max-width:900px){#firm-nav button{padding:9px 12px;font-size:13px;gap:7px}.switch-mark{width:25px;height:25px}.source-row{gap:12px;padding:18px 8px}.pinfo__total{font-size:26px}}
@media(max-width:640px){.hero__in{padding-top:32px}.hero__title{gap:14px}.hero__name{font-size:35px}.hero__eyebrow{font-size:9px;letter-spacing:.16em}.hero__lede{font-size:17px;line-height:1.5;margin-top:16px}.hero__scope{font-size:12px;line-height:1.7;margin-top:8px}.source-switch{margin-top:25px}#firm-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding-bottom:22px}#firm-nav button{flex-direction:column;gap:7px;padding:10px 1px;min-height:76px;font-size:10px;border-radius:8px}#firm-nav small{font-size:8px;white-space:normal;line-height:11px}.switch-mark{width:27px;height:27px}.source-context{margin-top:22px}#source-title{font-size:23px}#source-description{font-size:13px;line-height:1.7}.source-kicker{font-size:9px;letter-spacing:.06em}.stage{margin-top:10px}.stage__wrap{margin-top:5px}.stage__media{aspect-ratio:1536/930!important}.pinfo{display:grid;grid-template-columns:1fr;grid-template-areas:'place' 'total' 'wallet' 'meta' 'cta';justify-items:center;text-align:center;padding:20px 0;gap:3px}.pinfo__place{padding:0;font-size:12px}.pinfo__total{font-size:28px}.pinfo__wallet{margin-top:3px}.pinfo__cta{justify-self:center;margin:0}.rail{margin-top:28px}.stat__value{font-size:22px}.firm-date{font-size:19px}.firm-stats .stat{padding:22px 8px}.source-row{grid-template-columns:1fr 1fr;gap:12px;font-size:13px;padding:20px 0}.source-row>div{gap:12px}.source-row>strong{font-size:19px}.source-row>span{text-align:left;display:flex;flex-direction:column;gap:4px}.source-row>span:last-child{grid-column:1/-1}.source-row>span i{display:block;font-size:10px;font-style:normal;color:#c6d0dd;text-transform:uppercase;letter-spacing:.06em}.source-row--head{display:none}.board__title,.apex__title{font-size:25px;line-height:1.3}.firm-profile{padding:18px}.profile-total{font-size:32px}}
@media(min-width:641px){.hero__in{padding-top:34px}.hero__name{font-size:58px}.hero__title{gap:12px}.hero__lede{margin-top:12px;font-size:18px}.source-switch{margin-top:24px}#firm-nav{padding-bottom:15px}.source-context{margin-top:18px}.stage{--stage-max:740px!important}.stage__wrap{max-width:850px}.pinfo__total{font-size:29px}.pinfo__meta{font-size:12px}.source-switch .seg{margin-top:12px}.rail{margin-top:30px}}
.apex__note{max-width:none}.apex__details{max-width:none}#firm-drawer{overflow-y:auto;animation:none;transform:none}#firm-drawer::backdrop{backdrop-filter:blur(3px)}
@media(min-width:641px){.stage{--stage-max:620px!important}.stage__wrap{max-width:850px}.stage__media{aspect-ratio:1536/820!important}.pinfo__total{font-size:28px}.hero__in{padding-top:28px}.source-context{margin-top:16px}}
/* v8: one continuous hero, quiet data field, source navigation at the table. */
.hero{background:radial-gradient(ellipse at 50% 24%,#10244255,transparent 64%)}
.hero__in{position:relative;z-index:1;padding-top:35px}.hero__eyebrow{color:#91b6e8}.hero__title{gap:11px}.hero__name{font-size:clamp(34px,4.1vw,58px)}.hero__lede{margin-top:11px;font-size:17px}.hero__scope{font-size:12px;margin-top:7px;color:#c6d0dd}
.source-switch{position:relative;z-index:1;margin-top:16px}.source-context{margin-top:0}.source-kicker{font-size:9px}.source-context #source-title{font-size:20px;margin:4px 0}.source-context #source-description{font-size:12px;line-height:1.7}.source-switch .seg{margin-top:10px}.source-context #source-method{font-size:11px;margin-top:1px}
.radar-field{position:absolute;z-index:-1;pointer-events:none;width:780px;height:780px;left:50%;top:-490px;transform:translateX(-50%);opacity:.45;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 95px,#538bdc24 96px 97px,transparent 98px 99px);mask-image:linear-gradient(#000 30%,#000 70%,transparent);overflow:hidden}
.radar-field:before,.radar-field:after{content:'';position:absolute;background:#5997e924}.radar-field:before{width:1px;height:100%;left:50%}.radar-field:after{height:1px;width:100%;top:50%}.radar-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,transparent 300deg,#5a9ef100 300deg,#5a9ef125 353deg,#7db3fc40 359deg,transparent 360deg);animation:radar-turn 28s linear infinite}.radar-field i{position:absolute;width:4px;height:4px;border-radius:50%;background:#8bbcff;box-shadow:0 0 14px #74adff}.radar-field i:nth-of-type(1){left:29%;top:77%}.radar-field i:nth-of-type(2){left:67%;top:81%}.radar-field i:nth-of-type(3){left:78%;top:61%}.radar-field i:nth-of-type(4){left:17%;top:58%}.radar-field i:nth-of-type(5){left:44%;top:91%}.radar-field i:nth-of-type(6){left:85%;top:37%}@keyframes radar-turn{to{transform:rotate(360deg)}}
.stage{--stage-max:980px!important;width:100%;margin-top:6px;background:radial-gradient(ellipse at 50% 70%,#0d162788,transparent 70%)}.stage::before{display:none}.stage__media{width:min(850px,100%);max-height:none;aspect-ratio:1536/780!important}.stage__img{mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 89%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 89%,transparent 100%)}.stage__wrap{max-width:1040px;margin-top:-8px}.pinfo__total{font-size:31px}.pinfo__meta{font-size:12px}.pinfo__cta{font-size:13px}.pinfo{padding-bottom:20px}
.rail{margin-top:0;margin-bottom:0;border-top:1px solid #5c88bf25;border-bottom:1px solid #5c88bf25;background:linear-gradient(90deg,transparent,#12264255,transparent)}.stat,.firm-stats .stat{padding:24px 16px}.stat__value{font-size:30px}.stat__label{font-size:11px;color:#c9d5e5}.stat__sub{font-size:11px}.firm-date{font-size:25px}
#firm-nav{padding:25px 0 22px;justify-content:flex-start;gap:12px;border-bottom:1px solid #5c88bf25;margin-bottom:4px}#firm-nav button{min-height:55px;padding:9px 19px;border-radius:8px}#firm-nav small{position:static;font-size:9px;line-height:1.4;max-width:40px;white-space:normal;text-align:left}
.board{padding-top:28px}.board__head{margin-bottom:20px}.board__title{font-size:26px}.board__sub{font-size:12px}.apex{margin-top:24px;border-top:0;padding-top:0}.apex__head{text-align:left}.apex__title{font-size:26px}.apex__label{font-size:10px}.apex__note{font-size:13px}.apex__tools{margin-top:16px}
body[data-firm=apex] .hero{padding-bottom:20px}
@media(min-width:641px){.stage__media{width:760px;aspect-ratio:1536/750!important}.stage__wrap{max-width:1040px}.hero__in{padding-top:28px}.hero__name{font-size:52px}.hero__lede{font-size:16px}.source-switch{margin-top:13px}.pinfo__total{font-size:30px}}
@media(min-width:1600px){.stage__media{width:880px}.stage__wrap{max-width:1180px}.pinfo__total{font-size:34px}}
@media(max-width:640px){.hero__in{padding-top:28px}.hero__name{font-size:34px}.hero__lede{font-size:15px;line-height:1.5}.hero__scope{font-size:11px;line-height:1.6}.hero__eyebrow{font-size:8px}.source-switch{margin-top:17px}.source-context #source-description{font-size:12px;line-height:1.65}.source-context #source-title{font-size:21px}.source-context #source-method{font-size:11px}.stage__media{aspect-ratio:1536/930!important;width:100%}.stage__wrap{margin-top:-4px}.stage .pinfo{padding:16px 0}.pinfo__total{font-size:27px}.pinfo__meta{font-size:12px}.stage .podium{border-top:0}.rail{margin-top:0}.stat,.firm-stats .stat{padding:19px 6px}.stat__value{font-size:22px}.firm-date{font-size:20px}.stat__label{font-size:10px}.stat__sub{font-size:10px;line-height:1.6}#firm-nav{padding:19px 0 17px;gap:3px;margin-bottom:0}#firm-nav button{padding:9px 1px;min-height:78px;font-size:10px;gap:6px}#firm-nav small{font-size:7px;max-width:none;text-align:center;line-height:1.2;position:absolute;top:auto;bottom:-9px}.board{padding-top:25px}.radar-field{width:620px;height:620px;top:-390px;opacity:.3}.apex__head{text-align:left}.apex__title{font-size:24px}.apex__note{font-size:12px}.pinfo__cta{font-size:13px}}
@media(prefers-reduced-motion:reduce){.radar-sweep{animation:none}}
.hero{overflow-x:clip}
.hero{overflow:hidden}.radar-field{opacity:.28}.stage__img{mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 88%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 88%,transparent);-webkit-mask-composite:source-in}
@media(max-width:640px){.stage__img{mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 88%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 88%,transparent)}.radar-field{opacity:.22}}
#ranking,#other-view .board{margin-top:0;padding-top:24px}
/* v9: same trophies, smaller objects across the page and a shared filter/source junction. */
.hero{background:none}.hero__in{padding-top:28px}.hero__text{position:relative;isolation:isolate;padding:18px 0 22px;overflow:visible}.homepage-field{position:absolute;inset:-28px -5vw auto;width:calc(100% + 10vw);height:290px;z-index:-1;pointer-events:none;opacity:.8;mask-image:linear-gradient(#000 65%,transparent)}
.stage{background:none;margin-top:12px}.stage__media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;justify-items:center;width:100%;max-width:1240px;height:330px;aspect-ratio:auto!important;margin:0 auto;overflow:visible}.trophy{position:relative;width:270px;height:330px;overflow:hidden;isolation:isolate}.trophy img{position:absolute;max-width:none;width:1037px;height:691px;top:-84px;mask-image:linear-gradient(transparent 0%,#000 12%,#000 72%,transparent 83%),linear-gradient(90deg,transparent,#000 11%,#000 89%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}.trophy--silver img{left:-43px}.trophy--gold img{left:-383px}.trophy--bronze img{left:-740px}.base-inscription{position:absolute;top:283px;left:50%;transform:translateX(-50%) rotate(-2deg);color:#a4b9d1;font:600 10px/1 Archivo,var(--sans);letter-spacing:.025em;text-shadow:0 1px 1px #000;white-space:nowrap;opacity:.75}.trophy--silver .base-inscription{top:282px;left:49%;transform:translateX(-50%) rotate(-8deg)}.trophy--bronze .base-inscription{top:282px;left:48%;transform:translateX(-50%) rotate(7deg)}
.stage__wrap{max-width:1240px;margin-top:0}.stage .podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.period-table{display:flex;width:max-content;margin:24px auto 0}#firm-nav{justify-content:center;padding-top:18px}.source-switch{margin-top:4px}.pinfo__total{font-size:28px}
body[data-firm=apex] .period-table{display:none!important}
@media(min-width:1600px){.stage__media,.stage__wrap{max-width:1400px}}
@media(max-width:640px){.hero__in{padding-top:20px}.hero__text{padding-top:14px;padding-bottom:15px}.homepage-field{height:265px}.stage__media{height:145px;gap:0;width:100%}.trophy{width:100%;height:145px}.trophy img{width:425px;height:283px;top:-30px}.trophy--silver img{left:calc(50% - 73px)}.trophy--gold img{left:calc(50% - 213px)}.trophy--bronze img{left:calc(50% - 360px)}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:120px;font-size:5px;left:50%}.stage__wrap{margin-top:5px}.stage .podium{display:flex;flex-direction:column;gap:0}.stage .pinfo{width:100%;padding:14px 0}.period-table{margin-top:22px}#firm-nav{justify-content:center}.source-switch{margin-top:5px}}
@media(max-width:360px){.trophy img{width:365px;height:243px;top:-24px}.stage__media,.trophy{height:128px}.trophy--silver img{left:calc(50% - 63px)}.trophy--gold img{left:calc(50% - 183px)}.trophy--bronze img{left:calc(50% - 309px)}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:106px;font-size:4.5px}}
.trophy{width:220px;height:300px;mix-blend-mode:lighten}.trophy img{width:600px;height:400px;top:-50px;mask-image:none;-webkit-mask-image:none;max-height:none;object-fit:fill;mix-blend-mode:lighten}.trophy--silver img{left:8px}.trophy--gold img{left:-202px}.trophy--bronze img{left:-378px}.stage__media{height:300px}.trophy{mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent)}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:251px;left:50%;font-size:9px}.trophy--silver .base-inscription{left:51%;top:251px}.trophy--bronze .base-inscription{left:51%;top:251px}
@media(max-width:640px){.trophy{width:100%;height:175px}.stage__media{height:175px}.trophy img{width:315px;height:210px;top:-24px}.trophy--silver img{left:calc(50% - 53px)}.trophy--gold img{left:calc(50% - 164px)}.trophy--bronze img{left:calc(50% - 256px)}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:134px;left:50%;font-size:5px}}
@media(max-width:360px){.trophy img{width:285px;height:190px;top:-22px}.stage__media,.trophy{height:155px}.trophy--silver img{left:calc(50% - 48px)}.trophy--gold img{left:calc(50% - 148px)}.trophy--bronze img{left:calc(50% - 232px)}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:120px;font-size:4.5px}}
.trophy{mask-image:none;mix-blend-mode:lighten}.trophy img{mix-blend-mode:lighten}.trophy--silver img{clip-path:polygon(6% 25%,31% 25%,31% 45%,24% 62%,29% 77%,28% 83%,5% 83%,5% 72%,10% 61%,9% 57%,5% 57%)}.trophy--gold img{clip-path:polygon(39% 15%,64% 15%,65% 38%,57% 57%,59% 61%,63% 78%,62% 84%,34% 84%,34% 76%,40% 59%,41% 58%,36% 54%,36% 35%,40% 27%)}.trophy--bronze img{clip-path:polygon(70% 25%,95% 25%,95% 46%,88% 62%,93% 76%,93% 83%,70% 83%,69% 77%,73% 62%,72% 58%,69% 57%,69% 38%,72% 32%)}
@media(max-width:640px){.hero__name{font-size:clamp(27px,8vw,34px)}}
.trophy img,.trophy--silver img,.trophy--gold img,.trophy--bronze img{clip-path:none;object-fit:contain;object-position:bottom;left:0;top:0;width:100%;height:100%;mix-blend-mode:normal}.trophy{width:190px;height:270px;overflow:visible;mix-blend-mode:normal}.stage__media{height:280px}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{top:auto;bottom:22px;left:50%;font-size:8px}.trophy--silver,.trophy--bronze{width:158px;height:242px}.trophy--silver .base-inscription,.trophy--bronze .base-inscription{bottom:18px;font-size:7px}
@media(max-width:640px){.stage__media{height:150px}.trophy{width:100px;height:140px}.trophy--silver,.trophy--bronze{width:83px;height:124px}.base-inscription,.trophy--silver .base-inscription,.trophy--bronze .base-inscription{bottom:11px;top:auto;font-size:4.5px}.trophy--silver .base-inscription,.trophy--bronze .base-inscription{bottom:9px;font-size:4px}}
