:root { --page: #1c1c1e; --section: #2c2c2e; --section-2: #3a3a3c; --text: #fff; --hint: #98989f; --sep: rgba(84, 84, 88, .55);
  --ok: #30d158; --warn: #ffd60a; --bad: #ff453a; --none: #48484a; --r: 22px; color-scheme: dark; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--page); color: var(--text); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { width: 100%; height: 100%; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--hint); }
.top { position: sticky; top: 0; z-index: 5; background: rgba(28, 28, 30, .78); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-bottom: .5px solid var(--sep); }
.top__in { display: flex; align-items: center; gap: 12px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #1c1c1e; display: grid; place-items: center; }
.brand__mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top__tag { margin-left: auto; color: var(--hint); font-size: 15px; }
.overall { display: flex; align-items: center; gap: 16px; margin: 32px 0 26px; padding: 22px; border-radius: var(--r); background: var(--section); }
.overall h1 { font-size: clamp(22px, 4.5vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.overall p { font-size: 14px; margin-top: 3px; }
.overall__dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; background: var(--none); position: relative; }
.overall__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s cubic-bezier(.22, 1, .36, 1) infinite; }
.overall.ok .overall__dot { background: var(--ok); } .overall.degraded .overall__dot { background: var(--warn); } .overall.down .overall__dot { background: var(--bad); }
.overall.loading .overall__dot::after { display: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.group { margin-bottom: 22px; }
.group__title { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--hint); margin: 0 4px 8px; }
.group__title span { text-transform: none; letter-spacing: 0; }
.card { background: var(--section); border-radius: var(--r); overflow: hidden; }
.row { padding: 14px 16px 13px; animation: rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.row + .row { border-top: .5px solid var(--sep); }
.row__head { display: flex; align-items: center; gap: 12px; }
.flag { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18); }
.flag.svc { background: var(--section-2); display: grid; place-items: center; }
.flag.svc svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row__name { font-weight: 550; flex: 1; min-width: 0; }
.row__note { color: var(--hint); font-size: 13px; font-weight: 400; margin-left: 6px; }
.pill { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill.ok { color: var(--ok); background: rgba(48, 209, 88, .13); }
.pill.degraded { color: var(--warn); background: rgba(255, 214, 10, .13); }
.pill.down { color: var(--bad); background: rgba(255, 69, 58, .14); }
.bars { display: grid; grid-template-columns: repeat(48, 1fr); gap: 2px; margin-top: 11px; height: 22px; }
.b { display: block; border-radius: 3px; background: var(--none); }
.b.ok { background: var(--ok); opacity: .85; } .b.degraded { background: var(--warn); } .b.down { background: var(--bad); }
.bars .b { height: 100%; transition: transform .2s; } .bars .b:hover { transform: scaleY(1.15); }
.row__foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--hint); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; font-size: 13px; color: var(--hint); margin: 6px 0 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .b { width: 10px; height: 10px; }
.note { font-size: 13.5px; text-align: center; max-width: 560px; margin: 0 auto 8px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 0 40px; color: var(--hint); font-size: 14px; }
.foot nav { display: flex; gap: 16px; } .foot a:hover { color: var(--text); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 560px) { .bars { gap: 1px; height: 20px; } .overall { margin-top: 22px; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

#log { margin-top: 26px; }
.ev { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; animation: rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.ev + .ev { border-top: .5px solid var(--sep); }
.ev .flag { width: 24px; height: 24px; margin-top: 1px; }
.ev__dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 9px; flex-shrink: 0; background: var(--none); }
.ev.ok .ev__dot { background: var(--ok); } .ev.warn .ev__dot { background: var(--warn); } .ev.down .ev__dot { background: var(--bad); } .ev.swap .ev__dot { background: #0a84ff; }
.ev__body { flex: 1; min-width: 0; }
.ev__top { display: flex; justify-content: space-between; gap: 10px; }
.ev__time { color: var(--hint); font-size: 13px; white-space: nowrap; }
.ev__text { color: var(--hint); font-size: 14.5px; margin-top: 1px; }
.ev--empty { color: var(--hint); font-size: 14.5px; justify-content: center; padding: 18px 16px; }
