:root {
  color-scheme: dark;
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
  --bg: #061126;
  --panel: rgba(12, 28, 62, 0.78);
  --line: rgba(118, 196, 255, 0.24);
  --text: #f3f8ff;
  --muted: #a9c1df;
  --accent: #24d7ff;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(20, 164, 255, 0.32), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(95, 107, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #05102a 0%, #081a3a 48%, #032854 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.58;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

.guide-shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 70px;
}

.guide-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 16, 42, 0.76);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 70px rgba(0, 0, 0, 0.26);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.guide-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
}

.guide-nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.guide-nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(36, 215, 255, 0.26);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(36, 215, 255, 0.08);
  font-weight: 800;
}

.guide-hero {
  padding: 78px 0 34px;
}

.guide-hero p {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(36, 215, 255, 0.32);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(36, 215, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.guide-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: transparent;
  background:
    linear-gradient(105deg, #eff8ff 0%, #ffffff 26%, #55e8ff 44%, #f3f8ff 62%, #a6d7ff 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.guide-hero span {
  display: block;
  max-width: 760px;
  color: #d8e9ff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.guide-content {
  display: block;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 100px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(150%);
}

.guide-content h2 {
  margin: 40px 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
}

.guide-content h2:first-child {
  margin-top: 0;
}

.guide-content h3 {
  margin: 28px 0 16px;
  color: #7cefff;
  font-size: clamp(22px, 2.4vw, 30px);
}

.guide-content p,
.guide-content li,
.guide-content blockquote {
  color: #c4d9f3;
  font-size: 17px;
  line-height: 1.85;
}

.guide-content .lead {
  color: #dff7ff;
  font-size: 19px;
}

.guide-content blockquote {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(36, 215, 255, 0.24);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(36, 215, 255, 0.08);
}

.guide-list,
.guide-steps {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.guide-content code {
  padding: 2px 6px;
  border-radius: 8px;
  color: #03142c;
  background: linear-gradient(135deg, #25d7ff, #8af1ff);
  font-weight: 800;
}

.guide-content a {
  color: var(--accent);
  font-weight: 800;
}

.ui-token {
  color: #7cefff;
  font-weight: 800;
}

.guide-shot {
  margin: 22px 0 30px;
  padding: 12px;
  border: 1px solid rgba(118, 196, 255, 0.2);
  border-radius: 22px;
  background: rgba(3, 16, 42, 0.56);
}

.guide-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.guide-shot figcaption {
  padding: 12px 4px 2px;
  color: #8fa8c8;
  font-size: 14px;
}

@media (max-width: 760px) {
  .guide-shell {
    width: calc(100% - 24px);
  }

  .guide-nav {
    position: relative;
    top: auto;
    align-items: flex-start;
    border-radius: 22px;
  }

  .guide-brand span {
    font-size: 14px;
  }

  .guide-nav-actions {
    display: grid;
  }

  .guide-hero {
    padding-top: 42px;
  }

  .guide-content {
    padding: 18px;
  }
}
