/* CYDO · 登录页与启动状态 */

/* ===================== 未登录横幅 ===================== */
.guest-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 20px;
  font-size: 13px;
  color: #7a5a12;
  background: linear-gradient(90deg, #fff6e0, #fdf0d5);
  border-bottom: 1px solid #f0dfb8;
}

.guest-text { line-height: 1.5; }

.guest-btn {
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 999px;
}

/* ===================== 登录 / 注册页（已改为弹窗，样式保留备用） ===================== */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.auth-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
}

.auth-hint {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.5;
}

.auth-tabs {
  align-self: center;
  margin-bottom: 4px;
}

.auth-submit {
  height: 44px;
  font-size: 15px;
  margin-top: 4px;
}

/* ===================== 加载 / 出错 ===================== */
.boot-state {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  text-align: center;
}

.boot-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: bootSpin 0.8s linear infinite;
}

@keyframes bootSpin {
  to { transform: rotate(360deg); }
}

.boot-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: var(--danger);
}

.boot-text {
  font-size: 14px;
  color: var(--text-2);
  max-width: 380px;
  line-height: 1.6;
}

/* 表单提示文字 */
.form-hint {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin: -4px 0 0;
}

@media (max-width: 860px) {
  .auth-card { padding: 26px 20px 22px; }
  .auth-title { font-size: 20px; }
}
