:root { --bg: #07080d; --panel: #11131b; --line: rgba(255,255,255,.1); --text: #f0eee8; --muted: #858895; --cyan: #9ae1ff; --orange: #ffb55b; --green: #8ee2a6; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { background: radial-gradient(circle at 76% 8%, rgba(68,71,130,.22), transparent 34rem), var(--bg); }
.monitor-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 30px; }
.monitor-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-bottom: 42px; }
.eyebrow, .pipeline-head, .section-title, footer, .metric-card small { color: var(--muted); font: 500 10px/1.2 "DM Mono", monospace; letter-spacing: .14em; }
.pulse { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1 { margin: 20px 0 10px; font-size: clamp(36px, 5vw, 66px); line-height: .95; letter-spacing: -.07em; }
.monitor-header p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.server-state { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font: 500 10px "DM Mono", monospace; white-space: nowrap; }
.server-state span { width: 7px; height: 7px; border-radius: 50%; background: #777581; }
.server-state.online { color: var(--green); border-color: rgba(142,226,166,.25); }.server-state.online span { background: var(--green); box-shadow: 0 0 11px var(--green); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric-card { min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,19,27,.82); }
.metric-card > span { display: block; color: var(--muted); font-size: 12px; }.metric-card strong { display: block; margin: 18px 0 9px; font: 400 36px/1 "DM Mono", monospace; letter-spacing: -.08em; }.metric-card small { font-size: 8px; }.metric-card.accent { border-color: rgba(255,181,91,.28); }.metric-card.accent strong { color: var(--orange); font-size: 22px; letter-spacing: -.04em; }
.pipeline, .event-section { margin-top: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,19,27,.7); }.pipeline-head, .section-title { display: flex; justify-content: space-between; }.pipeline-head span:last-child { color: #b8b5bd; letter-spacing: .02em; }
.flow-track { display: flex; align-items: center; margin: 44px 4% 30px; }.flow-node { flex: 0 0 auto; display: grid; gap: 8px; min-width: 120px; }.flow-node i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(154,225,255,.35); border-radius: 50%; color: var(--cyan); font: 10px "DM Mono", monospace; font-style: normal; }.flow-node.server i { border-color: rgba(255,181,91,.4); color: var(--orange); }.flow-node b { font-size: 13px; }.flow-node small { color: var(--muted); font: 9px "DM Mono", monospace; }.flow-line { flex: 1; height: 1px; margin: 0 10px; background: var(--line); position: relative; }.flow-line span { position: absolute; left: 0; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); animation: travel 2.6s linear infinite; }.flow-line:nth-of-type(4) span { animation-delay: .5s; } @keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } to { left: 100%; opacity: 0; } }
.section-title button { border: 0; color: var(--muted); background: transparent; font: 10px "DM Mono", monospace; cursor: pointer; }.section-title button:hover { color: var(--text); }.event-list { display: grid; gap: 7px; max-height: 300px; overflow: auto; margin-top: 18px; }.empty-state { padding: 28px; color: var(--muted); text-align: center; font-size: 12px; }.event-row { display: grid; grid-template-columns: 72px 84px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: rgba(255,255,255,.025); animation: arrive .35s ease-out; }.event-time, .event-stage { color: var(--muted); font: 10px "DM Mono", monospace; }.event-stage { color: var(--cyan); }.event-stage.process { color: var(--orange); }.event-stage.broadcast { color: var(--green); }.event-message { font-size: 12px; }.event-meta { color: var(--muted); font: 9px "DM Mono", monospace; } @keyframes arrive { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.privacy-panel { margin-top: 18px; padding: 23px; border: 1px solid rgba(208,156,255,.25); border-radius: 14px; background: rgba(17,19,27,.7); }.panel-note { max-width: 820px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.privacy-status { margin-top: 18px; padding: 14px; border: 1px solid rgba(154,225,255,.16); border-radius: 10px; color: #bdeaff; background: rgba(0,0,0,.25); font: 12px/1.65 "DM Mono", monospace; }
footer { margin-top: 22px; font-size: 8px; text-align: right; }
@media (max-width: 760px) { .monitor-shell { width: min(100% - 28px, 600px); padding-top: 30px; }.monitor-header { display: block; }.server-state { display: inline-flex; margin-top: 23px; }.metrics { grid-template-columns: repeat(2, 1fr); }.flow-track { align-items: stretch; flex-direction: column; gap: 0; margin: 28px 0; }.flow-node { grid-template-columns: 32px 1fr; align-items: center; gap: 0 10px; min-height: 52px; }.flow-node small { grid-column: 2; }.flow-line { flex: 0 0 18px; width: 1px; height: auto; margin: 0 0 0 15px; }.flow-line span { top: 0; left: -2px; animation: fall 2.6s linear infinite; } @keyframes fall { from { top: 0; opacity: 0; } to { top: 100%; opacity: 0; } }.event-row { grid-template-columns: 64px 70px 1fr; gap: 8px; }.event-meta { grid-column: 3; } }
