/* 使用说明文档版式 */
.page-guide {
  background: #f5f0e8;
  min-height: 100vh;
}

.page-guide .doc-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.guide-doc {
  background: #fff;
  border: 1px solid #e8e0d4;
  border-radius: 4px;
  box-shadow: 0 2px 24px rgba(44, 36, 24, 0.06);
  overflow: hidden;
}

.guide-doc-header {
  padding: 36px 40px 28px;
  border-bottom: 3px double #c9b99a;
  background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
  text-align: center;
}

.guide-doc-header h1 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2c2418;
  margin: 0 0 10px;
}

.guide-doc-lead {
  margin: 0;
  font-size: 0.92rem;
  color: #7a6f5e;
  line-height: 1.7;
}

.guide-body {
  padding: 32px 40px 40px;
}

.guide-section {
  margin-bottom: 36px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c2418;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebe4d8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-section-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px dashed #f0ebe3;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #3d362c;
  counter-increment: guide-step;
}

.guide-steps li:last-child {
  border-bottom: none;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d6e6e;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}

.guide-steps a {
  color: #0d6e6e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-tip {
  margin: 0;
  padding: 16px 18px;
  background: #f0faf9;
  border: 1px solid #b8e0df;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #2c4a49;
}

.guide-editions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.guide-edition-card {
  padding: 16px;
  background: #faf8f4;
  border: 1px solid #ebe4d8;
  border-radius: 8px;
  text-align: center;
}

.guide-edition-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #2c2418;
}

.guide-edition-card a {
  font-size: 0.82rem;
  color: #0d6e6e;
  font-weight: 600;
}

.guide-footer-nav {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.guide-footer-nav a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .guide-doc-header,
  .guide-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .guide-editions {
    grid-template-columns: 1fr;
  }
}
