@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --surface: #f7f7f6;
  --surface-2: #eeeeec;
  --ink: #111110;
  --ink-2: #53534f;
  --ink-3: #72726d;
  --line: #e8e8e5;
  --line-2: #d4d4d0;
  --radius: 14px;
  --top-h: 64px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0b;
    --surface: #161615;
    --surface-2: #232321;
    --ink: #f4f4f2;
    --ink-2: #b4b4af;
    --ink-3: #8b8b85;
    --line: #272725;
    --line-2: #3b3b38;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0c0b;
  --surface: #161615;
  --surface-2: #232321;
  --ink: #f4f4f2;
  --ink-2: #b4b4af;
  --ink-3: #8b8b85;
  --line: #272725;
  --line-2: #3b3b38;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
#app { outline: none; min-height: 70vh; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.loading { padding: 120px 0; color: var(--ink-3); text-align: center; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; height: var(--top-h); }
.top-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mark { font-weight: 600; font-size: 17px; letter-spacing: -0.035em; white-space: nowrap; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); }
.top-actions { display: flex; justify-content: flex-end; }
.search-btn {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 2px; min-width: 0;
  border: 0; background: none; color: var(--ink-3); font-size: 14px; cursor: pointer;
}
.search-btn:hover { color: var(--ink); }
.search-btn .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
kbd { font: 500 11px/1 var(--sans); border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px; color: var(--ink-3); background: var(--bg); }
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
:root[data-theme="dark"] .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-moon { display: block; }
  :root:not([data-theme="light"]) .i-sun { display: none; }
}

