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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

a {
  color: #1a1a1a;
  text-decoration-color: #999;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-color: #1a1a1a;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tagline {
  color: #555;
  margin-top: 0.25rem;
}

.meta {
  color: #888;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

nav {
  margin-top: 0.4rem;
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Sections */
section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 1rem;
}

/* Definition list */
.dl-list dt {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dl-list dt:first-child {
  margin-top: 0;
}

.dl-list dt a {
  text-decoration: none;
}
.dl-list dt a:hover {
  text-decoration: underline;
  text-decoration-color: #999;
}

.dl-list dd {
  font-size: 0.88rem;
  color: #444;
  margin-left: 0;
  margin-top: 0.15rem;
}

.dl-list dd.sub {
  font-size: 0.8rem;
  color: #888;
}

.dl-list dd.bullet::before {
  content: "- ";
  color: #ccc;
}

.dl-list dd.sub-bullet {
  font-size: 0.85rem;
  color: #555;
  margin-left: 1rem;
  margin-top: 0.1rem;
}

.dl-list dd.sub-bullet::before {
  content: "- ";
  color: #ddd;
}

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  background: #f0f0f0;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.gh-badge:hover {
  background: #e4e4e4;
  color: #333;
  text-decoration: none;
}
.gh-badge svg {
  flex-shrink: 0;
}

.inline-link {
  color: #666;
  text-decoration-color: #ccc;
}
.inline-link:hover {
  color: #1a1a1a;
}

.date {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

.stars {
  font-size: 0.8rem;
  color: #888;
  text-decoration: none;
}
.stars:hover {
  color: #555;
}

/* Talks */
.talks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.talk {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.talk:hover {
  background: #f0f0f0;
}

.talk img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.talk strong {
  display: block;
  font-size: 0.9rem;
}

.talk .date {
  display: block;
}


/* Highlights */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border: 1px solid #ddd;
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  color: #444;
  white-space: nowrap;
  text-decoration: none;
}

.chip strong {
  font-weight: 700;
  color: #1a1a1a;
}

a.chip:hover {
  border-color: #aaa;
  color: #1a1a1a;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

footer a {
  color: #888;
}

/* Responsive */
@media (max-width: 500px) {
  .dl-list dt {
    flex-direction: column;
    gap: 0.1rem;
  }
}
