@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: dark; --ink: #e4e9e4; --muted: #89928e; --faint: #626b67; --line: #2a312e; --panel: #161b1a; --bg: #101413; --lime: #d7ff62; --coral: #ff806b; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100svh; background: var(--bg); color: var(--ink); font-family: 'Manrope', sans-serif; background-image: radial-gradient(circle at 78% -10%, rgba(215,255,98,.08), transparent 35%), linear-gradient(135deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 48px 48px; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
.shell { max-width: 1380px; margin: auto; padding: 0 48px 38px; }
.topbar { height: 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.brand { display: flex; gap: 12px; align-items: center; font-size: 15px; letter-spacing: -.3px; color: var(--ink); }.brand b { color: var(--lime); font-weight: 600; }.brand-mark { width: 20px; height: 20px; display: flex; align-items: end; gap: 3px; }.brand-mark i { display: block; width: 4px; background: var(--lime); border-radius: 1px; }.brand-mark i:nth-child(1) { height: 9px; opacity: .5; }.brand-mark i:nth-child(2) { height: 14px; opacity: .75; }.brand-mark i:nth-child(3) { height: 20px; }.topbar-right { display: flex; gap: 9px; align-items: center; }.status-dot, .live-pulse { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(215,255,98,.1); }.version { margin-left: 17px; color: var(--faint); font-family: 'DM Mono', monospace; }
.intro { min-height: 260px; padding: 53px 0 45px; display: flex; justify-content: space-between; align-items: end; }.eyebrow, .panel-kicker { color: var(--lime); text-transform: uppercase; letter-spacing: 1.8px; font: 500 10px 'DM Mono', monospace; margin: 0 0 16px; }.intro h1 { font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -3px; margin: 0; font-weight: 700; }.intro h1 em { color: var(--lime); font-style: normal; }.lede { color: var(--muted); line-height: 1.6; max-width: 410px; margin: 25px 0 0; font-size: 13px; }.intro-note { display: flex; gap: 11px; align-items: center; color: var(--muted); font: 11px 'DM Mono', monospace; padding-bottom: 7px; }
.panel { border: 1px solid var(--line); background: rgba(22,27,26,.82); }.control-panel { padding: 27px 28px 17px; }.panel-head { display: flex; justify-content: space-between; align-items: start; }.panel-kicker { color: var(--faint); margin-bottom: 7px; }.panel h2 { font-size: 17px; letter-spacing: -.5px; margin: 0; }.permission-note, .hint-row, footer { color: var(--faint); font: 10px 'DM Mono', monospace; }.controls-grid { display: grid; grid-template-columns: minmax(260px, 2.2fr) minmax(150px, 1fr) minmax(150px, 1fr) 155px; gap: 24px; align-items: end; margin-top: 26px; }.field > span, .action-field > span { display: flex; justify-content: space-between; color: var(--muted); font: 10px 'DM Mono', monospace; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .8px; }.field output { color: var(--lime); }.input-wrap { position: relative; }.input-icon { position: absolute; left: 13px; top: 11px; color: var(--lime); font-size: 17px; }.field input[type=url] { width: 100%; height: 39px; background: #0f1312; border: 1px solid #37403c; color: var(--ink); outline: none; padding: 0 14px 0 36px; font-size: 12px; }.field input[type=url]:focus { border-color: var(--lime); }.field input::placeholder { color: #59625e; }
input[type=range] { appearance: none; width: 100%; height: 3px; background: #39423d; outline: none; margin: 18px 0 17px; }.field input[type=range]::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; background: var(--lime); border: 3px solid #263021; border-radius: 50%; cursor: pointer; }.run-button { height: 39px; width: 100%; border: 1px solid var(--lime); background: var(--lime); color: #121710; font-size: 12px; font-weight: 800; cursor: pointer; }.run-button:hover { background: #ecffae; }.run-button.stop { background: transparent; color: var(--coral); border-color: var(--coral); }.button-icon { margin-right: 7px; }.hint-row { margin-top: 21px; display: flex; gap: 9px; align-items: center; }.hint-row span:first-child { color: var(--lime); font-size: 16px; }.method-pill { margin-left: auto; border: 1px solid var(--line); color: var(--muted); padding: 3px 7px; font-size: 9px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }.stat-card { background: var(--panel); border: 1px solid var(--line); padding: 18px 19px 15px; min-height: 133px; }.stat-top, .stat-foot { display: flex; justify-content: space-between; align-items: center; }.stat-top { color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .8px; }.stat-icon { color: var(--lime); font-size: 18px; }.stat-value { margin: 14px 0 11px; display: flex; align-items: baseline; gap: 7px; }.stat-value strong { font-size: 30px; letter-spacing: -1.5px; font-weight: 600; }.stat-value span { color: var(--muted); font: 10px 'DM Mono', monospace; }.stat-foot { color: var(--faint); font: 9px 'DM Mono', monospace; }.accent-label, .healthy-label { color: var(--lime); }.signal-bars { display: flex; gap: 2px; align-items: end; height: 12px; }.signal-bars i { width: 3px; height: 5px; background: #38413d; }.signal-bars i:nth-child(2) { height: 7px; }.signal-bars i:nth-child(3) { height: 9px; }.signal-bars i:nth-child(4) { height: 11px; }.signal-bars i.on { background: var(--lime); }
.analysis-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; margin-top: 10px; }.chart-panel, .activity-panel { min-height: 365px; padding: 25px 28px 18px; }.chart-legend { display: flex; gap: 19px; color: var(--muted); font: 10px 'DM Mono', monospace; }.chart-legend span { display: flex; gap: 6px; align-items: center; }.legend-line, .legend-dash { width: 15px; border-top: 2px solid var(--lime); }.legend-dash { border-color: #a9b0ab; border-top-style: dashed; }.chart-wrap { height: 260px; margin-top: 24px; position: relative; }.chart-wrap canvas { width: 100%; height: 100%; }.chart-empty { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 11px; color: var(--faint); font: 10px 'DM Mono', monospace; }.chart-empty.hidden { display: none; }.empty-icon { font-size: 27px; color: var(--lime); }.axis-label { position: absolute; color: #59625e; font: 9px 'DM Mono', monospace; }.axis-top { top: 3px; left: 0; }.axis-bottom { bottom: -4px; right: 0; }
.stream-state { border: 1px solid #354139; padding: 4px 8px; color: var(--faint); font: 9px 'DM Mono', monospace; }.stream-state.active { color: var(--lime); border-color: rgba(215,255,98,.4); }.request-list { margin-top: 24px; border-top: 1px solid var(--line); }.empty-stream { padding: 34px 0; color: var(--faint); text-align: center; font: 10px/1.8 'DM Mono', monospace; }.empty-stream span { color: #4c5551; }.request-row { display: grid; grid-template-columns: 10px 1fr 48px 33px; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(42,49,46,.7); font: 10px 'DM Mono', monospace; }.request-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }.request-indicator.bad { background: var(--coral); }.request-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }.request-time { text-align: right; color: var(--ink); }.request-code { text-align: right; color: var(--lime); }.request-indicator.bad + .request-path + .request-time + .request-code { color: var(--coral); }.activity-footer { display: flex; justify-content: space-between; margin-top: 15px; color: var(--faint); font: 9px 'DM Mono', monospace; }
footer { display: flex; justify-content: space-between; margin-top: 23px; padding: 0 2px; }footer span:first-child { color: var(--muted); }footer b { color: var(--lime); font-size: 14px; }
@media (max-width: 900px) { .shell { padding: 0 24px 30px; }.controls-grid { grid-template-columns: 1fr 1fr; }.target-field { grid-column: 1 / -1; }.action-field { grid-column: 1 / -1; }.analysis-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .shell { padding: 0 max(15px, env(safe-area-inset-left)) max(25px, env(safe-area-inset-bottom)); }.topbar { height: 62px; padding-top: env(safe-area-inset-top); }.topbar-right span:not(.status-dot) { display: none; }.intro { min-height: 280px; padding: 42px 0 37px; display: block; }.intro h1 { letter-spacing: -2px; }.intro-note { margin-top: 32px; }.control-panel, .chart-panel, .activity-panel { padding: 21px 17px 16px; }.permission-note { display: none; }.controls-grid { display: block; }.field, .action-field { margin-top: 18px; }.field:first-child { margin-top: 0; }.stats-grid { grid-template-columns: 1fr 1fr; }.stat-card { padding: 14px 13px 12px; min-height: 120px; }.stat-value strong { font-size: 24px; }.stat-foot { display: block; line-height: 1.5; }.stat-foot span:last-child { display: block; margin-top: 2px; }.chart-legend { gap: 8px; }.chart-panel { min-height: 335px; }.chart-wrap { height: 230px; }footer { display: block; line-height: 2; }footer span { display: block; } }
@media (hover: none) and (pointer: coarse) { input[type=range] { height: 5px; margin: 22px 0 20px; } input[type=range]::-webkit-slider-thumb { width: 22px; height: 22px; } .run-button { min-height: 48px; } .field input[type=url] { height: 48px; font-size: 16px; } .request-row { min-height: 44px; } }
