/* Volition Launchpad: dark green, quiet, one lime call to action. */
:root {
  --bg: #04170c;
  --inset: #0b2a17;
  --line: rgba(196, 255, 214, 0.14);
  --lime: #d9f94f;
  --cyan: #2ee6e0;
  --text: #fff;
  --muted: #9db3a4;
  --faint: #6b8574;
  --accent: #fff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--sans); font-size: 14px; line-height: 1.5; min-height: 100vh; -webkit-font-smoothing: antialiased; }
::selection { color: #04170c; background: var(--lime); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a.chain { color: var(--muted); font-family: var(--mono); font-size: 12px; }

.lpx-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 12px 24px; background: rgba(4, 23, 12, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lpx-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.lpx-brand:hover { text-decoration: none; }
.lpx-brand img { width: 30px; height: 30px; border-radius: 8px; }
.lpx-brand span { color: var(--muted); font-weight: 500; }
.lpx-nav { display: flex; gap: 4px; margin-left: auto; }
.lpx-nav a { color: var(--muted); font-size: 13px; padding: 7px 10px; border-radius: 8px; }
.lpx-nav a:hover { color: var(--text); background: #0b2a17; text-decoration: none; }
.lpx-account { display: flex; align-items: center; }
.lpx-account a, .lpx-account span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--text); white-space: nowrap; }
.lpx-account a:hover { border-color: #fff; text-decoration: none; }
.lpx-main { max-width: 1240px; margin: 0 auto; padding: 24px 24px 60px; }
.lpx-foot { max-width: 1240px; margin: 0 auto; padding: 0 24px 40px; display: flex; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 12px; }
.lpx-foot a { color: var(--faint); }
.pf-kicker, .pf-ticker, .pf-label, .pf-chips, .pf-addr, .pf-coin-facts, .pf-stepdot, .pf-template i, .pf-prompt textarea { font-family: var(--mono); }

@media (max-width: 760px) {
  .lpx-top { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .lpx-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .lpx-account { margin-left: auto; }
  .lpx-main { padding: 16px 16px 48px; }
  .lpx-foot { padding: 0 16px 32px; }
}

/* ---------- Volition Launchpad (pump.fun-style board + 3-step creator) ---------- */
.pf { display: grid; gap: 18px; }
.pf-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: 26px 22px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, #0e301b 0%, #04170c 60%); }
.pf-hero h2 { margin: 6px 0 10px; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
.pf-hero h2 span { color: var(--lime); }
.pf-kicker { margin: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pf-lead { margin: 0; max-width: 60ch; color: #d6d6d6; line-height: 1.55; }
.pf-hero-side { display: grid; gap: 12px; justify-items: end; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pf-chips span { border: 1px solid var(--line); padding: 5px 9px; font-size: 12px; color: var(--muted); border-radius: 999px; white-space: nowrap; }
.pf-chips b { color: var(--text); }
.pf-cta { appearance: none; border: 1px solid var(--lime); background: var(--lime); color: #04170c; font: inherit; font-weight: 700; padding: 11px 18px; cursor: pointer; border-radius: 10px; transition: transform 0.08s ease, background 0.15s ease; }
.pf-cta:hover:not(:disabled) { background: #e6ff7a; }
.pf-cta:active:not(:disabled) { transform: translateY(1px); }
.pf-cta:disabled { opacity: 0.45; cursor: not-allowed; }
.pf-big { font-size: 17px; padding: 14px 26px; }
.pf-secondary, .pf-mini { appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 12px; padding: 6px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.pf-secondary:hover, .pf-mini:hover { border-color: #fff; }
.pf-mini.pf-pay { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.pf-mini.pf-pay:hover { background: var(--accent); color: #04170c; }
.pf-link { appearance: none; background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pf-link:hover { color: var(--text); }
.pf-small { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pf-label { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pf-err { color: #ff8a8a; font-size: 13px; margin: 6px 0 0; }
.pf-empty { color: var(--muted); padding: 30px 0; text-align: center; grid-column: 1 / -1; }
.pf-disclaimer { margin: 0; color: var(--faint); font-size: 12px; }

/* board */
.pf-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pf-search { flex: 1 1 260px; background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 11px 14px; border-radius: 10px; }
.pf-search:focus { outline: none; border-color: #fff; }
.pf-tabs { display: flex; gap: 6px; }
.pf-tab { appearance: none; background: transparent; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 13px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.pf-tab.on { background: #fff; color: #04170c; border-color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pf-coin { border: 1px solid var(--line); background: #072012; border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; transition: border-color 0.15s ease, transform 0.15s ease; }
.pf-coin:hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.pf-coin-top { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.pf-avatar { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); display: grid; place-items: center; background: #0d2e1a; font-weight: 700; font-size: 16px; }
.pf-coin-id { display: grid; gap: 1px; min-width: 0; }
.pf-coin-id b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-ticker { font-size: 13px; color: #d6d6d6; }
.pf-by { font-size: 12px; color: var(--faint); }
.pf-pill { font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pf-pill.live { color: #d9f94f; border-color: rgba(217, 249, 79, 0.4); }
.pf-pill.failed { color: #ff8a8a; border-color: rgba(255, 138, 138, 0.35); }
.pf-coin-desc { margin: 0; font-size: 13px; color: #cfcfcf; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-coin-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-coin-facts span { font-size: 11px; color: var(--muted); background: #0d2d19; padding: 3px 7px; border-radius: 6px; }
.pf-coin-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; }
.pf-coin-links a { color: var(--muted); }
.pf-coin-links a:hover { color: var(--text); }
.pf-coin-links .pf-trade { color: #04170c; background: #fff; padding: 5px 10px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.pf-addr { color: var(--faint); }
.pf-yours { border: 1px solid #fff; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.pf-how { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.pf-how h3 { margin: 0; font-size: 18px; }
.pf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-steps li { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.pf-steps span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pf-faq { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pf-faq summary { cursor: pointer; font-weight: 700; }
.pf-faq p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* creator */
.pf-creator { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; background: #051a0d; }
.pf-creator-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pf-stepper { display: flex; gap: 6px; }
.pf-stepdot { appearance: none; background: transparent; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 12px; padding: 6px 10px 6px 6px; border-radius: 999px; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.pf-stepdot span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #11351f; font-size: 11px; }
.pf-stepdot.on { color: var(--text); border-color: #fff; }
.pf-stepdot.on span, .pf-stepdot.done span { background: #fff; color: #04170c; }
.pf-stepdot:disabled { cursor: default; opacity: 0.5; }
.pf-h { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.pf-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pf-template { appearance: none; text-align: left; font: inherit; color: var(--text); background: #072112; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; }
.pf-template:hover { border-color: rgba(255, 255, 255, 0.55); transform: translateY(-2px); }
.pf-template.on { border-color: #fff; background: #0d2d19; }
.pf-ticon { font-size: 22px; line-height: 1; }
.pf-template span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pf-template i { font-style: normal; font-size: 11px; color: #d9f94f; }
.pf-form { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.pf-form .wide, .pf-fields .wide, .pf-adv-grid .wide { grid-column: 1 / -1; }
.pf-image { border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 14px; padding: 12px; display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; }
.pf-image img, .pf-image > span { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: #0b2a17; color: var(--muted); }
.pf-image small { color: var(--faint); font-size: 11px; }
.pf-image-btn { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.pf-image-btn:hover { border-color: #fff; }
.pf-fields, .pf-adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.pf-form label { display: grid; gap: 6px; font-size: 13px; color: #d6d6d6; }
.pf-form label small { color: var(--faint); font-weight: 400; }
.pf-form input[type="text"], .pf-form input[type="url"], .pf-form input[type="number"], .pf-form select, .pf-form textarea, .pf-prompt textarea { background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 10px 12px; border-radius: 10px; width: 100%; box-sizing: border-box; }
.pf-form textarea { min-height: 84px; resize: vertical; }
.pf-form input:focus, .pf-form select:focus, .pf-form textarea:focus, .pf-prompt textarea:focus { outline: none; border-color: #fff; }
.pf-upper { text-transform: uppercase; }
.pf-socials, .pf-advanced, .pf-prompt { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.pf-socials summary, .pf-advanced summary, .pf-prompt summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.pf-socials summary span, .pf-advanced summary span { color: var(--faint); font-weight: 400; font-size: 12px; margin-left: 6px; }
.pf-socials > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pf-adv-grid { margin-top: 12px; }
.pf-params { border-top: 1px solid var(--line); padding-top: 10px; }
.pf-params p { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.pf-params > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pf-modes, .pf-mechs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pf-form .pf-mode, .pf-form .pf-mech { border: 1px solid var(--line); border-radius: 10px; padding: 10px; gap: 4px; cursor: pointer; }
.pf-form .pf-mode.on, .pf-form .pf-mech.on { border-color: #fff; background: #0b2a17; }
.pf-mode input, .pf-mech input { display: none; }
.pf-mode span, .pf-mech span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.pf-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pf-review { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pf-review > div { display: grid; gap: 12px; align-content: start; }
.pf-preview .pf-coin { border-color: rgba(255, 255, 255, 0.4); }
.pf-summary, .pf-reqs, .pf-facts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pf-summary li, .pf-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pf-summary li:last-child, .pf-reqs li:last-child, .pf-facts li:last-child { border-bottom: 0; }
.pf-summary span, .pf-facts span { color: var(--muted); }
.pf-summary b { text-align: right; font-weight: 600; }
.pf-facts i { font-style: normal; color: #ffcf7a; white-space: nowrap; }
.pf-facts i.ok { color: #d9f94f; }
.pf-reqs li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pf-tick { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; }
.pf-reqs li.ok .pf-tick { background: #fff; color: #04170c; border-color: #fff; }
.pf-ready { border: 1px solid rgba(217, 249, 79, 0.45); color: #d9f94f; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.pf-issues { border: 1px solid rgba(255, 138, 138, 0.4); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.pf-issues b { color: #ff8a8a; }
.pf-issues ul { margin: 8px 0 0; padding-left: 18px; color: #d6d6d6; display: grid; gap: 4px; }
.pf-prompt[open] { padding-bottom: 14px; }
.pf-prompt textarea { min-height: 200px; font-size: 12px; margin-top: 10px; }
.pf-prompt .pf-facts { margin-top: 10px; }
.pf-prompt .pf-secondary { margin-top: 10px; }

@media (max-width: 760px) {
  .pf-hero { grid-template-columns: 1fr; }
  .pf-hero h2 { font-size: 26px; }
  .pf-hero-side { justify-items: stretch; }
  .pf-chips { justify-content: flex-start; }
  .pf-big { width: 100%; }
  .pf-steps, .pf-review, .pf-form, .pf-fields, .pf-adv-grid, .pf-socials > div { grid-template-columns: 1fr; }
  .pf-image { max-width: 220px; justify-self: center; width: 100%; }
  .pf-creator { padding: 14px; }
}
.pf-notice { border: 1px solid rgba(255, 207, 122, 0.4); background: rgba(255, 207, 122, 0.05); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.pf-notice b { color: #ffcf7a; font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; }
.pf-notice p { margin: 0; color: #d6d6d6; font-size: 13px; line-height: 1.55; }
.lpx-account { gap: 6px; }
.lpx-account button { font: inherit; font-size: 12px; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.lpx-account button:hover { color: var(--text); border-color: #fff; }
.pf-coin-desc, .pf-coin-id b { overflow-wrap: anywhere; }

/* Trade panel (buy / sell through Uniswap v4 with the Volition fee) */
button.pf-trade { border: 0; cursor: pointer; font: inherit; font-size: 12px; }
.pf-trade-wrap[hidden] { display: none; }
.pf-trade-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.pf-trade-back { position: absolute; inset: 0; background: rgba(4, 23, 12, 0.72); backdrop-filter: blur(4px); }
.pf-trade-panel { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #072012; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.pf-trade-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.pf-trade-head img, .pf-trade-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); display: grid; place-items: center; background: #0d2e1a; font-weight: 700; }
.pf-trade-head div { display: grid; }
.pf-trade-head span { color: var(--muted); font-size: 13px; font-family: var(--mono); }
.pf-trade-x { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.pf-trade-x:hover { color: var(--text); }
.pf-trade-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #0d2d19; padding: 4px; border-radius: 12px; }
.pf-trade-tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 9px; border-radius: 9px; cursor: pointer; }
.pf-trade-tabs button.on.buy { background: #d9f94f; color: #04170c; }
.pf-trade-tabs button.on.sell { background: #ff8a8a; color: #04170c; }
.pf-trade-in { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.pf-trade-in > div { display: flex; align-items: center; gap: 8px; background: var(--inset); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pf-trade-in > div:focus-within { border-color: #fff; }
.pf-trade-in input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 22px; font-weight: 600; }
.pf-trade-in b { color: var(--text); font-family: var(--mono); font-size: 13px; }
.pf-trade-in button, .pf-trade-quick button, .pf-trade-slip button { border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; border-radius: 8px; padding: 4px 8px; cursor: pointer; }
.pf-trade-in button:hover, .pf-trade-quick button:hover:not(:disabled), .pf-trade-slip button:hover { color: var(--text); border-color: #fff; }
.pf-trade-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-trade-quick button:disabled { opacity: 0.4; cursor: default; }
.pf-trade-out { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 2px; }
.pf-trade-out span { color: var(--muted); font-size: 12px; }
.pf-trade-out b { font-size: 18px; text-align: right; }
.pf-trade-facts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.pf-trade-facts li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pf-trade-facts li:last-child { border-bottom: 0; }
.pf-trade-facts span { color: var(--muted); }
.pf-trade-slip { display: flex; gap: 4px; }
.pf-trade-slip button.on { background: #fff; color: #04170c; border-color: #fff; }
.pf-trade-note { margin: 0; color: var(--faint); font-size: 12px; }
.pf-trade-go { width: 100%; padding: 13px; font-size: 15px; }
.pf-trade-go.buy:not(:disabled) { background: #d9f94f; border-color: #d9f94f; }
.pf-trade-go.sell:not(:disabled) { background: #ff8a8a; border-color: #ff8a8a; }
.pf-trade-done { margin: 0; color: #d9f94f; font-size: 13px; }
.pf-trade-foot { margin: 0; color: var(--faint); font-size: 11px; }
.pf-trade-foot a { color: var(--faint); text-decoration: underline; }

/* Coin page: market on the left, trade + comments on the right (stacked on phones, trade first) */
.pf-coin.clickable { cursor: pointer; }
.pf-coinpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.pf-coinpage-main { display: grid; gap: 14px; min-width: 0; }
.pf-coinpage-side { display: grid; gap: 14px; position: sticky; top: 72px; }
.pf-coinpage-err { display: grid; gap: 12px; padding: 20px 0; }
.pf-coinpage-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.pf-avatar.big { width: 84px; height: 84px; border-radius: 18px; font-size: 26px; }
.pf-coinpage-head h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pf-coinpage-head h2 span { color: var(--muted); font-family: var(--mono); font-size: 16px; font-weight: 500; }
.pf-coinpage-head .pf-small { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pf-ca { margin-top: 8px; font: inherit; font-family: var(--mono); font-size: 12px; background: #0b2a17; color: #d6d6d6; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; cursor: pointer; }
.pf-ca span { color: var(--muted); margin-left: 6px; }
.pf-ca:hover { border-color: #fff; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.pf-stats span { color: var(--muted); font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.pf-stats b { font-size: 17px; }
.pf-chart { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #051a0d; height: 420px; display: grid; place-items: center; }
.pf-chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.pf-chart p { color: var(--muted); font-size: 14px; padding: 20px; text-align: center; }
.pf-coinpage-desc { margin: 0; color: #d6d6d6; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.pf-trade-panel.inline { width: 100%; max-height: none; }
.pf-trade-soon { border: 1px solid var(--line); border-radius: 14px; padding: 16px; color: var(--muted); font-size: 14px; }
.pf-comments { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; background: #072012; }
.pf-comments h3 { margin: 0; font-size: 16px; }
.pf-comments h3 span { color: var(--muted); font-weight: 400; font-size: 13px; }
.pf-comment-form { display: grid; gap: 8px; }
.pf-comment-form textarea { background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 10px 12px; border-radius: 10px; resize: vertical; min-height: 60px; width: 100%; box-sizing: border-box; }
.pf-comment-form textarea:focus { outline: none; border-color: #fff; }
.pf-comment-form > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pf-comment-form .pf-cta { padding: 8px 16px; }
.pf-comment-login { display: block; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--text); font-size: 14px; }
.pf-comment-login:hover { border-color: #fff; text-decoration: none; }
.pf-comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 520px; overflow: auto; }
.pf-comment-list li { border-top: 1px solid var(--line); padding-top: 10px; }
.pf-comment-list li:first-child { border-top: 0; padding-top: 0; }
.pf-comment-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pf-comment-head img, .pf-comment-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #11351f; font-size: 11px; font-weight: 700; }
.pf-comment-head a { color: var(--text); font-weight: 600; }
.pf-comment-head time { color: var(--faint); font-size: 12px; margin-left: auto; font-family: var(--mono); }
.pf-comment-list p { margin: 6px 0 0 32px; font-size: 14px; color: #d6d6d6; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.pf-comment-empty { color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .pf-coinpage { grid-template-columns: 1fr; }
  .pf-coinpage-side { position: static; order: -1; }
  .pf-coinpage-main { order: 0; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); }
  .pf-chart { height: 340px; }
}

/* Contract address: copy button + Etherscan icon */
.pf-addr { display: inline-flex; align-items: center; gap: 6px; }
.pf-copy { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-family: var(--mono); font-size: 12px; color: #cfcfcf; background: #0d2d19; border: 1px solid var(--line); border-radius: 7px; padding: 3px 7px; cursor: pointer; }
.pf-copy:hover { border-color: #fff; color: #fff; }
.pf-copy.copied { border-color: rgba(217, 249, 79, 0.6); color: #d9f94f; }
.pf-copy.copied svg { display: none; }
.pf-copy.copied::after { content: "Copied ✓"; }
.pf-copy.copy-failed::after { content: " (copy blocked)"; color: #ff8a8a; }
.pf-ethscan { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: #0d2d19; }
.pf-ethscan:hover { border-color: #fff; }
.pf-ethscan img { width: 15px; height: 15px; display: block; }
.pf-ca { margin-top: 8px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--mono); font-size: 12px; background: none; border: 0; padding: 0; cursor: default; }

/* Fees block in Advanced options */
.pf-fees { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 10px; background: #080808; }
.pf-fees-title { margin: 0; font-weight: 700; font-size: 14px; }
.pf-fees-fixed { margin: 0; font-size: 13px; color: var(--muted); }
.pf-fees-fixed b { color: var(--text); }
.pf-fees .pf-params { border-top: 1px solid var(--line); padding-top: 10px; }
.pf-fee { gap: 4px !important; }
.pf-fee small { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.pf-fee-input { display: flex; align-items: center; background: var(--inset); border: 1px solid var(--line); border-radius: 10px; }
.pf-fee-input:focus-within { border-color: #fff; }
.pf-form .pf-fee-input input[type="number"] { border: 0; background: transparent; flex: 1; min-width: 0; }
.pf-fee-input i { font-style: normal; color: var(--muted); font-size: 12px; padding-right: 10px; white-space: nowrap; font-family: var(--mono); }
.pf-fee em { font-style: normal; color: var(--faint); font-size: 11px; }

/* Opening market cap presets */
.pf-caps { border: 0; margin: 0; padding: 0; min-width: 0; }
.pf-caps legend { font-size: 13px; color: #d6d6d6; margin-bottom: 6px; padding: 0; }
.pf-caps legend small { color: var(--faint); }
.pf-caps > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-form .pf-cap { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; cursor: pointer; position: relative; background: #072112; }
.pf-form .pf-cap.on { border-color: #fff; background: #0d2d19; }
.pf-cap input { position: absolute; opacity: 0; pointer-events: none; }
.pf-cap b { font-size: 14px; color: var(--text); }
.pf-cap-value { font-family: var(--mono); font-size: 13px; color: var(--text) !important; }
.pf-cap span { font-size: 12px; color: var(--muted); }
.pf-cap i { font-style: normal; font-size: 11px; color: #d9f94f; }
.pf-cap-note { margin: 0; font-size: 13px; color: var(--muted); }
.pf-cap-note b { color: var(--text); }
@media (max-width: 760px) { .pf-caps > div { grid-template-columns: 1fr; } }

/* Volition AI launch copilot: docked on the right on wide screens, a bottom sheet on phones */
#lp-copilot { position: fixed; z-index: 40; right: 16px; bottom: 16px; font-family: var(--sans); }
#lp-copilot .cp-fab { display: flex; align-items: center; gap: 8px; background: #fff; color: #04170c; border: 0; border-radius: 999px; padding: 8px 16px 8px 8px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(4, 23, 12, 0.5), 0 0 0 1px rgba(217, 249, 79, 0.35); }
#lp-copilot .cp-fab img { width: 32px; height: 32px; border-radius: 50%; }
#lp-copilot.open .cp-fab { display: none; }
#lp-copilot .cp-panel { display: none; }
#lp-copilot.open .cp-panel { display: flex; }
.cp-panel { flex-direction: column; width: 370px; height: min(680px, calc(100vh - 96px)); background: #061c0f; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(4, 23, 12, 0.6); }
.cp-head { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, rgba(217, 249, 79, 0.08), transparent 60%); }
.cp-head img { width: 34px; height: 34px; border-radius: 50%; }
.cp-head div { display: grid; }
.cp-head b { font-size: 14px; }
.cp-head span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.cp-head span i { width: 7px; height: 7px; border-radius: 50%; background: #d9f94f; box-shadow: 0 0 8px #d9f94f; }
.cp-head button { background: none; border: 1px solid transparent; color: var(--muted); font-size: 18px; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; }
.cp-head button:hover { color: var(--text); border-color: var(--line); }
.cp-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cp-msg { font-size: 14px; line-height: 1.5; max-width: 92%; overflow-wrap: anywhere; }
.cp-msg.user { align-self: flex-end; background: #1c1c1c; border-radius: 14px 14px 4px 14px; padding: 8px 12px; white-space: pre-wrap; }
.cp-msg.assistant { align-self: flex-start; color: #e6e6e6; }
.cp-msg.assistant b { color: #fff; }
.cp-msg.tip { border-left: 2px solid #d9f94f; padding-left: 10px; color: #cfcfcf; font-size: 13px; }
.cp-msg a { color: #d9f94f; }
.cp-typing { color: var(--muted) !important; font-style: italic; }
.cp-card { margin-top: 8px; border: 1px solid rgba(217, 249, 79, 0.35); border-radius: 12px; padding: 10px; display: grid; gap: 6px; background: #082413; }
.cp-card-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cp-card-top span { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.cp-card-top i { font-style: normal; font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); margin-left: auto; }
.cp-card p { margin: 0; font-size: 13px; color: #cfcfcf; }
.cp-card .cp-card-meta { color: var(--muted); font-size: 12px; }
.cp-card button { background: #d9f94f; color: #04170c; border: 0; border-radius: 9px; padding: 8px; font: inherit; font-weight: 700; cursor: pointer; }
.cp-card button:disabled { background: #1c1c1c; color: #d9f94f; cursor: default; }
.cp-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.cp-chips button { background: transparent; border: 1px solid var(--line); color: #d6d6d6; font: inherit; font-size: 12px; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.cp-chips button:hover { border-color: #fff; color: #fff; }
.cp-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.cp-form textarea { flex: 1; resize: none; background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 14px; border-radius: 12px; padding: 10px 12px; max-height: 120px; }
.cp-form textarea:focus { outline: none; border-color: #fff; }
.cp-form button { width: 40px; border: 0; border-radius: 12px; background: #fff; color: #04170c; font-size: 18px; font-weight: 700; cursor: pointer; }
.cp-form button:disabled { opacity: 0.4; }
/* make room for the docked panel on wide screens */
@media (min-width: 1101px) {
  body.copilot-open .lpx-main, body.copilot-open .lpx-foot { margin-right: 400px; margin-left: max(24px, calc((100vw - 400px - 1240px) / 2)); }
  body.copilot-open #lp-copilot { top: 66px; bottom: 16px; }
  body.copilot-open .cp-panel { height: 100%; }
}
@media (max-width: 1100px) {
  #lp-copilot.open { left: 8px; right: 8px; bottom: 8px; }
  .cp-panel { width: 100%; height: min(78vh, 640px); }
}

/* Hero background: the swarm's control-room panels, darkened on the text side */
.pf-hero { background: linear-gradient(90deg, rgba(4, 23, 12, 0.94) 0%, rgba(4, 23, 12, 0.82) 45%, rgba(4, 23, 12, 0.55) 100%), url("hero-volition.webp") center / cover no-repeat, #04170c; }
@media (max-width: 760px) { .pf-hero { background: linear-gradient(180deg, rgba(4, 23, 12, 0.88), rgba(4, 23, 12, 0.92)), url("hero-volition.webp") center / cover no-repeat, #04170c; } }
.pf-hero .pf-chips span { background: rgba(4, 23, 12, 0.78); backdrop-filter: blur(2px); }

/* Coins | Swarm Arena tabs */
.pf-maintabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-maintabs button { appearance: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--muted); background: #072112; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.pf-maintabs button.on { color: #04170c; background: #fff; border-color: #fff; }
.pf-maintabs button.arena { border-color: var(--line); }
.pf-maintabs button.arena.on { background: #d9d9d4; border-color: #d9d9d4; color: #0b2a17; }
.pf-maintabs button span { font-family: var(--mono); font-size: 12px; font-weight: 500; opacity: 0.85; }

/* Swarm Arena */
@property --ar-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.ar { display: grid; gap: 16px; }
.ar-banner { position: relative; border: 2px solid #d9d9d4; border-radius: 6px; padding: 0 18px 18px; background: #072012; display: grid; gap: 14px; }
.ar-banner::before { content: none; }
@keyframes ar-spin { to { --ar-angle: 360deg; } }
.ar-banner-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.ar-module { width: 48px; height: 48px; flex: none; }
.ar-sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.ar-banner h3 { margin: 2px 0 0; font-size: 24px; letter-spacing: -0.01em; }
.ar-clock { text-align: right; display: grid; }
.ar-clock span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ar-clock b { font-family: var(--mono); font-size: 28px; letter-spacing: 0.06em; color: #c4e842; background: #04170c; border: 1px solid #184228; border-radius: 4px; padding: 4px 10px; margin-top: 4px; }
.ar-lead { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: #0b2a17; border: 1px solid #163f26; border-radius: 6px; padding: 14px; }
.ar-lead-id { display: grid; gap: 3px; min-width: 0; }
.ar-lead-id b { font-size: 22px; overflow-wrap: anywhere; }
.ar-lead-id span { color: var(--muted); font-size: 13px; font-family: var(--mono); }
.ar-lead-id p { margin: 4px 0 0; color: #d6d6d6; font-size: 14px; }
.ar-empty { margin: 0; color: #d6d6d6; }
.ar-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); display: grid; place-items: center; background: #0d2e1a; font-weight: 700; }
.ar-logo.big { width: 84px; height: 84px; border-radius: 18px; font-size: 24px; box-shadow: 0 0 40px rgba(255, 210, 92, 0.25); }
.ar-vote { appearance: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; color: #fff; background: #0d2d19; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ar-vote:hover { border-color: #ff6b8b; text-decoration: none; }
.ar-vote.on { color: #ff6b8b; border-color: rgba(255, 107, 139, 0.6); background: rgba(255, 107, 139, 0.08); }
.ar-vote b { font-family: var(--mono); }
.ar-vote:disabled { opacity: 0.5; cursor: not-allowed; }
.ar-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ar-rules li { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.ar-rules span { color: var(--muted); font-size: 13px; }
.ar-form-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ar-done { color: #d9f94f !important; }
.ar-form { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; background: #051a0d; }
.ar-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-form-grid .wide { grid-column: 1 / -1; }
.ar-form label { display: grid; gap: 6px; font-size: 13px; color: #d6d6d6; }
.ar-form label small { color: var(--faint); }
.ar-form input, .ar-form select, .ar-form textarea { background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 10px 12px; border-radius: 10px; width: 100%; box-sizing: border-box; }
.ar-form input:focus, .ar-form select:focus, .ar-form textarea:focus { outline: none; border-color: #fff; }
.ar-form input[type="file"] { padding: 7px; }
.ar-logo-field span { display: flex; gap: 8px; align-items: center; }
.ar-logo-field img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ar-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ar-list-head h3 { margin: 0; font-size: 18px; }
.ar-list-head h3 span { color: var(--muted); font-weight: 400; font-size: 14px; }
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ar-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; background: #072012; }
.ar-card-top { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; }
.ar-rank { font-family: var(--mono); color: #ffd25c; font-weight: 600; }
.ar-id { display: grid; min-width: 0; }
.ar-id b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-id span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.ar-id small { font-size: 12px; color: var(--faint); }
.ar-narr { margin: 0; font-size: 14px; color: #d6d6d6; overflow-wrap: anywhere; }
.ar-prompt { border-left: 2px solid rgba(217, 249, 79, 0.5); padding-left: 10px; }
.ar-prompt span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #d9f94f; }
.ar-prompt p { margin: 4px 0; font-size: 13px; color: #cfcfcf; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ar-prompt.open p { display: block; }
.ar-winners { display: grid; gap: 8px; }
.ar-win { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ar-win div { display: grid; }
.ar-win span { color: var(--muted); font-size: 12px; }
.ar-win a { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .ar-banner-head { grid-template-columns: auto 1fr; }
  .ar-clock { grid-column: 1 / -1; text-align: left; }
  .ar-lead { grid-template-columns: auto 1fr; }
  .ar-lead .ar-vote { grid-column: 1 / -1; justify-self: start; }
  .ar-rules, .ar-form-grid { grid-template-columns: 1fr; }
  .ar-grid { grid-template-columns: 1fr; }
}

/* "This token joins the Volition Hackathon" */
.hk-entry { border: 1px solid rgba(255, 210, 92, 0.35); border-radius: 12px; padding: 10px 14px; background: rgba(255, 210, 92, 0.03); }
.hk-entry summary { cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; list-style: none; }
.hk-entry summary::-webkit-details-marker { display: none; }
.hk-entry summary small { color: var(--faint); font-size: 12px; }
.hk-check { display: flex !important; align-items: center; gap: 8px; font-size: 14px; color: var(--text) !important; cursor: pointer; }
.hk-check input { width: 18px; height: 18px; accent-color: #ffd25c; }
.hk-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hk-entry-grid .wide { grid-column: 1 / -1; }
.hk-entry-grid label { display: grid; gap: 5px; font-size: 13px; color: #d6d6d6; }
.hk-entry-grid label small { color: var(--faint); }
.hk-entry-grid input, .hk-entry-grid select { background: var(--inset); border: 1px solid var(--line); color: var(--text); font: inherit; padding: 9px 11px; border-radius: 10px; width: 100%; box-sizing: border-box; }
.hk-entry-grid input:focus, .hk-entry-grid select:focus { outline: none; border-color: #fff; }
.hk-accept { display: flex !important; align-items: center; gap: 8px; }
.hk-accept input { width: 16px !important; height: 16px; accent-color: #ffd25c; }
.hk-accept a { color: #ffd25c; }
.hk-badge { display: inline-block; font-size: 11px; font-weight: 600; color: #ffd25c; border: 1px solid rgba(255, 210, 92, 0.45); background: rgba(255, 210, 92, 0.08); border-radius: 999px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
.pf-coin-facts .hk-badge { margin-left: 0; }

/* Swarm Pick on the main board */
.ar-pick { position: relative; border: 2px solid #d9d9d4; border-radius: 6px; padding: 0 16px 16px; display: grid; gap: 14px; background: #072012; }
.ar-pick::before { content: none; }
.ar-pick-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.ar-pick-head b { font-size: 18px; }
.ar-pick-votes { display: grid; justify-items: center; padding: 6px 14px; border-radius: 4px; border: 1px solid #184228; background: #04170c; }
.ar-pick-votes b { font-family: var(--mono); font-size: 24px; color: #c4e842; }
.ar-pick-votes span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.ar-pick-go { justify-self: start; }
@media (max-width: 760px) {
  .hk-entry-grid { grid-template-columns: 1fr; }
  .ar-pick-head { grid-template-columns: auto 1fr; }
  .ar-pick-head .ar-clock { grid-column: 1 / -1; text-align: left; }
  .ar-pick .ar-lead { grid-template-columns: auto 1fr; }
}

/* Copilot: language picker, attachments, English tip */
.cp-head-lang { grid-template-columns: auto 1fr auto auto auto !important; }
.cp-lang { background: #0b2a17; color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12px; padding: 4px 6px; max-width: 96px; }
.cp-clip { width: 40px; border: 1px solid var(--line) !important; background: transparent !important; color: var(--muted) !important; font-size: 16px !important; border-radius: 12px; cursor: pointer; }
.cp-clip:hover { border-color: #fff !important; }
.cp-attach { display: flex; gap: 6px; padding: 0 10px 8px; flex-wrap: wrap; }
.cp-attach span { position: relative; }
.cp-attach img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.cp-attach button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(4, 23, 12,.8); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; }
.cp-msg-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.cp-msg-imgs img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cp-tip-en { margin: 0; padding: 0 12px 8px; font-size: 12px; color: #ffcf7a; }

/* Page translator */
.lpx-lang { background: #0b2a17; color: var(--text); border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 13px; padding: 6px 10px; margin-left: 4px; }
.lpx-langnote { max-width: 1240px; margin: 14px auto 0; padding: 10px 14px; border: 1px solid rgba(255, 207, 122, 0.45); background: rgba(255, 207, 122, 0.06); border-radius: 12px; color: #f0e6cf; font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lpx-langnote[hidden] { display: none; }
.lpx-langnote button { background: #ffcf7a; color: #04170c; border: 0; border-radius: 8px; padding: 5px 10px; font: inherit; font-weight: 700; cursor: pointer; }
/* hide Google's own top bar */
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
@media (max-width: 760px) { .lpx-langnote { margin: 10px 16px 0; } }

/* Launch page: a coin the swarm is still building */
.pf-build { display: grid; gap: 16px; max-width: 760px; }
.pf-build-clock { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--inset); }
.pf-build-clock > div:not(.pf-build-bar) { display: grid; gap: 4px; }
.pf-build-clock span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pf-build-clock b { font-family: var(--mono); font-size: 28px; font-weight: 600; }
.pf-build-clock #pf-build-left { color: var(--accent); }
.pf-build-clock .pf-small { grid-column: 1 / -1; margin: 0; }
.pf-build-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pf-build-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width 1s linear; }
.pf-build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pf-build-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 10px 0; position: relative; }
.pf-build-steps li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 36px; bottom: -6px; width: 2px; background: var(--line); }
.pf-build-steps li.done:not(:last-child)::before { background: var(--accent); }
.pf-build-steps li div { display: grid; gap: 2px; }
.pf-build-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; color: var(--faint); }
.pf-build-steps li.done .pf-build-dot { border-color: var(--accent); background: var(--accent); color: #04170c; font-weight: 700; }
.pf-build-steps li.working .pf-build-dot { border-color: var(--accent); color: var(--accent); animation: pf-pulse 1.4s ease-in-out infinite; }
.pf-build-steps li.failed .pf-build-dot { border-color: #f87171; color: #f87171; }
.pf-build-steps li.waiting b { color: var(--muted); font-weight: 500; }
@keyframes pf-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); } }
.pf-build-failed { padding: 16px; border: 1px solid #7f1d1d; border-radius: 14px; background: color-mix(in srgb, #f87171 8%, transparent); }
.pf-build-failed p { margin: 6px 0 0; color: var(--muted); }
.pf-liveflash { padding: 12px 14px; border: 1px solid var(--accent); border-radius: 12px; color: var(--accent); font-weight: 600; background: color-mix(in srgb, var(--accent) 10%, transparent); }
@media (max-width: 560px) { .pf-build-clock b { font-size: 22px; } }

/* Swarm Arena as a control-panel module: grey faceplate strip with screws */
.ar-plate { margin: 0 -18px; display: flex; justify-content: space-between; gap: 12px; padding: 7px 26px; background: #d9d9d4; color: #0b2a17; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; position: relative; }
.ar-pick .ar-plate { margin: 0 -16px; }
.ar-plate::before, .ar-plate::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #0b2a17; }
.ar-plate::before { left: 9px; }
.ar-plate::after { right: 9px; }
.ar-led { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #c4e842; vertical-align: 1px; }

/* Coin page: on-chain trades and price chart */
.pf-chart.onchain { display: grid; gap: 6px; padding: 12px; min-height: 0; }
.pf-pricechart { width: 100%; height: 220px; display: block; }
.pf-pricechart .line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.pf-pricechart .area { stroke: none; opacity: 0.12; }
.pf-pricechart.up .line { stroke: #d9f94f; } .pf-pricechart.up .area { fill: #d9f94f; }
.pf-pricechart.down .line { stroke: #ff6b6b; } .pf-pricechart.down .area { fill: #ff6b6b; }
.pf-pricechart circle.buy { fill: #d9f94f; } .pf-pricechart circle.sell { fill: #ff6b6b; }
.pf-pricechart-note { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.pf-trades-box { display: grid; gap: 8px; }
.pf-trades-box .pf-label span { text-transform: none; letter-spacing: 0; margin-left: 6px; }
#pf-trades { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.pf-trades { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
.pf-trades th { position: sticky; top: 0; background: #082413; text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.pf-trades td { padding: 7px 10px; border-bottom: 1px solid #0e301b; white-space: nowrap; }
.pf-trades td small { display: block; color: var(--faint); font-size: 11px; }
.pf-trades tr.buy td:first-child b { color: #d9f94f; }
.pf-trades tr.sell td:first-child b { color: #ff6b6b; }
.pf-trades a { color: var(--text); text-decoration: none; }
.pf-trades a:hover { text-decoration: underline; }
#pf-trades .pf-small { padding: 12px; margin: 0; }

/* Creator earnings: up to 3 wallets sharing 0.5% of every trade */
.pf-earn { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset); }
.pf-earn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pf-earn-head span { color: var(--muted); font-size: 12.5px; }
.pf-earn-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.pf-earn-row > input { font-family: var(--mono); font-size: 13px; }
.pf-earn-pct { display: flex; align-items: center; gap: 4px; }
.pf-earn-pct[hidden] { display: none; }
.pf-earn-pct input { width: 70px; text-align: right; }
.pf-earn-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pf-earn .pf-small { margin: 0; }

/* Coin page: creator earnings */
.pf-earnbox { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.pf-earnbox .pf-label span { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.pf-earn-wallets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pf-earn-wallets li { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; }
.pf-earn-wallets a { color: var(--text); }
.pf-earn-mine { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--inset); }
.pf-earn-mine span { color: var(--muted); font-size: 12px; }
.pf-earn-mine b { font-family: var(--mono); font-size: 16px; }
.pf-earnbox .pf-earn { border: 0; padding: 0; background: none; }

/* Board: $VOLITION, the home token */
.pf-home { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset); cursor: pointer; }
.pf-home:hover { border-color: #555; }
.pf-home-id { display: grid; gap: 2px; min-width: 0; }
.pf-home-id b span { color: var(--muted); font-weight: 500; }
.pf-home-id small { color: var(--muted); font-size: 12px; }
.pf-home-stats { display: flex; gap: 16px; }
.pf-home-stats span { display: grid; text-align: right; }
.pf-home-stats small { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.pf-home-stats b { font-family: var(--mono); font-size: 14px; }
@media (max-width: 640px) { .pf-home { grid-template-columns: auto 1fr; } .pf-home-stats { grid-column: 1 / -1; justify-content: flex-start; } .pf-home .pf-trade { grid-column: 1 / -1; } .pf-home-stats span { text-align: left; } }

/* Live room on coin pages: chat, who is online, Volition's messages */
.pf-build { max-width: 1100px; }
.pf-build-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.pf-room { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--inset); }
.pf-room-head { display: flex; justify-content: space-between; align-items: center; }
.pf-online { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.pf-online i { width: 8px; height: 8px; border-radius: 50%; background: #c4e842; box-shadow: 0 0 8px #c4e842; animation: pf-blink 2s ease-in-out infinite; }
@keyframes pf-blink { 50% { opacity: .35; } }
.pf-room-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 10px; max-height: 380px; overflow-y: auto; }
.pf-room-list li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.pf-room-list img { width: 28px; height: 28px; border-radius: 50%; }
.pf-room-list b { font-size: 13px; margin-right: 6px; }
.pf-room-list time { font-size: 11px; color: var(--faint); }
.pf-room-list p { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.pf-room-list li.simd div { border-left: 2px solid var(--accent); padding-left: 8px; }
.pf-room-list li.simd b { color: var(--accent); }
.pf-room-form { display: flex; gap: 8px; }
.pf-room-form input { flex: 1; min-width: 0; background: #04170c; border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 9px 10px; font: inherit; }
@media (max-width: 860px) { .pf-build-cols { grid-template-columns: 1fr; } }

/* Animated decorations (public/decor.js) */
.decor-layer { position: absolute; pointer-events: none; height: 0; } /* no z-index: a stacking context would stop the clip blending its black background away */
.decor-item { position: absolute; }
.decor-item video { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.decor-item.editing { pointer-events: auto; cursor: move; outline: 1px dashed rgba(217, 249, 79, .8); touch-action: none; }
.decor-item.editing em { position: absolute; left: 4px; top: 4px; font: 11px var(--mono); font-style: normal; color: #04170c; background: var(--accent); padding: 1px 6px; border-radius: 4px; }
.decor-handle { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); cursor: nwse-resize; }
.decor-bar { position: fixed; left: 12px; bottom: 12px; z-index: 50; display: grid; gap: 6px; width: 320px; padding: 10px; border: 1px solid var(--accent); border-radius: 10px; background: rgba(4, 23, 12,.92); font-size: 12px; color: #ddd; }
.decor-bar button { justify-self: start; background: #fff; color: #04170c; border: 0; border-radius: 6px; padding: 4px 10px; font: 600 12px Inter, sans-serif; cursor: pointer; }
.decor-bar textarea { height: 110px; background: #04170c; color: var(--accent); border: 1px solid #333; border-radius: 6px; font: 11px var(--mono); }

.decor-item.following { transition: top .9s ease; }
.decor-zzz { position: absolute; display: block; width: 30%; height: 40%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.decor-item.sleeping .decor-zzz { opacity: 1; }
.decor-zzz i { position: absolute; left: 0; bottom: 0; font: 800 22px Inter, sans-serif; font-style: normal; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.5); opacity: 0; }
.decor-item.sleeping .decor-zzz i { animation: decor-z 3s ease-in infinite; }
.decor-zzz i:nth-child(2) { animation-delay: 1s !important; font-size: 28px; }
.decor-zzz i:nth-child(3) { animation-delay: 2s !important; font-size: 36px; }
@keyframes decor-z { 0% { transform: translate(0, 0) rotate(-10deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(40px, -70px) rotate(12deg); opacity: 0; } }
.decor-item.sleeping video { animation: decor-breathe 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes decor-breathe { 50% { transform: scaleY(1.018); } }
.pf-build-steps li.decor-host .pf-build-dot { visibility: hidden; }
.pf-build-steps li.recheck .pf-build-dot { background: transparent; color: var(--muted); border-color: var(--line); font-weight: 400; }
.pf-build-steps li.recheck b { color: var(--muted); font-weight: 500; }

/* Board sorting and market caps */
.pf-sorts { flex-wrap: wrap; }
.pf-coin-mc { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pf-coin-mc b { color: var(--text); }
.pf-coin-mc .up { color: #d9f94f; }
.pf-coin-mc .down { color: #ff6b6b; }
.pf-warn { margin: 0 0 10px; padding: 10px 12px; border: 1px solid rgba(255, 210, 92, .45); border-radius: 10px; color: #ffd25c; font-size: 13px; }

/* Trade panel: wallet picker and IMD guidance */
.pf-wallets { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #04170c; }
.pf-wallets p { margin: 0; font-size: 13px; color: var(--muted); }
.pf-wallets button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--inset); color: var(--text); font: 600 14px Inter, sans-serif; cursor: pointer; text-align: left; }
.pf-wallets button:hover { border-color: #fff; }
.pf-wallets img { width: 24px; height: 24px; border-radius: 6px; }
.pf-trade-imd { margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 210, 92, .45); border-radius: 10px; color: #ffd25c; font-size: 13px; }
.pf-trade-imd a { color: #fff; font-weight: 600; }
.pf-trade-switch { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }

/* Chains: Ethereum and Robinhood Chain */
.pf-chains { border: 0; padding: 0; margin: 0; }
.pf-chains legend { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pf-chains > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.pf-chain { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; padding: 10px 12px; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; cursor: pointer; }
.pf-chain input { display: none; }
.pf-chain img { grid-row: span 2; }
.pf-chain span { font-size: 12px; color: var(--muted); }
.pf-chain.on { border-color: #d9f94f; background: rgba(217, 249, 79, .06); }
.pf-chain-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(204, 255, 0, .12); color: #d9f94f; font-size: 11.5px; }
.pf-trade-rh { display: grid; gap: 10px; text-align: left; }
.pf-trade-rh p { margin: 0; font-size: 13px; color: var(--muted); }
.pf-chain.soon { opacity: .5; cursor: not-allowed; }
.pf-txns i { font-style: normal; }
.pf-txns .up { color: #d9f94f; }
.pf-txns .down { color: #ff6b6b; }
.pf-chaintabs .pf-tab { display: inline-flex; align-items: center; gap: 6px; }
.pf-confirm { border: 1px solid rgba(255,210,92,.5); border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
.pf-confirm p { margin: 0 0 10px; font-size: 14px; }
.pf-confirm > div { display: flex; gap: 12px; align-items: center; }
.pf-site { border: 1px solid rgba(217, 249, 79,.4); border-radius: 12px; padding: 10px 12px 12px; margin: 0; }
.pf-site legend { padding: 0 6px; font-size: 13px; }
.pf-site > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.pf-site .pf-chain { grid-template-columns: 1fr; }
.pf-site-hint { margin: 0; }

/* Swarm site banner on the build page */
.pf-site-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0; padding: 12px 14px; border: 1px solid rgba(217, 249, 79,.5); border-radius: 12px; background: rgba(217, 249, 79,.06); color: var(--text); text-decoration: none; }
.pf-site-banner:hover { border-color: #d9f94f; text-decoration: none; }
.pf-site-banner span { font-size: 13px; color: #d9f94f; }
.pf-site-banner b { font-family: var(--mono); font-size: 15px; }
.pf-site-banner i { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
/* the decor clips have a black background: blend it away so they never hide the steps or links */
.decor-item:not(.editing) { pointer-events: none; }
.decor-item video { mix-blend-mode: screen; }

/* logo options drawn by the swarm */
.pf-logos { margin: 12px 0; }
.pf-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.pf-logo-grid figure { margin: 0; display: grid; gap: 6px; justify-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.pf-logo-grid figure.on { border-color: #d9f94f; background: rgba(217, 249, 79,.06); }
.pf-logo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #0b2a17; }

/* creator X account age (DYOR) */
.pf-xage { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.pf-xage::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pf-xage.red { color: #ff6b6b; background: rgba(255,107,107,.12); }
.pf-xage.orange { color: #ffb43c; background: rgba(255,180,60,.12); }
.pf-xage.green { color: #d9f94f; background: rgba(217, 249, 79,.10); }
.pf-xage-warn { margin: 10px 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.pf-xage-warn.red { border: 1px solid rgba(255,107,107,.55); background: rgba(255,107,107,.08); }
.pf-xage-warn.orange { border: 1px solid rgba(255,180,60,.5); background: rgba(255,180,60,.07); }
.pf-xage-warn.green { border: 1px solid rgba(217, 249, 79,.35); background: rgba(217, 249, 79,.05); }
.pf-xage-warn a { color: inherit; text-decoration: underline; }
.pf-xlink { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.pf-xlink:hover { color: #fff; text-decoration-color: #fff; }

/* Swarm site editor */
.pf-siteedit { margin: 14px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; }
.pf-siteedit textarea { width: 100%; min-height: 80px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #072112; color: var(--text); font: inherit; resize: vertical; box-sizing: border-box; }
.pf-siteedit select { padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: #072112; color: var(--text); font: inherit; }
.pf-se-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pf-se-ok { color: #d9f94f; font-size: 14px; margin: 0; }
.pf-req { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.pf-req li.ok { color: #d9f94f; }

/* creator smart followers (frontrun.pro) */
.pf-smart { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; white-space: nowrap; cursor: default; }
.pf-smart b { font-weight: 600; }
.pf-q { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; border: 1px solid currentColor; font-size: 9px; font-style: normal; opacity: .7; }
.pf-tip { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; width: 250px; padding: 9px 11px; border-radius: 10px; background: #0b2a17; border: 1px solid var(--line); color: #ddd; font-size: 12px; line-height: 1.45; white-space: normal; box-shadow: 0 10px 30px rgba(4, 23, 12,.6); opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.pf-smart:hover .pf-tip, .pf-smart:focus .pf-tip { opacity: 1; transform: none; }
.pf-xage.new { color: #9fc3ff; background: rgba(159,195,255,.10); }
.pf-xage-warn.new { border: 1px solid rgba(159,195,255,.35); background: rgba(159,195,255,.06); }

/* guided website builder: lit steps */
.pf-sg { gap: 10px; }
.pf-sg-step { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 10px 0; opacity: .55; transition: opacity .2s; }
.pf-sg-step.lit, .pf-sg-step.done { opacity: 1; }
.pf-sg-light { position: relative; display: flex; justify-content: center; }
.pf-sg-light i { width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: #333; border: 1px solid #555; }
.pf-sg-step.done .pf-sg-light i { background: #d9f94f; border-color: #d9f94f; }
.pf-sg-step.lit .pf-sg-light i { background: #ffd25c; border-color: #ffd25c; box-shadow: 0 0 0 0 rgba(255,210,92,.7); animation: sgpulse 1.4s infinite; }
@keyframes sgpulse { 0% { box-shadow: 0 0 0 0 rgba(255,210,92,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,210,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,92,0); } }
.pf-sg-step.lit .pf-sg-body { border-left: 2px solid rgba(255,210,92,.6); padding-left: 10px; margin-left: -12px; }
.pf-sg-title { margin: 0 0 8px; font-size: 14px; }
.pf-sg-title b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #143b23; font-size: 12px; }
.pf-sg-title span { color: #d9f94f; }
.pf-sg-styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.pf-sg-styles .pf-chain { grid-template-columns: 1fr; }
.pf-sg-pages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-sg-chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; }
.pf-sg-chip input { display: none; }
.pf-sg-chip.on { border-color: #d9f94f; color: #d9f94f; background: rgba(217, 249, 79,.08); }
.pf-sg textarea { width: 100%; min-height: 90px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #072112; color: var(--text); font: inherit; resize: vertical; box-sizing: border-box; }
.pf-sg-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* example ladders for the free-text fields */
.pf-ex { margin-top: 10px; }
.pf-ex-title { margin: 0 0 8px; font-size: 13px; }
.pf-ex-title span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.pf-ex-list { display: grid; gap: 6px; }
.pf-ex-item { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.pf-ex-item:hover { border-color: #d9f94f; }
.pf-ex-item b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #d9f94f; }
.pf-ex-item.extreme { border-color: rgba(255,210,92,.5); background: rgba(255,210,92,.05); }
.pf-ex-item.extreme b { color: #ffd25c; }
.pf-ex-tips { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12.5px; color: #cfcfcf; }

/* guided tour of the launch form */
.lt-root { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.lt-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(4, 23, 12,.72), 0 0 0 2px #ffd25c, 0 0 28px 4px rgba(255,210,92,.45); transition: all .3s ease; pointer-events: auto; cursor: pointer; }
.lt-card { position: fixed; padding: 14px 16px; border: 1px solid rgba(255,210,92,.6); border-radius: 14px; background: #0b2a17; color: #fff; box-shadow: 0 12px 40px rgba(4, 23, 12,.6); pointer-events: auto; transition: top .3s ease, left .3s ease; box-sizing: border-box; }
.lt-count { margin: 0 0 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #ffd25c; }
.lt-card h4 { margin: 0 0 6px; font-size: 16px; }
.lt-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #ddd; }
.lt-btns { display: flex; align-items: center; gap: 8px; }
.lt-btns span { flex: 1; }
.lt-btns button { font: inherit; font-size: 13px; cursor: pointer; border-radius: 999px; padding: 7px 14px; }
.lt-skip { background: none; border: 0; color: #9a9a9a; padding-left: 0 !important; text-decoration: underline; }
.lt-back { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.lt-next { background: #ffd25c; border: 0; color: #0b2a17; font-weight: 600; }
.pf-tour-btn { margin-left: 8px; }

/* website section: plain numbered steps, full width (no lights) */
.pf-sg { display: block; }
.pf-sg > .pf-small { margin: 0 0 6px; }
.pf-sg > .pf-sg-step, .pf-sg > .pf-sg-step.lit, .pf-sg > .pf-sg-step.done { display: block; padding: 12px 0; opacity: 1; border-top: 1px solid var(--line); }
.pf-sg-step:first-of-type { border-top: 0; }
.pf-sg-step.lit .pf-sg-body { border-left: 0; padding-left: 0; margin-left: 0; }
.pf-sg-step.done .pf-sg-title b { background: #d9f94f; color: #0b2a17; }
.pf-sg-styles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pf-sg .pf-ex-list { grid-template-columns: 1fr; }

/* website: technical options + editable preset */
.pf-sg-tech { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; }
.pf-sg-sub { margin: 0; font-size: 13.5px; }
.pf-sg-sub small, .pf-sg-preset summary small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.pf-sg-opt { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
.pf-sg-opt > span { font-size: 12px; color: var(--muted); padding-top: 7px; }
.pf-sg-opt > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-sg-opt .pf-sg-chip { padding: 5px 11px; font-size: 12.5px; }
.pf-sg-preset { margin-top: 10px; }
.pf-sg-preset summary { cursor: pointer; font-size: 13.5px; padding: 6px 0; }
.pf-sg-preset textarea { min-height: 220px; font-family: var(--mono, monospace); font-size: 12.5px; line-height: 1.5; }
@media (max-width: 560px) { .pf-sg-opt { grid-template-columns: 1fr; gap: 4px; } .pf-sg-opt > span { padding-top: 0; } }

/* relaunch + live notification */
.pf-build-failed .pf-cta { margin-top: 10px; }
.pf-build-clock [data-pf-notify] { margin-top: 8px; }
.pf-notify-on { color: #d9f94f; }
.pf-liveflash .pf-mini { margin-left: 8px; }

/* Websites hall of fame */
#pf-grid:has(.pf-sitewall) { display: block; }
.pf-sitewall { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pf-sitecard { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #072112; display: grid; }
.pf-siteshot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b2a17; }
.pf-siteshot iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.pf-siteinfo { display: flex; gap: 10px; align-items: center; padding: 10px 12px 4px; }
.pf-siteinfo b span { color: var(--muted); font-weight: 500; }
.pf-siteinfo small { display: block; color: var(--muted); font-size: 12px; }
.pf-siteacts { display: flex; gap: 8px; padding: 6px 12px 12px; }

/* coins launched from the X mini app */
.pf-x-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #fff; color: #04170c; font-size: 11.5px; font-weight: 600; }

.pf-fail-detail { margin: 8px 0; padding: 8px 10px; border-left: 2px solid #ff6b6b; background: rgba(255,107,107,.06); font-size: 13px; line-height: 1.5; }

/* "it's live" alarm: Einstein Pepe dancing over the page with his song */
.lt-alarm { position: fixed; inset: 0; z-index: 9500; display: grid; grid-template-columns: 1fr minmax(280px, 420px); align-items: end; gap: 0 24px; padding: 24px 24px 0; background: radial-gradient(80% 70% at 30% 60%, rgba(204,255,0,.18), rgba(4, 23, 12,.82) 70%); animation: altIn .35s ease-out; }
@keyframes altIn { from { opacity: 0; } to { opacity: 1; } }
.lt-alarm-flash { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 6px #ff3b3b, inset 0 0 120px rgba(255,59,59,.55); animation: altFlash .55s steps(2) infinite; }
@keyframes altFlash { 50% { box-shadow: inset 0 0 0 6px #d9f94f, inset 0 0 120px rgba(204,255,0,.45); } }
.lt-alarm-stage { position: relative; height: min(88vh, 760px); display: flex; justify-content: center; align-items: flex-end; }
.lt-alarm-pepe { height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(204,255,0,.35)); animation: altBounce .9s ease-in-out infinite; }
@keyframes altBounce { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.lt-alarm.framed .lt-alarm-pepe { height: auto; width: min(100%, 640px); border-radius: 18px; border: 3px solid #d9f94f; animation: none; }
.lt-alarm-card { position: relative; align-self: center; margin-bottom: 24px; padding: 22px; border: 2px solid #d9f94f; border-radius: 18px; background: #061c0f; color: #fff; box-shadow: 0 0 60px rgba(204,255,0,.25); }
.lt-alarm-siren { margin: 0 0 6px; font: 700 13px/1 var(--mono, monospace); letter-spacing: .14em; color: #ff5b5b; animation: altBlink .5s steps(2) infinite; }
@keyframes altBlink { 50% { opacity: .2; } }
.lt-alarm-card h3 { margin: 0 0 8px; font-size: 38px; line-height: 1; letter-spacing: -.01em; color: #d9f94f; }
.lt-alarm-sub { margin: 0 0 16px; color: #ddd; font-size: 14px; }
.lt-alarm-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-alarm-btns > * { font: inherit; font-size: 14px; padding: 10px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.lt-alarm-go { background: #d9f94f; color: #04170c; border: 0; font-weight: 700; }
.lt-alarm-share { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.lt-alarm-stop { background: none; border: 1px solid #ff5b5b; color: #ff9a9a; }
.lt-alarm-sound { margin-top: 12px; width: 100%; padding: 10px; border-radius: 12px; border: 1px dashed #d9f94f; background: none; color: #d9f94f; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .lt-alarm { grid-template-columns: 1fr; align-content: end; padding: 12px; } .lt-alarm-stage { height: 52vh; } .lt-alarm-card h3 { font-size: 30px; } }

.lt-alarm-card { z-index: 2; }

/* brief over Identity.md's size limit */
.pf-toolong { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,107,107,.3); }
.pf-toolong p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; }
.pf-toolong-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Websites tab: each card shows the coin's mini site (480x560, the same card X shows) */
.pf-siteshot { aspect-ratio: 480 / 560; }
.pf-siteshot iframe { width: 480px; height: 560px; transform: scale(var(--mini-scale, .6)); }
.pf-sitewall { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.pf-edit-site { margin-top: 6px; display: inline-block; }
#pf-siteedit { scroll-margin-top: 80px; }

/* Volition-launched vs swarm-launched coins */
.pf-simd-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 999px; background: #d9f94f; color: #04170c; font-size: 11.5px; font-weight: 800; }
.pf-imd-tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #cfcfcf; font-size: 11.5px; text-decoration: none; }
.pf-imd-tag:hover { border-color: #d9f94f; color: #d9f94f; text-decoration: none; }
.pf-simd-tag { gap: 5px; }
.pf-simd-tag img, .pf-tab-logo { border-radius: 50%; vertical-align: -2px; margin-right: 4px; }
.pf-simd-mark { display: inline-flex; margin-left: 4px; }
.pf-simd-mark img { border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(204,255,0,.6); }

/* King of the Swarm */
.pf-king { position: relative; display: grid; grid-template-columns: auto 72px 1fr auto; gap: 16px; align-items: center; margin: 0 0 18px; padding: 18px 20px; border: 1px solid rgba(217, 249, 79,.55); border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(217, 249, 79,.16), rgba(4, 23, 12,0) 55%), linear-gradient(90deg, rgba(204,255,0,.06), rgba(4, 23, 12,.2)); box-shadow: 0 0 0 1px rgba(217, 249, 79,.12), 0 10px 40px rgba(217, 249, 79,.08); overflow: hidden; }
.pf-king::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(200,255,215,.08) 50%, transparent 65%); transform: translateX(-100%); animation: pf-king-shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes pf-king-shine { 60%, 100% { transform: translateX(100%); } }
.pf-king-crown { font-size: 34px; filter: drop-shadow(0 0 12px rgba(217, 249, 79,.7)); animation: pf-king-bob 2.4s ease-in-out infinite; }
@keyframes pf-king-bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
.pf-king-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid #d9f94f; box-shadow: 0 0 24px rgba(217, 249, 79,.35); background: #0b2a17; }
.pf-king-logo.ph { display: grid; place-items: center; font: 700 18px ui-monospace, monospace; color: #d9f94f; }
.pf-king-kicker { margin: 0 0 2px; font: 700 12px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: #d9f94f; }
.pf-king-kicker i { font-style: normal; color: #9a9a9a; letter-spacing: .06em; text-transform: none; margin-left: 8px; }
.pf-king h3 { margin: 4px 0 8px; font-size: 26px; line-height: 1.1; }
.pf-king h3 small { font: 600 15px ui-monospace, monospace; color: #9a9a9a; }
.pf-king-why { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-king-why span { font: 12px ui-monospace, monospace; color: #cfcfcf; border: 1px solid #184228; border-radius: 999px; padding: 4px 9px; background: rgba(4, 23, 12,.35); }
.pf-king-why b.up { color: #d9f94f; } .pf-king-why b.down { color: #ff7b7b; }
.pf-king-rule { position: absolute; right: 16px; bottom: 6px; margin: 0; font: 10px ui-monospace, monospace; color: #666; }
@media (max-width: 640px) { .pf-king { grid-template-columns: 56px 1fr; } .pf-king-crown { position: absolute; top: 8px; right: 12px; font-size: 26px; } .pf-king-logo { width: 56px; height: 56px; } .pf-king .pf-trade { grid-column: 1 / -1; } .pf-king h3 { font-size: 20px; } .pf-king-rule { position: static; grid-column: 1 / -1; } }

/* marketing kit */
.pf-mkt { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid #163f26; border-radius: 12px; background: #072112; }
.pf-mkt h4 { margin: 8px 0 0; font-size: 14px; }
.pf-mkt-form { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
.pf-mkt-form select, .pf-mkt-form input { background: #04170c; color: #f2f2f2; border: 1px solid #163f26; border-radius: 8px; padding: 8px 10px; font: 13px Inter, sans-serif; min-width: 0; }
.pf-mkt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pf-mkt-list li { border: 1px solid #143b23; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.pf-mkt-list p { margin: 0; white-space: pre-wrap; font-size: 14px; line-height: 1.45; }
.pf-mkt-acts { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.pf-mkt-acts .pf-small { margin-right: auto; }
.pf-mkt-tips { margin: 0; padding-left: 18px; color: #cfcfcf; font-size: 13px; display: grid; gap: 4px; }
@media (max-width: 640px) { .pf-mkt-form { grid-template-columns: 1fr; } }

/* beta: pump.fun and Pons in the chain picker */
.pf-chain b em { font-style: normal; color: #d9f94f; font-weight: 600; }
.pf-chain.fresh span { color: #b9f5cf; }
.pf-presets .pf-cap b { font-size: 13px; }
.pf-extnote { border: 1px solid rgba(217, 249, 79,.3); border-radius: 12px; padding: 10px 12px; background: rgba(217, 249, 79,.05); color: #d6ffe6; }
.pf-cta-ext { background: linear-gradient(90deg, #d9f94f, #d9f94f); color: #031; }
.pf-pair select { width: 100%; margin-top: 6px; }
.pf-ext-paste { display: block !important; }
.pf-ext-paste input { width: 100%; box-sizing: border-box; }
.pf-ext-done { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
/* beta: where first */
.pf-wheres { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 22px; }
.pf-where { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; text-align: left; padding: 14px; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 14px; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.pf-where img { grid-row: span 3; }
.pf-where b { font-size: 15px; }
.pf-where span { font-size: 12px; color: var(--muted, #aaa); }
.pf-where i { font-style: normal; font-size: 11px; color: #d9f94f; font-family: "IBM Plex Mono", monospace; }
.pf-where:hover { border-color: #555; }
.pf-where.on { border-color: #d9f94f; background: rgba(217, 249, 79, .06); }
.pf-where.soon { opacity: .45; cursor: default; }
.pf-where.soon i { color: #999; }
.pf-chosen { margin: 0; font-size: 14px; }
.pf-pair-q { width: 100%; box-sizing: border-box; margin: 6px 0; }
.pf-fs .pf-fs-tax { display: grid; gap: 6px; }
.pf-fs .pf-fs-tax span { display: flex; align-items: center; gap: 6px; }
.pf-fs .pf-fs-tax input { width: 90px; text-align: right; }
.pf-fs .pf-fs-tax select { width: 120px; }
.pf-fs-fill { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-fs-row { grid-template-columns: minmax(130px, 170px) 1fr auto auto; }
.pf-fs-row > .pf-small { margin: 0; }
.pf-fs-row > input[type=text] { font-family: var(--mono); font-size: 13px; min-width: 0; }
.pf-fs-check { display: grid; }
@media (max-width: 560px) { .pf-fs-row { grid-template-columns: 1fr auto auto; } .pf-fs-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }
.pf-fs-row .pf-earn-pct { flex-wrap: nowrap; white-space: nowrap; }
.pf-fs-row .pf-earn-pct input { width: 62px; }
.pf-fs-row { grid-template-columns: 150px minmax(0, 1fr) auto auto; }
.pf-fs-row > .pf-small { font-size: 12px; line-height: 1.3; }
.pf-form .pf-fs-row label.pf-earn-pct { display: flex; flex-direction: row; align-items: center; gap: 4px; }
.pf-pairs { max-height: 360px; overflow-y: auto; display: grid; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset); }
.pf-pgroup .pf-label { margin: 0 0 6px; }
.pf-pchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pf-pchip { display: inline-flex; align-items: center; gap: 6px; max-width: 230px; padding: 5px 10px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; font: inherit; font-size: 12.5px; }
.pf-pchip img, .pf-pchip i { width: 22px; height: 22px; border-radius: 50%; flex: none; object-fit: cover; background: #143b23; }
.pf-pchip i { display: grid; place-items: center; font-style: normal; font-size: 10px; color: var(--muted); }
.pf-pchip b { font-weight: 600; flex: none; }
.pf-pchip span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-pchip:hover { border-color: var(--text); }
.pf-pchip:hover span { color: var(--text); }
.pf-pchip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.pf-pchosen { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-pchip.big { max-width: none; font-size: 14px; padding: 6px 14px 6px 6px; cursor: default; }
.pf-pchip.big img, .pf-pchip.big i { width: 28px; height: 28px; }
.pf-pchosen small { color: var(--muted); font-size: 12px; }
.pf-pair .pf-pair-q { background: var(--inset); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 13.5px; }
.pf-pair .pf-pair-q:focus { border-color: var(--text); outline: none; }
.pf-mycoins { margin-bottom: 22px; }
.pf-mycoin-list { display: grid; gap: 8px; }
.pf-mycoin { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset); }
.pf-mycoin-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pf-mycoin-head span { color: var(--muted); font-size: 12.5px; }
.pf-mycoin-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.pf-mycoin .pf-small, .pf-mycoin p { margin: 0; }
div.pf-trade { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 12px; margin: 14px 0; }
.pf-trade-chart { min-height: 380px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--inset); display: grid; place-items: center; }
.pf-trade-chart iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.pf-trade-chart > .pf-small { padding: 16px; text-align: center; }
.pf-trade-spark { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 10px; box-sizing: border-box; }
.pf-trade-spark svg { width: 100%; height: 100%; min-height: 300px; }
.pf-trade-panel { display: grid; gap: 10px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset); }
.pf-trade-panel p { margin: 0; }
.pf-trade-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pf-trade-tabs button { padding: 9px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.pf-trade-tabs button.on { color: #04170c; background: var(--accent); border-color: var(--accent); }
.pf-trade-tabs button[data-side=sell].on { background: #f87171; border-color: #f87171; }
.pf-trade-amount { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.pf-trade-amount span { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.pf-trade-amount input { flex: 1; min-width: 0; font-size: 18px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); }
.pf-trade-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-trade-quick .on { border-color: var(--accent); color: var(--accent); }
.pf-trade-go { width: 100%; }
@media (max-width: 760px) { div.pf-trade { grid-template-columns: 1fr; } }
.pf-mycoin div.pf-trade { margin: 6px 0 0; }
.pf-trade-quote { font-weight: 700; font-size: 15px; color: var(--text); }
.pf-trade-wallet { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: 13px; }
.pf-trade-wallet.on { border-style: solid; border-color: var(--accent); }
.pf-trade-wallet > span:first-child { display: grid; gap: 2px; }
.pf-trade-wallet small { color: var(--muted); font-size: 11.5px; }
.pf-trade-wallet b { font-family: var(--mono); }
.pf-tw-actions { display: flex; gap: 10px; }
.pf-claim-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-chart-wait { height: auto; min-height: 120px; } .pf-chart-wait p { padding: 20px; text-align: center; max-width: 520px; }
.pf-coinpage.pf-coinpage-ext { grid-template-columns: 1fr; }

/* swarm audits */
.pf-audits { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 14px 0; display: grid; gap: 8px; }
.pf-audits-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-audits-head h3 { margin: 0; font-size: 16px; } .pf-audits-head h3 span { color: var(--muted); font-size: 13px; }
.pf-audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pf-audit-list > li { border-top: 1px solid var(--line); padding-top: 6px; }
.pf-audit-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.pf-audit-row > span:first-child { color: var(--muted); flex: 1; min-width: 160px; }
.pf-audit-state { font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #11351f; }
.pf-audit-state.completed { background: #0f2a18; color: #d9f94f; } .pf-audit-state.failed, .pf-audit-state.cancelled { background: #2a1010; color: #ff8a8a; }
.pf-audit-report { background: #061c0f; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 8px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.pf-audit-report h4 { margin: 12px 0 4px; font-size: 14px; } .pf-audit-report ul { margin: 4px 0; padding-left: 18px; } .pf-audit-report p { margin: 4px 0; }
.pf-audit-any { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 12px 0; font-size: 14px; }
.pf-audit-any select, .pf-audit-any input { background: #072012; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.pf-audit-any input { flex: 1; min-width: 200px; font-family: var(--mono); }
.pf-audit-screen h2 { font-size: 20px; margin: 10px 0; }

/* launch from a prompt */
.pf-plan-ask, .pf-plan-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; margin-bottom: 12px; background: linear-gradient(180deg, #082413, #061c0f); }
.pf-plan-ask label small, .pf-plan-wallet small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 2px; }
.pf-plan-ask textarea, .pf-plan-card textarea, .pf-plan-card input { width: 100%; background: #051a0d; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; font-size: 14px; resize: vertical; box-sizing: border-box; }
.pf-plan-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-plan-grow { flex: 1; }
.pf-plan-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.pf-plan-top { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.pf-plan-top > img, .pf-plan-top > .pf-avatar { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.pf-plan-name input { font-size: 18px; font-weight: 700; padding: 6px 8px; }
.pf-plan-sym { display: flex; align-items: center; gap: 4px; font-family: var(--mono); margin-top: 6px; } .pf-plan-sym input { font-family: var(--mono); padding: 4px 8px; max-width: 160px; }
.pf-plan-wallet { display: grid; gap: 4px; font-size: 14px; } .pf-plan-wallet input { font-family: var(--mono); font-size: 13px; }
.pf-plan-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pf-plan-or { text-align: center; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 2px; }
.pf-plan-concept { margin: 0; font-size: 14px; line-height: 1.5; color: #d8d8d8; background: #072012; border-left: 3px solid #d9f94f; padding: 8px 12px; border-radius: 6px; }

.pf-dexmode { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.pf-dexmode input { margin-top: 4px; } .pf-dexmode small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.45; }
.pf-plan-head { display: flex; gap: 10px; align-items: center; } .pf-plan-head img { border-radius: 50%; border: 1px solid var(--line); flex: none; }
.pf-plan-how { font-size: 13px; } .pf-plan-how summary { cursor: pointer; color: var(--muted); } .pf-plan-how ol { margin: 8px 0 4px; padding-left: 20px; display: grid; gap: 6px; line-height: 1.45; }
.pf-dex-tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #10161a; color: #9fd8ff; border: 1px solid #1f3a4a; cursor: help; }
.pf-dex-tag.done { background: #0f2a18; color: #d9f94f; border-color: #1f4a2e; }
.pf-where img { object-fit: contain; }
.pf-where-icons { grid-row: span 3; display: flex; flex-direction: column; gap: 4px; } .pf-where-icons img { object-fit: contain; }
.pf-imd-tag img { border-radius: 50%; margin-right: 4px; }
.pf-king-crown img { display: block; filter: drop-shadow(0 0 12px rgba(217, 249, 79,.55)); }
@media (max-width: 640px) { .pf-king-crown img { width: 38px; height: 38px; } }
.pf-ticon img { display: block; object-fit: contain; width: 56px; height: 56px; margin: -4px 0 2px -4px; }
.pf-dex-tag img { display: block; }
.pf-audit-icon { vertical-align: middle; object-fit: contain; }
.pf-audits-head h3 { display: flex; align-items: center; gap: 8px; } .pf-audit-any > span { display: inline-flex; align-items: center; gap: 6px; }
.pf-audit-more { color: var(--muted); cursor: help; font-style: normal; text-decoration: underline dotted; }

/* ---------- the coin page's trading chart (launch-chart.js) ---------- */
.pf-chart.pro { height: auto; display: block; place-items: initial; padding: 0; background: #070908; }
.pfc { display: grid; gap: 0; }
.pfc-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 10px 6px; border-bottom: 1px solid var(--line); }
.pfc-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pfc-seg[hidden] { display: none; }
.pfc-seg button { background: transparent; border: 0; color: var(--muted); font: 500 12px var(--mono); padding: 5px 9px; cursor: pointer; }
.pfc-seg button + button { border-left: 1px solid var(--line); }
.pfc-seg button:hover { color: #fff; background: rgba(255,255,255,.04); }
.pfc-seg button.on { color: #06150c; background: #d9f94f; }
.pfc-src { margin-left: auto; }
.pfc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px 0; min-height: 22px; font: 11.5px var(--mono); color: var(--faint); }
.pfc-legend b { color: #e6e6e6; font-weight: 500; }
.pfc-legend .up, .pfc-stats .up { color: #d9f94f; } .pfc-legend .down, .pfc-stats .down { color: #ff6b6b; }
.pfc-plot { height: 380px; position: relative; }
.pfc-plot[hidden], .pfc-dex[hidden], .pfc-empty[hidden], .pfc-legend[hidden] { display: none; }
.pfc-dex { height: 420px; } .pfc-dex iframe { width: 100%; height: 100%; border: 0; display: block; }
.pfc-empty, .pfc-note { color: var(--muted); font: 13px var(--mono); text-align: center; padding: 10px 16px 14px; margin: 0; }
.pfc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.pfc-stats > div { background: #070908; padding: 9px 11px; display: grid; gap: 2px; min-width: 0; }
.pfc-stats span { font: 10.5px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.pfc-stats b { font: 600 13.5px var(--mono); color: #eee; }
.pfc-stats b i { font-style: normal; }
.pfc-stats small { font: 10.5px var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfc-bs { grid-column: span 2; }
.pfc-bs em { display: block; height: 4px; border-radius: 3px; background: #ff6b6b; overflow: hidden; margin: 3px 0 1px; }
.pfc-bs em i { display: block; height: 100%; background: #d9f94f; }
@media (max-width: 640px) { .pfc-plot { height: 300px; } .pfc-src { margin-left: 0; } .pfc-bs { grid-column: span 2; } }
.pf-trade-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #072112; z-index: 2; }
.pf-trade-filter button { background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 500 11.5px var(--mono); padding: 3px 10px; cursor: pointer; }
.pf-trade-filter button.on { color: #06150c; background: #d9f94f; border-color: #d9f94f; }
.pf-trades th { top: 41px; }
.pf-trades tr.mine td { background: rgba(255, 216, 74, .06); }
.pf-trader-only { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0 2px; font-size: 12px; }
.pf-trader-only:hover { color: #d9f94f; }

/* Demo mode (launch-demo.js): nothing is launched, no data is real */
.lp-demo-ribbon { position: relative; padding: 6px 16px; background: var(--lime); color: #04170c; font: 600 12px/1.4 var(--mono); letter-spacing: 0.06em; text-align: center; }
