@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.site-header {
  padding: 0.875rem 3rem;
  border-bottom: 1px solid #eee;
}
@media (max-width: 600px) {
  .site-header {
    padding: 0.75rem 1.5rem;
  }
}

.nav {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-logo:hover {
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #1a1a1a;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: #999;
}
.site-footer .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: #999;
  text-decoration: none;
}
.footer-links a:hover {
  color: #1a1a1a;
}

.blog-list-wrapper {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 2.5rem;
}
@media (max-width: 1200px) {
  .blog-list-wrapper {
    grid-template-columns: 180px 1fr;
  }
}
@media (max-width: 900px) {
  .blog-list-wrapper {
    grid-template-columns: 1fr;
  }
}

.blog-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  grid-column: 2;
}
@media (max-width: 900px) {
  .blog-list {
    grid-column: 1;
  }
}

.blog-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.blog-item:hover {
  background-color: #fafafa;
  transform: translateX(4px);
}
@media (max-width: 600px) {
  .blog-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.blog-item-date {
  font-size: 0.95rem;
  color: #999;
  padding-top: 0.2rem;
}

.blog-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}
.blog-item-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-item-title a:hover {
  color: #666;
}

.blog-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-item-author {
  font-size: 0.9rem;
  color: #999;
}

.blog-item-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  font-size: 0.6rem;
  color: #999;
  background: #f0f0f0;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tag:hover {
  background: #e5e5e5;
  color: #666;
}

.post {
  padding-bottom: 2rem;
}

.post-header {
  margin-bottom: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 901px) {
  .post-header {
    margin-left: calc(180px + 2.5rem);
    margin-right: calc(220px + 2.5rem);
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .post-header {
    margin-right: 0;
  }
}

.post-meta {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1rem;
}
.post-meta .post-author::after {
  content: " · ";
}

.post-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (max-width: 600px) {
  .post-title {
    font-size: 2rem;
  }
}

.post-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.post-layout {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 2.5rem;
  position: relative;
}
@media (max-width: 1200px) {
  .post-layout {
    grid-template-columns: 180px 1fr;
  }
}
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.post-main {
  max-width: 860px;
  min-width: 0;
}

.citations-sidebar {
  position: relative;
}
@media (max-width: 1200px) {
  .citations-sidebar {
    display: none;
  }
}

.sidenote {
  position: absolute;
  width: 200px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #999;
}
.sidenote a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sidenote a:hover {
  color: #666;
}

.sidenote-num {
  font-size: 0.7rem;
  color: #999;
  vertical-align: super;
  margin-right: 0.25rem;
}

.sidenote-content p {
  margin: 0;
  display: inline;
}

@media (max-width: 900px) {
  .toc-sidebar {
    display: none;
  }
}

.toc {
  position: sticky;
  top: 2rem;
}

.toc-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 1rem;
}

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

.toc-item {
  margin-bottom: 0.5rem;
}
.toc-item.toc-item-sub {
  padding-left: 0.75rem;
}
.toc-item.toc-item-sub .toc-link {
  font-size: 0.8rem;
}

.toc-link {
  font-size: 0.85rem;
  color: #999;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
  transition: color 0.15s ease, border-color 0.15s ease;
  line-height: 1.4;
}
.toc-link:hover {
  color: #1a1a1a;
}
.toc-link.active {
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.post-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.post-content p {
  margin-bottom: 1.5rem;
}
.post-content a {
  color: #1a1a1a;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.25s ease, color 0.2s ease;
}
.post-content a:hover {
  color: #666;
  background-size: 100% 1px;
}
.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.post-content li {
  margin-bottom: 0.5rem;
}
.post-content blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid #eee;
  color: #666;
  font-style: italic;
}
.post-content blockquote p {
  margin-bottom: 0.5rem;
}
.post-content blockquote cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  color: #999;
  margin-top: 0.5rem;
}
.post-content img {
  max-width: calc(100% + 100px);
  width: calc(100% + 100px);
  margin-left: -50px;
  height: auto;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  cursor: zoom-in;
  border-radius: 8px;
}
@media (max-width: 1000px) {
  .post-content img {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }
}
.post-content figure {
  margin: 2rem 0;
  max-width: calc(100% + 100px);
  margin-left: -50px;
}
@media (max-width: 1000px) {
  .post-content figure {
    max-width: 100%;
    margin-left: 0;
  }
}
.post-content figure img {
  margin: 0;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}
