* { box-sizing: border-box }
:root { color-scheme: light; --ink:#303438; --muted:#626b72; --rule:#e1e4e7; --accent:#187866; }
body { margin:0; background:#fff; color:var(--ink); font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif }
main { max-width:1160px; padding:0 32px 40px; margin:auto }
header { text-align:center; padding:42px 0 30px }
h1,h2,h3,p { margin:0 }
h1 { font-size:clamp(2rem,4vw,2.8rem); line-height:1.22; letter-spacing:-.045em }
header p { margin-top:9px; color:var(--muted) }
#overview,#routes,.tiles { display:grid; gap:12px }
#overview { grid-template-columns:1fr 1fr }
.overview-card,.probe,.tile { min-width:0; border:1px solid var(--rule); border-radius:7px; background:#fff; box-shadow:0 2px 5px #19252d0a }
.overview-card { padding:16px 22px 20px }
.overview-card h2 { font:650 1.15rem/1.5 "Segoe UI",sans-serif; margin-bottom:8px }
.entry+.entry { border-top:1px solid var(--rule); padding-top:10px; margin-top:10px }
code { display:block; overflow-wrap:anywhere; font-family:Consolas,"SFMono-Regular",monospace; font-variant-numeric:tabular-nums }
.entry code { font-size:clamp(1.1rem,2vw,1.65rem); font-weight:600; line-height:1.35 }
.area { margin-top:6px; color:#50575d; font-size:.875rem; display:flex; gap:8px; align-items:center; line-height:1.45; overflow-wrap:anywhere }
.flag { width:23px; height:17px; object-fit:cover; border-radius:2px; box-shadow:0 0 0 1px #0002; flex:none }
.heading,.controls,.probehead,.identity,.reading,.samples { display:flex; align-items:center }
.heading { justify-content:space-between; gap:12px; margin:27px 0 12px }
.heading h2 { font-size:1.25rem }.controls { gap:14px; font-size:.9rem }
input { accent-color:var(--accent); width:15px;height:15px;vertical-align:-2px }
button { border:1px solid #cbd3d2; border-radius:5px; padding:5px 13px; background:white; color:var(--accent); font:inherit; cursor:pointer }
button:hover { background:#eff7f4 }button:disabled { color:var(--muted);cursor:progress }
#routes { grid-template-columns:repeat(5,minmax(0,1fr)) }
.probe { padding:13px 14px }.probehead { gap:6px;justify-content:space-between;margin-bottom:10px }
.tag { color:#545e62; background:#f0f2f3; border-radius:4px; padding:1px 5px;font-size:.75rem;white-space:nowrap }
.probe code { font-size:.95rem;font-weight:600 }.probe .flag { width:18px;height:13.5px }
.probe .area { gap:5px;font-size:.82rem }.muted,#status { font-size:.88rem;color:var(--muted) }
.sitegroup h3 { font-size:.88rem;color:var(--muted);font-weight:500;margin:11px 0 6px }
.tiles { grid-template-columns:repeat(4,minmax(0,1fr)) }
.tile { display:grid; grid-template-columns:auto 1fr; padding:12px 14px; gap:2px 8px }
.identity { gap:9px; grid-column:1/-1 }.identity img { height:23px;width:23px;object-fit:contain }.host { grid-column:1/-1;color:var(--muted);font-size:.81rem;margin-bottom:6px }
.reading { gap:4px;grid-column:1/-1 }.reading b { font:600 1.15rem Consolas,monospace }.unit,.state,.samples {font-size:.81rem;color:var(--muted)}
.state {margin-left:auto}.samples {grid-column:1/-1;gap:4px}.samples span {margin-left:3px}
.sample,.state:before {content:'';display:inline-block;border-radius:50%;width:6px;height:6px;background:var(--delay-color,#c1c6c9)}
.state:before {margin-right:4px;width:8px;height:8px}
details { font-size:.87rem;color:var(--muted);border-top:1px solid var(--rule);padding-top:13px;margin-top:21px }summary {cursor:pointer}details p {margin:7px 0}
@media(max-width:900px){#routes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){main{padding:0 15px 25px}header{padding:26px 0 21px}header p{font-size:.9rem}#overview,#routes,.tiles{gap:8px}#routes,.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-card,.probe,.tile{padding:11px 12px}.entry code{font-size:1rem}.entry .area{align-items:flex-start;flex-wrap:wrap}.heading{margin-top:20px}.controls{gap:8px}}
@media(max-width:370px){#overview{grid-template-columns:1fr}}
