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

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Sync badge */
.sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sync-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    transition: background 0.3s;
}

.sync-badge.synced .sync-dot {
    background: #10b981;
}

.sync-badge.synced {
    color: #555;
}

.sync-badge.error .sync-dot {
    background: #ef4444;
}

.sync-badge.error {
    color: #ef4444;
}

/* Time */
.time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.sep {
    opacity: 0.3;
}

.ms {
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.4;
    vertical-align: baseline;
}

/* Device drift */
.drift {
    font-size: 0.85rem;
    color: #666;
}

.drift strong {
    color: #3b82f6;
    font-weight: 600;
}

/* Meta row */
.meta {
    display: flex;
    gap: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta span span {
    color: #666;
}

/* Responsive */
@media (max-width: 640px) {
    .time {
        font-size: 3rem;
    }

    .ms {
        font-size: 1.2rem;
    }

    .meta {
        gap: 1rem;
        font-size: 0.6rem;
    }
}