/* 進入前的動態畫面（版本 B：站直 → 蹲到 logo 姿勢，約 2 秒；人的動作用 SVG animate 做，在 includes/splash.html）。圖形與時間軸同設計稿 Splash 畫板、App 的 SplashScreen。 */
.tt-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  color: #faf8f5;
  cursor: pointer;
  transition: opacity .3s ease;
}
.tt-splash[hidden] { display: none; }
.tt-splash.is-out { opacity: 0; }
/* 2026-11-21 使用者指定：動畫放在 App 圖示那種深色圓角正方形裡 */
.tt-splash-tile {
  width: clamp(6.5rem, 33%, 12.5rem); /* 約佔螢幕寬 1/3（使用者 2026-11-22） */
  aspect-ratio: 1;
  border-radius: 22%;
  background: #14161a;
  box-shadow: 0 10px 24px rgba(20, 22, 26, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tt-splash-mark { width: 62%; height: auto; }
.tt-splash-word {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(0.75rem, 3.3vw, 1.05rem); /* 跟著方塊等比例（方塊寬的 1/10） */
  letter-spacing: .02em;
  animation: tt-word .5s 1.5s ease-out both;
}
.tt-trace { stroke-dasharray: 120; animation: tt-draw-long .5s 1.3s ease-out both; }

@keyframes tt-draw-long { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes tt-word { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .tt-splash, .tt-splash * { animation: none !important; transition: none !important; }
}
