* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, "PingFang TC", "Noto Sans TC", sans-serif;
  background: radial-gradient(circle at 50% 20%, #17324d, #070d18 70%);
  color: #f4efe3;
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  user-select: none;
}
#app { flex: 1; display: grid; place-items: center; padding: 24px; }
.view { display: none; text-align: center; width: 100%; max-width: 360px; }
.view.active { display: block; }
h1 { font-size: 2.4rem; margin: 0 0 12px; }
p { opacity: .85; line-height: 1.6; }
.big-btn {
  margin-top: 24px;
  width: 100%;
  padding: 18px;
  font-size: 1.25rem;
  border: 0;
  border-radius: 14px;
  background: #c8342f;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.big-btn:active { transform: scale(.97); }
.meter { height: 22px; border-radius: 11px; background: #ffffff1a; overflow: hidden; margin: 24px 0; }
#meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, #f6c453, #ffe9a8); transition: width .2s; }
.error { color: #ff9b8f; }
footer { text-align: center; font-size: .8rem; opacity: .5; padding: 12px; }