.post-content figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #999;
  text-align: left;
  padding-left: 50px;
}
@media (max-width: 1000px) {
  .post-content figure figcaption {
    padding-left: 0;
  }
}
.post-content figure figcaption strong, .post-content figure figcaption b {
  color: #666;
}
.post-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 3rem 0;
}
.post-content table {
  width: auto;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
.post-content th, .post-content td {
  padding: 0.4rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.post-content th {
  font-weight: 600;
  color: #999;
  font-size: 0.75rem;
  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
}
.post-content tr:last-child td {
  border-bottom: none;
}
.post-content td.highlight, .post-content th.highlight {
  background: #e8f5e9;
}
.post-content td u, .post-content td .underline {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}
.post-content td.center, .post-content th.center {
  text-align: center;
}
.post-content td .indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.75rem;
  vertical-align: middle;
}
.post-content td .indicator.blue {
  background: #1976d2;
}
.post-content td .indicator.light-blue {
  background: #64b5f6;
}
.post-content td .indicator.green {
  background: #81c784;
}
.post-content td .indicator.orange {
  background: #ffb74d;
}
.post-content td .indicator.red {
  background: #e57373;
}
.post-content td .indicator.purple {
  background: #ba68c8;
}
.post-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875em;
  background: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}
.post-content pre {
  background: #f8f8f8;
  color: #333;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.8rem;
  line-height: 1.6;
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.post-content pre:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.post-content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.post-content .footnotes {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: #666;
}
.post-content .footnotes ol {
  padding-left: 1.25rem;
}
.post-content .footnotes li {
  margin-bottom: 0.75rem;
}
.post-content sup {
  font-size: 0.75em;
}
.post-content sup a {
  text-decoration: none;
  color: #1a1a1a;
}
.post-content sup a:hover {
  text-decoration: underline;
}

.katex-display {
  margin: 1.25rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.katex-display > .katex {
  font-size: 1em;
}

.katex {
  font-size: 0.85em;
}

@media (max-width: 600px) {
  .post-content pre {
    font-size: 0.7rem;
    padding: 0.75rem 1rem;
  }
  .post-content code {
    font-size: 0.8em;
  }
  .katex {
    font-size: 0.75em;
  }
  .katex-display > .katex {
    font-size: 0.9em;
  }
}
.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.pagination {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 600px) {
  .pagination {
    flex-direction: column;
    gap: 1rem;
  }
}

.pagination-prev,
.pagination-next {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.pagination-prev:hover,
.pagination-next:hover {
  color: #666;
}

.pagination-prev:hover {
  transform: translateX(-3px);
}

.pagination-next:hover {
  transform: translateX(3px);
}

.pagination-prev .pagination-text {
  text-align: left;
}

.pagination-next {
  margin-left: auto;
}
.pagination-next .pagination-text {
  text-align: right;
}

.pagination-arrow {
  color: #999;
}

.keyboard-hint {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

.page-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.page-title {
  display: none;
}

.page-content {
  font-size: 1.05rem;
  line-height: 1.75;
}
.page-content p {
  margin-bottom: 1.5rem;
}
.page-content a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover {
  color: #666;
}
.page-content h2 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}
.page-content h3 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}
.page-content ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.page-content li {
  margin-bottom: 0.5rem;
  padding-left: 0;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.about-hero {
  margin-bottom: 4rem;
}
.about-hero .about-hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 600px) {
  .about-hero .about-hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
.about-hero .about-photo {
  flex-shrink: 0;
}
.about-hero .about-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.about-hero .about-photo .photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.05em;
}
.about-hero .about-intro h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}
@media (max-width: 600px) {
  .about-hero .about-intro h1 {
    font-size: 2rem;
  }
}
.about-hero .about-intro .tagline {
  font-size: 1.25rem;
  color: #999;
  margin: 0 0 0.35rem 0;
}
.about-hero .about-intro .location {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

.about-numbered {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 600px) {
  .about-numbered {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.section-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.section-content h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.section-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.section-content p:last-child {
  margin-bottom: 0;
}
.section-content p strong {
  color: #1a1a1a;
  font-weight: 500;
}
.section-content a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #999;
}
.section-content a:hover {
  text-decoration-color: #1a1a1a;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.experience-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .experience-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.exp-period {
  font-size: 0.85rem;
  color: #999;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.exp-content {
  display: flex;
  flex-direction: column;
}

.exp-role {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.exp-team {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.2rem;
  font-style: italic;
}

.exp-details {
  margin: 0.75rem 0 0 0;
  padding-left: 0;
  list-style: none;
}
.exp-details li {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}
.exp-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ccc;
}

.link-list {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.link-list a {
  font-size: 0.95rem;
  color: #1a1a1a;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #eee;
  transition: border-color 0.15s ease;
}
.link-list a:hover {
  border-color: #1a1a1a;
}
@media (max-width: 600px) {
  .link-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: #666;
  background: #f5f5f5;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.tool-tag:hover {
  background: #ebebeb;
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .social-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.social-link svg {
  color: #999;
  transition: color 0.15s ease;
}
.social-link:hover {
  color: #666;
}
.social-link:hover svg {
  color: #1a1a1a;
}

.about-contact {
  margin-top: 4rem;
  padding: 2.5rem;
  background: #fafafa;
  border-radius: 8px;
  text-align: center;
}
.about-contact h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.about-contact p {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 1.5rem;
}
.about-contact .contact-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: #fff;
  background: #1a1a1a;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.about-contact .contact-btn:hover {
  color: #fff;
  opacity: 0.8;
}

.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
  color: #6a737d;
  font-style: italic;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kv {
  color: #d73a49;
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sr, .highlight .sx {
  color: #032f62;
}
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .mx {
  color: #005cc5;
}
.highlight .na {
  color: #6f42c1;
}
.highlight .nb {
  color: #005cc5;
}
.highlight .nc {
  color: #6f42c1;
}
.highlight .nf, .highlight .fm {
  color: #6f42c1;
}
.highlight .no {
  color: #005cc5;
}
.highlight .nd {
  color: #6f42c1;
}
.highlight .ni {
  color: #24292e;
}
.highlight .ne {
  color: #d73a49;
}
.highlight .nn {
  color: #24292e;
}
.highlight .nt {
  color: #22863a;
}
.highlight .nv, .highlight .vi, .highlight .vg, .highlight .vc {
  color: #e36209;
}
.highlight .o, .highlight .ow {
  color: #d73a49;
}
.highlight .p {
  color: #24292e;
}
.highlight .ss {
  color: #005cc5;
}
.highlight .err {
  color: #d73a49;
}
.highlight .gd {
  color: #d73a49;
  background: #ffeef0;
}
.highlight .gi {
  color: #22863a;
  background: #e6ffed;
}

.medium-zoom-overlay {
  z-index: 1000;
  background: #fff !important;
}

.medium-zoom-image--opened {
  z-index: 1001;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #1a1a1a;
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

.post-reading-time::before {
  content: " · ";
}

.code-block-wrapper {
  position: relative;
}
.code-block-wrapper .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #999;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.code-block-wrapper .copy-btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}
.code-block-wrapper .copy-btn.copied {
  color: #22863a;
  border-color: #22863a;
}
.code-block-wrapper:hover .copy-btn {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: #999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.back-to-top:hover {
  background: #f5f5f5;
  color: #1a1a1a;
  border-color: #d0d0d0;
  transform: translateY(-2px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 600px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

.projects-page {
  max-width: 700px;
  margin: 0 auto;
}

.projects-intro {
  margin-bottom: 3rem;
}
.projects-intro p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
}

.projects-coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  margin: 2rem 0;
}
.projects-coming-soon .coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.projects-coming-soon h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
  color: #1a1a1a;
}
.projects-coming-soon p {
  color: #999;
  font-size: 0.95rem;
  margin: 0;
}
.projects-coming-soon p a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.projects-coming-soon p a:hover {
  color: #666;
}

.project-card {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.project-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.project-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  background: #f0f0f0;
  border-radius: 3px;
  color: #999;
}

.project-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fafafa;
  border-radius: 6px;
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat .stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}
.stat .stat-label {
  font-size: 0.75rem;
  color: #999;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tech-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #e8f4f8;
  color: #0969da;
  border-radius: 3px;
}

.project-links {
  display: flex;
  gap: 1.5rem;
}
.project-links a {
  font-size: 0.85rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.project-links a:hover {
  color: #666;
}

.error-page {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}
.error-page .error-code {
  font-size: 6rem;
  font-weight: 600;
  color: #eee;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.error-page p {
  color: #999;
  margin-bottom: 2rem;
}
.error-page .error-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: #fff;
  background: #1a1a1a;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.error-page .error-link:hover {
  opacity: 0.8;
}

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