.back { font-family: vga, monospace; font-size: 14px; }

h1 { color: #ffb43a; }
#day { color: #5a5470; font-size: 20px; }

main { min-height: 380px; padding-bottom: 16px; }

.panel { margin: 24px auto; max-width: 520px; text-align: center; }
.panel p { font-family: vga, monospace; color: #8a84a8; line-height: 1.4; }

button {
  font: 20px vga, monospace;
  padding: 7px 22px 5px;
  background: #d9d6cc;
  color: #1b1a1f;
  border: 3px outset #eeeae0;
  cursor: pointer;
}
button:active { border-style: inset; }

/* hud */

#hud {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font: 28px vga, monospace;
  margin-top: 12px;
}
#count { color: #8a84a8; }
#time.low { color: #ff5a4e; }

#bar { height: 8px; margin: 6px 0 28px; background: #000; border: 2px inset #333; }
#bar i { display: block; height: 100%; width: 100%; background: #ffb43a; }
#bar.low i { background: #c0281f; }

#prompt {
  font: 30px vga, monospace;
  text-align: center;
  line-height: 1.25;
  margin: 0 0 24px;
  min-height: 76px;
}

/* answer + suggestions */

#answer { position: relative; }

#q {
  width: 100%;
  box-sizing: border-box;
  font: 24px vga, monospace;
  padding: 10px 12px 8px;
  background: #000;
  color: #e8e0ff;
  border: 3px inset #444;
  outline: 0;
}
#q:focus { border-color: #5a5470; }

#suggest {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #1b1a1f;
  border: 2px solid #5a5470;
  border-top: 0;
  font: 18px vga, monospace;
}
#suggest li { padding: 6px 12px 4px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
#suggest li span { color: #5a5470; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#suggest li.on { background: #ffb43a; color: #1b1a1f; }
#suggest li.on span { color: #5a3a10; }

#msg { font: 16px vga, monospace; color: #ff5a4e; height: 24px; margin: 8px 0; text-align: center; }

/* reveal */

#tier { font: 44px vga, monospace; line-height: 1; margin-bottom: 6px; }
#tier small { display: block; font-size: 18px; color: #8a84a8; margin-top: 6px; }
#picked { font: 22px vga, monospace; margin: 12px 0 18px; }

#examples { font-family: vga, monospace; text-align: left; margin: 0 0 20px; border-top: 1px dashed #3a3650; padding-top: 10px; }
#examples dt { color: #5a5470; font-size: 14px; margin-top: 8px; }
#examples dd { margin: 2px 0 0; color: #8a84a8; }

.t0 { color: #5a5470; }
.t1 { color: #6fa8ff; }
.t2 { color: #2fbf60; }
.t3 { color: #ffd23a; }
.t4 { color: #ff8a3a; }
.t5 { color: #c78bff; }

/* done */

#total { font: 72px vga, monospace; color: #ffb43a; line-height: 1; }
#total small { display: block; font-size: 20px; color: #8a84a8; margin-top: 4px; }

#results { list-style: none; padding: 0; margin: 20px 0; text-align: left; font-family: vga, monospace; }
#results li { padding: 8px 0; border-bottom: 1px dashed #3a3650; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
#results .p { color: #8a84a8; font-size: 14px; grid-column: 1 / -1; }
#results .a { color: #e8e0ff; }

#tomorrow { font-family: vga, monospace; color: #5a5470; }