/* ---------- type ---------- */
.title { font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; line-height: 1.03; letter-spacing: -0.042em; margin: 0; text-wrap: balance; }
.sub { max-width: 640px; font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 14px 0 0; text-wrap: pretty; }
.sub b { color: var(--ink); font-weight: 500; }
.muted { color: var(--ink-3); }
.page-head { padding: 52px 0 28px; }
.note { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.back { display: inline-block; font-size: 14px; color: var(--ink-2); padding: 28px 0 20px; }
.back:hover { color: var(--ink); }

.sect { padding-top: 56px; }
.sect-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; flex-wrap: wrap; }
.sect-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
.sect-head p { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-wide {
  display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 16px;
  border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 500; background: var(--bg);
}
.btn-wide:hover { background: var(--surface); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
.stat { padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; white-space: nowrap; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.stat span { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); }

/* ---------- media ---------- */
.face, .logo { --s: 40px; width: var(--s); height: var(--s); flex: none; object-fit: cover; }
.face { border-radius: 50%; background: var(--surface-2); }
.logo { border-radius: 22%; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); object-fit: contain; }
.logo.on-dark { background: #111110; }
.face.blank, .logo.blank {
  display: inline-grid; place-items: center; background: var(--surface-2); color: var(--ink-2); box-shadow: none;
  font-size: calc(var(--s) * .36); font-weight: 500; line-height: 1; user-select: none;
}
.stack { display: inline-flex; flex: none; }
.stack > * { margin-left: -8px; box-shadow: 0 0 0 2px var(--bg); }
.stack > *:first-child { margin-left: 0; }
.tile {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px;
  background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.yr {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; flex: none; border-radius: 8px;
  background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.tf {
  display: inline-block; flex: none; font-size: 11px; font-weight: 500; line-height: 1; padding: 3px 5px; border-radius: 5px;
  background: var(--surface-2); color: var(--ink-2); font-variant-numeric: tabular-nums; vertical-align: 1px; white-space: nowrap;
}
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 3px 6px; border-radius: 5px;
  border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap;
}
.chip { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.status { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.status.defunct { color: var(--ink-3); text-decoration: line-through; }

/* ---------- podium ---------- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pod {
  display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s;
}
.pod:hover { border-color: var(--line-2); }
.pod-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pod-name { margin-top: 30px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.pod-val { font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pod-note { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.pod-fs { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); min-width: 0; }
.pod-fs .tf { background: var(--bg); }

/* ---------- ranked table ---------- */
.rk { font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rk.lead { font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.t-head, .t-row { display: grid; grid-template-columns: 52px minmax(0, 1.1fr) minmax(0, 1.5fr) 176px; gap: 16px; align-items: center; }
.t-head { padding: 0 12px 8px; font-size: 12.5px; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.t-head button { border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--ink-3); cursor: pointer; text-align: left; white-space: nowrap; }
.t-head button:hover, .t-head button.on { color: var(--ink); }
.t-head .r { text-align: right; justify-self: end; }
.t-row { padding: 11px 12px; border-bottom: 1px solid var(--line); transition: background .12s; }
.t-row:hover { background: var(--surface); }
.t-row:hover .stack > * { box-shadow: 0 0 0 2px var(--surface); }
.t-co { display: flex; align-items: center; gap: 12px; min-width: 0; }
.t-co .txt { min-width: 0; }
.t-name { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.t-co:hover .t-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.t-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); overflow: hidden; white-space: nowrap; }
.t-sub.m { display: none; }
.founders { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fl { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; white-space: nowrap; }
.fl-a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto; }
.fl-n { overflow: hidden; text-overflow: ellipsis; }
a.fl-a:hover .fl-n { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fl-t { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 0; }
.val { text-align: right; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 0; }
.val small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.val .none { font-size: 13.5px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }

.ct .t-head, .ct .t-row { grid-template-columns: 44px minmax(0, 1.7fr) 150px 104px 160px 84px; }
.ct .t-head { position: sticky; top: var(--top-h); background: var(--bg); z-index: 4; padding-top: 8px; }
.t-raised { font-size: 14px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }

/* classes */
.cl-row { display: grid; grid-template-columns: 52px 148px 92px minmax(0, 1fr) 132px; gap: 16px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.cl-rows { border-top: 1px solid var(--ink); }
.cl-year { font-size: 24px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cl-year small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; white-space: nowrap; }
a.cl-year:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cl-row .stack { min-width: 0; }
.cl-track { display: flex; height: 28px; background: var(--surface); border-radius: 6px; overflow: hidden; min-width: 0; }
.cl-seg {
  display: flex; align-items: center; min-width: 0; overflow: hidden; height: 100%; padding-left: 8px; white-space: nowrap;
  border-right: 2px solid var(--bg); background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 500;
}
.cl-seg span { overflow: hidden; text-overflow: ellipsis; }
.cl-seg:hover { opacity: .85; }
.cl-seg.s1 { background: color-mix(in srgb, var(--ink) 66%, var(--bg)); }
.cl-seg.s2 { background: color-mix(in srgb, var(--ink) 40%, var(--bg)); }
.cl-seg.s3 { background: color-mix(in srgb, var(--ink) 22%, var(--bg)); color: var(--ink); }

/* ---------- segmented controls ---------- */
.seg, .tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.seg button, .tabs a { flex: none; border: 0; background: none; font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 7px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg button:hover, .tabs a:hover { color: var(--ink); }
.seg button.on, .tabs a.on { background: var(--ink); color: var(--bg); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }

.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; white-space: nowrap; }
.switch input { appearance: none; width: 30px; height: 18px; border-radius: 99px; background: var(--line-2); position: relative; margin: 0; cursor: pointer; transition: background .15s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); transition: transform .15s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(12px); }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.post { min-width: 0; }
.posts .twitter-tweet { margin: 0 !important; }
.posts blockquote.twitter-tweet { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; }
.posts blockquote.twitter-tweet a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- list cards ---------- */
.lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 18px; min-width: 0; }
.lcard.wide { grid-column: span 2; grid-row: span 2; }
.lc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.lc-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.lc-btn:hover { color: var(--ink); border-color: var(--line-2); }
.lcard h3 { font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -0.022em; margin: 12px 0; }
.lcard.wide h3 { font-size: clamp(28px, 3.1vw, 38px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; margin: 18px 0 20px; }
.li-rows.two { display: grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); column-gap: 28px; }
.li-rows.two .li { padding: 13px 0; }
.li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); min-width: 0; }
.li .rk { width: 18px; flex: none; font-size: 14px; }
.li .rk.lead { font-size: 20px; }
.li-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li:hover .li-t { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.li-v { flex: none; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.li-more { font-size: 12.5px; color: var(--ink-3); text-align: right; margin: 6px 0 0; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-bottom: 12px; }
.input { height: 40px; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); min-width: 0; }
.input.grow { flex: 1 1 260px; border-radius: 99px; padding: 0 18px; }
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: 0; border-color: var(--ink); }
select.input {
  appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2372726d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.count { font-size: 13px; color: var(--ink-3); margin: 16px 0 12px; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-3); }

/* ---------- fellow cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.f-card { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .15s; }
.f-card:hover { border-color: var(--line-2); }
.f-card:hover .fc-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fc-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.fc-media .photo { width: 100%; height: 100%; object-fit: cover; }
.fc-media .tile { position: absolute; top: 8px; left: 8px; }
.ini { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink-3); user-select: none; }
.fc-body { padding: 9px 12px 11px; }
.fc-name, .fc-co { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-name { font-size: 14.5px; font-weight: 500; letter-spacing: -0.012em; }
.fc-co { font-size: 12.5px; color: var(--ink-3); min-height: 18px; }
.group-h { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.group-h a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.group-h span { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }

/* billionaire rows */
.b-rows { border-top: 1px solid var(--ink); }
.b-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px; gap: 14px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); transition: background .12s; }
.b-row:hover { background: var(--surface); }
.b-name { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; }
.b-row:hover .b-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.b-note { display: block; font-size: 13px; color: var(--ink-3); }
.b-row .r { justify-self: end; }

/* ---------- detail pages ---------- */
.profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.p-side { position: sticky; top: calc(var(--top-h) + 20px); min-width: 0; }
.p-media { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.p-media > img:not(.logo) { width: 100%; height: 100%; object-fit: cover; }
.p-media .ini { font-size: 76px; }
.facts { margin: 8px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--ink-3); flex: none; }
.facts dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.facts dd small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.links a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; }
.links a:hover { background: var(--surface); }
.p-main { min-width: 0; }
.p-main h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 600; line-height: 1.03; letter-spacing: -0.042em; margin: 0; }
.p-sub { margin: 10px 0 0; font-size: 17px; color: var(--ink-2); display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; }
.p-sub a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.worth { margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.worth small { display: block; font-size: 13px; color: var(--ink-3); }
.worth b { display: block; font-size: clamp(42px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.05em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.prose { font-size: 17px; line-height: 1.6; max-width: 660px; margin: 22px 0 0; text-wrap: pretty; }
.sect-label { font-size: 13px; color: var(--ink-3); margin: 32px 0 10px; }
.co-list { border-top: 1px solid var(--line); }
.co-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.co-row .t-name { font-size: 15px; }
.co-row:hover .t-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.co-row .val { margin-left: auto; font-size: 16px; flex: none; }
.taglist { display: flex; gap: 6px; flex-wrap: wrap; }
.taglist span { font-size: 13px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); }
.sources { margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-3); }
.sources li { padding: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sources a:hover { color: var(--ink); text-decoration: underline; }
.mates { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 0 24px; }
.mate { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.mate .t { min-width: 0; }
.mate b { display: block; font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mate:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mate small { display: block; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 48px 0 0; }
.pn a { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; min-width: 0; }
.pn a:hover { background: var(--surface); }
.pn small { display: block; font-size: 12.5px; color: var(--ink-3); }
.pn b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn .next { text-align: right; grid-column: 2; }
.conf { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }

/* ---------- palette ---------- */
.pal-back { position: fixed; inset: 0; background: rgba(10, 10, 9, .4); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; z-index: 60; }
.pal-back[hidden] { display: none; }
.pal { width: min(640px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: hidden; }
.pal input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 18px 20px; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.pal input::placeholder { color: var(--ink-3); }
.pal-list { max-height: min(58vh, 460px); overflow: auto; padding: 6px; }
.pal-item { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-width: 0; }
.pal-item.on { background: var(--surface-2); }
.pal-item .t { min-width: 0; flex: 1; }
.pal-item b { display: block; font-weight: 500; font-size: 14.5px; }
.pal-item small { display: block; color: var(--ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-item .k { font-size: 12px; color: var(--ink-3); }
.pal-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.pal-foot kbd { margin-right: 3px; }
.pal-empty { padding: 28px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 88px; padding: 28px 0 40px; font-size: 13px; color: var(--ink-3); }
.foot-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.foot p { margin: 8px 0 0; max-width: 620px; }
.foot .mark { color: var(--ink); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-head, .t-row { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr) 156px; }
  .ct .t-head, .ct .t-row { grid-template-columns: 40px minmax(0, 1fr) 96px 150px; }
  .t-sector, .t-raised, .ct .t-head .h-sector, .ct .t-head .h-raised { display: none; }
  .cl-row { grid-template-columns: 44px 128px minmax(0, 1fr) 124px; }
  .cl-row .stack { display: none; }
}
@media (max-width: 860px) {
  .top-in { display: flex; flex-wrap: wrap; height: auto; padding-top: 10px; gap: 8px 12px; }
  .top-left { flex: 1; }
  .nav { order: 3; width: 100%; gap: 20px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .ct .t-head { position: static; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .podium { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .p-side { position: static; }
  .p-media { max-width: 200px; }
  .foot-in { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 14.5px; }
  .page-head { padding: 36px 0 22px; }
  .sub { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 14px 14px 12px; }
  .stat:nth-child(n) { border-left: 1px solid var(--line); padding-left: 14px; border-top: 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child:nth-child(odd) { grid-column: span 2; }
  .sect { padding-top: 44px; }
  .lists, .posts { grid-template-columns: minmax(0, 1fr); }
  .lcard.wide { grid-column: auto; grid-row: auto; }
  .li-rows.two { display: block; }
  .t-head { display: none; }
  .t-row, .ct .t-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; }
  .t-status { display: none; }
  .t-row .founders { grid-column: 2 / 4; grid-row: 2; }
  .t-sub { display: none; }
  .t-sub.m { display: block; overflow: hidden; text-overflow: ellipsis; }
  .rk.lead { font-size: 20px; }
  .val { font-size: 16px; }
  .val small { max-width: 124px; margin-left: auto; white-space: normal; line-height: 1.25; }
  .cl-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px 10px; padding: 10px 0; }
  .cl-row .cl-track { grid-column: 1 / 4; grid-row: 2; height: 22px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b-row { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 10px 0; }
  .pn { grid-template-columns: 1fr; }
  .pn .next { grid-column: 1; }
  .prose { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
