.page-wrap.narrow { max-width: 780px; }
.page-wrap.narrow .page-title { margin-bottom: 2.6rem; }

#serviceCards:empty { min-height: 620px; }
#incidentsList:empty { min-height: 96px; }
.status-banner { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; padding: 1.3rem 1.6rem; border-radius: 22px; border: 1px solid rgba(255,255,255,0.09); background: radial-gradient(ellipse 60% 140% at 0 50%, rgba(120,155,240,0.13), transparent 70%), rgba(255,255,255,0.02); box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.status-dot { flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: #dfe8ff; box-shadow: 0 0 0 4px rgba(150,180,255,0.16), 0 0 16px rgba(170,195,255,0.8); }
.status-dot.down { background: #f87171; box-shadow: 0 0 0 4px rgba(239,68,68,0.18), 0 0 16px rgba(239,68,68,0.7); }
.status-dot.unknown { background: var(--text-dim); box-shadow: 0 0 0 4px rgba(138,144,160,0.16); }
.status-banner-text { font-size: 1.15rem; font-weight: 600; }

.service-card { margin-bottom: 1rem; padding: 1.5rem 1.7rem; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.service-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.service-name { font-size: 1.08rem; font-weight: 600; }
.service-badge { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent-3); font-size: 0.85rem; font-weight: 600; }
.service-badge.down { color: #fca5a5; }
.service-badge.unknown { color: var(--text-dim); }
.service-badge .status-dot { width: 8px; height: 8px; box-shadow: 0 0 10px rgba(170,195,255,0.7); }
.service-badge .status-dot.down { box-shadow: 0 0 10px rgba(239,68,68,0.7); }
.service-badge .status-dot.unknown { box-shadow: none; }
.service-uptime { margin-bottom: 1.1rem; color: var(--text-dim); font-size: 0.92rem; }

.uptime-bars { display: flex; align-items: flex-end; gap: 2px; height: 38px; }
.uptime-bar { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #e6eeff, #7f9dea); opacity: 0.9; cursor: default; transition: opacity 0.2s, transform 0.2s; }
.uptime-bar:hover { opacity: 1; transform: scaleY(1.1); }
.uptime-bar.partial { background: #f59e0b; }
.uptime-bar.down { background: #ef4444; }
.uptime-bar.unmonitored { background: rgba(255,255,255,0.08); opacity: 1; }
.uptime-bars-labels { display: flex; justify-content: space-between; margin-top: 0.55rem; color: var(--text-dim); font-size: 0.78rem; }

.incidents-title { display: flex; align-items: center; gap: 0.8rem; margin: 3rem 0 1rem; padding-bottom: 0.9rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.3px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.incidents-title::before { content: ""; width: 3px; height: 16px; border-radius: 3px; background: #f4f7ff; box-shadow: 0 0 10px rgba(170,195,255,0.9), 0 0 24px rgba(120,155,240,0.6); }
.incident-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.95rem; line-height: 1.6; }
.incident-service { flex-shrink: 0; color: #fff; font-weight: 600; }
.incident-range { color: #c9cfdd; }
.incident-reason { color: var(--text-dim); font-size: 0.85rem; }
.incident-duration { flex-shrink: 0; text-align: right; color: var(--text-dim); }
.incident-duration.ongoing { color: #fca5a5; font-weight: 600; }
.empty-note { padding: 0.9rem 0; color: var(--text-dim); font-size: 0.97rem; }
.page-footnote { margin-top: 2.4rem; color: var(--text-dim); font-size: 0.85rem; }

@media (max-width: 700px) {
    .status-banner { padding: 1.1rem 1.2rem; border-radius: 18px; }
    .status-banner-text { font-size: 1.02rem; }
    .service-card { padding: 1.25rem 1.2rem; border-radius: 18px; }
    .uptime-bars { gap: 1px; }
    .incident-row { flex-direction: column; gap: 0.35rem; }
    .incident-duration { text-align: left; }
}
