:root {
  --brand: #e31c23;
  --brand-deep: #c4181e;
  --paper: #fff5f5;
  --card: #fff;
  --ink: #1a1a1a;
  --muted: #7a6b6b;
  --ok: #12b76a;
  --slow: #f79009;
  --fail: #e31c23;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1100px 480px at 50% -90px, #ffd6d6 0%, var(--paper) 58%);
  color: var(--ink);
}
button { font: inherit; }
.page { min-height: 100vh; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #e31c23, #ff4d52);
  color: #fff;
}
.top-msg { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.star { color: #ffe08a; }
.top-btn {
  border: 0;
  background: #fff;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.main { width: min(640px, 100%); margin: 0 auto; padding: 28px 16px 48px; }
.brand-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.brand-lockup { flex: 1; display: flex; justify-content: center; align-items: center; gap: 12px; }
.brand-mark { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: block; box-shadow: 0 8px 18px #16325c22; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.brand-copy strong { font-size: 28px; letter-spacing: 1px; }
.brand-copy small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 18px 16px 10px;
  box-shadow: 0 10px 28px #e31c2314;
  margin-bottom: 16px;
}
h2 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
}
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  border-top: 1px solid #eef3fb;
}
.row:first-child { border-top: 0; }
.row-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.idx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fde8e8;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.row-title { font-weight: 600; }
.row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ping {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 13px;
  color: #94a3b8;
  min-width: 5.6em;
  text-align: right;
}
.ping-ico { display: block; flex-shrink: 0; }
.row.is-fastest .ping { color: #2bd66b; font-weight: 600; }
.ping[data-tone=fail] { color: #94a3b8; }
.go {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.empty, .muted, .err { text-align: center; color: var(--muted); padding: 12px; }
