/* ============================================================
   TokenRocket — Base stylesheet (shared across all testnet pages)
   Theme: purple + blue on a dark space background
   ============================================================ */

:root {
  --bg: #09111e;
  --panel: rgba(25, 37, 55, .82);
  --panel-2: #172438;
  --border: rgba(125, 145, 170, .18);
  --text: #f3f6fb;
  --muted: #8b98aa;
  --dim: #6b788c;
  --blue: #39a8f5;
  --cyan: #47c8ff;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-soft: rgba(139, 92, 246, .14);
  --green: #45d89a;
  --green-soft: rgba(69, 216, 154, .14);
  --red: #f26d6d;
  --red-soft: rgba(242, 109, 109, .14);
  --amber: #fbbf24;
  --shadow: 0 20px 50px rgba(0, 0, 0, .24);
  --r-lg: 18px;
  --r-md: 13px;
  --grad: linear-gradient(135deg, #a855f7, #6d28d9);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(41, 117, 173, .11), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(139, 92, 246, .06), transparent 30%),
    var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.container { width: min(1340px, calc(100% - 48px)); margin: 0 auto; }
a { color: inherit; }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ============ TOP NAV ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  background: rgba(7, 14, 25, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: #fff;
  font-size: 21px; font-weight: 800; letter-spacing: -.6px; white-space: nowrap;
}

.brand .mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(139, 92, 246, .35), inset 0 1px 0 rgba(255,255,255,.25);
  color: #f5ecff; font-size: 19px;
  transform: rotate(-8deg);
}
.brand b { color: var(--purple-bright); font-weight: 800; }

.env-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(69, 216, 154, .16); color: var(--green);
  border: 1px solid rgba(69, 216, 154, .4);
}

.nav-center { display: flex; align-items: stretch; height: 100%; gap: 24px; }

.nav-link {
  position: relative; display: flex; align-items: center; gap: 7px;
  color: #8794a7; text-decoration: none;
  font-size: 14.5px; font-weight: 500; transition: color .2s; white-space: nowrap;
}
.nav-link i { font-size: 12px; opacity: .8; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 3px 3px 0 0;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, .55);
}

.account { display: flex; align-items: center; gap: 10px; }

.wallet {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(139, 92, 246, .5);
  background: rgba(25, 34, 48, .75); color: #eef2f7;
  border-radius: 10px; padding: 9px 15px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .2s; white-space: nowrap;
}
.wallet i { color: var(--purple-bright); font-size: 14px; }
.wallet:hover { background: var(--purple-soft); border-color: var(--purple); }

.wallet.connected { border-color: rgba(69, 216, 154, .4); background: rgba(20, 38, 33, .6); }
.wallet.connected i { color: var(--green); }
.wallet.connected .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(69,216,154,.8); }
.wallet.connected .addr { color: #cfe8dd; font-weight: 600; }

.btn-launch {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad);
  color: #fff; border: 0;
  border-radius: 10px; padding: 10px 16px;
  font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 20px rgba(139, 92, 246, .35);
  transition: .2s;
}
.btn-launch:hover { filter: brightness(1.12); transform: translateY(-1px); }

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px;
  background: radial-gradient(circle at 42% 38%, #8754b5 0 18%, #2b2a49 19% 45%, #141d2e 46%);
  border: 2px solid #3c4a66; color: #e7ddff;
}

.mobile-toggle {
  display: none; border: 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: #fff; width: 42px; height: 42px; border-radius: 10px; font-size: 17px; cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed; top: 82px; left: 12px; right: 12px; z-index: 49;
  background: #0d1829; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .22s;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 9px;
  color: #b6c1d0; text-decoration: none; font-size: 15px; font-weight: 500;
}
.mobile-nav a i { width: 18px; color: var(--purple-bright); }
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(255,255,255,.05); color: #fff; }

/* ============ MAIN / HERO ============ */
main { flex: 1; padding: 40px 0 64px; }

.hero-title { margin-bottom: 30px; max-width: 860px; }

.hero-title .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--purple-bright); margin-bottom: 14px;
}
.hero-title .eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--purple-bright); }

