/* SSScore Skill 新手教程 · 2026-11-30 */

.guide-page { background: var(--paper); }

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 64px;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(125, 164, 105, 0.22), transparent 62%),
    radial-gradient(ellipse at 0% 100%, rgba(211, 172, 98, 0.12), transparent 52%),
    var(--ink-2);
  color: var(--paper);
}
.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(246, 240, 226, 0.028) 31px 32px);
  pointer-events: none;
}
.guide-hero .wrap { position: relative; z-index: 1; }
.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 11.5px;
  color: rgba(246, 240, 226, 0.4);
}
.guide-breadcrumb a {
  color: rgba(246, 240, 226, 0.58);
  text-decoration: none;
}
.guide-breadcrumb a:hover { color: var(--paper); }
.guide-breadcrumb b { color: rgba(246, 240, 226, 0.78); font-weight: 500; }
.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
}
.guide-hero .eyebrow { color: var(--muted-light); }
.guide-hero .eyebrow span { border-color: rgba(246, 240, 226, 0.24); color: var(--gold); }
.guide-hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.guide-hero-lead {
  margin: 20px 0 0;
  max-width: 35em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(246, 240, 226, 0.64);
}
.guide-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 11.5px;
  color: rgba(246, 240, 226, 0.42);
}
.guide-hero-meta span::before {
  content: "·";
  margin-right: 8px;
  color: var(--gold);
}
.guide-hero-meta span:first-child::before { content: none; margin: 0; }
.guide-hero-card {
  padding: 24px;
  border: 1px solid rgba(246, 240, 226, 0.14);
  border-radius: 18px;
  background: rgba(246, 240, 226, 0.055);
  backdrop-filter: blur(10px);
}
.guide-hero-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
}
.guide-hero-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.guide-hero-card li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(246, 240, 226, 0.58);
}
.guide-hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 780px);
  gap: 56px;
  justify-content: center;
  padding: 64px 0 90px;
}
.guide-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guide-toc strong {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.guide-toc a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.16s ease, padding-left 0.16s ease;
}
.guide-toc a:hover {
  color: var(--cinnabar);
  padding-left: 4px;
}

.guide-article {
  min-width: 0;
}
.guide-article section {
  padding: 0 0 54px;
  margin: 0 0 54px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.guide-article section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.guide-kicker {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cinnabar);
  text-transform: uppercase;
}
.guide-article h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--ink);
}
.guide-article h3 {
  margin: 30px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.guide-article p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
  color: #4f5c50;
}
.guide-article strong { color: var(--ink); }
.guide-article code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(21, 56, 43, 0.07);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  word-break: break-all;
}
.guide-article kbd {
  display: inline-block;
  min-width: 22px;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink);
}

.guide-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 18px;
}
.guide-check {
  padding: 18px 18px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(252, 248, 238, 0.56);
}
.guide-check span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}
.guide-check strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.guide-check p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.guide-callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 20px 0;
  padding: 15px 17px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: rgba(220, 231, 210, 0.56);
}
.guide-callout-mark {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}
.guide-callout p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: #4d6254;
}

.guide-code {
  position: relative;
  margin: 20px 0;
  border-radius: 13px;
  background: var(--ink-2);
  color: #f3d9a2;
  overflow: hidden;
}
.guide-code-label {
  display: block;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(246, 240, 226, 0.1);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(246, 240, 226, 0.42);
}
.guide-code pre {
  margin: 0;
  padding: 18px 16px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-all;
}
.guide-copy {
  display: block;
  margin: 0 14px 14px;
  padding: 7px 12px;
  border: 1px solid rgba(246, 240, 226, 0.18);
  border-radius: 7px;
  background: rgba(246, 240, 226, 0.07);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  cursor: pointer;
}
.guide-copy:hover { background: rgba(246, 240, 226, 0.14); }
.guide-copy.is-copied { color: #b9d6ae; border-color: rgba(185, 214, 174, 0.5); }
.guide-code-small pre { font-size: 11.5px; }

.guide-two-ways {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.guide-two-ways > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(252, 248, 238, 0.5);
}
.guide-two-ways strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}
.guide-two-ways p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.guide-agent-request {
  margin: 20px 0 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(252, 248, 238, 0.72);
}
.guide-agent-request-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.guide-agent-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--cinnabar);
  color: #fffaf0;
  font-size: 10px;
  font-weight: 700;
}
.guide-agent-request-head strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
}
.guide-agent-request-head small {
  display: block;
  margin-top: 1px;
  font-size: 9.5px;
  color: var(--muted);
}
.guide-agent-request-head em {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dce7d2;
  color: #3f6b48;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.guide-agent-request p {
  margin: 12px 0 10px;
  padding: 12px 13px;
  border-radius: 4px 12px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.guide-agent-copy {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  cursor: pointer;
}
.guide-agent-copy:hover { background: var(--paper-3); }
.guide-agent-copy.is-copied { color: #3f6b48; border-color: rgba(111, 154, 114, 0.55); background: #edf4e9; }
.guide-agent-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: rgba(252, 248, 238, 0.42);
  font-size: 11px;
  color: var(--muted);
}
.guide-agent-flow b {
  margin-right: 4px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 10px;
}
.guide-agent-flow i {
  color: var(--cinnabar);
  font-style: normal;
}

.guide-figure {
  margin: 26px 0 0;
  padding: 8px 8px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(125, 164, 105, 0.1), transparent 55%),
    rgba(252, 248, 238, 0.6);
}
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.guide-figure figcaption {
  padding: 9px 10px 11px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
}
.guide-figure-score { max-width: 620px; margin-left: auto; margin-right: auto; }
.guide-figure-score img { padding: 18px 16px; box-sizing: border-box; background: #fffdf8; }

.guide-prompt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(252, 248, 238, 0.6);
}
.guide-prompt p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}
.guide-prompt button {
  flex: none;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  cursor: pointer;
}
.guide-prompt button:hover { background: var(--paper-3); }
.guide-prompt button.is-copied { border-color: #6f9a72; background: #edf4e9; color: #3f6b48; }
.guide-prompt-featured {
  border-left-color: var(--cinnabar);
  background: linear-gradient(135deg, rgba(220, 231, 210, 0.55), rgba(252, 248, 238, 0.7));
}
.guide-prompt-featured p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
}
.guide-prompt-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}
.guide-prompt-list .guide-prompt { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; }
.guide-prompt-list small {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
}
.guide-prompt-list p { font-size: 12.5px; }

