:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1c1d1f;
  --text-dim: #6b6f76;
  --border: #e4e4e7;
  --accent: #2563eb;
  --accent-bg: #eaf1ff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #191b1f;
    --text: #edeef0;
    --text-dim: #9b9fa8;
    --border: #2b2d33;
    --accent: #5b8def;
    --accent-bg: #1c2740;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 24px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
}

.ip {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
}

.hint {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

.copy-btn {
  margin-top: 20px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.copy-btn:hover { filter: brightness(0.97); }

.table-section { margin-bottom: 36px; }
.table-section h2 { font-size: 18px; margin: 0 0 6px; }
.section-desc { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td:nth-child(4) { white-space: normal; min-width: 220px; }
th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }

.mono { font-family: var(--mono); }
.dim { color: var(--text-dim); font-size: 12px; }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.foot { text-align: center; color: var(--text-dim); font-size: 13px; }
.foot code {
  font-family: var(--mono);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 6px;
}
