* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1115;
  color: #f2f2f2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.app {
  width: 100%;
  max-width: 480px;
}

.hidden {
  display: none;
}

.muted {
  color: #9aa0ab;
}

h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.btn-login {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: #4285f4;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.btn-login:hover {
  background: #3367d6;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 16px
    max(20px, env(safe-area-inset-left));
  font-size: 14px;
}

.btn-logout {
  background: none;
  border: 1px solid #333945;
  color: #cfd3da;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.btn-logout:hover {
  border-color: #4285f4;
  color: #fff;
}

.code {
  font-size: clamp(56px, 18vw, 120px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ago {
  margin-top: 16px;
  font-size: 18px;
  color: #9aa0ab;
}

.meta {
  margin-top: 24px;
  font-size: 13px;
  color: #5f6673;
}
