body {
  background:
    radial-gradient(circle at top, rgba(64, 87, 131, 0.24), transparent 38%),
    linear-gradient(180deg, #0d1524 0%, #0f1726 100%);
}

.navbar-brand strong {
  letter-spacing: 0.08em;
}

.banner-text #subtitle {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.banner-text #subtitle.tnwss-ready {
  opacity: 1;
}

.banner-text #subtitle:empty::before {
  content: " ";
}

.index-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 2rem 2.2rem;
}

.index-card .index-header a {
  font-size: 2rem;
}

.index-excerpt {
  color: rgba(226, 232, 240, 0.78);
}

.footer-content a,
.footer-content span {
  color: rgba(226, 232, 240, 0.72);
}

.wechat-share-card {
  margin: 2rem 0 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 38, 0.64);
}

.wechat-share-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.wechat-share-head p {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.68);
}

.wechat-share-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
}

.wechat-share-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.wechat-share-meta strong {
  font-size: 1rem;
}

.wechat-share-meta span {
  color: rgba(226, 232, 240, 0.68);
  word-break: break-all;
}

.wechat-share-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.wechat-share-guide-btn,
.wechat-copy-link {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(30, 41, 59, 0.86);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
}

.wechat-share-tip {
  font-size: 0.92rem;
}

.wechat-share-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 10, 20, 0.68);
  padding: 1.2rem;
  z-index: 9999;
}

.wechat-share-overlay.is-visible {
  display: flex;
}

.wechat-share-guide {
  position: relative;
  width: min(480px, 100%);
  padding: 1.4rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #111827;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.wechat-share-guide h4 {
  margin: 0 0 0.8rem;
}

.wechat-share-guide p {
  margin: 0.5rem 0;
  color: rgba(226, 232, 240, 0.76);
}

.wechat-share-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .wechat-share-body {
    flex-direction: column;
    align-items: flex-start;
  }
}
