/* 页面外壳：居中容器、顶部信息、页脚说明 */

body {
  min-height: 100vh;
  background: var(--page-bg);
}

.shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 22px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--gh-gap);
}

.hero-side {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hero-note-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gh-ink-3);
}

.hero-note-line span { display: inline-flex; align-items: center; gap: 5px; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gh-brand);
  box-shadow: 0 0 0 3px var(--gh-brand-soft);
}

.footer-note {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--gh-ink-3);
  text-align: center;
}

/* 会话状态行：手机号 / sndaId / token 脱敏展示 */
.session-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  border-radius: 10px;
  background: var(--gh-surface-soft);
  padding: 7px 11px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gh-ink-2);
}

.session-line b { font-weight: 600; color: var(--gh-ink); }
.session-line .sep { color: var(--gh-border-strong); }

/* 加载 / 错误骨架 */
.boot-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  color: var(--gh-ink-3);
  font-size: 12px;
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gh-border-strong);
  border-top-color: var(--gh-brand);
  animation: spin 0.7s linear infinite;
}

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

/* 套餐弹窗里的两列网格 */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 14px;
}

.form-block-title {
  margin: 4px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gh-ink-2);
}

.hint-error { color: var(--danger); }

@media (max-width: 760px) {
  .shell { padding: 14px 12px 28px; }
  .gh-hero { padding: 12px 14px; }
  .gh-hero-title { font-size: 16px; }
}
