/* The marker pages, the index page and the 404 page (web 2b, ticket 07),
   served at /p/pages.css: a file, not inline styles, since the CSP has no
   'unsafe-inline'. System fonts only: nothing loads from another host
   (LEG-02). Colours follow web/shell.css. */
html {
  background: #140e33;
}

body {
  box-sizing: border-box;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  color: #f4efff;
  background: #140e33;
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}

a {
  color: #ffb3d9;
}

.gs-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.gs-top a {
  color: #f4efff;
  text-decoration: none;
}

.gs-pill {
  padding: 0.125rem 0.625rem;
  border: 1px solid #8f84c9;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.5rem;
}

.gs-facts {
  margin: 0 0 0.25rem;
  color: #7fe3e0;
  font-size: 0.875rem;
}

.gs-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid #ffb3d9;
  border-radius: 999px;
  font-size: 0.8125rem;
}

.gs-count {
  color: #c9c1ec;
}

.gs-open {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: #ffb3d9;
  color: #2a1d63;
  font-weight: 600;
  text-decoration: none;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin: 0.25rem 0;
}

.gs-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #3a2f73;
  font-size: 0.875rem;
}

.gs-unofficial {
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.gs-disclaimer {
  color: #c9c1ec;
}

/* A category page (its own folder under /p/): each item with its first
   sentence under the name. */
.gs-crumbs {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}

.gs-list li {
  margin: 0 0 0.75rem;
}

.gs-list .gs-text {
  margin: 0.125rem 0 0;
  color: #c9c1ec;
}

.gs-facts a {
  color: inherit;
}

.gs-apps {
  margin: 0 0 0.5rem;
}
