:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-darkmode: #0b1020;
  --sta-bg-gradient: radial-gradient(circle at top, #182445 0, #050814 55%, #02030a 100%);
  --sta-text-muted: #a4acc4;
  --sta-border: #1e2740;
  --sta-accent: #1f86ff;
  --sta-accent-2: #1ad4ff;
}

.dark-mode body {
  background: var(--sta-bg-gradient);
}

.dark-mode body:not(.has-cover) .gh-head {
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.9), rgba(5, 8, 20, 0.7), transparent);
}

.gh-head {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gh-head-logo {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4rem;
}

.gh-head-menu .nav a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--sta-text-muted);
  transition: color 0.2s ease;
}

.gh-head-menu .nav a:hover {
  color: #f5f7ff;
}

.gh-head-button,
a.gh-head-button {
  border-radius: 999px;
  border: 1px solid rgba(154, 218, 255, 0.6);
  background: radial-gradient(circle at 0 0, rgba(154, 218, 255, 0.28), transparent 55%) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.site-header-content {
  padding-top: 3rem !important;
  padding-bottom: 1.5rem !important;
  min-height: 0 !important;
}

.site-logo-wordmark {
  max-height: none;
  max-width: min(420px, 70%);
  width: 100%;
  height: auto;
}

.dark-mode .gh-title,
.dark-mode .site-title {
  background: linear-gradient(120deg, var(--sta-accent), var(--sta-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-card-title {
  transition: color 0.2s ease;
}

.dark-mode .post-card-title:hover {
  color: var(--sta-accent-2);
}

.dark-mode .post-card,
.dark-mode article.post-card {
  border-color: var(--sta-border);
}

.site-footer {
  background: #050814;
  color: var(--sta-text-muted);
  border-top: 1px solid var(--sta-border);
}

.site-footer a {
  color: var(--sta-text-muted);
}

.site-footer a:hover {
  color: #f5f7ff;
}

.sta-like {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sta-border);
}

.sta-like-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 218, 255, 0.5);
  background: transparent;
  color: var(--sta-text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sta-like-button:hover:not(:disabled) {
  color: #f5f7ff;
  border-color: rgba(154, 218, 255, 0.9);
}

.sta-like-button.is-liked {
  color: #f5f7ff;
  border-color: transparent;
  background: radial-gradient(circle at 0 0, rgba(154, 218, 255, 0.28), transparent 55%);
  cursor: default;
}

.sta-like-button .sta-like-icon {
  color: inherit;
}

.sta-like-button.is-liked .sta-like-icon {
  fill: var(--sta-accent-2);
  stroke: var(--sta-accent-2);
}

.sta-like-count {
  font-size: 0.85rem;
  color: var(--sta-text-muted);
}
