:root {
  --paper: #f4f1e9;
  --ink: #1f1b17;
  --cream: #f8f3e8;
  --muted: #6f6558;
  --line: #d5cbbd;
  --button: #8d8680;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.menu {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(280px, 100%);
  padding: 12px;
  background: var(--ink);
  border: 3px solid var(--cream);
  box-shadow: 6px 6px 0 #082b36;
}

.panel h1 {
  margin: 4px 0 12px;
  color: var(--cream);
  font-size: 28px;
  font-weight: 500;
  text-align: center;
}

.rows { display: grid; gap: 2px; }

.rows button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  text-align: left;
}

.rows button span {
  margin-left: auto;
  color: var(--muted);
}

.rows button:hover { background: #fff8df; }

.stage {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.stage[hidden], .menu[hidden] { display: none; }

.pad {
  width: min(240px, 80vw);
  height: 84px;
  border: 2px solid #2a2622;
  border-radius: 14px;
  background: var(--button);
  color: var(--cream);
  font-size: 22px;
}

.stage p {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
