/* 相似字形缩略图 */
.sim-img { display: inline-block !important; height: 80px; margin-left: 16px;}

/* 演变时间轴 */
.evo-title { margin: 0.25em 0; }
.evo-wrap {
  display: flex; flex-wrap: nowrap; gap: 4px;
  justify-content: flex-start; align-items: flex-start;
  overflow-x: auto; white-space: nowrap; scrollbar-width: thin;
}
.evo-node {
  display: inline-block; text-align: center; min-width: 110px;
  white-space: normal; vertical-align: middle;
}
.evo-label { font-size: 12px; margin-bottom: 4px; }
.evo-node img {
  display: block;
  margin: 6px auto 10px;
    height: 80px;
}
.evo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  min-height: 100px;
  padding-top: 20px;
}

@media (max-width: 640px){
  .evo-node { min-width:72px; }
  .evo-node img { height:64px; }
}

.candidate-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
/* 汉字输入框样式 */
.hanzi-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
/* 翻译按钮 */
.hanzi-confirm {
  margin-left: 14px;           /* 与文字间距 */
  padding: 0px 10px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease, background-color .2s;
  display: inline-block;       /* 使其按内容收缩 */
  text-align: center;
  flex: 0 0 auto;
  margin-top: 3px;
}

.hanzi-confirm:hover {
  background: #FFFBF8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* ---------- 进度条（检索中） ---------- */
.progress-wrap {
  height: 6px;                    /* 与 JS 内联保持一致，作为兜底 */
  background: rgba(0,0,0,.08);    /* 背景槽颜色 */
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 0%;                      /* 初始宽度，由 JS 动态控制 */
  background: var(--primary);     /* 主色：与主题绿色一致 */
  transition: width .2s linear;   /* 平滑过渡 */
}

.bubble.processing {
  width: 90%;
}

.oracle-sentence {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px; /* 图片之间的间距 */
  margin-bottom: 8px;
}

.char-img {
  height: 40px;   /* 可根据需求调整大小 */
  width: auto;
  border-radius: 0px !important;
}