/* 前后端分离版补充样式：参考项目未覆盖、Vue 组件需要的最小集合 */

.tp-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.tp-actions .btn-primary,
.tp-actions .btn-ghost {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  border-radius: 10px;
}
.btn-ghost {
  background: var(--bg-btn);
  color: #2356dc;
}
.btn-ghost:hover {
  background: #dce7ff;
}

.tp-warn .ic {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #b45309;
}

.tp-qr-img {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

/* 后台：登录卡片的错误提示默认占位，避免布局跳动 */
.adm-login-err {
  min-height: 18px;
}

.adm-empty {
  padding: 26px 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.adm-ps-grid .adm-field {
  min-width: 130px;
}

.adm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#cleanupOut {
  margin-top: 12px;
}

.adm-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.adm-qr-box img {
  max-width: 100%;
}
/* admin 面板补丁：参考 admin.css 里 .adm-ps-grid 依赖 .adm-pane-grid 的 display:grid */
.adm-ps-grid { display: grid; }
.adm-chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: 0; }
.adm-chip { cursor: pointer; font: inherit; }
.adm-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 演示模式提示条 */
.demo-banner{display:flex;align-items:center;gap:8px;max-width:900px;margin:12px auto 0;padding:10px 14px;border:1px solid #f5d9a8;background:#fff8e8;color:#b45309;border-radius:10px;font-size:13px;line-height:1.5}
.demo-banner .icon{flex:0 0 auto;width:16px;height:16px;color:#d97706}

/* 转存进度：只按真实阶段推进，未完成阶段用流动条纹表示等待 */
.tp-bar.live { background-image: repeating-linear-gradient(90deg, #eef2f6 0 14px, #e3e9f1 14px 28px); background-size: 28px 100%; animation: tp-track 1.1s linear infinite; }
.tp-bar.live i { background-image: linear-gradient(90deg, #5dd240, #8ce86f, #5dd240); background-size: 200% 100%; animation: tp-fill 1.6s linear infinite; }
@keyframes tp-track { to { background-position: 28px 0; } }
@keyframes tp-fill { to { background-position: -200% 0; } }
.tp-stage b { font-size: 13px; }
