/* /launches/ — daftar koin ROTUNDA. Dimuat setelah site.css + app.css. */
.lx-head { padding-top: 44px; }
.lx-head .display { margin-top: 0; }
.lx-side { display: grid; gap: 22px; justify-items: start; max-width: 420px; }
.lx-side p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* bar statistik: garis rambut seperti ledger landing */
.lx-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 34px; }
.lx-stats > div { padding: 20px 0 22px; display: grid; gap: 8px; min-width: 0; }
.lx-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.lx-stats small { font: 500 10.5px 'Geist Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lx-stats strong { font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.lx-stats strong b { font-weight: 800; }
.lx-stats strong em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 7px; letter-spacing: 0; }

/* kontrol */
.lx-ctl { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; margin-bottom: 14px; }
.lx-search { flex: 1 1 280px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.lx-search .mono, .lx-sort .mono { font-size: 10px; color: var(--soft); }
.lx-search input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border-radius: 3px; border: 1px solid var(--line2); background: rgba(255,255,255,.02); color: var(--ink); font: 400 13.5px 'Geist Mono', monospace; }
.lx-search input:focus { outline: none; border-color: var(--accent); }
.lx-search input::placeholder { color: var(--soft); }
.lx-sort { display: flex; align-items: center; gap: 12px; }

/* tabel */
.lx-board { border: 1px solid var(--line); border-radius: 4px; background: var(--bg2); overflow: hidden; }
.lx-tbl th { white-space: nowrap; padding: 13px 16px; }
.lx-tbl th span { color: #3f3f45; margin-left: 4px; }
.lx-tbl td { padding: 15px 16px; vertical-align: middle; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lx-tbl .r { text-align: right; }
.lx-tbl td small { display: block; margin-top: 3px; font: 400 11.5px 'Geist Mono', monospace; color: var(--soft); }
.lx-tbl td .u { color: var(--soft); font-size: 12px; }
.lx-tbl td.strong { font-weight: 600; }
.lx-tbl td sub { font-size: .72em; vertical-align: -.3em; color: var(--muted); margin: 0 1px; }
.lx-tbl tr:last-child td { border-bottom: 0; }
.lx-tbl tr[data-href]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lx-tbl tr.ghost td { color: var(--muted); padding: 26px 16px; }
.lx-tbl tr.ghost .spin { width: 12px; height: 12px; margin-right: 10px; vertical-align: -1px; color: var(--accent); }
.c-age { color: var(--muted); font-family: 'Geist Mono', monospace; font-size: 13px; }

.lx-tbl td.c-coin { min-width: 270px; }
.cn { display: inline-flex; align-items: center; gap: 13px; }
.cn-t { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; justify-content: start; }
.cn-t b { display: block; white-space: nowrap; font-weight: 700; font-size: 15px; letter-spacing: -.01em; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.cn-t em { font: 500 11.5px 'Geist Mono', monospace; font-style: normal; color: var(--accent); letter-spacing: .02em; }
.cn-t code { grid-column: 1 / -1; font-size: 11px; color: var(--soft); margin-top: 2px; }

/* logo koin: gambar bila ada, kalau tidak inisial mono */
.lg { position: relative; flex: none; width: 38px; height: 38px; border-radius: 3px; background: #121215; box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; overflow: hidden; }
.lg b { font: 500 12.5px 'Geist Mono', monospace; letter-spacing: .04em; color: var(--ivory); }
.lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg.has-img b { visibility: hidden; }

/* progres bonding */
.c-bond { min-width: 150px; }
.bd { display: inline-block; vertical-align: middle; width: 86px; height: 3px; background: #1d1d22; border-radius: 2px; overflow: hidden; margin-right: 10px; }
.bd i { display: block; height: 100%; width: var(--p); background: var(--accent); }
.bd.done i { background: var(--ink); }
.bd-l { font: 500 12px 'Geist Mono', monospace; color: var(--muted); }

.c-go { text-align: right; width: 1%; }
.c-go .btn { gap: 10px; }
.lx-tbl tr[data-href]:hover .c-go .btn { box-shadow: inset 0 0 0 1px var(--ink); }

.lx-empty[hidden] { display: none; }
.lx-empty { padding: 56px 24px 60px; text-align: center; display: grid; justify-items: center; gap: 4px; border-top: 1px solid var(--line); }
.lx-empty b { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.lx-empty p { margin: 4px 0 18px; color: var(--muted); max-width: 440px; font-size: 14.5px; }
.lx-foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.lx-foot .mono { font-size: 10px; color: var(--soft); letter-spacing: .12em; }

@media (max-width: 1180px) {
  .lx-tbl th:nth-child(2), .lx-tbl td:nth-child(2), .lx-tbl th:nth-child(8), .lx-tbl td:nth-child(8) { display: none; }
  .lx-tbl th, .lx-tbl td { padding-left: 12px; padding-right: 12px; }
}

/* HP: tiap baris jadi kartu dua kolom */
@media (max-width: 760px) {
  .lx-head { padding-top: 30px; }
  .lx > .idx span:last-child { display: none; }
  .lx-tbl td.no-tax { display: none !important; }
  .lx-side { gap: 18px; }
  .lx-stats { grid-template-columns: 1fr 1fr; }
  .lx-stats > div { padding: 16px 0 18px; }
  .lx-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .lx-stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lx-stats strong { font-size: 25px; }
  .lx-ctl { gap: 12px; }
  .lx-search { flex-basis: 100%; }
  .lx-sort { width: 100%; }
  .lx-board { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .lx-tbl thead { display: none; }
  .lx-tbl, .lx-tbl tbody { display: block; }
  .lx-tbl tr[data-href] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg2); }
  .lx-tbl tr.ghost { display: block; }
  .lx-tbl td, .lx-tbl th:nth-child(n), .lx-tbl td:nth-child(n) { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .lx-tbl td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 4px; font: 500 9.5px 'Geist Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
  .lx-tbl tr[data-href]:hover td { background: transparent; }
  .lx-tbl td.c-coin { min-width: 0; }
  .c-coin { grid-column: 1 / -1; padding-bottom: 12px !important; border-bottom: 1px solid var(--line) !important; }
  .c-age { display: none !important; }
  .c-bond { grid-column: 1 / -1; min-width: 0; }
  .bd { width: calc(100% - 70px); }
  .c-go { grid-column: 1 / -1; width: auto; }
  .c-go .btn { width: 100%; }
  .lx-empty { border: 1px solid var(--line); border-radius: 4px; background: var(--bg2); }
  .lx-foot { padding: 12px 0; border-top: 0; }
}
