:root {
    --bg: #1c2538;
    --panel: #111111;
    --accent: #00aff4;
    --text: #ffffff;
    --text-dim: #949ba4;
    --skeleton-base: #1a1b1c;
    --skeleton-highlight: #252627;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.head-image a img {
    width: 200px;
    height: 100%;
}

.container {
    width: 100%;
    background: var(--panel);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

.sk-title {
    width: 150px;
    height: 20px;
}
.sk-pill {
    width: 45px;
    height: 18px;
    border-radius: 10px;
}
.sk-row {
    width: 80%;
    height: 14px;
    margin: 12px 0;
}
.sk-user {
    width: 60%;
    height: 12px;
    margin: 8px 0 8px 30px;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.server-info h1 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.user-count-pill {
    background: rgba(0, 175, 244, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.spacer-center {
    text-align: center;
    color: #a5a5a5;
    font-size: 0.75rem;
    padding: 12px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    margin: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
}

.spacer-repeat {
    text-align: center;
    color: #a5a5a5;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0.2;
    padding: 8px 0;
}

.node {
    width: 100%;
}
.indent {
    margin-left: 18px;
    border-left: 1px solid #222;
    padding-left: 2px;
}
.channel-row {
    display: flex;
    align-items: center;
    padding: 6px 4px;
}

.channel-name {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.channel-name svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

.user-item {
    display: flex;
    align-items: center;
    padding: 4px 0 4px 30px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #23a55a;
    border-radius: 50%;
    margin-right: 10px;
}

.badges {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.7rem;
    color: #444;
}
