/* hp-launch: hpaid styles for this area, loaded on every page (in-app navigation swaps only the page body). */

/* Intro */
.hp-launch-intro .eyebrow { color:#3ce8bd; }
.hp-launch-intro p { max-width:720px; }

/* pump.fun is the only venue: a fixed chip with a one-line note. */
.hp-venue-line { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.hp-venue-line .venue { cursor:default; pointer-events:none; }
.hp-venue-line p { margin:0; color:#8a8a88; font-size:12.5px; line-height:1.5; }

/* What can be pasted: @handle, profile link, post link. The active kind lights up orange. */
.hp-kinds .platform-chip { padding:0 10px; }
.hp-kinds .platform-chip:first-child { padding-left:4px; }
.hp-kinds .platform-chip.is-active { color:#f5f5f3; border-color:rgba(60,232,189,.55); background:rgba(60,232,189,.1); }
.page-launch .source-platform.on { color:#fff; }

/* Resolved account and the post it came from */
.hp-resolved > span { color:#9df3dc; font:500 10px "DM Mono", monospace; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.hp-resolved small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hp-post { margin:-8px 0 18px; padding:12px 14px 12px 16px; border-left:2px solid rgba(60,232,189,.6); border-radius:0 12px 12px 0; background:rgba(60,232,189,.05); }
.hp-post[hidden] { display:none; }
.hp-post p { margin:0; color:#d6d6d3; font-size:13.5px; line-height:1.55; white-space:pre-line; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.hp-post cite { display:block; margin-top:6px; color:#8a8a88; font-size:11.5px; font-style:normal; }

/* Description footer: the credit line the Worker appends, and the counter */
.field > small.hp-desc-foot { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.hp-desc-foot b { color:#9df3dc; font-weight:600; }

/* X + Telegram links, two columns */
.social-fieldgrid.hp-social-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }

.hp-text-btn { margin-top:8px; padding:0; border:0; background:none; color:#9df3dc; font:600 12.5px Inter, sans-serif; cursor:pointer; }
.hp-text-btn:hover { color:#63eecb; text-decoration:underline; text-underline-offset:3px; }
.hp-text-btn[hidden] { display:none; }

/* Route: pump.fun → hpaid treasury → sealed to the account. 80% orange to the account, 20% to hpaid. */
.hp-route .rs-split span:first-child { background:linear-gradient(90deg, #63eecb, #3ce8bd); }
.hp-route .rs-split span:last-child { background:#4a4a48; }
.hp-route .rs-split-labels i { background:#3ce8bd; }
.hp-route .rs-split-labels span:last-child i { background:#6a6a68; }
.hp-route .rs-split-labels b { color:#e8e8e5; font-weight:600; }

/* Costs and approvals, before the button */
.hp-cost { margin:0 0 16px; padding:13px 15px; border-radius:14px; border:1px solid var(--hair); background:rgba(255,255,255,.02); }
.hp-cost b { font-size:13px; }
.hp-cost p { margin:4px 0 0; color:#8f8f8d; font-size:12.5px; line-height:1.6; }
.page-launch .form-note a { color:#9df3dc; }
.page-launch .form-note a:hover { color:#63eecb; }

.hp-mode-lead { margin:4px 0 18px; color:#9a9a98; font-size:13.5px; line-height:1.65; }

/* Sealed receipt preview: no amount, ever. */
.hpl-sealed-receipt .hp-sealed-amount { display:inline-flex; align-items:center; gap:10px; color:#f5f5f3; }
.hpl-sealed-receipt .hp-seal { display:inline-flex; }
.hpl-sealed-receipt .lr-foot { gap:10px; }
.hpl-sealed-receipt .lr-foot span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hpl-sealed-receipt .lr-foot span:last-child { flex:none; color:#9df3dc; }

/* Empty coin image: the ring mark, quiet */
.hpl-preview-empty { display:grid; place-items:center; width:100%; height:100%; background:radial-gradient(circle at 50% 45%, rgba(60,232,189,.1), transparent 62%); }
.hpl-preview-empty svg { width:84px; height:84px; opacity:.7; }
.page-launch .previewstats span:last-child b { color:#9df3dc; }
.page-launch .reviewtoken svg { width:100%; height:100%; }

@media (max-width:1050px) {
  /* One column: let it shrink to the panel; the ellipsis rows above would otherwise widen it. */
  .launch-workspace { grid-template-columns:minmax(0, 1fr); }
}
@media (max-width:760px) {
  .social-fieldgrid.hp-social-2 { grid-template-columns:1fr; }
  .hp-venue-line p { flex-basis:100%; }
  .page-launch .rs-steps { grid-template-columns:1fr; }
  .page-launch .rs-arrow { transform:rotate(90deg); justify-self:start; margin-left:9px; }
}
