* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #f6f7f9;
    color: #222;
    line-height: 1.5;
    margin: 0;
    padding: 3rem 1.25rem;
}

main {
    max-width: 560px;
    margin: 0 auto;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #0a4d8c;
}

.meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 2rem;
}

.meta a { color: #0a4d8c; }

h2 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    margin: 0 0 0.75rem;
}

.mirror-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mirror-list li {
    border-bottom: 1px solid #eee;
    padding: 0.75rem 1rem;
}

.mirror-list li:last-child { border-bottom: none; }
.mirror-list li.loading { color: #777; font-size: 0.9rem; }
.mirror-list li.error-load { color: #a33; font-size: 0.9rem; }

.mirror-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.mirror-row a {
    color: #0a4d8c;
    text-decoration: none;
    font-weight: 500;
}

.mirror-row a:hover { text-decoration: underline; }

.mirror-detail {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.2rem;
    font-weight: 400;
}

.status-pill {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-pill.ok { background: #e6f4ea; color: #137333; }
.status-pill.stale { background: #fef7e0; color: #b06000; }
.status-pill.error { background: #fce8e6; color: #c5221f; }
.status-pill.syncing { background: #e8f0fe; color: #1967d2; }
.status-pill.unknown { background: #f1f3f4; color: #5f6368; }

footer {
    font-size: 0.85rem;
    color: #777;
}

footer a { color: #0a4d8c; }

footer code {
    font-size: 0.8rem;
    background: #eee;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
}

#status-updated {
    display: block;
    margin-top: 0.35rem;
}
