/* Pool Pilot powered token page */
.tp-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}
.tp-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 16px 16px 48px;
}
.tp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
}
.tp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.tp-powered {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tp-nav {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.tp-nav a { color: var(--accent); text-decoration: none; font-weight: 600; }

.tp-hero, .tp-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 20px 20px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.tp-banner {
  margin: -20px -20px 16px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #141012;
  max-height: 220px;
}
.tp-banner img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.tp-banner[hidden],
.tp-logo[hidden],
#tpPoolRow[hidden],
#tpPromoCard[hidden],
#tpCopySol[hidden] { display: none !important; }
.tp-logo {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: contain;
  background: #141012;
  border: 1.5px solid var(--border);
  margin: 0 0 12px;
}
.tp-kicker {
  margin: 0 0 4px;
  font: 700 0.75rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.tp-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.tp-tag { margin: 0 0 10px; font-size: 1.05rem; font-weight: 650; }
.tp-blurb { margin: 0 0 14px; color: var(--text-muted); line-height: 1.45; }
.tp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.tp-fill { margin: 0; font-weight: 800; }

.tp-card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.tp-facts { margin: 0; display: grid; gap: 12px; }
.tp-facts div { min-width: 0; }
.tp-facts dt { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.tp-facts dd { margin: 0; word-break: break-all; }
.tp-copy-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tp-links a { color: var(--accent); text-decoration: none; font-weight: 650; }
.tp-promos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.tp-promos img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #141012;
}
.tp-note { color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }
.tp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
@media (max-width: 640px) { .tp-form { grid-template-columns: 1fr; } }
.tp-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-muted);
}
.tp-form input, .tp-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}
.tp-form label:nth-child(n+4) { grid-column: 1 / -1; }
.tp-foot { color: var(--text-muted); font-size: 0.8rem; }
.tp-chart-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .tp-chart-grid { grid-template-columns: 1fr 1fr; }
}
.tp-chart-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tp-chart-canvas {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  background: #141012;
  display: block;
}
