.guide-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  background: rgba(124, 45, 18, 0.18);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 1rem;
  padding: 1.25rem;
}

.toc-title {
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.toc-list a:hover,
.toc-list a.active {
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent);
}

.guide-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
}

.guide-content h2 {
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.guide-content h3 {
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.guide-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.guide-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.guide-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.guide-content li::before {
  content: '\f0a4';
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--accent);
}

.guide-tip {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--text-main);
}

@media (max-width: 767px) {
  .guide-container {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .guide-content {
    padding: 1.25rem;
  }
}
