/* Banner — pump.fun's layout, black and lime. */
:root {
  --bg: #000;
  --panel: #0b0b0b;
  --card: #101010;
  --card-2: #161616;
  --card-3: #1e1e1e;
  --line: #1b1b1b;
  --line-2: #262626;
  --line-3: #343434;
  --text: #fff;
  --t2: #b4b4b4;
  --t3: #6f6f6f;
  --t4: #4a4a4a;
  --lime: #99f565;
  --lime-2: #aaff7a;
  --lime-dim: rgba(153, 245, 101, .12);
  --red: #ff5b5b;
  --white: #ededed;
  --r: 14px;
  --head: 56px;
  --foot: 34px;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13.5px/1.45 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: var(--foot); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); }
.num, .cell, .v { font-variant-numeric: tabular-nums; }
.t2 { color: var(--t2); } .t3 { color: var(--t3); } .t4 { color: var(--t4); }
.lime, .green { color: var(--lime); } .red { color: var(--red); }
.hide { display: none !important; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header (pump.fun) ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 6px; height: var(--head); padding: 0 16px; }
.logo { display: flex; align-items: center; gap: 9px; margin-right: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.logo .lb { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { height: 32px; padding: 0 11px; border-radius: 8px; display: flex; align-items: center; color: var(--t2); font-weight: 500; font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav a.on { background: var(--card-2); color: var(--text); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { position: relative; width: 300px; }
.search > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 14px; color: var(--t3); pointer-events: none; }
.search input { width: 100%; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); padding: 0 40px 0 34px; outline: none; font-size: 13.5px; }
.search input:focus { border-color: var(--line-3); }
.search input::placeholder { color: var(--t3); }
.search kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 11px var(--mono); color: var(--t3); background: var(--card-3); border-radius: 5px; padding: 2px 6px; }
.search .drop { position: absolute; top: 40px; left: 0; right: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 5px; box-shadow: 0 20px 50px rgba(0, 0, 0, .8); z-index: 50; }
.search .drop a { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 8px; }
.search .drop a:hover, .search .drop a.sel { background: var(--card-2); }
.search .drop .t3 { margin-left: auto; font-size: 12.5px; }
.top .menu { display: none; }
.drawer { display: none; }
@media (max-width: 1180px) { .nav a.opt { display: none; } }
@media (max-width: 920px) {
  .nav { display: none; }
  .search { width: auto; flex: 1; }
  .top .right .hide-sm { display: none; }
  .top .menu { display: inline-grid; }
  .drawer.open { display: block; position: fixed; inset: var(--head) 0 0; z-index: 39; background: rgba(0, 0, 0, .96); padding: 10px 16px; }
  .drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
}

/* the live tape under the header */
.tape { height: 30px; border-bottom: 1px solid var(--line); overflow: hidden; position: relative; background: var(--bg); }
.tape .track { display: flex; gap: 28px; width: max-content; height: 30px; align-items: center; animation: tape 80s linear infinite; padding-left: 16px; }
.tape:hover .track { animation-play-state: paused; }
.tape .it { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t3); white-space: nowrap; }
.tape .it b { color: var(--text); font-weight: 600; }
.tape .it .v { color: var(--lime); font-weight: 600; }
.tape .it .bar { width: 3px; height: 12px; border-radius: 2px; background: var(--lime); }
.tape .it img { width: 16px; height: 16px; border-radius: 50%; }
@keyframes tape { to { transform: translateX(-50%); } }

/* bottom status bar (pump.fun) */
.status { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--foot); background: var(--bg); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 14px; font-size: 12px; color: var(--t3); }
.status .ca { display: flex; align-items: center; gap: 6px; cursor: pointer; font-family: var(--mono); font-size: 11.5px; }
.status .ca:hover { color: var(--text); }
.status .ca svg { width: 12px; }
.status .sep { width: 1px; height: 14px; background: var(--line-2); }
.status .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.status a:hover { color: var(--text); }
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; margin-right: 6px; }
.preview { margin: 12px 16px 0; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--t3); font-size: 12.5px; }
.preview b { color: var(--text); font-weight: 600; }

