/* Bee launchpad: shared by tokens.html and token pages */
:root {
  --bg: #0b0b0e; --card: #16161b; --card-2: #1d1d24; --card-3: #24242c;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16);
  --y: #f0b90b; --y-soft: rgba(240,185,11,.14); --y-line: rgba(240,185,11,.4);
  --text: #f5f5f7; --muted: #a3a3ad; --faint: #6e6e78;
  --green: #2ebd85; --green-soft: rgba(46,189,133,.14); --red: #f1555b; --red-soft: rgba(241,85,91,.14);
  --head: "Nunito", system-ui, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 20px; --r-s: 14px; --tap: 44px; --max: 1200px; --pad: 24px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(900px 420px at 85% -120px, rgba(240,185,11,.10), transparent 70%); background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 900; letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono, .x-mono { font-family: var(--mono); overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.x-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav (matches Bee home) */
.b-nav { position: sticky; top: 10px; z-index: 30; max-width: var(--max); margin: 10px auto 0; display: flex; align-items: center; gap: 16px;
  padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(22,22,27,.84); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.b-nav__wrap { padding: 0 var(--pad); position: sticky; top: 10px; z-index: 30; }
.b-brand { display: flex; align-items: center; gap: 8px; min-height: var(--tap); font-family: var(--head); font-weight: 900; font-size: 22px; flex: none; }
.b-brand img { width: 36px; height: 36px; object-fit: contain; }
.b-links { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.b-links::-webkit-scrollbar { display: none; }
.b-links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.b-links a:hover { color: var(--text); background: var(--card-2); }
.b-links a[aria-current="page"] { color: var(--y); background: var(--y-soft); }
.b-nav__right { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.b-icon { width: var(--tap); height: var(--tap); display: inline-grid; place-items: center; border-radius: 50%; color: var(--muted); border: 1px solid var(--line); }
.b-icon:hover { color: var(--text); border-color: var(--line-2); }
.b-icon svg { width: 17px; height: 17px; fill: currentColor; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .15s, background .15s, opacity .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.btn:disabled { opacity: .38; }
.btn--y, .btn--gold { background: var(--y); border-color: var(--y); color: #0b0b0e; }
.btn--y:hover:not(:disabled), .btn--gold:hover:not(:disabled) { background: #ffcb2b; border-color: #ffcb2b; }
.btn--ink { background: var(--y-soft); border-color: var(--y-line); color: var(--y); }
.btn--big { min-height: 52px; font-size: 16px; width: 100%; }
.btn.is-on { font-family: var(--mono); font-size: 13px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.link { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.chip, .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--card-3);
  border: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.chip--y { background: var(--y-soft); border-color: var(--y-line); color: var(--y); }
.chip--solid { background: var(--green-soft); border-color: rgba(46,189,133,.45); color: var(--green); }
.chip--solid::before, .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(46,189,133,.2); animation: b-pulse 1.8s infinite; }
@keyframes b-pulse { 50% { opacity: .35; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.bar { height: 10px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #c99a06, var(--y)); box-shadow: 0 0 14px rgba(240,185,11,.55); transition: width .8s; }

/* footer */
.b-foot { max-width: var(--max); margin: 80px auto 0; padding: 32px var(--pad) 56px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.b-foot .b-brand { font-size: 20px; }
.b-foot p { color: var(--muted); font-size: 13px; max-width: 80ch; }

@media (max-width: 760px) {
  :root { --pad: 14px; }
  .b-nav { gap: 6px; padding: 6px 6px 6px 12px; }
  .b-brand { font-size: 19px; }
  .b-brand span { display: none; }
  .b-links a { padding: 0 9px; font-size: 13.5px; }
  .b-nav .b-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar > span { transition: none; } .chip--solid::before, .dot::before { animation: none; } }

/* ============ token list ============ */
.l-head { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; }
.l-eyebrow { color: var(--y); font-weight: 500; font-size: 14px; margin-bottom: 12px; }
.l-head h1 { font-size: clamp(40px, 6.4vw, 76px); }
.l-head h1 em { font-style: italic; color: var(--y); }
.l-head p.l-sub { margin-top: 14px; color: var(--muted); font-size: clamp(15px,1.5vw,18px); max-width: 36em; }
.l-stats { display: flex; gap: 10px; }
.l-stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 16px; min-width: 120px; }
.l-stats small { display: block; color: var(--muted); font-size: 12px; }
.l-stats b { font-family: var(--head); font-weight: 900; font-size: 24px; font-variant-numeric: tabular-nums; }
.l-tools { max-width: var(--max); margin: 36px auto 18px; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.l-tabs { display: flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; }
.l-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.l-tabs button[aria-pressed="true"] { background: var(--y); color: #0b0b0e; }
.l-tabs button i { font-style: normal; opacity: .6; margin-left: 4px; }
.l-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; min-width: min(320px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.l-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--text); }
.l-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.t-card { position: relative; display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.t-card:hover { transform: translateY(-3px); border-color: var(--y-line); box-shadow: 0 18px 50px -20px rgba(240,185,11,.35); }
.t-card__ban { position: relative; aspect-ratio: 3 / 1; overflow: hidden; background: var(--card-2); }
.t-card__ban img { width: 100%; height: 100%; object-fit: cover; }
.t-card__ban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(22,22,27,.95)); }
.t-card__ban .chip { position: absolute; top: 12px; right: 12px; z-index: 1; backdrop-filter: blur(8px); background: rgba(11,11,14,.7); }
.t-card__body { display: grid; gap: 14px; padding: 0 18px 18px; margin-top: -30px; position: relative; z-index: 1; }
.t-card__id { display: flex; gap: 12px; align-items: flex-end; }
.t-card__id img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--card); flex: none; background: var(--card-2); }
.t-card__id h3 { font-size: 21px; }
.t-card__id p { color: var(--muted); font-size: 13px; }
.t-card__id p b { color: var(--y); font-weight: 600; }
.t-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.t-card__prog { display: grid; gap: 6px; }
.t-card__prog div:first-child { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-card__prog b { color: var(--text); font-weight: 600; }
.t-card__kv { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.t-card__kv div { background: var(--card-2); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.t-card__kv small { display: block; color: var(--faint); font-size: 11.5px; }
.t-card__kv b { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-card__foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.t-card__ca { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 12.5px var(--mono); color: var(--muted); position: relative; z-index: 2; }
.t-card__ca:hover { color: var(--text); border-color: var(--line-2); }
.t-card__go { color: var(--y); font-weight: 600; font-size: 14px; }
.t-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.t-card--soon { place-items: center; text-align: center; padding: 32px 24px; min-height: 360px; border-style: dashed; border-color: var(--line-2); background: transparent; }
.t-card--soon:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.t-card--soon img { width: 92px; margin: 0 auto 14px; opacity: .9; }
.t-card--soon h3 { font-size: 22px; margin-bottom: 8px; }
.t-card--soon p { color: var(--muted); font-size: 14px; max-width: 26em; margin: 0 auto 16px; }
.l-empty { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad); color: var(--muted); text-align: center; }
@media (max-width: 760px) { .l-head { grid-template-columns: minmax(0,1fr); padding-top: 36px; } .l-stats div { flex: 1; min-width: 0; } .l-grid { grid-template-columns: minmax(0,1fr); } .l-search { width: 100%; } }

/* ============ token page ============ */
.tp { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.tp-crumb { display: flex; gap: 8px; align-items: center; margin: 28px 0 14px; color: var(--muted); font-size: 14px; }
.tp-crumb a:hover { color: var(--text); }
.tp-top { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.tp-ban { aspect-ratio: 4 / 1; min-height: 150px; position: relative; overflow: hidden; }
.tp-ban img { width: 100%; height: 100%; object-fit: cover; }
.tp-ban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,27,0) 25%, rgba(22,22,27,.98)); }
.tp-id { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 20px; align-items: end; padding: 0 26px 24px; margin-top: -64px; }
.tp-id > img { width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--card); background: var(--card-2); }
.tp-id h1 { font-size: clamp(30px, 4.4vw, 52px); }
.tp-id h1 small { font-family: var(--sans); font-weight: 500; font-size: .42em; color: var(--y); letter-spacing: 0; margin-left: 6px; }
.tp-id .callout__lead { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.tp-id .callout__lead strong { color: var(--text); font-weight: 500; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tp-cd { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; min-width: 250px; }
.x-cd__label { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.x-cd { display: flex; gap: 6px; }
.x-cd span { flex: 1; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px 4px; }
.x-cd b { display: block; font-family: var(--head); font-weight: 900; font-size: 28px; line-height: 1; color: var(--y); font-variant-numeric: tabular-nums; }
.x-cd i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.x-cd-txt { display: block; font-family: var(--head); font-weight: 900; font-size: 20px; }
.tp-stats { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid var(--line); }
.tp-stats > div { padding: 14px 20px; border-left: 1px solid var(--line); min-width: 0; }
.tp-stats > div:first-child { border-left: 0; }
.tp-stats small { display: block; color: var(--muted); font-size: 12px; }
.tp-stats b { font-family: var(--head); font-weight: 900; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tp-grid { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 20px; margin-top: 20px; align-items: start; }
.tp-main { display: grid; gap: 20px; min-width: 0; }
.tp-side { position: sticky; top: 86px; display: grid; gap: 16px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; }
.panel > h2 { font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel > h2 small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.panel--y { border-color: var(--y-line); box-shadow: 0 0 0 1px rgba(240,185,11,.08), 0 24px 60px -30px rgba(240,185,11,.35); }

/* progress */
.x-progress { display: grid; gap: 8px; }
.x-pmeta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: 13.5px; }
.x-pmeta b { font-family: var(--head); font-weight: 900; font-size: 26px; color: var(--text); font-variant-numeric: tabular-nums; }
.x-bar { height: 14px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.x-bar > span { display: block; height: 100%; width: 0; min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, #c99a06, var(--y)); box-shadow: 0 0 16px rgba(240,185,11,.6); transition: width .8s; }
.x-soon, .x-ref { padding: 12px 14px; border-radius: var(--r-s); border: 1px dashed var(--line-2); background: var(--card-2); font-size: 14px; overflow-wrap: anywhere; }
.x-ref { border-color: var(--y-line); background: var(--y-soft); color: var(--y); }
.tp-milestones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.tp-milestones div { background: var(--card-2); border-radius: var(--r-s); padding: 10px 12px; }
.tp-milestones small { display: block; color: var(--muted); font-size: 12px; }
.tp-milestones b { font-weight: 600; font-size: 14.5px; }

/* mint panel */
.x-tbody { display: grid; gap: 16px; }
.x-thead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.x-thead h3 { font-size: 22px; }
.x-tcd { font-size: 13px; color: var(--y); font-variant-numeric: tabular-nums; }
.x-tcd:empty { display: none; }
.x-kvrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.x-kvrow > div { background: var(--card-2); border-radius: 12px; padding: 8px 10px; }
.x-kvrow small { display: block; color: var(--muted); font-size: 11.5px; }
.x-kvrow b { font-size: 14px; font-weight: 600; }
.x-wallet { display: grid; gap: 10px; padding: 14px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-s); }
.x-wallet__head { display: flex; flex-wrap: wrap; gap: 8px; }
.x-wallet__head .btn { flex: 1; }
.x-kv { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin: 0; }
.x-kv > div { background: var(--bg); border-radius: 10px; padding: 7px 10px; min-width: 0; }
.x-kv dt { font-size: 11.5px; color: var(--muted); }
.x-kv dd { margin: 2px 0 0; font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.x-kv dd.x-mono { font-weight: 400; font-size: 12.5px; }
.x-actions { display: grid; gap: 12px; }
.x-actions > div { display: grid; gap: 12px; }
.x-actions h3 { font-size: 17px; }
.x-actions > .x-extra { padding: 14px; border-radius: var(--r-s); background: var(--y-soft); border: 1px solid var(--y-line); }
.x-stepper { display: flex; gap: 8px; }
.x-step { width: 48px; height: 48px; flex: none; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card-2); font-size: 22px; }
.x-step:disabled { opacity: .35; }
.x-stepper input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; text-align: center; font-family: var(--head); font-weight: 900; font-size: 22px; background: var(--bg); -moz-appearance: textfield; appearance: textfield; }
.x-stepper input:focus { outline: none; border-color: var(--y); }
.x-stepper input::-webkit-inner-spin-button, .x-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.x-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.x-pay > div { background: var(--card-2); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.x-pay dt { color: var(--muted); font-size: 11.5px; }
.x-pay dd { margin: 0; font-weight: 600; font-size: 15px; color: var(--y); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.x-msg { font-size: 14px; overflow-wrap: anywhere; }
.x-msg:empty { display: none; }
.x-msg[data-state="ok"] { color: var(--green); }
.x-msg[data-state="fail"] { color: var(--red); }
.x-msg a { margin-left: 6px; }
.x-out { display: flex; gap: 8px; }
.x-input { flex: 1; min-width: 0; height: var(--tap); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 14px; font-family: var(--mono); font-size: 12.5px; background: var(--bg); color: var(--y); }
.x-input::placeholder { color: var(--faint); }
.x-mylink { display: grid; gap: 8px; padding: 14px; border: 1px dashed var(--y-line); border-radius: var(--r-s); }
.x-mylink h3 { font-size: 16px; }

/* how / agent */
.x-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-how li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; color: var(--muted); font-size: 14px; }
.x-how i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--y-soft); color: var(--y); font-style: normal; font-weight: 600; }
.x-how b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }
.x-cmd { margin: 0 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px; color: var(--y); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

/* rules */
.x-rules { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.x-rule { background: var(--card-2); border-radius: var(--r-s); padding: 16px; }
.x-rule__stamp { display: block; font-family: var(--head); font-weight: 900; font-size: 26px; color: var(--y); margin-bottom: 4px; }
.x-rule h3 { font-size: 16px; margin-bottom: 8px; }
.x-rule ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }

/* invite */
.x-invite { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 22px; align-items: center; }
.x-invite__lead { color: var(--muted); margin-bottom: 14px; }
.x-field { display: flex; align-items: center; height: 52px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.x-field:focus-within { border-color: var(--y); }
.x-field .x-at { display: grid; place-items: center; width: 46px; align-self: stretch; color: var(--y); font-weight: 600; font-size: 18px; border-right: 1px solid var(--line); }
.x-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 6px 0 12px; font-size: 16px; }
.x-field .x-sfx { margin-right: 10px; color: var(--muted); font-size: 14px; }
.x-isteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.x-isteps li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: center; background: var(--card-2); border-radius: var(--r-s); padding: 10px 12px; color: var(--muted); font-size: 13.5px; }
.x-isteps i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--y-soft); color: var(--y); font-style: normal; font-weight: 600; }
.x-isteps b { display: block; color: var(--text); font-weight: 600; font-size: 14.5px; }

/* supply */
.x-alloc { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin: 4px 0 14px; }
.x-alloc span:first-child { width: 57.9%; background: var(--y); }
.x-alloc span:last-child { flex: 1; background: var(--green); }
.x-pcts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-pct { background: var(--card-2); border-radius: var(--r-s); padding: 14px; }
.x-pct b { display: block; font-family: var(--head); font-weight: 900; font-size: 34px; line-height: 1.1; color: var(--y); }
.x-pct--lp b { color: var(--green); }
.x-pct h3 { font-size: 16px; margin-top: 4px; }
.x-pct__amt { color: var(--text); font-size: 14px; }
.x-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.x-chipcard { background: var(--card-2); border-radius: var(--r-s); padding: 14px; font-size: 13.5px; min-width: 0; }
.x-chipcard > b { display: block; font-family: var(--head); font-weight: 900; font-size: 28px; color: var(--y); }
.x-chipcard h3 { font-size: 15px; margin: 2px 0 8px; }
.x-split { margin: 0; display: grid; gap: 4px; }
.x-split > div { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.x-split dt { color: var(--muted); }
.x-split dt small { display: block; font-size: 12px; color: var(--faint); }
.x-split dd { margin: 0; font-weight: 600; white-space: nowrap; }
.x-gap { margin-top: 10px; }

/* addresses */
.x-dossier { display: grid; }
.x-addr { display: grid; grid-template-columns: 170px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.x-addr:first-child { border-top: 0; padding-top: 0; }
.x-addr > span { font-weight: 600; font-size: 14px; }
.x-addr > span small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.x-addr code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.x-addr .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
.x-warn { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; background: var(--red-soft); border: 1px solid rgba(241,85,91,.35); border-radius: var(--r-s); padding: 12px 14px; font-size: 13.5px; }
.x-warn strong { color: var(--red); white-space: nowrap; }

/* faq */
.x-faq details { border-top: 1px solid var(--line); }
.x-faq details:first-child { border-top: 0; }
.x-faq summary { cursor: pointer; list-style: none; min-height: var(--tap); padding: 12px 36px 12px 0; font-weight: 600; position: relative; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 22px; color: var(--y); }
.x-faq details[open] summary::after { content: "–"; }
.x-faq details p { padding: 0 0 14px; color: var(--muted); font-size: 14px; }

.tp-tabs { position: sticky; top: 78px; z-index: 5; display: flex; gap: 4px; padding: 4px; background: rgba(22,22,27,.9); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tabs a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.tp-tabs a:hover { color: var(--text); background: var(--card-2); }

@media (max-width: 1000px) {
  .tp-grid { grid-template-columns: minmax(0,1fr); }
  .tp-side { position: static; order: -1; }
  .tp-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tp-stats > div:nth-child(4) { border-left: 0; }
  .tp-stats > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tp-id { grid-template-columns: auto minmax(0,1fr); }
  .tp-cd { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tp-id { grid-template-columns: minmax(0,1fr); margin-top: -48px; padding: 0 16px 18px; }
  .tp-id > img { width: 88px; height: 88px; }
  .tp-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tp-stats > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .tp-stats > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .x-rules, .x-pcts, .x-chips, .x-invite, .tp-milestones { grid-template-columns: minmax(0,1fr); }
  .x-kvrow { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .x-addr { grid-template-columns: minmax(0,1fr); }
  .panel { padding: 16px; }
  .tp-tabs { top: 70px; }
}
.t-card__body { pointer-events: none; }
.t-card__ca { pointer-events: auto; }
@media (max-width: 640px) { .tp-stats > div:nth-child(5) { grid-column: 1 / -1; } .b-links a[href$="#faq"], .b-links a[href$="#how"] { display: none; } }
.tp-id h1 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
