@font-face {
  font-family: "TASA";
  src: url('/fonts/TASA/TASAOrbiterDisplay-Regular.otf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TASA";
  src: url('/fonts/TASA/TASAOrbiterDisplay-Black.otf') format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  background: #ffffff;
  color: #111111;
  font-family: "TASA", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}

.top-nav {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-nav a {
  color: rgba(140, 140, 140, 0.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.top-nav a:hover {
  color: #000000;
}

html.theme-dark .top-nav a:hover {
  color: #ffffff;
}

.top-nav a.nav-home {
  display: inline-flex;
  align-items: center;
}

.top-nav a.nav-bulle {
  color: #FF0060;
}

.top-nav a.nav-bulle:hover {
  opacity: 0.75;
}

@media only screen and (max-width: 800px) {
  .top-nav {
    top: 24px;
    right: 18px;
    left: 56px;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
  }

  .top-nav a {
    font-size: 12px;
  }
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
  font-size: 13px;
  color: #777777;
}

.topbar a {
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: #000000;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.secret-lock {
  opacity: 0;
  color: #999999;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease 0s, color 0.2s ease;
}

.secret-lock:hover {
  opacity: 1;
  color: #111111;
  transition: opacity 0.35s ease 1s, color 0.2s ease 1s;
}

h1.blog-title {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.blog-sub {
  color: #666666;
  font-size: 15px;
  margin-bottom: 24px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.post-item {
  border-top: 1px solid #eeeeee;
  padding-top: 28px;
}

.post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.post-item h2 {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: -0.01em;
  text-wrap: balance;
  transition: opacity 0.2s ease;
}

.post-item a:hover h2 {
  opacity: 0.65;
}

.post-meta {
  font-size: 13px;
  color: #777777;
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 6px;
}

@media only screen and (max-width: 600px) {
  .post-head {
    flex-direction: column;
    gap: 4px;
  }
}

.post-excerpt {
  font-size: 15px;
  color: #444444;
}

.empty-state {
  color: #777777;
  font-size: 15px;
  padding: 32px 0;
  border-top: 1px solid #eeeeee;
}

/* Article page */
article.post h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: bold;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  text-wrap: balance;
}

.article-meta {
  font-size: 13px;
  color: #777777;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a1a;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 38px 0 14px;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 28px 0 10px;
}

.article-body ul {
  margin: 0 0 22px 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 2px solid #111111;
  padding-left: 18px;
  margin: 24px 0;
  color: #444444;
  font-style: italic;
}

.article-body code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-body a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 26px 0;
  display: block;
}

.back-link {
  display: inline-block;
  margin-top: 48px;
  font-size: 14px;
  color: #666666;
  text-decoration: none;
}

.back-link:hover {
  color: #000000;
}

.theme-btn {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 6px;
  cursor: pointer;
  color: #888888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-btn:hover {
  color: #000000;
}

html.theme-dark,
html.theme-dark body {
  background: #000000;
  color: #f2f2f2;
}

html.theme-dark .topbar,
html.theme-dark .topbar a,
html.theme-dark .blog-sub,
html.theme-dark .post-meta,
html.theme-dark .article-meta,
html.theme-dark .back-link {
  color: #999999;
}

html.theme-dark .topbar a:hover,
html.theme-dark .back-link:hover,
html.theme-dark .theme-btn:hover {
  color: #ffffff;
}

html.theme-dark .post-item,
html.theme-dark .empty-state,
html.theme-dark .article-meta {
  border-color: #222222;
}

html.theme-dark .post-excerpt {
  color: #bbbbbb;
}

html.theme-dark .article-body {
  color: #e6e6e6;
}

html.theme-dark .article-body a {
  color: #ffffff;
}

html.theme-dark .article-body blockquote {
  border-left-color: #ffffff;
  color: #bbbbbb;
}

html.theme-dark .article-body code {
  background: #1a1a1a;
}

html.theme-dark .secret-lock:hover {
  color: #ffffff;
}