.hero-title h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -1.3px; line-height: 1.15; }
.hero-title h1 span { color: var(--blue); }
.hero-title p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; padding: 12px 20px;
  font-size: 14.5px; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; text-decoration: none; transition: .2s; white-space: nowrap;
}
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(139, 92, 246, .35); }
.btn.primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn.ghost { border-color: rgba(139, 92, 246, .45); color: var(--purple-bright); background: rgba(139, 92, 246, .08); }
.btn.ghost:hover { background: var(--purple-soft); }
.btn.line { border-color: var(--border); color: #c7d0dc; background: rgba(255,255,255,.03); }
.btn.line:hover { border-color: rgba(139, 92, 246, .5); color: #fff; }
.btn.sm { padding: 8px 13px; font-size: 12.5px; border-radius: 9px; }
.btn.full { width: 100%; }

/* ============ DASHBOARD GRID ============ */
.dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.panel {
  background: linear-gradient(145deg, rgba(27, 40, 59, .9), rgba(18, 29, 45, .88));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; font-size: 17.5px; font-weight: 700; letter-spacing: -.3px; }
.panel-head h2 i { color: var(--purple-bright); font-size: 14px; margin-right: 7px; }
.panel-head h2 .sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; white-space: nowrap;
}
.badge.live { background: var(--green-soft); color: var(--green); }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.badge.soon { background: rgba(71, 200, 255, .12); color: var(--cyan); }
.badge.upcoming { background: rgba(57, 168, 245, .13); color: var(--blue); }
.badge.ended { background: rgba(125, 145, 170, .14); color: #93a1b5; }
.badge.accent { background: var(--purple-soft); color: var(--purple-bright); }
.badge.wl { background: rgba(57, 168, 245, .13); color: var(--blue); }

/* ============ PANEL: FEATURED PROJECTS ============ */
.featured {
  padding: 20px;
  border-color: rgba(139, 92, 246, .35);
  background:
    radial-gradient(circle at 85% 0%, rgba(139, 92, 246, .12), transparent 38%),
    linear-gradient(145deg, rgba(31, 42, 60, .92), rgba(17, 28, 43, .92));
}

.proj-list { display: grid; gap: 12px; }

.proj {
  background: linear-gradient(110deg, rgba(34, 49, 70, .92), rgba(24, 37, 55, .84));
  border: 1px solid rgba(127, 151, 181, .16);
  border-radius: var(--r-md);
  padding: 14px 15px;
  transition: transform .18s, border-color .18s;
}
.proj:hover { transform: translateY(-1px); border-color: rgba(139, 92, 246, .5); }

.proj-top { display: flex; gap: 12px; align-items: center; }
.p-logo {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-size: 17px;
}
.proj .p-name { font-weight: 700; font-size: 15.5px; letter-spacing: -.2px; }
.proj .p-tag { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.proj .p-tag i { font-size: 10px; margin-right: 4px; }

.progress { height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 13px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 99px; }

.proj-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 7px; }
.proj-label .raised { color: #c3cedb; font-weight: 600; }
.proj-label .pct { font-weight: 700; }

.proj-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--muted);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(125,145,170,.15);
}
.proj-meta i { margin-right: 5px; font-size: 10px; }
.proj-meta .hot { color: var(--purple-bright); font-weight: 600; }

/* ============ PANEL: LAUNCH SCHEDULE ============ */
.schedule-col { display: grid; gap: 22px; min-width: 0; }

.launch { padding: 16px 18px; }

.sked-list { display: grid; gap: 8px; }

.sked {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(127,151,181,.14);
  border-radius: 11px;
  transition: border-color .18s;
}
.sked:hover { border-color: rgba(139, 92, 246, .4); }

.sked .date {
  flex: 0 0 44px; text-align: center; line-height: 1.1;
  padding-right: 12px; border-right: 1px solid rgba(125,145,170,.16);
}
.sked .date b { display: block; font-size: 17px; font-weight: 800; }
.sked .date span { font-size: 9.5px; text-transform: uppercase; color: var(--muted); letter-spacing: .8px; }

.sked .info { flex: 1; min-width: 0; }
.sked .info .n { font-weight: 700; font-size: 13.5px; }
.sked .info .e { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sked .info .e i { font-size: 9px; margin-right: 4px; color: var(--cyan); }

.view-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; width: 100%;
}

/* ============ PANEL: AUTH-SCOPED (Allocations & Creations) ============ */
.auth-col { display: grid; gap: 22px; min-width: 0; }
.alloc-panel, .mine-panel { padding: 18px; }

.login-empty {
  border: 1px dashed rgba(125, 145, 170, .28);
  border-radius: var(--r-md);
  padding: 22px 16px;
  text-align: center;
  color: var(--muted);
}
.login-empty .icon {
  width: 44px; height: 44px; margin: 0 auto 11px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; color: var(--purple-bright);
  background: var(--purple-soft);
}
.login-empty h3 { margin: 0 0 6px; font-size: 14.5px; color: #c6d0dd; font-weight: 600; }
.login-empty p { margin: 0 0 14px; font-size: 12.5px; line-height: 1.55; }

.alloc-list, .mine-list { display: grid; gap: 10px; }

.alloc-item, .mine-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 11px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(127,151,181,.14);
  border-radius: 11px;
}

.a-logo {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-size: 13px;
}

.a-main { flex: 1; min-width: 0; }
.a-main .n { font-size: 13.5px; font-weight: 700; }
.a-main .t { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.a-right { text-align: right; }
.a-right .amt { font-size: 13.5px; font-weight: 700; }
.a-right .st { font-size: 10.5px; font-weight: 600; }
.a-right .st.ok { color: var(--green); }
.a-right .st.wait { color: var(--cyan); }
.a-right .st.new { color: var(--purple-bright); }

.summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 13px; padding: 12px 4px 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.summary-row b { font-size: 15.5px; color: var(--text); }
.summary-row b span { color: var(--purple-bright); }

.cfg-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.cfg-chips span {
  font-size: 9.5px; font-weight: 600; letter-spacing: .3px;
  padding: 2.5px 7px; border-radius: 999px;
  background: rgba(139, 92, 246, .14); color: var(--purple-bright);
}
.cfg-chips span.blue { background: rgba(57,168,245,.13); color: var(--blue); }
.cfg-chips span.green { background: var(--green-soft); color: var(--green); }

/* ============ ROWS / TABLES (launchpad & creations pages) ============ */
.page-hero { margin-bottom: 26px; }
.page-hero .back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-size: 13px; margin-bottom: 14px; }
.page-hero .back:hover { color: #fff; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -1px; }
.page-hero p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 640px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  color: #aeb9c8; padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; cursor: pointer; transition: .2s;
}
.chip:hover { color: #fff; border-color: rgba(139,92,246,.5); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; }

.list-panel { padding: 8px 12px; }
.trow {
  display: grid;
  grid-template-columns: minmax(0,1fr) 90px 130px 110px;
  align-items: center; gap: 12px;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(125,145,170,.1);
}
.trow:last-child { border-bottom: 0; }

.trow .t-proj { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trow .t-proj .ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 15px; }
.trow .t-proj .nm { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .t-proj .sy { font-size: 11px; color: var(--muted); }
.trow .t-chain, .trow .t-date { font-size: 12.5px; color: #b9c4d3; white-space: nowrap; }
.trow .t-date i { margin-right: 6px; color: var(--dim); font-size: 11px; }
.trow .t-status { text-align: right; }

.raised-mini { margin-top: 3px; font-size: 11px; color: var(--muted); }

/* ============ CREATE TOKEN FORM ============ */
.create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 22px;
  align-items: start;
}

.form-card { padding: 22px; }
.form-card h2 { margin: 0 0 4px; font-size: 19px; }
.form-card .desc { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span2 { grid-column: 1 / -1; }

.field label {
  display: block; font-size: 12px; font-weight: 600; color: #aeb9c8;
  margin-bottom: 7px; letter-spacing: .3px;
}
.field label b { color: var(--red); }
.field .hint { font-size: 11px; color: var(--dim); margin-top: 6px; }

.field input, .field select {
  width: 100%;
  background: #0d1726;
  border: 1px solid rgba(125,145,170,.25);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}
.field input::placeholder { color: #4e5c70; }

.input-opt {
  position: relative;
}
.input-opt input[type=number] { padding-right: 60px; }
.input-opt .suffix {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--dim); font-weight: 600;
  pointer-events: none;
}

.check-col { margin-top: 20px; }
.check-col h3 { margin: 0 0 4px; font-size: 14.5px; }
.check-col > p { margin: 0 0 12px; font-size: 12.5px; color: var(--dim); }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(125,145,170,.2);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.check:hover { border-color: rgba(139,92,246,.45); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 6px; border: 1.5px solid #46536a;
  display: grid; place-items: center;
  color: transparent; font-size: 10px;
  transition: .18s;
}
.check input:checked ~ .box {
  background: var(--grad); border-color: transparent; color: #fff;
}
.check .ct { flex: 1; }
.check .ct .ct-t { font-size: 13px; font-weight: 600; }
.check .ct .ct-d { font-size: 11px; color: var(--dim); line-height: 1.45; margin-top: 1px; }

.check.def-block-on {
  border-color: rgba(139,92,246,.55);
  background: linear-gradient(110deg, rgba(139,92,246,.12), rgba(139,92,246,.03));
}

/* sub-form deflation */
.def-block {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed rgba(139, 92, 246, .5);
  border-radius: var(--r-md);
  background: rgba(139, 92, 246, .05);
}
.def-block h4 { margin: 0 0 2px; font-size: 13.5px; color: var(--purple-bright); }
.def-block .def-tip { font-size: 12px; color: var(--dim); margin: 0 0 14px; }

.alert {
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.alert.ok { background: var(--green-soft); border: 1px solid rgba(69,216,154,.35); color: var(--green); }
.alert.err { background: var(--red-soft); border: 1px solid rgba(242,109,109,.35); color: var(--red); }

.form-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* panel info ringkas (sidebar kanan form) */
.side-stack { display: grid; gap: 16px; }
.info-card { padding: 18px; }
.info-card h3 { margin: 0 0 12px; font-size: 14px; }
.info-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.info-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.info-card li i { color: var(--purple-bright); margin-top: 2px; width: 15px; text-align: center; }

.sum-block {
  background: linear-gradient(145deg, rgba(34, 49, 70, .9), rgba(22, 33, 51, .88));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.sum-block h3 { margin: 0 0 14px; font-size: 15px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(125,145,170,.16); font-size: 13px; }
.sum-row:last-child { border-bottom: 0; }
.sum-row .k { color: var(--muted); }
.sum-row .v { font-weight: 700; }
.sum-row .v.purple { color: var(--purple-bright); }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 14, 25, .8);
  padding: 44px 0 26px;
  font-size: 14px;
}

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer-grid.footer-solo { grid-template-columns: 1fr; }
.footer-brand .brand { margin-bottom: 13px; }
.footer-brand p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 300px; font-size: 13.5px; }

.socials { display: flex; gap: 9px; margin-top: 16px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 13.5px; text-decoration: none;
  transition: .2s;
}
.socials a:hover { color: #fff; border-color: rgba(139,92,246,.5); background: var(--purple-soft); }

.footer-col h4 { margin: 4px 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: #a8b4c4; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 10px; font-size: 13.5px; transition: .18s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(125, 145, 170, .12);
  color: #66748a; font-size: 12.5px; flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-column: 1 / -1; }
  .create-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .trow { grid-template-columns: minmax(0,1fr) 110px 110px; }
  .trow .t-chain { display: none; }
}

@media (max-width: 820px) {
  .nav-center, .avatar { display: none; }
  .btn-launch.nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-nav { display: block; }
  .dashboard { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trow { grid-template-columns: minmax(0,1fr) 100px; }
  .trow .t-date, .trow .t-status { grid-column: span 1; }
  .trow .t-status { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  main { padding: 26px 0 44px; }
  .featured, .alloc-panel, .mine-panel, .launch, .form-card { padding: 16px; }
  .wallet { padding: 8px 11px; font-size: 12.5px; }
  .brand { font-size: 18px; }
  .brand .env-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .check-grid { grid-template-columns: 1fr; }
}

/* ===== Admin Console ===== */
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.admin-wide{grid-column:1/-1}
@media(max-width:900px){.admin-grid{grid-template-columns:1fr}.admin-wide{grid-column:auto}}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.83em;letter-spacing:-.01em}
.kv{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px dashed rgba(255,255,255,.08);font-size:.93rem}
.kv .k{color:var(--muted);white-space:nowrap}
.kv .v{text-align:right;word-break:break-all}
.big-now{font-size:1.6rem;font-weight:800;color:var(--purple-bright);margin:2px 0 8px}
/* ===== Real wallet connect ===== */
.wallet .bal{font-size:11px;font-weight:600;opacity:.72}
.wallet .bal i{font-size:9px;margin-right:2px;color:var(--green)}


/* ===== Modal system (all alerts) ===== */
.modal-overlay{position:fixed;inset:0;z-index:1200;background:rgba(5,7,18,.72);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;animation:mfade .18s ease}
.modal-card{position:relative;background:linear-gradient(180deg,#1c1f38,#12142a);border:1px solid rgba(139,92,246,.38);border-radius:20px;padding:26px 26px 20px;width:min(520px,100%);box-shadow:0 24px 70px rgba(0,0,0,.6);text-align:center;max-height:88vh;overflow:auto;animation:mup .22s ease}
.modal-card.wide{width:min(660px,100%)}
.m-ico{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:color-mix(in srgb,var(--ic) 16%,transparent);color:var(--ic);font-size:26px;margin-bottom:6px}
.modal-card h3{margin:6px 0 6px;font-size:1.3rem}
.m-body{color:var(--muted);line-height:1.75;font-size:.98rem;word-break:break-word;text-align:left}
.m-body b{color:#f1f2fa}
.m-body .mono{color:#dfe3f0;font-size:.9em}
.m-actions{display:flex;gap:10px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.m-x{position:absolute;top:12px;right:14px;background:none;border:0;color:var(--muted);font-size:19px;cursor:pointer}
.m-x:hover{color:#fff}
.btn.danger{background:linear-gradient(135deg,#ff5d78,#d63652);border-color:transparent;color:#fff}
@keyframes mfade{from{opacity:0}to{opacity:1}}
@keyframes mup{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}

/* ===== Live-data components ===== */
.feed-empty{display:flex;flex-direction:column;align-items:center;gap:6px;justify-content:center;text-align:center;padding:36px 16px;color:var(--muted);min-height:130px}
.feed-empty i{font-size:26px;color:#5a6178;margin-bottom:6px}
.feed-empty.err i{color:#ff5d78}
.feed-empty b{color:#dfe3f0;font-weight:700}
.feed-empty span{font-size:.9rem;max-width:330px}
.login-empty{display:flex;flex-direction:column;align-items:center;gap:8px;justify-content:center;text-align:center;padding:30px 14px;color:var(--muted)}
.login-empty .icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(139,92,246,.15);color:#cbb9ff;font-size:22px}
.login-empty h3{color:#fff;margin:4px 0 0;font-size:1.05rem}
.login-empty p{font-size:.88rem;margin:0 0 8px;max-width:280px}
.alloc-item,.mine-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed rgba(255,255,255,.07)}
.alloc-item:last-child,.mine-item:last-child{border-bottom:0}
.a-logo{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex:0 0 auto}
.a-main{flex:1;min-width:0}
.a-main .n{font-weight:700;color:#eef;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a-main .t{color:var(--muted);font-size:.78rem;margin-top:2px}
.a-right{text-align:right;flex:0 0 auto}
.a-right .amt{font-weight:800;color:#fff;font-size:.95rem}
.a-right .st{font-size:.68rem;margin-top:3px;font-weight:700}
.a-right .st.ok{color:var(--green)}
.a-right .st.wait{color:#ffc857}
.a-right .st.new{color:#7db4ff}
.summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;margin-top:8px;border-top:1px solid rgba(139,92,246,.28);font-size:.85rem;color:var(--muted)}
.summary-row b{color:#fff;font-size:.88rem}
.cfg-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.cfg-chips span{font-size:.65rem;padding:3px 8px;border-radius:99px;background:rgba(139,92,246,.16);color:#cbb9ff;border:1px solid rgba(139,92,246,.3)}
.cfg-chips span.blue{background:rgba(96,165,250,.14);color:#9ec5ff;border-color:rgba(96,165,250,.3)}
.cfg-chips span.green{background:rgba(56,228,154,.12);color:#7de7b8;border-color:rgba(56,228,154,.3)}

/* ===== Recent tokens + stacked feed column ===== */
.feed-col { display: grid; gap: 22px; min-width: 0; align-content: start; }
@media (max-width: 1180px) { .feed-col { grid-column: 1 / -1; } }
.tok-list { display: grid; }
.tok-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px dashed rgba(255,255,255,.07); }
.tok-row:last-child { border-bottom: 0; }
.tok-logo { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .3px; flex: none; }
.tok-main { min-width: 0; flex: 1; }
.tok-name { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tok-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tok-meta .mono { color: #8fa3bd; }

/* ===== Create page segmented tabs ===== */
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 16px; padding: 6px; width: max-content; max-width: 100%; }
.seg .tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 11px; cursor: pointer; transition: .18s; }
.seg .tab:hover { color: #fff; }
.seg .tab.active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(139,92,246,.35); }
.owner-tag { font-size: 10px; font-weight: 800; letter-spacing: .6px; color: var(--amber); background: rgba(255,196,107,.12); border: 1px solid rgba(255,196,107,.35); padding: 2px 7px; border-radius: 99px; }
.seg .tab.active .owner-tag { color: #ffe0a8; border-color: rgba(255,224,168,.6); background: rgba(255,196,107,.22); }
.pane.hidden { display: none !important; }

/* ===== Launchpad pane ===== */
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #cdd6e2; cursor: pointer; padding: 8px 12px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.02); transition: .15s; }
.radio input { accent-color: #8b5cf6; }
.radio:has(input:checked) { border-color: rgba(139,92,246,.65); color: #fff; background: rgba(139,92,246,.1); }
.tok-prev { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px dashed rgba(139,92,246,.4); border-radius: 12px; background: rgba(139,92,246,.06); color: #cdd6e2; font-size: 13px; flex-wrap: wrap; }
.tok-prev b { color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.form-head h2 { margin: 0; }
.lp-badge { font-size: 11px; font-weight: 700; color: var(--blue); }

/* mine-item rows: 15px breathing room on left & right so they do not look attached */
.mine-item { padding-left: 15px; padding-right: 15px; }

/* =========================================================================
   Launchpad detail / JOIN page (launch.html?id=N)
   ========================================================================= */
.btn.full { width: 100%; justify-content: center; }
.det-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.det-main { display: grid; gap: 18px; min-width: 0; }
.det-side { position: sticky; top: 18px; }
.det-hero { position: relative; overflow: hidden; padding: 20px; }
.dh-top { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.dm-ico { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 900; flex: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.dm-info { min-width: 0; flex: 1; }
.dm-title h2 { margin: 0 0 6px; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: -.5px; }
.dm-sym { color: var(--purple-bright); font-size: 1rem; font-weight: 800; }
.dm-info p { margin: 0; color: var(--muted); font-size: .86rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dh-idx { position: absolute; right: -28px; top: 16px; transform: rotate(-6deg); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .05); white-space: nowrap; pointer-events: none; }
.tag { font-size: .66rem; font-weight: 800; letter-spacing: .5px; padding: 3px 9px; border-radius: 99px; background: rgba(96, 165, 250, .14); color: #9ec5ff; border: 1px solid rgba(96, 165, 250, .3); }
.addr-link { color: #7db4ff; text-decoration: none; border-bottom: 1px dashed rgba(125, 180, 255, .4); }
.addr-link:hover { color: #aacfff; }
.meter { margin: 12px 0 16px; display: flex; align-items: center; gap: 12px; }
.meter-bar { flex: 1; height: 13px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); box-shadow: 0 0 12px rgba(139, 92, 246, .5); transition: width .5s ease; }
.meter-p { font-weight: 800; font-size: .95rem; min-width: 52px; text-align: right; }
.raises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.raise-v { background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: 13px; padding: 11px 13px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.raise-v b { font-size: 1.02rem; word-break: break-word; }
.raise-v span { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.kv-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.how li { padding-left: 18px; position: relative; }
.how li::before { content: "•"; position: absolute; left: 2px; color: var(--purple-bright); }
.how b { color: #e9ecf6; }
.me-line { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); font-family: ui-monospace, Menlo, monospace; margin-bottom: 10px; }
.me-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(56, 228, 154, .8); }
.big-badge { display: flex; justify-content: center; margin: 6px 0 2px; }
.badge.big { font-size: 1.02rem; padding: 8px 20px; }
.cd-line { text-align: center; font-size: 1.3rem; font-weight: 800; letter-spacing: 1.5px; color: #fff; font-family: ui-monospace, Menlo, monospace; margin: 4px 0 12px; }
.part-box { display: grid; gap: 9px; margin-top: 4px; }
.f-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); }
.amt-in { position: relative; display: flex; }
.amt-in input { width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: 13px; padding: 13px 60px 13px 14px; font-size: 1.05rem; color: #fff; outline: none; box-sizing: border-box; }
.amt-in input:focus { border-color: rgba(139, 92, 246, .7); }
.amt-suf { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.bal-line { font-size: .76rem; color: var(--muted); }
.bal-line b { color: #e6eaf4; }
.q-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.q-chip { background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .3); color: #cbb9ff; border-radius: 99px; padding: 5px 13px; font-size: .75rem; font-weight: 700; cursor: pointer; transition: .15s; }
.q-chip:hover { background: rgba(139, 92, 246, .25); }
.sub-hint { font-size: .76rem; color: var(--muted); line-height: 1.55; margin: 2px 0 0; }
.sub-hint b { color: #cfd6e4; }
.sub-hint.dim { color: #7e8aa0; }
.so-note { text-align: center; font-size: .88rem; color: #ffc857; background: rgba(255, 196, 87, .08); border: 1px dashed rgba(255, 196, 87, .35); border-radius: 12px; padding: 12px; line-height: 1.6; margin-top: 10px; }
.so-note.ok { color: #7de7b8; background: rgba(56, 228, 154, .07); border-color: rgba(56, 228, 154, .3); }
.so-note.err { color: #ff8fa3; background: rgba(255, 93, 120, .08); border-color: rgba(255, 93, 120, .32); }
.claim-note { text-align: center; font-size: .85rem; color: #cfe4ff; background: rgba(125, 180, 255, .07); border: 1px solid rgba(125, 180, 255, .28); border-radius: 12px; padding: 12px; line-height: 1.6; margin-top: 10px; }
.ln-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 16px; padding-top: 13px; border-top: 1px dashed rgba(255, 255, 255, .09); }
.ln-links a { color: var(--muted); font-size: .76rem; text-decoration: none; }
.ln-links a:hover { color: #fff; }
/* row CTAs on feed / opportunities / allocations */
.proj-act { display: inline-flex; align-items: center; gap: 10px; }
.trow { grid-template-columns: minmax(0, 1fr) 88px 122px 92px auto; }
.trow .t-cta { display: flex; justify-content: flex-end; }
.a-go { color: #7db4ff; font-size: .95rem; text-decoration: none; flex: 0 0 auto; padding: 8px 4px 8px 12px; border-radius: 10px; }
.a-go:hover { color: #fff; background: rgba(125, 180, 255, .1); }
@media (max-width: 1180px) {
  .det-wrap { grid-template-columns: 1fr; }
  .det-side { position: static; }
  .trow { grid-template-columns: minmax(0, 1fr) 112px 90px auto; }
}
@media (max-width: 820px) {
  .trow { grid-template-columns: minmax(0, 1fr) auto auto; }
  .trow .t-chain, .trow .t-date { display: none; }
  .trow .t-status { text-align: right; }
  .kv-grid, .kv-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .trow { grid-template-columns: minmax(0, 1fr) auto; }
  .trow .t-status { display: none; }
  .dm-title h2 { font-size: 1.12rem; }
  .raises { grid-template-columns: 1fr 1fr; }
}

/* ----- launch detail: spacing pass (panel asli tanpa padding, kv butuh .k/.v) ----- */
.det-main .panel, .det-side .panel { padding: 18px; }
.det-main .panel.det-hero { padding: 20px; }
.det-main { row-gap: 18px; }
.det-wrap { gap: 22px; align-items: start; }
.panel-head { margin-bottom: 16px; }
.kv-grid { row-gap: 2px; }
.kv-grid .kv { padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.kv-grid .kv:last-child { border-bottom: 0; }
.kv .v { font-weight: 600; color: #e9ecf6; }
.kv .v .badge { vertical-align: middle; margin-left: 6px; }
.raises { gap: 12px; margin: 2px 0 16px; }
.meter { margin: 14px 0 18px; }
.raise-v { padding: 12px 14px; }
.ln-links { margin-top: 18px; padding-top: 14px; }
.amt-in input { padding: 14px 62px 14px 15px; }
.q-chips { margin-top: 2px; }
.sub-hint, .bal-line, .note { line-height: 1.65; }
