:root {
  color-scheme:light dark;
  --bg:#fff;
  --text:#303238;
  --muted:#666b73;
  --accent:#a3166c;
  --line:#e3e4e7;
  --soft:#f7f7f9
}
* {
  box-sizing:border-box
}
html {
  font-size:17px;
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
  display:flex;
  flex-direction:column;
  min-height:100vh
}
a {
  color:var(--accent);
  text-underline-offset:.18em
}
a:hover {
  text-decoration:underline
}
a:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px
}
h1,h2,h3 {
  line-height:1.25
}
h1 {
  font-size:2.6rem;
  font-weight:400;
  letter-spacing:-.04em;
  margin:0 0 1rem
}
h2 {
  font-size:1.55rem;
  font-weight:500;
  margin:2rem 0 .8rem
}
h3 {
  font-size:1rem;
  margin:0 0 .3rem;
  font-weight:650
}
p {
  margin:0 0 1rem
}
.container,.header-inner {
  width:min(100% - 3rem,1000px);
  margin-inline:auto
}
.site-header {
  border-bottom:1px solid var(--line);
  margin-bottom:3.3rem
}
.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding:1rem 0
}
.brand {
  font-size:1.15rem;
  font-weight:350;
  color:var(--text);
  text-decoration:none
}
.brand strong {
  font-weight:650
}
nav {
  display:flex;
  gap:1.4rem;
  flex-wrap:wrap
}
nav a {
  color:var(--text);
  text-decoration:none
}
nav a[aria-current] {
  color:var(--accent)
}
main {
  flex:1
}
.intro {
  margin-bottom:2rem
}
.intro h1 {
  margin-bottom:.4rem
}
.subtitle {
  color:var(--muted);
  font-size:1.15rem
}
.with-portrait {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:1.25rem
}
.portrait {
  order:-1;
  width:170px;
  height:170px;
  object-fit:cover;
  border-radius:50%;
  border:1px solid var(--line)
}
.prose p {
  max-width:85ch
}
.intro + .prose p {
  max-width:none
}
.prose img {
  max-width:100%;
  height:auto
}
.prose pre {
  overflow:auto;
  background:var(--soft);
  padding:1rem;
  border:1px solid var(--line);
  border-radius:.3rem;
  font-size:.85rem
}
.prose code {
  font-family:ui-monospace,monospace
}
.prose table {
  display:block;
  overflow-x:auto;
  border-collapse:collapse
}
.prose th,.prose td {
  border:1px solid var(--line);
  padding:.5rem
}
.prose blockquote {
  border-left:3px solid var(--accent);
  padding-left:1rem;
  color:var(--muted)
}
.social {
  margin:1rem 0 0;
  gap:1rem;
  align-items:center
}
.with-portrait .social {
  justify-content:center
}
.with-portrait > div {
  max-width:100%
}
.social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  min-height:44px;
  color:var(--text)
}
.social svg {
  width:30px;
  height:30px;
  fill:currentColor
}
.social a:hover {
  color:var(--accent);
  transform:translateY(-1px)
}
.site-footer {
  margin-top:4rem;
  border-top:1px solid var(--line);
  padding:1.2rem 0;
  color:var(--muted);
  font-size:.8rem
}
.year-group {
  display:grid;
  grid-template-columns:90px 1fr;
  gap:1rem;
  padding:1.7rem 0;
  border-top:1px solid var(--line)
}
.year-group>h2 {
  margin:0;
  color:var(--muted);
  font-size:1.45rem;
  font-weight:400
}
.entry {
  margin-bottom:2rem;
  scroll-margin-top:1rem
}
.entry:last-child {
  margin-bottom:0
}
.entry p {
  margin:0 0 .25rem;
  font-size:.94rem
}
.authors {
  color:var(--muted)
}
.authors strong {
  font-weight:600;
  color:var(--text)
}
.award {
  color:var(--accent)
}
.paper-links {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:.6rem
}
.button {
  font-size:.72rem;
  line-height:1.4;
  text-decoration:none;
  color:var(--text);
  border:1px solid var(--text);
  padding:.25rem .55rem;
  border-radius:.2rem
}
.button:hover {
  background:var(--text);
  color:var(--bg);
  text-decoration:none
}
details {
  margin-top:.65rem
}
summary {
  cursor:pointer;
  color:var(--accent);
  font-size:.85rem
}
.post-meta {
  color:var(--muted);
  font-size:.85rem
}
.post-list {
  padding:0;
  list-style:none
}
.post-list li {
  border-bottom:1px solid var(--line);
  padding:1.5rem 0
}
.post-list h2 {
  margin:.4rem 0
}
.post-list h2 a {
  color:var(--text)
}
.post {
  max-width:800px
}
.back {
  font-size:.85rem
}
.draft {
  color:var(--accent)
}
.skip {
  position:absolute;
  left:1rem;
  top:-100px;
  padding:.5rem;
  background:var(--bg);
  z-index:2
}
.skip:focus {
  top:.5rem
}
@media(prefers-color-scheme:dark) {
  :root {
    --bg:#161719;
    --text:#ececf0;
    --muted:#adb0b8;
    --accent:#ec88c6;
    --line:#37393e;
    --soft:#212327
  }
}
@media(max-width:650px) {
  html {
    font-size:16px
  }
  .container,.header-inner {
    width:calc(100% - 2rem)
  }
  .header-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:.5rem
  }
  nav {
    gap:1.1rem
  }
  .site-header {
    margin-bottom:2rem
  }
  h1 {
    font-size:2.1rem
  }
  .year-group {
    grid-template-columns:1fr;
    gap:1rem
  }
  .social {
    gap:.6rem
  }
  .site-footer {
    margin-top:2.5rem
  }
  .with-portrait {
    gap:1rem
  }
  .portrait {
    width:150px;
    height:150px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .social a:hover {
    transform:none
  }
}
