/* ═══════ close.fun ═══════ */

@font-face {
  font-family: "Louize";
  src: url("fonts/louize-display-medium.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #100f0f;
  --bg-soft: #161515;
  --card: #1e1d1d;
  --card-2: #262525;
  --border: #343232;
  --border-soft: #292828;
  --text: #ffffff;
  --muted: #9d9b9b;
  --gold-light: #c0abff;    /* violet accent (var names kept from an earlier era) */
  --gold: #9b7bff;
  --gold-deep: #7a52f4;
  --gold-ink: #160b33;
  --gold-dim: rgba(155, 123, 255, 0.12);
  --up: #ab8fff;
  --down: #7d7b79;
  --lunch: #c9c9c0;
  --display: "Louize", Georgia, serif;
  --font: "Inter", system-ui, sans-serif;
  --wordmark: "Louize", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 12px;
  --gold-grad: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 52%, var(--gold-deep) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button { font-family: var(--font); }
main.wrap { flex: 1; width: 100%; }
.footer { margin-top: auto; width: 100%; }

/* ── announcement bar: quiet, premium ── */
.marquee {
  background: #0b0a0b;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  contain: paint;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center;
  animation: marquee 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 1.6rem;
}
.mq-logo {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden; flex-shrink: 0;
  font-family: var(--font); font-size: 0.55rem; font-weight: 600; color: var(--text);
}
.mq-logo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.mq-sym { font-family: var(--font); font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.mq-price { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mq-chg { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mq-chg.up { color: var(--gold); }
.mq-chg.down { color: #6e6c6e; }
.mq-brand {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #575557; margin: 0 1.6rem;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stock logo chip */
.slogo {
  position: relative;
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #24241f; border: 1px solid #3a3a34;
  overflow: hidden; flex-shrink: 0;
  font-family: var(--mono); font-size: 0.5rem; font-weight: 600; color: var(--muted);
}
.slogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slogo.lg { width: 26px; height: 26px; font-size: 0.55rem; }

/* ── nav ── */
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%;
  max-width: 1180px;
  margin: 0.9rem auto 0;
  padding: 0.85rem clamp(0.9rem, 3vw, 2rem);
  background: transparent;
}
.nav .nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo {
  display: inline-block;
  font-family: var(--wordmark);
  font-weight: 600; font-size: 1.55rem; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.logo-dot {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sm { font-size: 1rem; }
.nav-pill {
  display: flex; gap: 0.15rem;
  background: #1a1919;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  padding: 0.26rem;
}
.nav-pill a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--muted); font-size: 0.84rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  padding: 0.42rem 0.9rem; border-radius: 8px;
  transition: color 0.13s, background 0.13s;
}
.nav-pill a:hover { color: var(--text); background: #242322; }
.nav-pill a svg { opacity: 0.7; }
.nav-right { display: flex; gap: 0.55rem; align-items: center; }
.btn-getstarted {
  background: #ffffff; color: #131212;
  border: none; border-radius: 10px;
  font-family: var(--font); font-weight: 600; font-size: 0.85rem;
  padding: 0.52rem 1.15rem; cursor: pointer;
  transition: filter 0.13s, transform 0.12s;
}
.btn-getstarted:hover { filter: brightness(0.94); }
.btn-getstarted:active { transform: translateY(1px); }
.nav-burger {
  background: none; border: none; color: var(--text);
  display: grid; place-items: center;
  padding: 0.35rem; cursor: pointer; border-radius: 8px;
  transition: background 0.13s;
}
.nav-burger:hover { background: #1e1d1d; }

/* ── buttons: polished gold ── */
.btn {
  border: none; border-radius: 9px; cursor: pointer; font-weight: 700;
  padding: 0.62rem 1.2rem; font-size: 0.88rem;
  transition: filter 0.15s, transform 0.12s, box-shadow 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-accent {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 4px 18px rgba(204, 255, 0, 0.12);
}
.btn-accent::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 45%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-accent:hover::after { left: 120%; }
.btn-accent:hover {
  filter: brightness(1.05);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 6px 26px rgba(204, 255, 0, 0.28);
}
.btn-accent:disabled {
  background: var(--card-2); color: var(--muted);
  box-shadow: none; cursor: not-allowed;
}
.btn-accent:disabled::after { display: none; }
.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.btn-outline:hover { border-color: #55554d; background: rgba(255, 255, 255, 0.05); }

/* ── layout ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 1.1rem clamp(0.9rem, 3vw, 2rem) 4rem; }
.wrap-narrow { max-width: 940px; }
.page-title { font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 2.7rem); letter-spacing: -0.01em; font-weight: 600; }
.page-sub { color: var(--muted); margin: 0.4rem 0 1.4rem; max-width: 640px; }

/* ── hero: banner card with dot grid + skyline art ── */
.hero-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #1a1919;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.6rem 1.25rem 2rem;
  margin-bottom: 1.1rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font); font-size: 0.82rem; font-weight: 500;
  color: var(--text);
  background: #2a2828;
  border: none;
  border-radius: 12px;
  padding: 0.5rem 0.95rem;
  margin-bottom: 0.85rem;
}
.hero-banner h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15; letter-spacing: 0.005em; font-weight: 500;
}
.hero-banner h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-banner p {
  color: #b9b7b5; font-size: 0.9rem;
  max-width: 640px; margin: 0.45rem auto 0;
}
.hero-banner p a {
  color: var(--text); font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #6a6866;
}
.hero-banner p a:hover { text-decoration-color: var(--text); }

/* the timer — the core of the whole site */
.hero-timer { margin-top: 0.9rem; }
.hero-timer-label {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--text);
}
.hero-timer-label b { color: var(--gold); font-weight: 700; }
.rh-logo {
  width: 12px; height: 12px;
  object-fit: contain;
  vertical-align: -2px;
  margin: 0 0.1rem;
  transform: scale(1.5);
  filter: hue-rotate(-45deg) brightness(1.3) saturate(1.5);
}
.hero-banner p a svg { margin-left: 0.2rem; vertical-align: 0; }

/* burger dropdown */
.nav-menu { position: relative; }
.nav-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 210px;
  background: #1a1919;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0.6rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  z-index: 80;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.nav-dropdown[hidden] { display: none; }
.nav-dropdown a {
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  padding: 0.45rem 0.6rem; border-radius: 8px;
  cursor: pointer; text-decoration: none;
}
.nav-dropdown a:hover { color: var(--text); background: #242322; }
.nav-dropdown .btn { margin-bottom: 0.3rem; }
.hero-timer-digits {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--text);
  text-shadow: 0 0 30px rgba(155, 123, 255, 0.2);
}
.clock-tabs { display: flex; justify-content: center; gap: 0.28rem; flex-wrap: wrap; margin-top: 0.55rem; }
.clock-tab {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(16, 15, 15, 0.7); border: 1px solid var(--border); color: var(--muted);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  padding: 0.26rem 0.52rem; border-radius: 6px; cursor: pointer;
  transition: all 0.12s;
}
.clock-tab:hover { color: var(--text); border-color: #55524f; }
.clock-tab.active { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* nav timer chip */
.nav-timer {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}

.hero-ring {
  position: absolute;
  top: 50%;
  width: clamp(180px, 26vw, 300px);
  height: clamp(180px, 26vw, 300px);
  z-index: 1;
  pointer-events: none;
}
.hero-ring-l { left: 0; transform: translate(-46%, -50%); }
.hero-ring-r { right: 0; transform: translate(46%, -50%); }

/* exchange flag images */
.flag {
  width: 15px; height: 11px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 0.32rem;
}
.clock-tab .flag { margin-right: 0; width: 13px; height: 10px; }
.picker-name .flag { margin-right: 0.35rem; }

/* ── status dots ── */
.dot { width: 7px; height: 7px; border-radius: 50%; background: #45453e; flex-shrink: 0; }
.dot.open { background: var(--gold); box-shadow: 0 0 7px rgba(255, 255, 255, 0.8); animation: pulse 2s infinite; }
.dot.closed { background: #45453e; }
.dot.lunch { background: var(--lunch); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ── leaders strip ── */
.leaders-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.leader-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.leader-row:hover { border-color: var(--gold-deep); }
.leader-rank {
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  color: var(--muted); width: 1.7rem; text-align: center; flex-shrink: 0;
}
.leader-rank.r1 { color: var(--gold); }
.leader-avatar {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 0.7rem;
  color: rgba(255,255,255,0.9); text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.leader-name { font-weight: 700; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader-ticker {
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.leader-main { min-width: 4.5rem; flex: 1; overflow: hidden; }
.leader-stats { display: flex; gap: 0.6rem; flex-shrink: 0; }
.leader-stat { text-align: right; }
.leader-stat .k { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.leader-stat .v { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; }
.leader-stat .v.up { color: var(--up); }
.leader-stat .v.down { color: var(--down); }

/* ── trending row ── */
.trending-row { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1rem; overflow-x: auto; scrollbar-width: none; }
.trending-row::-webkit-scrollbar { display: none; }
.trending-label { font-size: 0.72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; white-space: nowrap; }
.trending-pills { display: flex; gap: 0.5rem; }
.trend-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  font-size: 0.78rem; white-space: nowrap; cursor: pointer;
  transition: border-color 0.15s;
}
.trend-pill:hover { border-color: var(--gold-deep); }
.trend-pill .pill-avatar { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.trend-pill .pill-name { font-weight: 600; }
.trend-pill .pill-chg { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; }
.trend-pill .pill-chg.up { color: var(--up); }
.trend-pill .pill-chg.down { color: var(--down); }

/* ── exchange strip ── */
.ex-strip { margin-bottom: 1.1rem; overflow-x: auto; scrollbar-width: none; }
.ex-strip::-webkit-scrollbar { display: none; }
.ex-strip-inner { display: flex; gap: 0.6rem; min-width: max-content; }
.ex-chip {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 9px; padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
}
.ex-chip.is-open { border-color: rgba(255, 255, 255, 0.5); }
.ex-chip-name { font-weight: 700; }
.ex-chip-cd { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.ex-chip-cd b { color: var(--text); font-weight: 600; }

/* ── toolbar ── */
.toolbar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.search-box {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 9px; padding: 0 0.8rem;
  color: var(--muted);
  flex: 1 1 220px; min-width: 180px;
}
.search-box:focus-within { border-color: var(--gold-deep); }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font); font-size: 0.85rem;
  padding: 0.6rem 0; width: 100%;
}
.search-box input::placeholder { color: var(--muted); }
.tab-group { display: flex; gap: 0.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 9px; padding: 0.22rem; }
.tab {
  background: none; border: none; color: var(--muted);
  font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.75rem;
  border-radius: 6px; cursor: pointer; transition: color 0.12s, background 0.12s;
  white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--gold); color: var(--gold-ink); }

/* ── token grid ── */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 0.8rem;
}
.token-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.13s, border-color 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.token-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-deep);
  box-shadow: 0 4px 22px rgba(255, 255, 255, 0.1);
}
.token-img {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600;
  font-size: 1.5rem; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.token-body { padding: 0.65rem 0.7rem 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.token-title { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem; }
.token-name { font-weight: 700; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token-ex-tag {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 600;
  color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 5px;
  padding: 0.1rem 0.35rem; flex-shrink: 0;
}
.token-ticker { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); margin-top: -0.35rem; }
.token-stats { display: flex; justify-content: space-between; gap: 0.3rem; }
.tstat .k { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tstat .v { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; }
.tstat .v.up { color: var(--up); }
.tstat .v.down { color: var(--down); }
.quick-buys { display: flex; gap: 0.3rem; }
.qb {
  flex: 1; background: var(--card-2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--mono); font-size: 0.66rem; font-weight: 600;
  border-radius: 6px; padding: 0.34rem 0; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.qb:hover { border-color: var(--gold); color: var(--gold-light); background: var(--gold-dim); }
.qb:disabled { color: var(--muted); cursor: not-allowed; opacity: 0.45; box-shadow: none; }
.qb:disabled:hover { border-color: var(--border); background: var(--card-2); color: var(--muted); }
.token-creator {
  font-family: var(--mono); font-size: 0.62rem; color: var(--muted);
  border-top: 1px solid var(--border-soft); padding-top: 0.45rem;
  margin-top: auto;
  display: flex; justify-content: space-between;
}
/* halted */
.token-card.halted .token-img,
.token-card.halted .token-body { filter: grayscale(1) opacity(0.35); }
.halt-overlay { position: absolute; inset: 0; display: none; place-items: center; padding: 0.5rem; text-align: center; pointer-events: none; }
.token-card.halted .halt-overlay { display: grid; }
.halt-box {
  background: rgba(8, 8, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px; padding: 0.5rem 0.8rem;
  font-family: var(--mono);
}
.halt-title { color: var(--gold); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; }
.halt-sub { color: var(--muted); font-size: 0.6rem; margin-top: 0.15rem; }
.grid-empty { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2.5rem 0; }

/* ═══════ TOKEN PAGE ═══════ */
.tp-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; margin-bottom: 0.9rem;
  cursor: pointer;
}
.tp-back:hover { color: var(--text); }
.tp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 0.9rem; align-items: start; }
.tp-main, .tp-side { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.tp-card { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 1rem 1.1rem; }
.tp-card-title { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.7rem; }
.card-hint { font-size: 0.76rem; color: var(--muted); margin: -0.3rem 0 0.7rem; }

.tp-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.tp-avatar {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 1.05rem;
  color: rgba(255,255,255,0.9); text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.tp-title-block { flex: 1; min-width: 140px; }
.tp-name { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.12; }
.tp-sub { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; flex-wrap: wrap; }
.tp-ticker { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.tp-status {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--mono); font-size: 0.65rem; font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-soft);
}
.tp-status .dot { width: 6px; height: 6px; }
.tp-price-block { text-align: right; }
.tp-price { font-family: var(--mono); font-size: 1.35rem; font-weight: 600; }
.tp-chg { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; }
.tp-chg.up { color: var(--up); }
.tp-chg.down { color: var(--down); }
.tp-statrow {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.5rem; margin-top: 0.95rem;
  border-top: 1px solid var(--border-soft); padding-top: 0.85rem;
}
.tp-stat .k { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tp-stat .v { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; }

.tp-chart-wrap { position: relative; }
.tp-chart-canvas { width: 100%; height: 225px; display: block; }
.tp-chart-halt {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 8, 7, 0.55); border-radius: 8px;
}
.tp-chart-halt[hidden] { display: none; }
.tp-chart-meta {
  display: flex; justify-content: space-between; margin-top: 0.5rem;
  font-family: var(--mono); font-size: 0.65rem; color: var(--muted);
}

.tp-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.72rem; }
.tp-table th {
  text-align: left; color: var(--muted); font-weight: 500;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--border-soft);
}
.tp-table td { padding: 0.42rem 0.4rem; border-bottom: 1px solid var(--border-soft); }
.tp-table tr:last-child td { border-bottom: none; }
.tp-table .buy { color: var(--up); font-weight: 600; }
.tp-table .sell { color: var(--down); font-weight: 600; }
.tp-table .addr { color: var(--muted); }
.tp-table .r { text-align: right; }

.trade-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.85rem; }
.trade-tab {
  flex: 1; padding: 0.55rem 0; border-radius: 8px;
  border: 1px solid var(--border); background: var(--card-2);
  color: var(--muted); font-weight: 700; font-size: 0.85rem; cursor: pointer;
  transition: all 0.13s;
}
.trade-tab.active-buy { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.trade-tab.active-sell { background: #34342e; border-color: #85857d; color: var(--text); }
.trade-amount {
  display: flex; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 9px; padding: 0 0.8rem;
  margin-bottom: 0.55rem;
}
.trade-amount:focus-within { border-color: var(--gold-deep); }
.trade-amount span { color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }
.trade-amount input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--mono); font-size: 1rem;
  padding: 0.65rem 0.4rem; width: 100%;
}
.trade-chips { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.trade-chip {
  flex: 1; background: var(--card-2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  border-radius: 6px; padding: 0.38rem 0; cursor: pointer;
  transition: all 0.12s;
}
.trade-chip:hover { border-color: var(--gold); color: var(--gold-light); background: var(--gold-dim); }
.trade-est {
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  margin-bottom: 0.75rem; display: flex; justify-content: space-between;
}
.trade-est b { color: var(--text); font-weight: 600; }
.trade-note { font-size: 0.68rem; color: var(--muted); text-align: center; margin-top: 0.6rem; font-family: var(--mono); }

.curve-bar { height: 9px; background: var(--card-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.curve-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.curve-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); margin-top: 0.5rem; }
.curve-meta b { color: var(--gold); }

.holder-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.32rem 0; font-family: var(--mono); font-size: 0.72rem; }
.holder-rank { color: var(--muted); width: 1.4rem; }
.holder-addr { flex: 1; }
.holder-addr.dev { color: var(--gold); font-weight: 600; }
.holder-pct { color: var(--muted); }
.holder-bar { width: 70px; height: 5px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.holder-bar i { display: block; height: 100%; background: var(--gold-deep); border-radius: 99px; }

.thread-msg { padding: 0.55rem 0; border-bottom: 1px solid var(--border-soft); }
.thread-msg:last-child { border-bottom: none; }
.thread-meta { font-family: var(--mono); font-size: 0.64rem; color: var(--muted); margin-bottom: 0.2rem; }
.thread-meta b { color: var(--gold); font-weight: 600; }
.thread-text { font-size: 0.8rem; }

/* ═══════ LAUNCH PAGE ═══════ */
.launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: start; }
.launch-col { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.launch-token-row { display: flex; gap: 0.9rem; margin-bottom: 0.9rem; }
.launch-token-fields { flex: 1; display: flex; flex-direction: column; gap: 0; }
.img-drop {
  width: 108px; height: 108px; flex-shrink: 0;
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--muted); font-size: 0.7rem; font-weight: 600; text-align: center;
  cursor: pointer;
  background-size: cover; background-position: center;
  transition: border-color 0.15s, color 0.15s;
}
.img-drop:hover { border-color: var(--gold); color: var(--gold); }
.img-drop.has-img { border-style: solid; }
.img-drop.has-img span { display: none; }
.form-field { margin-bottom: 0.9rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.35rem; }
.label-hint { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: var(--font);
  font-size: 0.88rem; padding: 0.6rem 0.8rem; outline: none;
  transition: border-color 0.15s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold-deep); }

.pair-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 0.45rem; }
.pair-option {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.6rem;
  cursor: pointer; user-select: none;
  transition: border-color 0.13s, background 0.13s;
}
.pair-option:hover { border-color: #55554d; }
.pair-option.selected { border-color: var(--gold); background: var(--gold-dim); }
.pair-top { display: flex; align-items: center; gap: 0.45rem; }
.pair-sym { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; }
.pair-name { font-size: 0.62rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.2rem; }
.pair-ex { font-family: var(--mono); font-size: 0.58rem; color: var(--gold); margin-top: 0.1rem; }
.pair-ex.any { color: var(--muted); }

.exchange-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.exchange-picker.locked { opacity: 0.45; pointer-events: none; }
.picker-option {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.55rem 0.65rem;
  cursor: pointer; user-select: none;
  transition: border-color 0.13s, background 0.13s;
}
.picker-option:hover { border-color: #55554d; }
.picker-option.selected { border-color: var(--gold); background: var(--gold-dim); }
.picker-name { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.8rem; }
.picker-hours { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); margin-top: 0.15rem; }

.hours-summary {
  background: var(--card); border: 1px dashed var(--border);
  border-radius: 10px; padding: 0.85rem 1rem;
  font-family: var(--mono); font-size: 0.74rem; color: var(--muted);
  line-height: 1.8;
}
.hours-summary .hl { color: var(--text); font-weight: 600; }
.hours-summary .ok { color: var(--gold); font-weight: 600; }
.hours-summary .no { color: var(--down); }
.hours-summary .mid { color: var(--lunch); }
.modal-note { text-align: center; font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }

/* ═══════ LAUNCH PAGE v2 (pons style) ═══════ */
.launch2 {
  display: grid;
  grid-template-columns: minmax(0, 560px) 320px;
  gap: 1rem;
  justify-content: center;
  align-items: start;
  padding-top: 0.4rem;
}
.launch2-card { padding: 1.5rem 1.6rem 1.4rem; }
.launch2-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin-bottom: 1.1rem; }
.l2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.l2-note { font-size: 0.74rem; color: var(--muted); margin-top: 0.45rem; }
.img-choose {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s;
}
.img-choose:hover { border-color: #55524f; }
.img-choose-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--card-2);
  display: grid; place-items: center;
  color: var(--muted);
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.img-choose-icon.has-img svg { display: none; }
.prefix-input {
  display: flex; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; padding-left: 0.8rem;
  transition: border-color 0.15s;
}
.prefix-input:focus-within { border-color: var(--gold-deep); }
.prefix-input span { color: var(--muted); font-size: 0.88rem; }
.prefix-input input { border: none !important; background: none !important; padding-left: 0.15rem !important; }
.pair-field { position: relative; }
.pair-select {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 0.8rem;
  color: var(--text); font-family: var(--font); font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s;
}
.pair-select:hover { border-color: #55524f; }
.pair-select-label { display: inline-flex; align-items: center; gap: 0.45rem; }
.pair-menu {
  position: absolute; left: 0; right: 0; top: calc(100% - 1.4rem);
  max-height: 260px; overflow-y: auto;
  background: #1f1e1e;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem;
  z-index: 30;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.pair-menu[hidden] { display: none; }
.pair-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.6rem; border-radius: 8px;
  cursor: pointer; font-size: 0.85rem;
}
.pair-item:hover { background: #2a2929; }
.pair-item .pi-name { color: var(--muted); font-size: 0.75rem; margin-left: auto; }
.devbuy-box {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.55rem 0.8rem;
  transition: border-color 0.15s;
}
.devbuy-box:focus-within { border-color: var(--gold-deep); }
.devbuy-box input {
  flex: 1; border: none !important; background: none !important;
  font-size: 1.3rem !important; font-weight: 600; padding: 0 !important;
  font-variant-numeric: tabular-nums;
}
.devbuy-note { display: flex; align-items: center; justify-content: space-between; }
.l2-advanced { margin: 0.4rem 0 0.9rem; }
.testmode-label {
  display: flex !important; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.testmode-label input { accent-color: var(--gold); width: 15px; height: 15px; }
.net-select {
  width: 100%;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: var(--font); font-size: 0.88rem; font-weight: 500;
  padding: 0.6rem 0.8rem; outline: none; cursor: pointer;
}
.net-select:focus { border-color: var(--gold-deep); }
.net-select option { background: #1f1e1e; }
.test-tag { color: var(--lunch); border-color: rgba(201, 201, 192, 0.4); }
.l2-advanced summary {
  cursor: pointer; font-size: 0.88rem; font-weight: 600;
  color: var(--text); padding: 0.4rem 0;
  list-style-position: inside;
}
.l2-fee {
  font-size: 0.78rem; color: var(--muted);
  border-top: 1px solid var(--border-soft);
  padding-top: 0.8rem; margin-bottom: 0.7rem;
}
.launch2-preview { padding: 1.4rem; position: sticky; top: 1rem; }
.l2p-img {
  width: 64px; height: 64px; border-radius: 12px;
  background: var(--card-2);
  display: grid; place-items: center;
  color: var(--muted);
  background-size: cover; background-position: center;
  margin-bottom: 0.8rem;
}
.l2p-img.has-img svg { display: none; }
.l2p-name { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.l2p-ticker { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.9rem; }
.l2p-rows { border-top: 1px solid var(--border-soft); }
.l2p-rows > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.82rem;
}
.l2p-rows span { color: var(--muted); }
.l2p-rows b { font-weight: 600; }
@media (max-width: 900px) {
  .launch2 { grid-template-columns: 1fr; }
  .launch2-preview { position: static; }
}

/* ═══════ DOCS (gitbook style) ═══════ */
.docs-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: 1rem;
}
.docs-sidebar {
  position: sticky; top: 76px;
  border-right: 1px solid var(--border-soft);
  padding-right: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.docs-sidebar-title {
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}
.docs-nav { display: flex; flex-direction: column; }
.docs-nav a {
  color: var(--muted); font-size: 0.83rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  padding: 0.42rem 0.6rem;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.13s, background 0.13s, border-color 0.13s;
}
.docs-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.docs-nav a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-dim);
  font-weight: 600;
}
.docs-sidebar-foot { padding-top: 0.4rem; }
.docs-content { min-width: 0; max-width: 720px; padding-bottom: 3rem; }
.docs-breadcrumb {
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.doc-section { padding-bottom: 1.6rem; }
.doc-section + .doc-section { border-top: 1px solid var(--border-soft); padding-top: 1.6rem; }
.docs-content h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.docs-content h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.docs-content p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.docs-content p + p { margin-top: 0.8rem; }
.docs-content b { color: var(--text); font-weight: 600; }
.code {
  background: #0a0a09;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.9rem 1rem;
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.65;
  color: #d5d3cc;
  overflow-x: auto;
}
.code .k { color: var(--gold); font-weight: 600; }
.code .t { color: #c9c7c0; font-weight: 600; }
.code .f { color: var(--gold-light); font-weight: 600; }
.code .c { color: #5c5c54; }

/* ═══════ PONS-STYLE TOKEN PAGE ═══════ */
.tp-back {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}
.pons-about {
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 0.8rem;
  padding: 0.9rem 1.1rem;
}
.pa-left { flex: 1; min-width: 240px; }
.pa-left h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.pa-desc { color: var(--muted); font-size: 0.85rem; }
.pa-meta { color: var(--muted); font-size: 0.76rem; margin-top: 0.4rem; }
.pa-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.pair-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--card-2); border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 0.22rem 0.6rem;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
}
.pair-badge b { color: var(--text); }
.pa-supply { font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.pa-supply .k { font-size: 0.74rem; color: var(--muted); font-weight: 400; }
.pa-supply b { font-weight: 700; }
.pons-about { position: relative; }
.pa-mid {
  position: absolute;
  left: 50%; top: 0.9rem;
  transform: translateX(-50%);
  display: flex; gap: 0.4rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .pa-mid { position: static; transform: none; flex-wrap: wrap; align-self: flex-start; }
}
.chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--card-2); border: 1px solid var(--border-soft);
  border-radius: 9px; padding: 0.32rem 0.7rem;
  font-size: 0.75rem; font-weight: 500; color: var(--text);
  cursor: pointer; transition: background 0.13s;
}
.chip:hover { background: #2c2a2a; }
.chip.mono { font-family: var(--mono); font-size: 0.7rem; }

.pons-main { display: grid; grid-template-columns: 330px 1fr; gap: 0.9rem; align-items: start; margin-bottom: 0.9rem; }
.pt-token { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.pt-token .tp-avatar { width: 44px; height: 44px; border-radius: 10px; font-size: 0.8rem; }
.pt-name { font-weight: 700; font-size: 1rem; }
.pt-sub { display: flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

.swap-box {
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
}
.sb-label { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.1rem; }
.sb-amount {
  width: 100%;
  background: none; border: none; outline: none;
  color: var(--text);
  font-family: var(--font); font-size: 1.4rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 0;
}
.sb-amount.out { min-height: 1.8rem; }
.sb-usd { font-size: 0.72rem; color: var(--muted); margin-top: -0.15rem; }
.sb-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.asset-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #2e2c2c; border-radius: 9px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem; font-weight: 700;
}
.sb-avail { font-size: 0.7rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.max-chip {
  background: var(--gold-dim); color: var(--gold);
  border: none; border-radius: 7px;
  font-size: 0.66rem; font-weight: 700;
  padding: 0.18rem 0.45rem; cursor: pointer;
}
.swap-divider {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  margin: -0.55rem auto;
  position: relative; z-index: 2;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  color: var(--muted);
}
.pct-chips { display: flex; gap: 0.35rem; margin: 0.6rem 0; }
.pct-chip {
  flex: 1; background: var(--card-2); border: 1px solid var(--border-soft);
  color: var(--text); font-size: 0.72rem; font-weight: 600;
  border-radius: 9px; padding: 0.4rem 0; cursor: pointer;
  transition: background 0.12s;
}
.pct-chip:hover { background: #2c2a2a; }

.pc-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem; padding-bottom: 0.6rem; margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}
.pc-stats .k { font-size: 0.68rem; color: var(--muted); }
.pc-stats .v { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem; flex-wrap: wrap; }
.pc-big { font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pc-chg { font-size: 0.78rem; font-weight: 600; margin-top: 0.1rem; }
.pc-chg.up { color: var(--up); }
.pc-chg.down { color: var(--down); }
.pc-chg span { color: var(--muted); font-weight: 500; margin-left: 0.3rem; }
.pc-tfs { display: flex; gap: 0.25rem; }
.pc-tf {
  background: none; border: none; color: var(--muted);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.55rem; border-radius: 7px; cursor: pointer;
}
.pc-tf.active { background: var(--card-2); color: var(--text); }

.pons-trades { padding: 1rem 1.2rem; }
.pt-tabs { display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.5rem; }
.pt-tab {
  background: none; border: none; color: var(--muted);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 0.7rem; border-radius: 8px; cursor: pointer;
}
.pt-tab.active { background: var(--card-2); color: var(--text); }
.pt-count { margin-left: auto; font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.trade-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.42rem 0.6rem;
  border-radius: 10px;
}
.trade-row:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
.trade-row:hover { background: var(--card-2); }
.tr-arrow { font-size: 0.9rem; font-weight: 700; width: 1.2rem; text-align: center; }
.tr-arrow.up { color: var(--up); }
.tr-arrow.down { color: #e2604f; }
.tr-main { flex: 1; min-width: 0; }
.tr-amt { font-size: 0.85rem; font-weight: 600; }
.tr-addr { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.tr-right { text-align: right; }
.tr-val { font-size: 0.82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tr-sub { font-size: 0.68rem; color: var(--muted); }
.tr-ago { font-size: 0.72rem; color: var(--muted); width: 2.2rem; text-align: right; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.3rem; margin-top: 0.8rem; }
.page-btn {
  background: var(--card-2); border: 1px solid var(--border-soft); color: var(--muted);
  font-size: 0.75rem; font-weight: 600;
  min-width: 30px; padding: 0.32rem 0.5rem; border-radius: 8px; cursor: pointer;
}
.page-btn.active { background: #f0efed; color: #131212; border-color: #f0efed; }
.page-btn.ghost { background: none; border: none; }

@media (max-width: 900px) {
  .pons-main { grid-template-columns: 1fr; }
  .pa-right { text-align: left; align-items: flex-start; }
}

/* ── footer ── */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 1.4rem 1rem; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-note { color: var(--muted); font-size: 0.72rem; font-family: var(--mono); }
.footer-x {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--text); text-decoration: none; font-weight: 600;
}
.footer-x:hover { color: var(--gold); }

/* ── responsive ── */
@media (max-width: 960px) {
  .tp-layout { grid-template-columns: 1fr; }
  .launch-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar {
    position: static; border-right: none; padding-right: 0;
    border-bottom: 1px solid var(--border-soft); padding-bottom: 1rem;
  }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 0.2rem; }
  .docs-nav a { border-left: none; border-radius: 6px; }
  .docs-nav a.active { border-left: none; }
  .docs-sidebar-foot { display: none; }
}
@media (max-width: 860px) {
  .nav-pill { display: none; }
}
@media (max-width: 480px) {
  .exchange-picker { grid-template-columns: repeat(2, 1fr); }
}