.guide-numbered {
  counter-reset: guide-step;
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}
.guide-numbered li {
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  line-height: 1.8;
  color: #4f5c50;
  counter-increment: guide-step;
}
.guide-numbered li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 10px;
}
.guide-tip {
  margin: 20px 0;
  padding: 15px 17px;
  border: 1px dashed rgba(211, 172, 98, 0.5);
  border-radius: 10px;
  background: rgba(211, 172, 98, 0.09);
  font-size: 12.5px;
  line-height: 1.8;
  color: #5f583f;
}
.guide-tip strong { color: var(--ink); }

.guide-table-wrap {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 12px;
}
.guide-table th,
.guide-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.guide-table th {
  background: rgba(239, 231, 212, 0.5);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.guide-table td { color: #4f5c50; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tag-auto {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #3f6b48;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-manual {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f6e6df;
  color: #9e3a2c;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.guide-faq {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.guide-faq details {
  border-bottom: 1px solid var(--line);
}
.guide-faq summary {
  position: relative;
  padding: 15px 30px 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--muted);
  font-weight: 400;
  font-size: 17px;
}
.guide-faq details[open] summary::after { content: "−"; color: var(--cinnabar); }
.guide-faq details p {
  margin: 0;
  padding: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.guide-next {
  padding: 30px 28px !important;
  border: 1px solid rgba(21, 56, 43, 0.16) !important;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(211, 172, 98, 0.14), transparent 50%),
    rgba(220, 231, 210, 0.42);
}
.guide-next h2 { margin-bottom: 10px; }
.guide-next p { max-width: 34em; }
.guide-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.guide-agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.guide-agent-tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf7ee;
  color: #4f5c50;
  font-size: 12px;
}
.guide-note {
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

@media (max-width: 1020px) {
  .guide-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .guide-hero-card { max-width: 420px; }
  .guide-layout { grid-template-columns: 1fr; gap: 0; padding-top: 42px; }
  .guide-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 38px;
    padding: 12px 0;
  }
  .guide-toc strong { width: 100%; margin-bottom: 2px; }
  .guide-toc a { padding: 2px 0; }
}

@media (max-width: 700px) {
  .guide-hero { padding: 42px 0 48px; }
  .guide-breadcrumb { margin-bottom: 22px; }
  .guide-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .guide-hero-lead { font-size: 14.5px; }
  .guide-hero-card { padding: 20px; }
  .guide-layout { padding-bottom: 64px; }
  .guide-article section { padding-bottom: 40px; margin-bottom: 40px; }
  .guide-check-grid,
  .guide-two-ways { grid-template-columns: 1fr; }
  .guide-prompt { flex-direction: column; gap: 8px; }
  .guide-prompt-list .guide-prompt { grid-template-columns: 1fr auto; }
  .guide-prompt-list small { grid-column: 1 / -1; }
  .guide-prompt-list p { font-size: 12px; }
  .guide-prompt-featured p { font-size: 16px; }
  .guide-figure { padding: 5px 5px 0; }
  .guide-figure img { min-height: 0; height: auto; object-fit: contain; }
  .guide-figure-agents { display: none; }
  .guide-table-wrap { overflow: visible; }
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table { min-width: 0; }
  .guide-table thead { display: none; }
  .guide-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .guide-table tr:last-child { border-bottom: 0; }
  .guide-table td {
    padding: 2px 0;
    border: 0;
    white-space: normal;
    font-size: 12.5px;
    line-height: 1.7;
  }
  .guide-table td:first-child { font-size: 14px; white-space: normal; }
  .guide-table td:nth-child(2) { color: #4f5c50; }
  .guide-table td:nth-child(3) { margin-top: 4px; }
  .guide-table td:nth-child(3)::before {
    content: "安装方式：";
    color: var(--muted);
    font-size: 11px;
  }
  .guide-next { padding: 24px 20px !important; }
}
