* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #353a3e;
  line-height: 1.5;
  overflow: hidden;
}

h1 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 500px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 10px rgba(53, 58, 62, 0.06), 0 2px 4px rgba(53, 58, 62, 0.08);
  border: 1px solid #e9ebed;
}

a {
  font-weight: 600;
  color: #02807d;
  text-decoration: underline;
  text-decoration-color: rgba(2, 128, 125, 0.5);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

a:hover {
  text-decoration-color: #02807d;
}

hr {
  border: 0;
  height: 1px;
  background: #e9ebed;
  margin: 16px 0;
}

.section-title,
.internal-id {
  font-size: 0.875rem;
}

.internal-id {
  color: #545a61;
  margin-top: 16px;
}

.inline-code {
  display: inline-block;
  background: #f6f6f7;
  color: #353a3e;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: ui-monospace, monospace;
  user-select: all;
  word-break: break-all;
}

.links-section,
.link-item {
  margin: 16px 0;
}

.link-label {
  font-weight: 600;
  margin-bottom: 8px;
}

.link-item.primary .link-label {
  color: #377dff;
}

.link-item a {
  display: block;
  text-decoration: none;
}

.link-item a:hover .inline-code {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.latency-info {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f6f6f7;
}

.latency-info.good {
  background: #d4edda;
  color: #155724;
}
.latency-info.medium {
  background: #fff3cd;
  color: #856404;
}
.latency-info.poor {
  background: #f8d7da;
  color: #721c24;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 16px;
  }
  h1 {
    font-size: 1.125rem;
  }
  .inline-code {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #060b10;
    color: #fff;
  }
  .card {
    background: #060b10;
    border-color: #545a61;
    color: #fff;
  }
  .link-label {
    color: #fff;
  }
  .link-item.primary .link-label {
    color: #6c8bf5;
  }
  .inline-code {
    background: #353a3e;
    color: #fff;
  }
  .latency-info {
    background: #353a3e;
    color: #fff;
  }
}
