/* Install guides on the Help page: "How to install: Windows · Mac · Linux" text
   links under the download buttons, each opening a step-by-step guide in the
   popup look from download-modal.css. */

.guide-links { margin-top: 12px; font-size: 13.5px; color: #cfeee7; }
.guide-links a { color: #8fe0ff; font-weight: normal; }

/* --- The guide popup --- */
.guide-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(2, 12, 16, .78);
  backdrop-filter: blur(3px);
  animation: dl-ov-in .25s ease;
}
.guide-overlay.hidden { display: none; }
.dl-card.guide-card { width: 600px; text-align: left; padding: 30px 30px 24px; }
.guide-card h2 { text-align: center; }
.guide-scroll { max-height: min(62vh, 560px); overflow-y: auto; padding-right: 6px; margin-top: 6px; }
.guide-scroll::-webkit-scrollbar { width: 8px; }
.guide-scroll::-webkit-scrollbar-thumb { background: rgba(168, 240, 198, .35); border-radius: 8px; }
.guide-intro { text-align: center; }

.guide-steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: gstep; }
.guide-steps > li { position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid rgba(255, 255, 255, .12); counter-increment: gstep; }
.guide-steps > li:last-child { border-bottom: none; }
.guide-steps > li::before {
  content: counter(gstep);
  position: absolute; left: 0; top: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #5a9c12; border: 1px solid #1e4a0c; color: #fff;
  font-weight: bold; font-size: 15px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.guide-steps h3 { margin: 4px 0 6px; font-family: "FreeRealms", Tahoma, sans-serif; color: #a8f0c6; font-size: 17px; font-weight: normal; }
.guide-steps ul { margin: 0; padding-left: 18px; }
.guide-steps li li { margin: 4px 0; font-size: 13.5px; color: #cfeee7; line-height: 1.5; }
.guide-card b { color: #e8fff6; }
.guide-card a { color: #8fe0ff; }
.guide-card code {
  font-family: Consolas, Menlo, monospace; font-size: 12.5px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px; padding: 1px 6px; color: #e8fff6;
  overflow-wrap: anywhere;
}
.guide-quote { display: block; margin-top: 4px; font-style: italic; color: #9fd8cd; }
.guide-tip {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(168, 240, 198, .35);
  font-size: 13px; color: #cfeee7; line-height: 1.5;
}
.guide-tip strong { color: #a8f0c6; }
.guide-sub { margin: 16px 0 0; padding-bottom: 6px; border-bottom: 1px solid rgba(168, 240, 198, .35); font-family: "FreeRealms", Tahoma, sans-serif; color: #e8fff6; font-size: 16px; font-weight: normal; }

@media (max-width: 600px) {
  .dl-card.guide-card { padding: 26px 16px 20px; }
  .guide-steps > li { padding-left: 40px; }
}
