:root {
  color-scheme: dark;
  --lp-bg: #080808;
  --lp-panel: #101010;
  --lp-line: #292929;
  --lp-muted: #aaa;
}
body[data-screen="launchpad"] {
  background: var(--lp-bg);
  color: #f4f4f4;
  font-family: Inter, Arial, sans-serif;
}
.lp-main {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px 80px;
  min-height: 80vh;
}
.lp-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 370px;
  margin-bottom: 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -50%, #ffffff18, transparent 70%);
}
.lp-intro {
  position: relative;
  padding: 60px 0 40px;
}
.lp-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--lp-muted);
}
.lp-intro h1 {
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 18px 0;
}
.lp-intro > p:last-of-type {
  font-size: 1.1rem;
  color: #aaa;
  margin: 20px auto 30px;
  max-width: 550px;
  line-height: 1.6;
}
.lp-actions,
.lp-token-links,
.lp-section-head,
.lp-dialog-head,
.lp-form-foot,
.lp-footer,
.lp-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-actions {
  justify-content: center;
}
.lp-section-head,
.lp-form-foot,
.lp-dialog-head,
.lp-footer {
  justify-content: space-between;
}
.lp-button,
.lp-primary {
  border: 1px solid #454545;
  border-radius: 100px;
  padding: 11px 20px;
  background: transparent;
  color: #eee;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.lp-primary {
  background: #eee;
  color: #111;
  border-color: #eee;
}
.lp-button:hover {
  background: #252525;
}
.lp-primary:hover {
  background: white;
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
input,
textarea,
select {
  box-sizing: border-box;
  max-width: 100%;
  font: inherit;
  color: #eee;
  border: 1px solid #333;
  background: #131313;
  padding: 13px 15px;
  border-radius: 12px;
  outline: none;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #bcbcbc;
  outline-offset: 3px;
}
.lp-search input {
  border-radius: 100px;
  max-width: 280px;
  font-size: 0.95rem;
}
.lp-tabs {
  display: flex;
  gap: 5px;
}
.lp-tabs button {
  background: none;
  color: #888;
  border: 0;
  border-radius: 100px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}
.lp-tabs button[aria-selected="true"],
.lp-tabs button[aria-pressed="true"] {
  background: #232323;
  color: #fff;
}
.lp-list-head,
.lp-token-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  align-items: center;
  gap: 24px;
  padding: 20px 12px;
}
.lp-list-head {
  color: #888;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--lp-line);
}
.lp-list-head > span:nth-child(n + 2),
.lp-token-row > span:nth-child(n + 2) {
  text-align: right;
}
.lp-token-row {
  border-bottom: 1px solid #222;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s,
    border 0.2s;
}
.lp-token-row:hover {
  background: #ffffff05;
  border-color: #4b4b4b;
}
.lp-token-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lp-token-title strong,
.lp-token-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-token-title small {
  font-size: 0.85rem;
  color: #999;
  margin-top: 6px;
}
.lp-token-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: #242424;
  border: 1px solid #424242;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
}
.lp-token-icon img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.lp-token-row > span,
.lp-facts dd {
  font-variant-numeric: tabular-nums;
}
.lp-empty {
  color: #999;
  text-align: center;
  padding: 45px 15px;
  font-size: 1rem;
  line-height: 1.7;
}
.lp-notice {
  padding: 16px 22px;
  margin: 20px 0;
  border: 1px solid #424242;
  border-radius: 16px;
  color: #ccc;
}
.lp-back {
  display: inline-block;
  margin: 35px 0 30px;
  color: #aaa;
}
.lp-token-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lp-token-heading h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
  letter-spacing: -0.04em;
}
.lp-token-heading p {
  color: #999;
  margin: 8px 0 0;
}
.lp-token-heading > .lp-button {
  margin-left: auto;
}
.lp-token-heading > .lp-token-icon {
  width: 64px;
  height: 64px;
}
.lp-description {
  max-width: 740px;
  line-height: 1.7;
  color: #bbb;
  margin: 24px 0 16px;
  overflow-wrap: anywhere;
}
.lp-token-links {
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.lp-token-links a {
  color: #aaa;
}
.lp-facts {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin: 30px 0 40px;
  border-bottom: 1px solid #292929;
  padding-bottom: 28px;
}
.lp-facts dt {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.lp-facts dd {
  margin: 0;
  font-size: 1.15rem;
}
.lp-token-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 45px;
  align-items: start;
}
.lp-market h2,
.lp-locks h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 28px 0 20px;
}
.lp-chart {
  margin: 0 0 24px;
  padding: 20px 0;
  border-bottom: 1px solid #292929;
}
.lp-chart figcaption {
  font-size: 0.9rem;
  color: #999;
}
.lp-chart canvas {
  width: 100%;
  height: 230px;
  display: block;
  margin-top: 25px;
}
.lp-trade-panel {
  padding: 24px;
  background: linear-gradient(145deg, #ffffff0a, #ffffff03);
  border: 1px solid #333;
  border-radius: 24px;
}
.lp-trade-panel .lp-tabs {
  margin-bottom: 20px;
}
label {
  display: block;
  color: #bbb;
  font-size: 0.9rem;
  margin: 16px 0 9px;
}
.lp-trade-panel input,
.lp-trade-panel select,
.lp-management input,
.lp-management select {
  width: 100%;
}
.lp-trade-panel input {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  padding: 18px 15px;
}
.lp-trade-panel .lp-primary {
  width: 100%;
  margin-top: 22px;
}
.lp-support {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.65;
}
.lp-management {
  padding: 25px 0;
  border-bottom: 1px solid #292929;
}
.lp-management summary,
.lp-history summary {
  cursor: pointer;
  font-size: 1rem;
  color: #ddd;
}
.lp-management .lp-button {
  width: 100%;
  margin-top: 15px;
}
.lp-form-foot {
  margin: 12px 0 24px;
  font-size: 0.8rem;
  color: #999;
}
.lp-updates textarea {
  width: 100%;
  resize: vertical;
}
.lp-callout,
.lp-trade-row,
.lp-lock {
  padding: 18px 0;
  border-bottom: 1px solid #262626;
}
.lp-callout-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #aaa;
}
.lp-callout p {
  line-height: 1.65;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.lp-callout a,
.lp-trade-row a,
.lp-lock a,
.lp-history a {
  color: #ccc;
}
.lp-trade-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.lp-trade-row small {
  color: #999;
}
.lp-lock {
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.lp-history {
  margin-top: 70px;
  border-top: 1px solid #292929;
  padding-top: 24px;
}
.lp-history-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid #292929;
  padding: 14px 0;
}
.lp-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 28px;
  background: #111;
  color: #eee;
  border: 1px solid #414141;
  border-radius: 26px;
  box-shadow: 0 30px 90px #0009;
}
.lp-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(8px);
}
.lp-dialog-head {
  margin-bottom: 20px;
}
.lp-dialog-head h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
}
.lp-dialog-head button {
  background: none;
  border: 0;
  color: #bbb;
  cursor: pointer;
  font-size: 1.7rem;
  padding: 4px;
}
.lp-dialog input,
.lp-dialog textarea {
  width: 100%;
}
.lp-dialog textarea {
  resize: vertical;
}
.lp-dialog .lp-primary {
  width: 100%;
  margin-top: 10px;
}
.lp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.lp-review-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #292929;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.lp-review-line dt {
  color: #999;
}
.lp-review-line dd {
  margin: 0;
  text-align: right;
}
#review-status {
  line-height: 1.6;
  color: #bbb;
  overflow-wrap: anywhere;
}
.lp-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: min(500px, 85vw);
  padding: 14px 22px;
  border: 1px solid #555;
  background: #202020;
  box-shadow: 0 12px 50px #0009;
  border-radius: 16px;
  line-height: 1.6;
}
.lp-footer {
  padding: 30px 40px;
  border-top: 1px solid #252525;
  max-width: 1280px;
  margin: auto;
  color: #999;
  font-size: 0.9rem;
}
.lp-footer a {
  color: inherit;
  text-decoration: none;
}
.lp-rocket {
  display: inline-block;
  filter: grayscale(1);
  margin-right: 10px;
  animation: lp-flight 1s ease-in-out infinite;
}
.lp-fade {
  animation: lp-appear 0.35s ease-out both;
}
@keyframes lp-flight {
  0%,
  100% {
    transform: translate(-2px, 2px);
  }
  50% {
    transform: translate(2px, -2px);
  }
}
@keyframes lp-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1000px) {
  .lp-token-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 25px;
  }
  .lp-list-head,
  .lp-token-row {
    grid-template-columns: minmax(160px, 1fr) 140px 140px;
    gap: 15px;
  }
  .lp-main {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media (max-width: 760px) {
  .lp-main {
    padding: 0 18px 50px;
  }
  .lp-hero {
    min-height: 320px;
  }
  .lp-intro {
    padding: 40px 0;
  }
  .lp-intro h1 {
    font-size: 3.2rem;
  }
  .lp-token-layout {
    display: flex;
    flex-direction: column;
  }
  .lp-trading {
    width: 100%;
    order: -1;
  }
  .lp-market {
    width: 100%;
    min-width: 0;
  }
  .lp-facts {
    gap: 20px;
    justify-content: space-between;
  }
  .lp-facts dd {
    font-size: 1rem;
  }
  .lp-list-head,
  .lp-token-row {
    grid-template-columns: minmax(150px, 1fr) 105px;
    padding: 17px 2px;
    gap: 10px;
  }
  .lp-list-head > span:last-child,
  .lp-token-row > span:last-child {
    display: none;
  }
  .lp-search input {
    width: 165px;
    font-size: 0.85rem;
  }
  .lp-token-row > span {
    font-size: 0.9rem;
  }
  .lp-token-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .lp-token-heading > .lp-button {
    font-size: 0.8rem;
    padding: 9px 12px;
  }
  .lp-token-heading > .lp-token-icon {
    width: 48px;
    height: 48px;
  }
  .lp-facts {
    margin-bottom: 25px;
  }
  .lp-token-heading h1 {
    max-width: 210px;
    overflow-wrap: anywhere;
  }
  .lp-two {
    grid-template-columns: 1fr;
  }
  .lp-dialog {
    padding: 22px;
  }
  .lp-footer {
    padding: 25px 18px;
    flex-wrap: wrap;
  }
  .lp-actions {
    flex-wrap: wrap;
  }
  .lp-section-head {
    gap: 8px;
  }
  .lp-tabs button {
    padding: 9px 13px;
  }
  .lp-form-foot {
    align-items: start;
  }
  .lp-chart canvas {
    height: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-image-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.lp-image-upload img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
}
.lp-image-upload input {
  min-width: 0;
  max-width: 100%;
  flex: 1;
}
.lp-fees {
  padding: 24px 0;
  border-top: 1px solid #292929;
}
.lp-fees dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
}
.lp-fees dd {
  margin: 0;
}
#curve-progress {
  width: 100%;
  height: 5px;
  accent-color: #eee;
  margin-top: 12px;
}
#fee-market-fields {
  padding-top: 14px;
}
#launch-economics {
  font-size: 12px;
}
.lp-dialog {
  max-height: 90dvh;
  overflow: auto;
}
.lp-dialog input[type="file"] {
  font-size: 13px;
  border: 0;
  padding: 6px 0;
}
@media (max-width: 400px) {
  .lp-section-head { flex-wrap: wrap; }
  .lp-search { flex-basis: 100%; min-width: 0; }
  .lp-search input { width: 100%; max-width: none; }
}
