* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0c0e;
    --surface: #131418;
    --surface-hover: #191a1f;
    --border: #24262b;
    --border-hover: #34363c;
    --text: #e9eaec;
    --text-dim: #8a8f98;
    --text-faint: #4d5158;

    --green: #35d07f;
    --green-dim: rgba(53, 208, 127, 0.14);
    --amber: #e8a33d;
    --amber-dim: rgba(232, 163, 61, 0.14);
    --red: #e5484d;
    --red-dim: rgba(229, 72, 77, 0.14);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: inherit;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- header ---------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.wordmark {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
}

.wordmark-dim {
    color: var(--text-faint);
    font-weight: 500;
}

nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-mono);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--text);
    border-bottom-color: var(--text-faint);
}

/* ---------- summary bar ---------- */

.summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 4px var(--amber-dim);
}

.summary-text {
    font-size: 14px;
    font-weight: 500;
}

.summary-right {
    display: flex;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
}

.summary-time {
    color: var(--text-dim);
}

/* ---------- filter tabs ---------- */

.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 7px 14px;
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filter-tab:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.filter-tab.active {
    background: var(--surface);
    border-color: var(--border-hover);
    color: var(--text);
}

/* ---------- executor list ---------- */

.executor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.executor-item.hidden {
    display: none;
}

.executor-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.15s, background 0.15s;
}

.executor-item:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
}

.executor-main {
    display: flex;
    gap: 14px;
}

.executor-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.executor-body {
    flex: 1;
    min-width: 0;
}

.executor-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.executor-name-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.executor-name-row h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.badge {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-faint);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    text-transform: lowercase;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-pill.online {
    background: var(--green-dim);
    color: var(--green);
}
.status-pill.online .status-dot {
    background: var(--green);
}

.status-pill.offline {
    background: var(--red-dim);
    color: var(--red);
}
.status-pill.offline .status-dot {
    background: var(--red);
}

.status-pill.updating {
    background: var(--amber-dim);
    color: var(--amber);
}
.status-pill.updating .status-dot {
    background: var(--amber);
}

.executor-description {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.executor-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.uptime-strip {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

.uptime-strip .bar {
    width: 3px;
    height: 14px;
    border-radius: 1px;
    background: var(--border-hover);
}

.uptime-strip .bar.online { background: var(--green); opacity: 0.85; }
.uptime-strip .bar.offline { background: var(--red); opacity: 0.85; }

.download-link {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text-dim);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.download-link:hover {
    color: var(--text);
}

/* ---------- coming soon ---------- */

.coming-soon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    margin-bottom: 32px;
}

.coming-soon-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-faint);
    flex-shrink: 0;
}

.coming-soon p {
    color: var(--text-faint);
    font-size: 12.5px;
    font-family: var(--font-mono);
}

/* ---------- footer ---------- */

footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 28px 0 40px;
    color: var(--text-faint);
    font-size: 12px;
    font-family: var(--font-mono);
}

.footer-dot {
    color: var(--text-faint);
}

#footer-updated,
#about-last-updated {
    color: var(--text-dim);
}

/* ---------- about page ---------- */

.page-intro {
    margin-bottom: 24px;
}

.page-intro h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.page-intro p {
    color: var(--text-dim);
    font-size: 13.5px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card,
.about-links,
.about-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.about-card h3,
.about-links h3,
.about-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

.about-card p,
.about-info p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-info p:last-child {
    margin-bottom: 0;
}

.about-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint) !important;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: border-color 0.15s, background 0.15s;
}

.link-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

.link-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--surface);
    color: var(--text-dim);
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
    header {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .executor-top {
        flex-direction: column;
        gap: 8px;
    }

    .executor-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .summary-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
/* ---------- category labels ---------- */

.category-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.category-label-spaced {
    margin-top: 24px;
}

.category-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    text-transform: uppercase;
    white-space: nowrap;
}

.category-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ---------- badge variants ---------- */

.badge-keyless {
    color: #5ba3f5;
    border-color: rgba(91, 163, 245, 0.3);
}

.badge-paid {
    color: var(--amber);
    border-color: var(--amber-dim);
}

/* ---------- executor img variants ---------- */

.executor-img-dark-bg {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.executor-img-emoji {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

/* ---------- donate page ---------- */

.donate-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donate-intro-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.donate-intro-card p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.6;
}

.donate-intro-card strong {
    color: var(--text);
    font-weight: 600;
}

.crypto-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.crypto-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.solana-icon {
    background: rgba(153, 69, 255, 0.15);
    color: #9945ff;
}

.bitcoin-icon {
    background: rgba(247, 147, 26, 0.15);
    color: #f7931a;
}

.ethereum-icon {
    background: rgba(98, 126, 234, 0.15);
    color: #627eea;
}

.crypto-header h3 {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text);
}

.crypto-address-block {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 10px 14px;
}

.crypto-address {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-dim);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

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

.copy-btn.copied {
    color: var(--green);
    border-color: var(--green-dim);
}

.donate-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border: 1px dashed var(--border);
    border-radius: 10px;
}

.donate-note p {
    color: var(--text-faint);
    font-size: 12.5px;
    font-family: var(--font-mono);
}

@media (max-width: 560px) {
    .crypto-address {
        font-size: 10px;
    }
}

/* ---------- crypto icon with real images ---------- */

.crypto-icon-img {
    background: transparent;
    padding: 0;
    overflow: hidden;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.crypto-icon-img img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}
