:root {
    --bg-color: #0b0f1a;
    --surface-color: #161b22;
    --border-color: #30363d;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --green: #3fb950;
    --red: #f85149;
    --accent: #58a6ff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 20px;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.title-group h1 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.status {
    display: flex;
    align-items: center;
    gap: 15px;
}

#refresh-btn {
    background-color: #21262d;
    color: #c9d1d9;
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

#refresh-btn:hover { background-color: #30363d; }

.dot {
    height: 8px;
    width: 8px;
    background-color: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(63, 185, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}

.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface-color);
    border-radius: 10px;
    min-width: 1100px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

th {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
}

tr:hover { background-color: #1c2128; }

.token-symbol { font-weight: 700; color: #fff; margin-bottom: 2px; }
.chain-badge { 
    font-size: 10px; 
    padding: 1px 5px; 
    background: #30363d; 
    border-radius: 3px; 
    text-transform: uppercase;
}

.price-col { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.positive { color: var(--green); }
.negative { color: var(--red); }

.highlight-buys { color: var(--green); font-weight: 700; }
.sells-text { color: var(--red); opacity: 0.8; }

.socials-container { display: flex; gap: 8px; font-size: 16px; }
.social-link { text-decoration: none; transition: 0.1s; }
.social-link:hover { transform: scale(1.2); }

.address {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
}
.address:hover { color: var(--accent); }

.loader { text-align: center; padding: 50px; color: var(--text-muted); }