/* 启动引导层：应用脚本装载期间覆盖首屏，避免长时间空白。
   容器不接管指针事件，脚本装好即移除，不影响任何既有交互。 */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: #194e82;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #e8f7ff 55%, #d7f0fd 100%);
  pointer-events: none;
}

.boot-ring {
  width: 46px;
  height: 46px;
  border: 4px solid #cbe9fb;
  border-top-color: #2596ef;
  border-radius: 50%;
  animation: boot-spin 900ms linear infinite;
}

@keyframes boot-spin {
  to { transform: rotate(360deg); }
}

.boot-brand {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
}

.boot-text {
  margin: 0;
  font-size: 13px;
  color: #5d84a4;
  line-height: 1.6;
}

.boot-track {
  display: block;
  width: min(240px, 70vw);
  height: 6px;
  border-radius: 999px;
  background: #dceffb;
  overflow: hidden;
}

.boot-track i {
  display: block;
  width: 4%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #64d2ee, #2587ed);
  transition: width .2s ease;
}

.boot-retry {
  margin-top: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 750;
  color: #fff;
  background: #167bea;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .boot-ring { animation-duration: 2.4s; }
  .boot-track i { transition: none; }
}

/* 「我的」页面里的账号区块（由 pages/profile.js 渲染，事件由 boot.js 委托处理） */
.profile-account .account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-account .account-phone {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .04em;
}

.account-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.account-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #557fa0;
}

.account-form input {
  padding: 10px 12px;
  border: 1px solid #caddf0;
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
}

.account-form button {
  justify-self: start;
  padding: 9px 16px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #167bea;
}

.account-form button:disabled {
  opacity: .65;
}

.account-message {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  color: #3f7ba6;
}
