/* Guide pages. Same dark page as the rest of the site. Screenshot slots stay visible when the file is missing. */
.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-steps > li {
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #12161c;
  counter-increment: guide;
}

.guide-steps > li > h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  font-weight: 650;
}

.guide-steps > li > h2::before {
  content: counter(guide) ". ";
}

.guide-steps pre {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  overflow-x: auto;
  background: #0e1218;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.45;
}

.guide-steps pre code {
  font-size: inherit;
}

.guide-steps ol,
.guide-steps ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.guide-steps li li {
  margin: 0.3rem 0;
}

.shot {
  margin: 0.4rem 0 1rem;
}

.shot img {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  background:
    repeating-linear-gradient(
      -45deg,
      #1a212c,
      #1a212c 10px,
      #12161c 10px,
      #12161c 20px
    );
  border: 1px dashed #4a5568;
  border-radius: 8px;
  min-height: 9rem;
}

.shot figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-next {
  margin: 0.5rem 0 0;
  padding: 1rem 1.1rem 0.2rem;
  border: 1px solid var(--line);
  border-left: 4px solid #e06a12;
  border-radius: 10px;
  background: #161410;
}

.guide-next h2 {
  margin-top: 0;
}

.guide-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid #e06a12;
  border-radius: 999px;
  color: #f0a060;
  font-size: 0.82rem;
  font-weight: 600;
}

.guide-aside {
  margin: 0.4rem 0 1rem;
  padding: 0.8rem 1rem 0.2rem;
  border: 1px solid var(--line);
  border-left: 4px solid #4fd1b0;
  border-radius: 8px;
  background: #0e1218;
}

.guide-aside h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.key-terms {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 0.8rem;
  margin: 0 0 0.8rem;
}

.key-terms dt {
  margin: 0;
  align-self: baseline;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 650;
}

.key-terms dd {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
}

.shot img[width] {
  width: auto;
  max-width: 100%;
  min-height: 0;
  border-style: solid;
}

.guide-list {
  list-style: none;
  padding: 0;
}

.guide-list li {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #12161c;
}

.guide-list h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
}

.guide-list h2 a {
  color: inherit;
}
