@font-face {
  font-family: 'Geist';
  src: url('/pools2/fonts/geist-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/pools2/fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #0c0c0c;
  --border: #1f1f1f;
  --text: #cfcfcf;
  --muted: #8d8d8d;
  --font-geist: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'Courier New', monospace;
  --spacing: 0.25rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-geist);
  min-height: 100vh;
  padding: 2rem 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #6fb4ff;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.header {
  padding: 0.75rem 0;
}

.title {
  font-family: var(--font-geist);
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.glass-card {
  background: var(--panel);
  border-radius: 0;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.token-info {
  display: none;
}

.token-image {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.token-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.token-symbol {
  font-family: var(--font-geist);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.token-name {
  font-family: var(--font-geist);
  font-size: 0.75rem;
  color: var(--muted);
}

.token-address {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.search-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-row {
  display: flex;
  gap: 1rem;
}

.input-dark {
  flex: 1;
  width: 100%;
  background: #101010;
  padding: 0.85rem 1rem;
  color: var(--text);
  border: none;
  outline: none;
  font-family: var(--font-geist);
  font-size: 0.875rem;
}

.input-dark::placeholder {
  color: #585858;
  font-family: var(--font-geist);
}

.btn-dark {
  background: #1f1f1f;
  color: var(--text);
  font-family: var(--font-geist);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.875rem;
}

.btn-dark:hover:not(:disabled) {
  background: #262626;
}

.btn-dark:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.error-msg {
  border: 1px solid #402323;
  background: #140a0a;
  padding: 0.75rem 1rem;
  font-family: var(--font-geist);
  font-size: 0.875rem;
  color: #ffb7b7;
}

.filter-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.base-filters {
  display: flex;
  gap: 0.5rem;
}

.tag-toggle {
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: #cfcfcf;
  font-family: var(--font-geist);
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tag-toggle.active {
  background: #1f1f1f;
}

.btn-ghost-dark {
  color: var(--muted);
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-geist);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.btn-ghost-dark:hover {
  color: var(--text);
}

.results-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.results-count {
  font-family: var(--font-geist);
  font-size: 0.875rem;
  color: #b4b4b4;
}

.table-shell {
  overflow: hidden;
  background: var(--panel);
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-geist);
}

thead {
  background: #111111;
  color: #909090;
  text-transform: uppercase;
  font-family: var(--font-geist);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--font-geist);
  font-size: 0.8rem;
  font-weight: 400;
  color: #cfcfcf;
}

tbody tr:nth-child(even) {
  background: #090909;
}

tbody tr:hover {
  background: #151515;
}

.empty-msg {
  padding: 2rem;
  text-align: center;
  color: #6b6b6b;
  font-family: var(--font-geist);
}

.pool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  color: #b1b1b1;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-geist);
  font-size: inherit;
  padding: 0;
}

.pool-btn:hover {
  color: var(--text);
}

.copy-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.pool-address {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
}

.config-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.full-width {
  width: 100%;
}

.config-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 50%;
  margin: 0 auto;
}

.config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-geist);
  font-size: 0.875rem;
  font-weight: 600;
  color: #bfbfbf;
}

.copy-btn {
  font-family: var(--font-geist);
  font-size: 0.75rem;
  color: #6fb4ff;
  background: transparent;
  border: none;
  cursor: pointer;
}

.copy-btn:hover {
  color: white;
}

.dark-area {
  background: #080808;
  border: 1px solid #1b1b1b;
  padding: 0.75rem 1rem;
  color: #cfcfcf;
  resize: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  width: 100%;
  height: 180px;
  outline: none;
}

.toast-dark {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #1d2a1d;
  border: 1px solid #263b26;
  color: #c1f1c1;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-family: var(--font-geist);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
}

input,
button,
textarea,
select {
  font-family: var(--font-geist);
}
