/* 平台使用指南页 */
.guide-page {
  background: #f9fafb;
  color: #111827;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.guide-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.guide-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.guide-header nav a {
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
}

.guide-header nav a:hover,
.guide-header nav a[aria-current="page"] {
  color: #e11d48;
}

.guide-hero {
  background: linear-gradient(135deg, #fff1f2 0%, #fff 55%, #f9fafb 100%);
  border-bottom: 1px solid #f3f4f6;
}

.guide-hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
}

.guide-hero h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.guide-hero-desc {
  margin: 0.75rem 0 0;
  max-width: 48rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #6b7280;
}

.guide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.guide-stat {
  display: flex;
  flex-direction: column;
  min-width: 5.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}

.guide-stat .num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #e11d48;
}

.guide-stat .label {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.guide-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.guide-tab:hover {
  color: #e11d48;
  border-color: #fecdd3;
}

.guide-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #be123c;
  background: #ffe4e6;
  border-radius: 9999px;
}

.guide-hint {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.guide-group {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  scroll-margin-top: 4.5rem;
}

.guide-tab-num,
.guide-group-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #be123c;
  background: #ffe4e6;
  border-radius: 0.375rem;
}

.guide-group-head h2 {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.guide-group-head p {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}

.guide-article-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .guide-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-article-card {
  display: block;
  padding: 0.75rem 0.875rem;
  border: 1px solid #f3f4f6;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.guide-article-card:hover {
  border-color: #fecdd3;
  background: #fff1f2;
}

.guide-article-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}

.guide-article-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.guide-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #e11d48;
  border-radius: 0.5rem;
  text-decoration: none;
}

.guide-cta:hover {
  background: #be123c;
}

.guide-cta-secondary {
  color: #e11d48;
  background: #fff;
  border: 1px solid #fecdd3;
}

.guide-cta-secondary:hover {
  background: #fff1f2;
}

.guide-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
