/* The devlog: plain pages beside the app, in its colours (src/styles/variables.less),
   so a reader arriving from a search sees the same game they will play. */
:root {
  color-scheme: dark;
  --background: #1b1d22;
  --surface: #2a2d35;
  --text: #e8e6e3;
  --accent: #c8a24a;
  --edge: rgb(255 255 255 / 12%);
}

body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 16px 4rem;
  color: var(--text);
  font:
    1.05rem/1.65 system-ui,
    sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #2a2620 0%, var(--background) 60%) no-repeat
    var(--background);
}

nav {
  font-weight: bold;
}

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  color: var(--accent);
  line-height: 1.2;
}

h1 {
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}

h2 {
  margin-top: 2.25rem;
  font-size: 1.3rem;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.05rem;
}

.meta {
  margin-top: 0;
  opacity: 0.7;
}

/* The early access mark, as on the title screen. */
.badge {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgb(200 162 74 / 45%);
  border-radius: 1rem;
}

/* The way into the game, at the foot of every page. */
.play {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 0.4rem;
}

.button {
  box-sizing: border-box;
  width: min(100%, 18rem);
  padding: 0.75rem;
  color: var(--background);
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: var(--accent);
  border-radius: 0.4rem;
}

.play p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* The list of posts on /devlog/. */
.posts {
  padding: 0;
  list-style: none;
}

.posts li {
  margin: 1.5rem 0;
}

.posts a {
  font-weight: bold;
  font-size: 1.2rem;
}

.posts p {
  margin: 0.25rem 0 0;
}

/* A release in the change notes. */
.release {
  margin-top: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--edge);
}

li {
  margin: 0.3rem 0;
}
