/* The devlog: plain pages beside the app, in the default theme's colours (themes.css),
   so a reader arriving from a search sees the same game they will play. */
:root {
  color-scheme: dark;
  --background: #231430;
  --surface: #3a2450;
  --text: #f6ecd2;
  --accent: #f5d36b;
  --button-main: #ff8ac6;
  --button-main-edge: #bf6895;
  --button-text: #2b1a33;
  --font: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
}

body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
  color: var(--text);
  font:
    1.05rem/1.65 var(--font),
    sans-serif;
  background: var(--background);
}

nav {
  font-weight: bold;
}

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

h1,
h2 {
  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;
}

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

/* The way into the game, at the end of a post. */
.play {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--surface);
  border-radius: 1rem;
}

.button {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: min(100%, 20rem);
  padding: 1rem;
  color: var(--button-text);
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  background: var(--button-main);
  border: 2px solid var(--button-main-edge);
  border-radius: 0.75rem;
}

.button span {
  font-weight: normal;
  font-size: 0.85rem;
}

/* 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;
}

footer {
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.8;
}