.page { padding: 16px; max-width: 1480px; margin: 0 auto; }
.page.narrow { max-width: 1180px; padding-top: 28px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .12s, filter .12s; }
.btn:hover { background: var(--card-2); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: #000; }
.btn.lime:hover { filter: brightness(1.08); background: var(--lime); }
.btn.white { background: var(--white); border-color: var(--white); color: #000; }
.btn.white:hover { background: #fff; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn svg { width: 14px; height: 14px; }
.ib { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); display: inline-grid; place-items: center; cursor: pointer; color: var(--t2); flex: none; }
.ib:hover { color: var(--text); }
.ib svg { width: 15px; height: 15px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--t2); font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pills button:hover { color: var(--text); }
.pills button.on { background: var(--card-2); border-color: var(--line-3); color: var(--text); }
.pills button .n { color: var(--t3); font-weight: 500; }
.pills button img { width: 14px; height: 14px; border-radius: 3px; }
.utabs { display: flex; gap: 16px; }
.utabs button { height: 30px; padding: 0; border: 0; background: none; color: var(--t3); font-size: 13px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; }
.utabs button:hover { color: var(--t2); }
.utabs button.on { color: var(--text); border-bottom-color: var(--text); }
.field { height: 34px; width: 100%; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); padding: 0 12px; outline: none; font-size: 13px; }
.field:focus { border-color: var(--line-3); }
.field::placeholder { color: var(--t3); }
select.field { appearance: none; width: auto; padding-right: 30px; background: var(--card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23888' stroke-width='1.5'><path d='m1 1 4 4 4-4'/></svg>") no-repeat right 11px center; cursor: pointer; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.toolbar .field { width: 220px; }
.pl { width: 16px; height: 16px; border-radius: 4px; flex: none; display: inline-block; vertical-align: -3px; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--card-2); font-size: 11.5px; font-weight: 600; color: var(--t2); white-space: nowrap; }
.tag img { width: 12px; height: 12px; border-radius: 3px; }
.tag.lime { background: var(--lime-dim); color: var(--lime); }

/* ---------- page heads ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; display: flex; align-items: baseline; gap: 8px; }
.head h1 .n { font-size: 13px; color: var(--t3); font-weight: 600; }
.head p { color: var(--t3); font-size: 13.5px; margin-top: 4px; max-width: 72ch; }
.sec { margin-top: 28px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }

/* ---------- cards, panels ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card.pad { padding: 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.card-h h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.card-h h3 svg { width: 15px; color: var(--t3); }
.card-h .t3 { font-size: 12px; }
.grid { display: grid; gap: 12px; }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .c2, .c3 { grid-template-columns: 1fr; } }
.empty { padding: 34px 16px; text-align: center; color: var(--t3); font-size: 13px; }
.empty b { display: block; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.stat { padding: 14px 16px; }
.stat .k { color: var(--t3); font-size: 12px; font-weight: 500; }
.stat .v { font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin-top: 4px; white-space: nowrap; }
.stat .v small { font-size: 13px; color: var(--t3); font-weight: 600; margin-left: 3px; }
.stat .s { color: var(--t3); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- home: intro strip + 4 panels (pump.fun dashboard) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
.intro .l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.intro .bimg { width: 240px; aspect-ratio: 4 / 1; border-radius: 9px; overflow: hidden; flex: none; border: 1px solid var(--line-2); }
.intro .bimg img { width: 100%; height: 100%; object-fit: cover; }
.intro h1 { font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.intro .rules { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.intro .rules > span { display: inline-block; line-height: 24px; height: 24px; padding: 0 9px; white-space: nowrap; border-radius: 7px; background: var(--card-2); font-size: 12px; color: var(--t2); font-weight: 500; }
.intro .rules > span b { color: var(--lime); font-weight: 700; margin-right: 6px; }
.intro .rules img { display: inline-block; width: 13px; height: 13px; border-radius: 3px; vertical-align: -2px; margin: 0 4px 0 2px; }
.intro .r { display: flex; align-items: center; gap: 18px; }
.intro .nums { display: flex; gap: 22px; }
.intro .nums div { text-align: right; }
.intro .nums .k { color: var(--t3); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.intro .nums .v { font-size: 16px; font-weight: 700; white-space: nowrap; }
.intro .cta { display: flex; gap: 8px; }
@media (max-width: 1250px) { .intro { grid-template-columns: 1fr; } .intro .r { justify-content: space-between; flex-wrap: wrap; } }
@media (max-width: 640px) { .intro .bimg { display: none; } .intro .nums { gap: 14px; flex-wrap: wrap; } .intro .nums div { text-align: left; } }
.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; height: calc(100vh - var(--head) - 30px - var(--foot) - 32px - 100px); min-height: 520px; }
.panel { display: flex; flex-direction: column; min-height: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel .ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 0; }
.panel .ph h3 { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.panel .ph h3 svg { width: 14px; color: var(--t3); }
.panel .ph a { color: var(--t3); font-size: 12px; font-weight: 600; }
.panel .ph a:hover { color: var(--text); }
.panel .utabs { padding: 6px 12px 0; border-bottom: 1px solid var(--line); }
.panel .body { flex: 1; overflow-y: auto; min-height: 0; }
.panel .body::-webkit-scrollbar { width: 6px; }
.panel .body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 9px; }
@media (max-width: 1250px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; } .panel { height: 520px; } }
@media (max-width: 700px) { .panels { grid-template-columns: 1fr; } }

/* ---------- rows ---------- */
.rows > * { display: grid; align-items: center; gap: 10px; padding: 9px 12px; min-width: 0; }
.rows.lined > * { border-top: 1px solid var(--line); }
.rows.lined > *:first-child { border-top: 0; }
.rows > a:hover, .rows > .click:hover { background: rgba(255, 255, 255, .025); }
.rows > .empty { display: block; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who > span:last-child { min-width: 0; }
.who .nm { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .nm img { width: 13px; height: 13px; border-radius: 3px; }
.who .sub { color: var(--t3); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r { text-align: right; }
.cell { font-size: 13px; text-align: right; white-space: nowrap; font-weight: 600; }
.cell small { display: block; color: var(--t3); font-size: 11.5px; font-weight: 500; }
.thead { display: grid; gap: 10px; padding: 9px 14px; color: var(--t3); font-size: 11.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.rank { color: var(--t3); font-size: 12.5px; font-weight: 600; text-align: center; }
.scroll { overflow-x: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px 0 0; color: var(--t3); font-size: 12.5px; }
.fresh { animation: fresh 1s ease-out; }
@keyframes fresh { from { background: var(--lime-dim); } }
.av { position: relative; display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: var(--card-3); overflow: hidden; flex: none; vertical-align: middle; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.s { width: 20px; height: 20px; }
.av.m { width: 36px; height: 36px; }
.av.l { width: 40px; height: 40px; }
.av.sq { border-radius: 9px; }
.ph-u { width: 100%; height: 100%; display: grid; place-items: center; color: var(--t4); background: var(--card-3); }
.ph-u svg { width: 55%; height: 55%; }
.st { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--card-2); color: var(--t2); }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--t4); }
.st.earning { background: var(--lime-dim); color: var(--lime); }
.st.earning::before { background: var(--lime); }
.st.needs::before { background: #f0b84a; }
.st.out { color: var(--t3); }

/* callout card (pump.fun) */
.co { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.co:first-child { border-top: 0; }
.co .hl { display: flex; align-items: center; gap: 6px; font-size: 13px; flex-wrap: wrap; }
.co .hl .nm { font-weight: 700; }
.co .hl .t { color: var(--t3); font-size: 12px; }
.co .hl .pl { width: 13px; height: 13px; }
.co .tx { margin-top: 2px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.co .media { margin-top: 8px; max-width: 300px; border-radius: 12px; overflow: hidden; }
.co .box { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--card-2); }
.co .box .l { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.co .box .l .ic { width: 28px; height: 28px; border-radius: 7px; background: #000; display: grid; place-items: center; }
.co .box .l .ic img { width: 18px; height: auto; }
.co .box .l small { display: block; color: var(--t3); font-weight: 500; font-size: 11.5px; }
.co .box .rr { display: flex; gap: 16px; text-align: right; font-size: 13px; font-weight: 700; }
.co .box .rr small { display: block; color: var(--t3); font-weight: 500; font-size: 11px; }
.co .upd { margin-top: 6px; padding-left: 10px; border-left: 2px solid var(--line-2); color: var(--t2); font-size: 13px; }
.co .upd .t { display: block; color: var(--t3); font-size: 11.5px; }
.co .bt { display: flex; gap: 14px; margin-top: 8px; color: var(--t3); font-size: 12px; flex-wrap: wrap; }
.co.gone .tx { color: var(--t3); text-decoration: line-through; }

/* ---------- profile cards (the reference's grid) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; }
.pc { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; transition: border-color .12s; }
.pc:hover { border-color: var(--line-3); }
.pc .img { position: relative; border-radius: 11px; overflow: hidden; background: #070707; aspect-ratio: 1 / .78; display: flex; flex-direction: column; }
.pc .img .hdr { aspect-ratio: 4 / 1; overflow: hidden; flex: none; }
.pc .img .hdr img { width: 100%; height: 100%; object-fit: cover; }
.pc .img .hdr .none { width: 100%; height: 100%; display: grid; place-items: center; color: var(--t4); font-size: 11px; background: repeating-linear-gradient(-45deg, #0c0c0c 0 6px, #111 6px 12px); }
.pc .img .face { flex: 1; display: grid; place-items: center; position: relative; }
.pc .img .face .pic { width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--card-3); margin-top: -18%; border: 4px solid #070707; }
.pc .img .face .pic img { width: 100%; height: 100%; object-fit: cover; }
.pc .rk { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(0, 0, 0, .75); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.pc .ons { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.pc .ons img { width: 18px; height: 18px; border-radius: 5px; }
.pc .nmr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 0; }
.pc .nm { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc .nmr .ic { display: flex; gap: 5px; flex: none; }
.pc .nmr .ic img { width: 14px; height: 14px; border-radius: 3px; }
.pc .line { padding: 2px 4px 0; color: var(--t3); font-size: 11.5px; }
.pc .line b { color: var(--text); }
.pc .sts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin: 10px 4px 0; padding-top: 10px; border-top: 1px solid var(--line); }
.pc .sts .k { color: var(--t3); font-size: 11px; font-weight: 500; }
.pc .sts .v { font-size: 16px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .sts .v.sm { font-size: 13.5px; }
.pc .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pc .acts .btn { height: 30px; border-radius: 999px; font-size: 12px; }
.pc.out { opacity: .5; }

/* ---------- profile page (pump.fun profile) ---------- */
.prof { display: grid; grid-template-columns: 320px minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
@media (max-width: 1200px) { .prof { grid-template-columns: 320px minmax(0, 1fr); } .prof .col3 { grid-column: 1 / -1; } }
@media (max-width: 760px) { .prof { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pcard .hdr { position: relative; aspect-ratio: 4 / 1; background: var(--card-2); overflow: hidden; }
.pcard .hdr img { width: 100%; height: 100%; object-fit: cover; }
.pcard .hdr::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--card)); }
.pcard .hdr .none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t4); font-size: 12px; }
.pcard .hdr .note { position: absolute; left: 8px; top: 8px; z-index: 2; }
.pcard .pic { width: 88px; height: 88px; border-radius: 50%; margin: -44px auto 0; position: relative; z-index: 2; overflow: hidden; border: 4px solid var(--card); background: var(--card-3); }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.pcard .nm { text-align: center; font-size: 19px; font-weight: 700; margin-top: 8px; letter-spacing: -.3px; padding: 0 12px; overflow-wrap: anywhere; }
.pcard .w { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; padding: 0 12px; }
.pcard .w .mono { color: var(--t3); font-size: 12px; cursor: pointer; }
.pcard .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.box + .box { margin-top: 12px; }
.req { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.req:first-child { border-top: 0; }
.req .ck { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; color: transparent; }
.req .ck svg { width: 12px; height: 12px; }
.req.ok .ck { background: var(--lime); border-color: var(--lime); color: #000; }
.req h3 { font-size: 13.5px; font-weight: 700; }
.req p { color: var(--t3); font-size: 12.5px; margin-top: 2px; }
.req .plats { display: grid; gap: 5px; margin-top: 8px; }
.req .plat { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 4px 6px 4px 9px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; flex-wrap: wrap; }
.req .plat .l { display: flex; align-items: center; gap: 7px; }
.req .plat .s { color: var(--t3); font-size: 12px; font-weight: 500; padding-right: 4px; }
.req .plat .s.yes { color: var(--lime); font-weight: 600; }
.req .plat form { display: flex; gap: 5px; flex: 1; justify-content: flex-end; }
.req .plat form .field { height: 26px; max-width: 150px; font-size: 12px; border-radius: 7px; }
.req .note { margin-top: 8px; padding: 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: var(--t2); display: grid; gap: 7px; }
.req .acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.code { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; padding: 5px 9px; border-radius: 7px; border: 1px dashed var(--line-3); cursor: pointer; justify-self: start; }
.code svg { width: 12px; }
.bigval { padding: 16px; }
.bigval .k { color: var(--t3); font-size: 12.5px; font-weight: 500; }
.bigval .v { font-size: 34px; font-weight: 700; letter-spacing: -.8px; margin-top: 2px; }
.bigval .v small { font-size: 20px; color: var(--t3); }
.bigval .d { font-size: 13px; font-weight: 600; margin-top: 2px; }
.bigval .row2 { display: flex; gap: 28px; margin-top: 14px; flex-wrap: wrap; }
.bigval .row2 .k { font-size: 12px; }
.bigval .row2 .x { font-size: 14px; font-weight: 700; margin-top: 2px; }

/* ---------- banner page ---------- */
.bhero { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.bhero img { width: 100%; height: auto; }
.bhero .bar2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.steps { counter-reset: s; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--t2); font-size: 13.5px; line-height: 1.5; }
.steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 6px; background: var(--card-2); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--text); }
.steps b { color: var(--text); font-weight: 600; }
.steps a { color: var(--lime); }
.mock { border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.mock .cv { aspect-ratio: 4 / 1; overflow: hidden; position: relative; }
.mock .cv img { width: 100%; height: 100%; object-fit: cover; }
.mock .mb { padding: 0 12px 14px; }
.mock .mpic { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--bg); background: var(--card-3); margin-top: -28px; overflow: hidden; display: grid; place-items: center; color: var(--t4); position: relative; }
.mock .mpic svg { width: 55%; }
.mock.center .mpic { margin-left: auto; margin-right: auto; }
.mock.center .mn { text-align: center; }
.mock .mn { font-weight: 700; margin-top: 6px; }
.mock .mn small { display: block; color: var(--t3); font-weight: 500; font-size: 12px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 7px 10px; border-radius: 8px; color: var(--t3); font-size: 13px; font-weight: 600; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); background: var(--card-2); }
.doc { max-width: 720px; }
.doc section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: 19px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 10px; }
.doc h3 { font-size: 14px; font-weight: 700; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--t2); font-size: 14px; line-height: 1.7; }
.doc p + p, .doc ul + p { margin-top: 10px; }
.doc ul { padding-left: 18px; margin: 8px 0 0; }
.doc b { color: var(--text); }
.doc a { color: var(--lime); }
.doc code { font-family: var(--mono); font-size: 12.5px; background: var(--card-2); padding: 1px 6px; border-radius: 5px; }
.doc .tbl { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.doc .tbl div { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--t2); }
.doc .tbl div:first-child { border-top: 0; color: var(--t3); font-size: 11.5px; font-weight: 600; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 13px 0; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--t3); }
.qa details[open] summary::after { content: '−'; }
.qa details p { padding-bottom: 13px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .toc { display: none; } }

.toasts { position: fixed; z-index: 100; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toasts div { background: var(--lime); color: #000; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); animation: tin .25s ease-out; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

/* the banner's place while the file isn't in yet */
.bslot { width: 100%; height: 100%; display: grid; place-items: center; background: #070707; border: 1px dashed var(--line-3); color: var(--t3); font-size: 12px; font-weight: 600; text-align: center; padding: 6px; }
.bhero .bslot { aspect-ratio: 4 / 1; height: auto; border: 0; border-bottom: 1px dashed var(--line-3); font-size: 14px; gap: 4px; }
.bhero .bslot b { display: block; color: var(--text); font-size: 16px; }
.intro .bimg .bslot { border-radius: 9px; border: 0; }
