/* LiveEdge 流程動畫的樣式 —— 所有規則都收在 .le-anim 底下，
   放進速查頁、獨立頁或嵌入框都不會影響頁面其他地方。
   字體沿用頁面從 Google Fonts 載入的 Plus Jakarta Sans ＋ Noto Sans TC／JP。 */

.le-anim { color: #f3f4f6; font-family: "Plus Jakarta Sans", "Noto Sans TC", "Noto Sans JP", "PingFang TC", "Microsoft JhengHei", sans-serif; }
/* Japanese pages: kanji take Japanese glyph forms. */
:lang(ja) .le-anim { font-family: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
.le-anim * { box-sizing: border-box; }
.le-anim p { max-width: none; }      /* host pages (guide.css) cap paragraphs at 66ch */
.le-anim .le-head { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.le-anim .le-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #60a5fa; }
.le-anim .le-title { margin: 0; font-size: clamp(17px, 2.4vw, 24px); font-weight: 700; line-height: 1.3; }
.le-anim .le-stage { width: 100%; height: auto; display: block; border-radius: 14px; background: #060913;
  border: 1px solid rgba(255,255,255,.08); }
.le-anim .le-stage text { font-family: inherit; }
.le-anim .le-stage .proto { display: none; }
.le-anim .le-stage.show-proto .proto { display: inline; }

/* The step caption sits under the picture like a subtitle: same place every step,
   never covering the focus, and not scaled down on phones. */
.le-anim .le-sub { min-height: 2.6em; margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: clamp(16px, 2.1vw, 23px); font-weight: 700; line-height: 1.3; text-align: center;
  transition: opacity .3s ease, transform .3s ease; }
.le-anim .le-sub.hide { opacity: 0; transform: translateY(6px); }
.le-anim .le-sub .n { font-size: .6em; font-weight: 600; color: #60a5fa; letter-spacing: .08em; white-space: nowrap; }

.le-anim .le-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.le-anim .le-controls button, .le-anim .le-proto {
  font-family: inherit; font-size: 13px; font-weight: 600; color: #aab3c2; background: #0d1424;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 14px; min-height: 44px; cursor: pointer;
}
.le-anim .le-controls button:hover, .le-anim .le-proto:hover { color: #f3f4f6; border-color: rgba(255,255,255,.3); }
.le-anim .le-controls button:disabled { opacity: .35; cursor: default; }
.le-anim .le-play { min-width: 88px; color: #0b1020 !important; background: #60a5fa !important; border-color: #60a5fa !important; }
.le-anim .le-proto { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.le-anim .le-proto input { accent-color: #60a5fa; }

.le-anim .le-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; }
.le-anim .le-dots .ch { display: flex; align-items: center; gap: 2px; }
.le-anim .le-dots .ch > span { font-size: 12px; color: #8a94a6; margin-right: 4px; cursor: pointer; }
.le-anim .le-dots .ch.on > span { color: #f3f4f6; font-weight: 700; }
.le-anim .le-dots button { width: 20px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.le-anim .le-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3a4356; }
.le-anim .le-dots button.done::before { background: #6b7a94; }
.le-anim .le-dots button.on::before { background: #60a5fa; width: 10px; height: 10px; }
.le-anim :focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }

@media (max-width: 560px) {
  .le-anim .le-proto { margin-left: 0; }
  .le-anim .le-dots { gap: 10px; }
}
