:root {
    color-scheme: dark;
    --bg: #0c0d11;
    --surface: #17181e;
    --border: #262832;
    --text-high: #f5f6fa;
    --text-mid: #9297a8;
    --text-low: #5b6070;
    --accent: #2f7dff;
    --accent-ink: #ffffff;
    --online: #37b98a;
    --online-dim: rgba(55, 185, 138, 0.16);
    --offline: #e6534b;
    --offline-dim: rgba(230, 83, 75, 0.16);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text-high);
    font-family: var(--font);
    line-height: 1.5;
}

.wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.brand {
    text-align: center;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    margin-bottom: 14px;
}

.brand-mark svg {
    width: 26px;
    height: 26px;
}

.wordmark {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

.wordmark .accent {
    color: var(--accent);
}

.tagline {
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-low);
}

h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 28px 0 0;
    text-wrap: balance;
}

.bookmark {
    margin: 16px 0 0;
    font-size: 0.95rem;
}

.intro {
    margin: 10px auto 0;
    max-width: 520px;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.updated {
    margin: 18px 0 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-low);
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-low);
    margin: 0 0 12px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.card:hover {
    border-color: var(--accent);
    background: #191b22;
}

.card-host {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card-desc {
    margin-top: 3px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.45;
}

.status {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 5px 10px 5px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

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

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.status.online .dot {
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--online-dim); }
    50% { box-shadow: 0 0 0 4px var(--online-dim); }
}

@media (prefers-reduced-motion: reduce) {
    .status.online .dot {
        animation: none;
    }
}

.empty {
    color: var(--text-low);
    font-size: 0.85rem;
    padding: 4px 0 32px;
}

.seo h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 26px 0 8px;
}

.seo h2:first-child {
    margin-top: 0;
}

.seo p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-low);
    font-size: 12px;
    line-height: 1.6;
}
