/* CURVESIGHT — Launches list (/launches) and one launch (/launch?ca=). Loaded after /ui.css. */

/* ================= LAUNCHES ================= */
.lx-toolbar .sel select:disabled { opacity: .5; cursor: not-allowed; }
.lx-gate { margin: -6px 0 18px; padding: 12px 16px; border: 1px solid var(--line); border-left: 2px solid var(--blue); border-radius: var(--radius-sm); background: var(--bg-deep); font-size: 14px; color: var(--muted); }
.lx-gate b { color: var(--ink); font-weight: 500; }
.cards { align-items: stretch; }
.lcard { display: flex; flex-direction: column; position: relative; }
.lcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lcard__top > [data-f="pill"] { flex: none; }
.lcard__mid { flex: 1; }
.lcard__mc .u { font: 400 14px/1 var(--sans); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.lcard__mc .sub0 { font-size: .55em; }
.lcard__prog { gap: 10px; }
.lcard__prog > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard__foot .num .u { color: var(--muted); margin-left: 3px; font-size: 12px; }
.lcard__verdict { min-height: 58px; }
.lx-v { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.lx-v b { font: 500 14.5px/1.2 var(--sans); color: inherit; white-space: nowrap; }
.lx-v .label { letter-spacing: .1em; }
.lx-v.t-good b, .lx-v.t-ok b, .lx-v.t-warn b, .lx-v.t-bad b { color: inherit; }
.lx-v .ring span { color: var(--ink); }
.lx-v--lock { gap: 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.lx-v--lock svg { width: 14px; height: 14px; flex: none; color: var(--faint); }
.lx-open { font: 400 12.5px/1 var(--mono); color: var(--faint); white-space: nowrap; transition: color .15s; }
.lcard:hover .lx-open { color: var(--blue-text); }
.lx-ring-sk { --p: 0; animation: lxpulse 1.4s ease-in-out infinite; }
@keyframes lxpulse { 50% { opacity: .45; } }
.lx-new { animation: lxin .7s cubic-bezier(.2,.7,.2,1) both, flash 1.6s ease-out !important; }
.lx-dot { margin: 0 7px; color: var(--faint); font-size: 10px; vertical-align: 1px; }
.lx-bar { height: 6px; margin-top: 2px; }
.lx-bar i { width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1) .15s; box-shadow: 0 0 10px #ffffff88; }
.lx-bar.is-grad i { background: var(--good); box-shadow: 0 0 10px #6fd3a466; }
@keyframes lxin { from { opacity: 0; transform: translateY(-8px); box-shadow: 0 0 0 1px var(--blue); } to { opacity: 1; transform: none; box-shadow: 0 0 0 0 transparent; } }
.lx-sk { pointer-events: none; }
.lx-sk .lcard__foot .sk { width: 70%; }
.lx-empty { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deep); }
.lx-more { display: flex; justify-content: center; margin-top: 24px; }

/* ================= ONE LAUNCH ================= */
.lp { padding: 28px 0 0; }
.lp-crumbs { margin-bottom: 22px; }
.lp-crumbs span:last-child { color: var(--ink-2); }
.lp-link { color: var(--blue-text); font: 400 13px/1 var(--mono); }
.lp-link:hover { color: #fff; }

.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.lp-id .tok--xl { width: 72px; height: 72px; border: 1px solid var(--line-strong); }
.lp-id__txt { min-width: 0; }
.lp-id__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-id h1 { font: 500 clamp(30px, 3.6vw, 44px)/1.05 var(--sans); letter-spacing: -0.035em; overflow-wrap: anywhere; }
.lp-id__sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.lp-id__sub .num { color: var(--ink-2); }
.lp-price { text-align: right; display: grid; gap: 6px; justify-items: end; }
.lp-price b { font: 500 clamp(28px, 3.2vw, 40px)/1 var(--mono); letter-spacing: -0.03em; }
.lp-price b .u { font: 400 15px/1 var(--sans); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.lp-chg { font-size: 14.5px; }
.lp-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.lp-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--ink-2); background: var(--bg-deep); transition: border-color .15s, color .15s; }
.lp-links a:hover { border-color: var(--blue); color: var(--ink); }

.lp-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 26px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deep); }
.lp-stats > div { padding: 16px 18px; border-left: 1px solid var(--line); min-width: 0; }
.lp-stats > div:first-child { border-left: 0; }
.lp-stats .label { display: block; margin-bottom: 10px; }
.lp-stats b { display: block; font: 500 20px/1.2 var(--mono); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-stats b .u { font: 400 12.5px/1 var(--sans); color: var(--muted); margin-left: 4px; }
.lp-stats .sk { width: 70%; }

.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "mkt side" "read side"; grid-template-rows: auto 1fr; gap: 20px; align-items: start; }
.lp-mkt { grid-area: mkt; }
.lp-read { grid-area: read; }
.lp-side { grid-area: side; }
.lp-side > * { min-width: 0; max-width: 100%; }
.lp-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.lp-ph { font: 500 16px/1.2 var(--sans); }

/* market panel (pair header + tabs, like a pool page) */
.lp-mkt { background: var(--bg-deep); overflow: hidden; min-width: 0; }
.lp-mkt__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.lp-pair { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.lp-pair .logos { display: inline-flex; }
.lp-pair .logos > * + * { margin-left: -8px; }
.lp-pair .tok { width: 26px; height: 26px; border: 2px solid var(--bg-deep); }
.lp-pair b { font: 500 17px/1.2 var(--sans); }
.lp-pair .mut { font-size: 14px; }
.lp-eth { background: #1d1d22; color: #cfd1d6; font-size: 12px !important; }
.lp-mkt__tabs { display: flex; gap: 2px; }
.lp-mkt__tabs button { height: 34px; padding: 0 13px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--muted); transition: color .15s, background .15s; }
.lp-mkt__tabs button:hover { color: var(--ink); }
.lp-mkt__tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--ink); }
.lp-chartbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 0 20px; flex-wrap: wrap; }
.lp-iv { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.lp-iv button { height: 28px; min-width: 38px; padding: 0 8px; border-radius: 3px; font: 400 12.5px/1 var(--mono); color: var(--muted); }
.lp-iv button:hover { color: var(--ink); }
.lp-iv button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); }
.lp-chart { position: relative; height: 380px; margin: 8px 6px 0 10px; }
.lp-legend { position: absolute; left: 10px; top: 6px; z-index: 3; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); pointer-events: none; }
.lp-legend b { font-weight: 400; }
.lp-chart__msg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14.5px; color: var(--muted); z-index: 2; pointer-events: none; }
.lp-chart a[href*="tradingview"] { opacity: .55; }
.lp-feed { border-top: 1px solid var(--line); margin-top: 6px; }
.lp-feed__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 8px; }
.lp-feed__head .live { font-size: 11.5px; }
.lp-fr { display: grid; grid-template-columns: 48px 1fr 1fr minmax(0, 1.6fr) 64px; align-items: center; gap: 12px; padding: 11px 20px; border-top: 1px solid var(--line); font-size: 13.5px; min-height: 45px; }
.lp-fr:first-of-type { border-top: 0; }
.lp-fr .num { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-fr__t { text-align: right; font-size: 12.5px !important; }
.lp-fr__t:hover { color: var(--ink); }
span.lp-sd { font: 500 13.5px/1 var(--sans); }
.lp-venue { margin-left: 8px; font: 400 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.lp-who { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.lp-who .tag { height: 20px; padding: 0 6px; font-size: 10.5px; letter-spacing: .06em; }
.lp-addr { color: var(--ink-2); font-size: 13.5px; }
.lp-addr:hover { color: var(--blue-text); }
.lp-tbl { min-width: 720px; }
.lp-tbl td { height: 50px; padding-top: 10px; padding-bottom: 10px; font-size: 13.5px; }
.lp-tbl th { padding-top: 16px; padding-bottom: 14px; }
.lp-tx { color: var(--muted); font-family: var(--mono); }
.lp-tx:hover { color: var(--blue-text); }
.lp-more { display: flex; justify-content: center; padding: 16px; border-top: 1px solid var(--line); }
.lp-more:has(#older[hidden]) { display: none; }
.lp-tagnote { padding: 14px 20px 18px; font-size: 13px; color: var(--faint); line-height: 1.6; border-top: 1px solid var(--line); }
.lp-tagnote b { font: 500 11.5px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.lp-share { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.lp-share__bar { width: 70px; height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.lp-share__bar i { display: block; height: 100%; background: var(--blue); min-width: 2px; }

/* right column */
.lp-trade { background: var(--bg-deep); }
.lp-trade.tw { padding: 18px; grid-template-columns: minmax(0, 1fr); }
.lp-trade__fb { display: grid; gap: 12px; }
.lp-trade__fb p { font-size: 14.5px; line-height: 1.55; margin-bottom: 4px; }
.lp-trade .btn--block { height: 48px; font-size: 15px; }
.lp-curve, .lp-facts { background: var(--bg-deep); }
.lp-curve .panel__head .status { height: 24px; font-size: 12px; }
.lp-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lp-steps li { position: relative; padding-top: 12px; font-size: 13px; color: var(--faint); border-top: 2px solid var(--line-strong); line-height: 1.3; }
.lp-steps li .num { display: block; font-size: 11px; margin-bottom: 4px; color: var(--faint); }
.lp-steps li.is-done { border-top-color: #ffffff99; color: var(--muted); }
.lp-steps li.is-on { border-top-color: var(--blue); color: var(--ink); }
.lp-steps li.is-on .num { color: var(--blue-text); }
.lp-raised { margin-bottom: 12px; }
.lp-raised .label { display: block; margin-bottom: 8px; }
.lp-raised b { display: block; font: 500 24px/1.15 var(--sans); letter-spacing: -0.02em; }
.lp-raised b .u { font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.lp-raised p { margin-top: 8px; line-height: 1.5; }
.lp-kv { margin-top: 16px; }
.lp-kv > div { padding: 9px 0; font-size: 14px; }
.lp-kv b { font-size: 13.5px; }
.lp-kv a:hover { color: var(--blue-text); }
.lp-copy { font: 400 13.5px/1.3 var(--mono); color: var(--ink); border-bottom: 1px dashed var(--faint); }
.lp-copy:hover { color: var(--blue-text); border-bottom-color: var(--blue-text); }
.lp-desc { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }

/* CurveSight read */
.lp-read { background: var(--bg-deep); min-width: 0; }
.lp-read__head { flex-wrap: wrap; padding: 20px 22px; }
.lp-read__head .kick { margin-bottom: 10px; font-size: 12px; }
.lp-read__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-read__body { padding: 22px; }
.lp-prog { max-width: 560px; }
.lp-prog__txt { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.lp-prog .bar i { transition: width .4s ease; }
.lp-verdict { display: flex; align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lp-ring { width: 92px; height: 92px; }
.lp-ring span { width: 76px; height: 76px; font-size: 26px; color: var(--ink); }
.lp-verdict__txt { min-width: 0; }
.lp-verdict__txt .label { display: block; margin-bottom: 8px; }
.lp-verdict__txt h3 { font: 500 30px/1.1 var(--sans); letter-spacing: -0.03em; color: inherit; }
.lp-verdict__txt p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 720px; }
.lp-rstats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.lp-rstats > div { padding: 16px 14px 16px 0; min-width: 0; }
.lp-rstats .label { display: block; margin-bottom: 8px; }
.lp-rstats b { font: 500 17px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.lp-rstats b .u { font: 400 12px/1 var(--sans); color: var(--muted); margin-left: 3px; }
.lp-finds { list-style: none; margin: 0; padding: 0; }
.lp-find { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.lp-find::before { content: ""; position: absolute; left: -22px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: transparent; }
.lp-find.is-bad::before { background: var(--bad); }
.lp-find.is-warn::before { background: var(--warn); }
.lp-find__n { font-size: 12.5px; color: var(--faint); padding-top: 3px; }
.lp-find__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lp-find__top b { font: 500 16.5px/1.3 var(--sans); }
.lp-find__top .num { font-size: 13.5px; }
.lp-find__main p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.lp-find__ev { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lp-find__ev a { font-size: 12.5px; color: var(--blue-text); }
.lp-find__ev a:hover { color: #fff; }
.lp-rnote { padding-top: 16px; font: 400 12.5px/1.6 var(--mono); color: var(--faint); }

/* share card */
.lp-card img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.lp-card p { padding: 30px 0; text-align: center; }
.lp-share-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* error */
.lp-err { padding: clamp(24px, 4vw, 48px); background: var(--bg-deep); display: grid; gap: 18px; justify-items: start; }
.lp-err .h2 { font-size: clamp(30px, 3.6vw, 44px); }
.lp-errform { display: flex; gap: 10px; width: 100%; max-width: 640px; }
.lp-errform .input { flex: 1; min-width: 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mkt" "side" "read"; grid-template-rows: auto; }
  .lp-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-side .lp-trade { grid-column: 1 / -1; }
  .lp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-stats > div:nth-child(4) { border-left: 0; }
  .lp-stats > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .lp-rstats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lp { padding-top: 18px; }
  .lp-head { align-items: flex-start; }
  .lp-id { gap: 14px; }
  .lp-id .tok--xl { width: 56px; height: 56px; }
  .lp-price { text-align: left; justify-items: start; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats > div:nth-child(4) { border-left: 1px solid var(--line); }
  .lp-stats > div:nth-child(odd) { border-left: 0; }
  .lp-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-side { grid-template-columns: minmax(0, 1fr); }
  .lp-mkt__head { padding: 12px 12px 12px 14px; }
  .lp-mkt__tabs button { padding: 0 10px; font-size: 14px; }
  .lp-chartbar { padding: 12px 12px 0 14px; }
  .lp-chartbar .label { display: none; }
  .lp-chart { height: 300px; margin: 8px 2px 0 4px; }
  .lp-fr { grid-template-columns: 40px 1fr 1fr 52px; padding: 10px 14px; gap: 10px; }
  .lp-fr .lp-who { display: none; }
  .lp-feed__head { padding: 12px 14px 6px; }
  .lp-read__body { padding: 18px 16px; }
  .lp-read__head { padding: 18px 16px; }
  .lp-verdict { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lp-verdict__txt h3 { font-size: 26px; }
  .lp-rstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-find { grid-template-columns: 34px minmax(0, 1fr); }
  .lp-find::before { left: -16px; }
  .lp-errform { flex-direction: column; }
  .lx-gate { margin-top: 0; }
}

/* pixel curve (curve panel) + trade rows flashing in */
.lp-pixwrap { position: relative; height: 132px; margin: 0 0 30px; padding-top: 20px; }
.lp-pixwrap canvas { width: 100%; height: 100%; display: block; }
.lp-pixl { position: absolute; font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.lp-pixl--top { left: 0; top: 0; color: var(--ink-2); }
.lp-pixl--a { left: 0; bottom: -16px; }
.lp-pixl--b { left: 68%; bottom: -16px; transform: translateX(-50%); }
.lp-pixl--c { right: 0; bottom: -16px; color: var(--blue-text); }
.lp-in { animation: lpin .6s cubic-bezier(.2,.7,.2,1) both, flash 1.6s ease-out !important; }
@keyframes lpin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lp-facts .lp-kv { margin-top: 0; }
.lp-legend > span:last-child:nth-child(5) { white-space: nowrap; }
@media (max-width: 720px) {
  .lp-legend { font-size: 10.5px; gap: 2px 10px; left: 6px; right: 70px; }
  .lp-legend > span:nth-child(5) { display: none; }
  .lp-id { align-items: flex-start; }
}
.lp-rstats .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-share__v { min-width: 52px; text-align: right; }
.lp-curve .dbar.is-grad i { background-image: repeating-linear-gradient(90deg, var(--good) 0 4px, transparent 4px 7px); }
