* {
  box-sizing: border-box;
}

body {
  font: 16px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  display: block;
  font-weight: bold;
}

form * {
  margin: 0.2rem 0;
}

input#ghost_key,
input#ghost_url,
input#wechat_post_url {
  width: 100%;
}

input {
  font-size: 120%;
  padding: 0.1rem;
}

button {
  padding: 0.5rem 1rem;
  font-size: 110%;
  font-weight: bold;
  background-color: #eee;
  border: 1px solid #333;
  border-radius: 5px;
}

button:hover {
  cursor: pointer;
}

.container {
  box-sizing: border-box;
  max-width: 1100px;
  padding: clamp(2vw, (100vw - 700px)*1000, 50px);
}

.syncing {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vw;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.syncing::before {
  content: "正在同步中，不要关闭页面，请等待同步完成";
  display: block;
  color: #fff;
}

.syncing.show,
.success.show {
  display: flex;
}

.success {
  width: 100%;
  padding: 0.3rem;
  background: lightgreen;
  border-radius: 5px;
  text-align: center;
  display: none;
  justify-content: center;
  align-items: center;
}

.inline-flex {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.copyright {
  font-size: 0.8rem;
  color: #777;
}