/* FateClear · 共用解读等待态（A4）· DESIGN v3 · fc no-important */
.fc-reading-pending,
.reading-pending {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: var(--r-md, 16px);
  border: 1px solid var(--line, var(--ui-line, rgba(0, 0, 0, 0.12)));
  background: var(--paper, var(--ui-paper, #fffdf8));
  color: inherit;
  box-shadow: var(--shadow-1, none);
}
.fc-reading-pending[hidden],
.reading-pending[hidden] {
  display: none;
}
.fc-reading-pending-pillars,
.reading-pending-pillars {
  display: flex;
  gap: 14px;
  justify-content: center;
  font-size: 20px;
  line-height: 1.25;
}
.fc-reading-pending-pillars span,
.reading-pending-pillars span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.fc-reading-pending-pillars small,
.reading-pending-pillars small {
  font-size: 12px;
  opacity: 0.6;
}
.fc-reading-pending-stage,
.fc-reading-pending > p:not(.fc-reading-pending-eta),
.reading-pending > p:not(.fc-reading-pending-eta) {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink, var(--ui-ink));
  opacity: 0.88;
}
.fc-reading-pending-eta {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink2, var(--ui-muted));
  opacity: 0.9;
}
.fc-reading-pending-dot,
.reading-pending-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  animation: fcReadingPulse 1s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes fcReadingPulse {
  50% { opacity: 0.1; }
}
@keyframes readingPulse {
  50% { opacity: 0.1; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-reading-pending-dot,
  .reading-pending-dot {
    animation: none;
  }
}
.fc-reading-pending-skel .skel,
.reading-pending-skel .skel {
  opacity: 0.35;
  font-weight: 500;
}
body[data-reading-loading] [data-screen="result"] {
  cursor: progress;
}
body[data-reading-loading] [data-screen="result"] .workspace,
body[data-reading-loading] #workbench-panels {
  opacity: 0.72;
  transition: opacity 0.15s;
}

/* audit8：不确定进度条（禁 99% 假死） */
.fc-reading-pending-bar {
  height: 3px;
  margin: 12px 0 0;
  border-radius: var(--r-pill, 999px);
  overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.fc-reading-pending-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: currentColor;
  border-radius: inherit;
  opacity: 0.55;
  animation: fcReadingProg 1.1s linear infinite;
  will-change: transform;
}
@keyframes fcReadingProg {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .fc-reading-pending-bar i { animation-duration: 2.4s; }
}

/* 占位高度：结果区/右侧栏不塌成空屏 */
.fc-reading-pending:not([hidden]),
.reading-pending:not([hidden]) {
  min-height: 88px;
  box-sizing: border-box;
}
.meihua-reading > .fc-reading-pending:not([hidden]),
.meihua-reading > .reading-pending:not([hidden]) {
  min-height: 220px;
  margin-top: 0;
}
.tz-board-wrap > .fc-reading-pending:not([hidden]),
.tz-board-wrap > .reading-pending:not([hidden]) {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tz-board-wrap .tz-shuffle {
  margin: 0 0 8px;
}
/* 回填/渲染中：结果区保持占位，减轻闪变 */
body[data-reading-loading] #chart-dock,
body[data-reading-loading] #workbench-panels {
  min-height: 120px;
}
