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

body {
    background: #0f0f23;
    color: #c0c0d0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    margin-bottom: 28px;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #e0e0f0;
    letter-spacing: -0.02em;
}

.meta {
    font-size: 13px;
    color: #707090;
    margin-top: 4px;
}

.empty {
    color: #606080;
    text-align: center;
    padding: 48px 0;
    font-size: 15px;
}

.site-row {
    background: #1a1a3e;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid #2a2a4e;
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.site-name {
    font-size: 15px;
    font-weight: 600;
    color: #e0e0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-host {
    font-weight: 400;
    font-size: 12px;
    color: #606080;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.up { background: #22c55e; }
.status-dot.down { background: #ef4444; }
.status-dot.none { background: #404060; }

.site-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.uptime-pct {
    font-weight: 700;
    color: #22c55e;
}

.uptime-label {
    color: #606080;
    font-size: 11px;
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.up {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-badge.down {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-badge.none {
    background: rgba(64, 64, 96, 0.3);
    color: #606080;
}

.bar {
    display: flex;
    gap: 1.5px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.bar::-webkit-scrollbar {
    height: 4px;
}

.bar::-webkit-scrollbar-track {
    background: #0f0f23;
    border-radius: 2px;
}

.bar::-webkit-scrollbar-thumb {
    background: #3a3a5e;
    border-radius: 2px;
}

.block {
    width: 10px;
    height: 24px;
    border-radius: 2px;
    flex-shrink: 0;
    transition: opacity 0.15s;
    cursor: pointer;
}

.block:hover {
    opacity: 0.8;
}

.block.up { background: #22c55e; }
.block.down { background: #ef4444; }
.block.none { background: #2a2a4e; }