:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
  background: #0b234b;
}
.page {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(100px, 26vh, 300px) 18px 84px;
  background:
    radial-gradient(ellipse 70% 19% at 50% 84%, rgba(112, 221, 255, .78), transparent 73%),
    linear-gradient(132deg, transparent 28%, rgba(130, 227, 255, .45) 28.3%, transparent 29.2%),
    linear-gradient(48deg, transparent 28%, rgba(130, 227, 255, .45) 28.3%, transparent 29.2%),
    linear-gradient(145deg, #102a57 0%, #16386f 41%, #285d9d 70%, #081d45 100%);
}
.page::before, .page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.page::before {
  background:
    linear-gradient(118deg, transparent 32%, rgba(122, 224, 255, .42) 32.3%, transparent 32.8%),
    linear-gradient(62deg, transparent 32%, rgba(122, 224, 255, .42) 32.3%, transparent 32.8%),
    linear-gradient(108deg, transparent 44%, rgba(174, 234, 255, .18) 44.2%, transparent 44.6%),
    linear-gradient(72deg, transparent 44%, rgba(174, 234, 255, .18) 44.2%, transparent 44.6%);
  opacity: .8;
}
.page::after {
  background:
    linear-gradient(174deg, transparent 85%, rgba(139, 232, 255, .65) 85.2%, transparent 85.5%),
    radial-gradient(ellipse 55% 13% at 50% 88%, rgba(96, 192, 249, .7), transparent 78%);
}
.panel {
  width: min(700px, 100%);
  align-self: flex-start;
  padding: 0 80px 38px;
  background: linear-gradient(180deg, rgba(4, 29, 69, .86), rgba(11, 53, 101, .61));
  text-align: center;
  box-shadow: 0 18px 46px rgba(1, 11, 33, .18);
}
.brand {
  position: relative;
  display: flex;
  width: 178px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  margin: 0 auto 6px;
  border: 1px solid #addcff;
  border-radius: 6px;
  background: linear-gradient(#9ad1fa, #4d9be0 48%, #1d5ca8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -1px 2px rgba(4, 49, 105, .45), 0 4px 12px rgba(0, 10, 42, .38);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(12, 53, 110, .8);
}
.brand::before {
  content: "";
  position: absolute;
  inset: 1px 1px 51%;
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, .17);
  pointer-events: none;
}
.brand > span { position: relative; }
.brand-mark {
  display: block;
  width: 18px;
  height: 16px;
  margin-top: 5px;
  border: 2px solid #f4fbff;
  border-radius: 2px;
  background: rgba(20, 85, 158, .2);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -7px;
  width: 8px;
  height: 6px;
  border: 2px solid #f4fbff;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 6px;
  border-top: 2px solid rgba(255, 255, 255, .9);
}
.intro h1, .checks h2 { margin: 0; color: #fff500; font-size: 18px; font-weight: 800; }
.intro p { margin: 3px 0 14px; color: #f3f9ff; font-size: 13px; font-weight: 700; }
.site-info { margin: 0; padding: 12px 8px; border-block: 1px dashed rgba(231, 244, 255, .65); }
.site-info > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 27px; gap: 8px; }
.site-info dt, .site-info dd { margin: 0; font-size: 14px; font-weight: 700; }
.site-info dd { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.routes { list-style: none; margin: 9px auto 13px; padding: 0; max-width: 340px; }
.routes li { margin: 0; }
.routes a {
  display: grid;
  width: 100%;
  min-height: 32px;
  grid-template-columns: minmax(75px, 1fr) 98px 32px;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}
.routes a:hover { background: rgba(255, 255, 255, .1); }
.routes a:focus-visible, .checks a:focus-visible { outline: 2px solid #fff500; outline-offset: 2px; border-radius: 3px; }
.route-name { font-size: 16px; font-weight: 800; }
.route-latency { color: #45f36c; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; text-shadow: 0 0 6px rgba(20, 192, 69, .27); }
.route-badge { color: #ffda47; font-size: 27px; line-height: 1; text-shadow: 0 0 5px rgba(255, 225, 88, .9), 0 0 12px rgba(255, 199, 43, .47), 0 1px 1px rgba(109, 74, 0, .8); }
.route-badge[hidden] { display: none; }
.routes li:is([data-recommended="true"], .is-recommended) .route-name { color: #fff8d8; }
.routes li[data-retirement="retired"] a { grid-template-columns: 68px minmax(0, 1fr); cursor: default; }
.routes li[data-retirement="retired"] a:hover { background: transparent; }
.routes li[data-retirement="retired"] .route-latency { color: #ffd16e; font-size: 13px; text-shadow: none; white-space: nowrap; }
.routes li[data-retirement="loading"] .route-latency { color: #d2e9f8; font-size: 13px; text-shadow: none; }
.routes li[data-retirement="unavailable"] a { grid-template-columns: 68px minmax(0, 1fr); cursor: default; }
.routes li[data-retirement="unavailable"] .route-latency { color: #ffd16e; font-size: 12px; text-shadow: none; overflow-wrap: anywhere; }
.checks { border-top: 1px dashed rgba(231, 244, 255, .65); padding: 17px 0 0; }
.checks ul { list-style: none; padding: 4px 0 0; margin: 0; }
.checks li { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6px; min-height: 28px; align-items: center; color: #f1f9ff; font-size: 14px; }
.checks a, .checks a:visited { color: #e9f7ff; text-decoration-color: rgba(201, 232, 255, .5); text-underline-offset: 3px; }
.checks a:hover { color: #fff; text-decoration-color: #fff; }
.checks [data-check-status] { color: #d2e9f8; }
@media (max-width: 600px) {
  .page { padding: 54px 12px 60px; }
  .panel { padding: 0 18px 32px; }
  .site-info > div { grid-template-columns: max-content minmax(0, 1fr); }
  .routes a { grid-template-columns: minmax(60px, 1fr) 98px 32px; }
  .route-latency { overflow-wrap: anywhere; }
  .checks li { grid-template-columns: minmax(0, 1fr) auto; font-size: 12px; }
  .checks li a { overflow-wrap: anywhere; text-align: left; }
}
@media (max-width: 320px) {
  .routes a { grid-template-columns: 62px minmax(0, 1fr) 28px; }
  .route-latency { font-size: 13px; }
}
