@charset "UTF-8";
:root {
  --bg: #f5f5f0;
  --text: #112318;
  --text-sec: #3a5848;
  --link: #1a6644;
  --link-ul: #8abea8;
  --label: #6a9a80;
  --divider: #b8d8c8;
  --tag-bg: #c8e8d8;
  --tag-text: #1a6644;
  --toggle-track-bg: #b8d8c8;
  --toggle-thumb-bg: #1a6644;
  --pub-title: #0c1810;
  --pub-authors: #223428;
  --pub-venue: #2e4438;
}

html.dark {
  --bg: #0d1f2d;
  --text: #cce8e0;
  --text-sec: #90c0ac;
  --link: #5ac8a0;
  --link-ul: #2a6050;
  --label: #3a7060;
  --divider: #1a3a30;
  --tag-bg: #1a3a30;
  --tag-text: #5ac8a0;
  --toggle-track-bg: #1a6644;
  --toggle-thumb-bg: #5ac8a0;
  --pub-title: #a8ccc4;
  --pub-authors: #6a9a84;
  --pub-venue: #7aaa92;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Georgia, serif;
  font-size: 14px;
  line-height: 1.78;
  margin: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-ul);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s ease;
}
a:hover {
  text-decoration-color: var(--link);
}

p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

strong {
  font-weight: 500;
}

em {
  font-style: italic;
}

img {
  max-width: 100%;
}

hr {
  border: none;
  border-top: 0.5px solid var(--divider);
  margin: 0;
}

.site-nav {
  max-width: 580px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text-sec);
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--link);
}

.site-main {
  max-width: 580px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.site-footer {
  max-width: 580px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--text-sec);
  border-top: 0.5px solid var(--divider);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.toggle-icon {
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.toggle-track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 20px;
  border: none;
  background: var(--toggle-track-bg);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease;
  flex-shrink: 0;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--toggle-thumb-bg);
  transition: left 0.22s ease, background 0.22s ease;
  pointer-events: none;
}

html.dark .toggle-thumb {
  left: 19px;
}

.section-divider {
  border: none;
  border-top: 0.5px solid var(--divider);
  margin: 2.2rem 0;
}

.section-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--label);
  margin-bottom: 1rem;
}

.bio p {
  margin: 0 0 1em;
}
.bio p:last-child {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}
.social-links a {
  color: var(--text-sec);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.social-links a:hover {
  color: var(--link);
}

.home-section {
  padding: 0;
}

.now-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.now-list li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.4em;
}
.now-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-sec);
}
.now-list li:last-child {
  margin-bottom: 0;
}

.latest-post .post-meta-line {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--text-sec);
  margin-bottom: 0.35rem;
  text-transform: capitalize;
}
.latest-post .latest-title {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 0.45rem;
}
.latest-post .latest-title a {
  text-decoration: none;
  color: var(--text);
}
.latest-post .latest-title a:hover {
  color: var(--link);
}
.latest-post .latest-excerpt {
  color: var(--text-sec);
  font-size: 16px;
  margin-bottom: 0.6rem;
}
.latest-post .read-more {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  text-decoration: none;
  color: var(--link);
}
.latest-post .read-more:hover {
  text-decoration: underline;
  text-decoration-color: var(--link-ul);
}

.pub-entry {
  margin-bottom: 0;
}
.pub-entry p {
  margin: 0 0 0.25rem;
}
.pub-entry .pub-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--pub-title);
}
.pub-entry .pub-authors {
  font-size: 12px;
  color: var(--pub-authors);
}
.pub-entry .pub-venue {
  font-size: 12px;
  font-style: italic;
  color: var(--pub-venue);
  opacity: 0.82;
  margin-bottom: 0.1rem;
}
.pub-entry .pub-links {
  margin-top: 0.1rem;
  margin-bottom: 0;
}
.pub-entry .pub-link {
  font-size: 12px;
  color: var(--link);
  text-decoration: none;
}
.pub-entry .pub-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--link-ul);
}

.pub-divider {
  border: none;
  border-top: 0.5px solid var(--divider);
  margin: 1.2rem 0;
}

.page-header {
  margin-bottom: 1.8rem;
}
.page-header .page-title {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 0.4rem;
}
.page-header .page-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-sec);
  margin: 0;
  line-height: 1.5;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--text-sec);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-tab.active {
  background: var(--tag-bg);
  color: var(--tag-text);
  border-color: transparent;
  font-weight: 500;
}
.filter-tab:hover:not(.active) {
  border-color: var(--link-ul);
  color: var(--link);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--divider);
}
.post-item:first-child {
  border-top: 0.5px solid var(--divider);
}
.post-item .post-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.post-item .post-item-title {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 17px;
  text-decoration: none;
  color: var(--text);
}
.post-item .post-item-title:hover {
  color: var(--link);
}
.post-item .post-item-desc {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.4;
}
.post-item .post-item-date {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--text-sec);
  white-space: nowrap;
  flex-shrink: 0;
}

.post .post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 0.5px solid var(--divider);
}
.post .post-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.post .post-meta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--text-sec);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.post .tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: capitalize;
}
.post .post-content h2, .post .post-content h3, .post .post-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.post .post-content ul, .post .post-content ol {
  padding-left: 1.6rem;
}
.post .post-content blockquote {
  border-left: 2px solid var(--divider);
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: var(--text-sec);
  font-style: italic;
}
.post .post-content code {
  font-size: 15px;
  background: var(--tag-bg);
  padding: 1px 5px;
  border-radius: 3px;
}
.post .post-content pre {
  background: var(--tag-bg);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}
.post .post-content pre code {
  background: none;
  padding: 0;
}
.post .post-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--divider);
  font-family: "Inter", sans-serif;
  font-size: 12px;
}
.post .post-back a {
  text-decoration: none;
  color: var(--text-sec);
}
.post .post-back a:hover {
  color: var(--link);
}

.resume-redirect {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--text-sec);
  padding-top: 1rem;
}

/*# sourceMappingURL=main.css.map */