.guide-page {
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
  font-family: var(--font-body);
}
.guide-page .brand,
.guide-page h1,
.guide-page h2,
.guide-page h3,
.guide-page .guide-sub {
  font-family: var(--font-display);
}
.guide-glow {
  pointer-events: none;
  position: fixed;
  width: 70vw;
  height: 70vw;
  max-width: 520px;
  max-height: 520px;
  left: 50%;
  top: -10%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46,230,214,.22), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  from { opacity: .55; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.guide-page .site-header {
  background: #07111d;
  z-index: 50;
}
.guide-header .active {
  color: var(--cyan) !important;
  position: relative;
}
.guide-header .active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  border-radius: 2px;
}
.guide-main {
  position: relative;
  z-index: 1;
  padding: 28px 18px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.guide-hero {
  text-align: center;
  padding: 28px 8px 20px;
  animation: guideIn .6s ease both;
}
@keyframes guideIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.guide-hero h1 {
  margin: 0;
  font-size: clamp(22px, 5.5vw, 28px);
  line-height: 1.25;
  background: linear-gradient(120deg, #fff, var(--cyan), var(--cyan2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.guide-sub {
  margin: 6px 0 0;
  font-size: clamp(15px, 3.8vw, 18px);
  font-weight: 600;
  letter-spacing: .08em;
  color: #dffcf7;
}
.guide-hero .lead {
  margin: 14px auto 0;
  max-width: 28em;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--cyan2));
  color: #04131a;
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(10, 18, 32, .55);
}

.guide-catalog {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 16px;
  margin: 8px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  animation: guideIn .7s ease both .08s;
}
.guide-catalog::-webkit-scrollbar { display: none; }
.guide-catalog a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  background: rgba(12, 20, 36, .75);
  white-space: nowrap;
}
.guide-catalog a:active,
.guide-catalog a:hover {
  color: #04131a;
  border-color: transparent;
  background: linear-gradient(120deg, var(--cyan), var(--cyan2));
}

.guide-list { display: grid; gap: 12px; }
.guide-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,26,44,.92), rgba(10,16,28,.88));
  overflow: hidden;
  animation: guideIn .55s ease both;
}
.guide-block-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  min-height: 56px;
}
.guide-block-head .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cyan);
  font-size: 15px;
}
.guide-block-head .tit {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.guide-block-body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(120,160,220,.12);
}
.guide-item {
  padding: 14px 4px;
  border-bottom: 1px dashed rgba(120,160,220,.14);
}
.guide-item:last-child { border-bottom: 0; }
.guide-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.guide-item-top .tag {
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #04131a;
  background: linear-gradient(120deg, var(--cyan), var(--cyan2));
}
.guide-item-top h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.guide-item-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.guide-foot-card {
  margin-top: 22px;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(46,230,214,.28);
  background:
    radial-gradient(500px 160px at 20% 0%, rgba(46,230,214,.14), transparent 60%),
    rgba(10, 18, 32, .9);
  text-align: center;
  animation: guideIn .6s ease both .12s;
}
.guide-foot-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.guide-foot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 14, 26, .88);
  color: var(--cyan);
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-2px);
}

@media (min-width: 860px) {
  .guide-main { padding-top: 36px; }
  .guide-hero .lead { font-size: 15px; }
  .guide-block-head .tit { font-size: 16px; }
}
