/* app build progress 2026-09-17
 * Restore the hidden 生成中 column on 应用下载 and show step progress.
 */
body.yp-app-download .art-card .el-table col:first-child,
body.yp-app-download .art-card .el-table th:first-child,
body.yp-app-download .art-card .el-table td:first-child {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 56px !important;
}

body.yp-app-download .el-table,
body.yp-app-download .el-table__inner-wrapper,
body.yp-app-download .el-table__header-wrapper,
body.yp-app-download .el-table__body-wrapper {
  overflow-x: auto !important;
}

body.yp-app-download .yp-build-col,
body.yp-app-download .yp-build-col .cell {
  min-width: 168px !important;
  width: 180px !important;
  overflow: visible !important;
  white-space: normal !important;
}

.yp-build-banner {
  display: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(236,245,252,.58));
  border: 1px solid rgba(125, 211, 252, .35);
  box-shadow: 0 10px 30px rgba(15, 76, 117, .08), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.yp-build-banner.is-on { display: block; }
.yp-build-banner__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #335066;
}
.yp-build-banner__title { font-weight: 700; letter-spacing: .02em; }
.yp-build-banner__pct {
  font-variant-numeric: tabular-nums;
  color: #0e7490;
  font-weight: 700;
}
.yp-build-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 99px;
  background: rgba(14, 116, 144, .12);
  overflow: hidden;
}
.yp-build-bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  box-shadow: 0 0 16px rgba(56, 189, 248, .55);
  transition: width .45s ease;
}
.yp-build-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 132px;
}
.yp-build-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.yp-build-pill--run {
  color: #0b4a6f;
  background: linear-gradient(180deg, rgba(186,230,253,.92), rgba(125,211,252,.62));
  box-shadow: 0 0 0 1px rgba(14,116,144,.18), 0 0 14px rgba(56,189,248,.28);
}
.yp-build-pill--ok {
  color: #166534;
  background: linear-gradient(180deg, rgba(187,247,208,.92), rgba(134,239,172,.6));
  box-shadow: 0 0 0 1px rgba(22,163,74,.18);
}
.yp-build-pill--fail {
  color: #9f1239;
  background: linear-gradient(180deg, rgba(254,205,211,.95), rgba(251,113,133,.55));
  box-shadow: 0 0 0 1px rgba(225,29,72,.16);
}
.yp-build-status .yp-build-bar { width: 100%; margin-top: 0; height: 4px; }
.yp-build-step {
  font-size: 11px;
  color: #64748b;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yp-build-ops-pill { margin-right: 4px; }
.yp-build-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 4000;
  width: 320px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(232,243,250,.7));
  border: 1px solid rgba(125, 211, 252, .4);
  box-shadow: 0 18px 40px rgba(15, 76, 117, .16);
  backdrop-filter: blur(18px) saturate(1.25);
  display: none;
}
.yp-build-float.is-on { display: block; }
.yp-build-float h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #16324a;
}
.yp-build-float p {
  margin: 0;
  font-size: 12px;
  color: #5b7386;
}
html.dark .yp-build-banner,
html.dark .yp-build-float {
  background: linear-gradient(180deg, rgba(22,30,36,.82), rgba(16,24,30,.72));
  border-color: rgba(56,189,248,.22);
  color: #dbeafe;
}
html.dark .yp-build-banner__top,
html.dark .yp-build-float h4 { color: #e2e8f0; }
html.dark .yp-build-step,
html.dark .yp-build-float p { color: #94a3b8; }
