/* 全站导航、ICP 备案页脚、Wiki 通用样式 */
.lmo-site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5vw;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
}

.lmo-site-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.lmo-site-nav a:hover,
.lmo-site-nav a[aria-current="page"] {
  color: #00ffcc;
}

.lmo-site-nav__brand {
  font-weight: 500;
  color: #f5f5f5 !important;
  letter-spacing: 0.12em;
}

.lmo-site-nav__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lmo-site-footer {
  text-align: center;
  padding: 2rem 1rem 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Noto Sans SC', sans-serif;
}

.lmo-site-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.lmo-site-footer a:hover {
  color: #00ffcc;
}

.lmo-site-footer__copy {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
}

.lmo-site-footer__links {
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.lmo-site-legal-screen {
  min-height: auto !important;
  padding: 6vh 8vw 8vh !important;
  scroll-snap-align: end;
}

/* Wiki 文档页 */
body.lmo-wiki-page {
  background: #050505;
  color: #f5f5f5;
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.75;
}

.lmo-wiki-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 5vw 4rem;
}

.lmo-wiki-wrap h1 {
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.lmo-wiki-wrap h1 .accent {
  color: #00ffcc;
}

.lmo-wiki-lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.lmo-wiki-wrap h2 {
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.35rem;
  color: #00ffcc;
  margin: 2.5rem 0 1rem;
  font-weight: 500;
}

.lmo-wiki-wrap h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.75rem;
  color: #f5f5f5;
}

.lmo-wiki-wrap p,
.lmo-wiki-wrap li {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.85rem;
}

.lmo-wiki-wrap ul,
.lmo-wiki-wrap ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.lmo-wiki-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.lmo-wiki-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.lmo-wiki-tag {
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 204, 0.25);
  color: rgba(0, 255, 204, 0.85);
  font-family: monospace;
}

.lmo-wiki-cta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.85rem 2rem;
  border: 1px solid #00ffcc;
  color: #00ffcc;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: background 0.25s, color 0.25s;
}

.lmo-wiki-cta:hover {
  background: #00ffcc;
  color: #050505;
}

@media (max-width: 640px) {
  .lmo-site-nav__links {
    gap: 0.65rem;
  }
  .lmo-site-nav a {
    font-size: 0.72rem;
  }
}
