:root {
  --text: #111;
  --muted: #555;
  --link: #1a73e8;
  --border: #e5e7eb;
  --code-bg: #f6f8fa;
  --highlight: #fff7ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.hero {
  text-align: center;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

.venue {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0 10px;
}

.authors {
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.authors a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.sep {
  margin-right: 8px;
}

.affiliation {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.3);
}

.pill svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

section {
  margin-top: 40px;
}

ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 8px;
}

img.figure {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  border-bottom: 2px solid #d1d5db;
}

tr.ours td {
  background: var(--highlight);
}

pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer {
  margin-top: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .container {
    padding-top: 28px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .venue {
    font-size: 1.2rem;
  }

  .authors {
    font-size: 1.05rem;
  }
}
