/* /scout/guide/ — Rectoly Scout's usage guide (2026-11-27; lib/pages/scout-guide.js). One page, loaded after
   rectoly.css, guide.css (the usage guides' layout and type) and scout.css (the iPhone frame of /scout/'s screens).
   Raise SCOUT_GUIDE_CSS_VERSION in lib/pages/scout-guide.js with any change here. */

/* The sidebar is the page's contents, kept in view on wide screens; narrower, the contents above the text are
   enough. */
.scout-guide .g-side-sec li a { padding-top: 3px; padding-bottom: 3px; }
.sg-get { margin: 4px 0 8px; }
.sg-get .store-badges { gap: 12px; }

/* An App Store screen, in /scout/'s iPhone frame, between the paragraphs. */
.post-body .sg-phone { display: block; max-width: 230px; margin: 28px auto; }
.post-body .sg-phone img { margin: 0; max-width: 100%; }

.scout-guide .g-body h3 { margin-top: 28px; }
.scout-guide .g-updated { margin-bottom: 96px; }

@media (max-width: 1000px) {
  .scout-guide .g-side { display: none; }
}
@media (max-width: 1040px) {
  /* rectoly.css drops the nav's text links below 1040px: keep the way back to /scout/ and its FAQ. */
  #nav .nav-links a.sg-nav-keep { display: inline; }
}
@media (max-width: 768px) {
  #nav .nav-links a.sg-nav-keep { display: inline; }
  .post-body .sg-phone { max-width: min(220px, 64vw); padding: 7px; border-radius: 34px; }
  .post-body .sg-phone img { border-radius: 27px; }
}
@media (max-width: 420px) {
  /* Room for the App Store button beside the two links. */
  .scout-guide #nav .nav-links { gap: 12px; }
  .scout-guide #nav .nav-links a.sg-nav-faq { display: none; }
}
