:root {
  --paper: #f3e6d0;
  --card: #fffaf2;
  --ink: #1c2c29;
  --muted: #5c675f;
  --teal: #0e6b5c;
  --teal-dark: #0a4e44;
  --line: #e4d3b4;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
}

main {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
}

.brand {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.95rem;
}

h1 {
  margin: 4px 0 22px;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal-dark);
}

.game {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 2px solid var(--teal);
  border-radius: 16px;
}

.game:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

.copy { display: grid; gap: 2px; min-width: 0; }
.copy strong {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.45rem;
  font-weight: 600;
}
.copy span { color: var(--muted); }

.go {
  color: var(--teal-dark);
  font-weight: 700;
}

@media (max-width: 380px) {
  h1 { font-size: 2.2rem; }
  .game { grid-template-columns: auto minmax(0, 1fr); }
  .go { grid-column: 2; }
}
