/* Public /explore — pump.fun-style logo grid for Robinhood Chain books. */
:root {
  --ex-bg: #0b0b0d;
  --ex-panel: #121214;
  --ex-line: #232328;
  --ex-ink: #f4f4f5;
  --ex-mute: #9a9aa3;
  --ex-faint: #6b6b74;
  --ex-pink: #e0447c;
  --ex-gold: #e7b84b;
  --ex-green: #3fb968;
  --font-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.ex-body {
  min-height: 100vh;
  background: var(--ex-bg);
  color: var(--ex-ink);
  font-family: var(--font-body);
  line-height: 1.4;
}
a { color: var(--ex-pink); text-decoration: none; }
a:hover { text-decoration: underline; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ex-shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: 16px 18px 48px; }
.ex-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ex-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ex-ink);
  font-weight: 800;
  text-decoration: none;
}
.ex-brand img { border-radius: 8px; display: block; }
.ex-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  flex: 1;
}
.ex-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.ex-nav a {
  color: var(--ex-mute);
  font-weight: 700;
  font-size: 0.88rem;
}
.ex-nav a:hover { color: var(--ex-ink); }

.ex-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ex-tabs, .ex-views { display: flex; gap: 6px; flex-wrap: wrap; }
.ex-tab, .ex-view {
  appearance: none;
  border: 1px solid var(--ex-line);
  background: transparent;
  color: var(--ex-mute);
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.ex-tab.is-on, .ex-view.is-on {
  background: #1a1a1e;
  color: var(--ex-ink);
  border-color: #3a3a42;
}
.ex-search { flex: 1; min-width: 180px; }
.ex-search input {
  width: 100%;
  background: #101012;
  border: 1px solid var(--ex-line);
  color: var(--ex-ink);
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
}
.ex-search input:focus { outline: 2px solid var(--ex-pink); outline-offset: 1px; }

.ex-meta {
  color: var(--ex-faint);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  margin: 0 0 14px;
}

.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px 14px;
}
.ex-grid.is-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--ex-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ex-panel);
}

.ex-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.ex-card:hover { text-decoration: none; }
.ex-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #17171a;
  border: 1px solid #1d1d22;
}
.ex-art-link { display: block; width: 100%; height: 100%; color: inherit; }
.ex-name { color: inherit; text-decoration: none; }
.ex-name:hover { text-decoration: none; }
.ex-card.is-marquis .ex-art { box-shadow: 0 0 0 1px rgba(231, 184, 75, 0.45); }
.ex-art img, .ex-art .ex-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ex-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: #fff;
  background: #2a1622;
}
.ex-hover {
  position: absolute;
  inset: auto 8px 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.ex-card:hover .ex-hover, .ex-card:focus-within .ex-hover { opacity: 1; transform: none; }
.ex-hover a {
  flex: 1;
  text-align: center;
  background: rgba(11, 11, 13, 0.88);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 8px;
  border-radius: 10px;
  text-decoration: none;
}
.ex-hover a:hover { background: var(--ex-pink); }

.ex-name {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ex-tick { color: var(--ex-mute); font-size: 0.82rem; font-weight: 700; }
.ex-mc { font-weight: 800; font-size: 0.92rem; margin-top: 1px; }
.ex-mc small { color: var(--ex-faint); font-weight: 700; font-size: 0.7rem; margin-left: 4px; }
.ex-sub {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ex-faint);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}
.ex-chip {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ex-gold);
}

.ex-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.4fr) 0.8fr 0.7fr 0.5fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--ex-line);
  color: inherit;
  text-decoration: none;
}
.ex-row:first-child { border-top: 0; }
.ex-row:hover { background: #18181c; text-decoration: none; }
.ex-row-art {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #17171a;
}
.ex-row-art img, .ex-row-art .ex-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-row-art .ex-fallback { font-size: 1rem; }
.ex-row-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-row-tick { color: var(--ex-mute); font-size: 0.8rem; }
.ex-row-acts { display: flex; gap: 8px; }
.ex-row-acts a { font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }

.ex-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ex-mute);
  padding: 48px 16px;
  border: 1.5px dashed var(--ex-line);
  border-radius: 16px;
}
.ex-empty h3 { color: var(--ex-ink); margin: 0 0 8px; }
.ex-empty .btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ex-pink);
  color: #fff;
  font-weight: 800;
}

.ex-foot {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 32px;
  color: var(--ex-faint);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .ex-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .ex-row .ex-hide-sm { display: none; }
}
