/* TaterPost loading animation: a potato that hops, blinks and "types" three
   teal dots (the dotted trail from the logo). Used by the pre-React splash in
   index.html and by PotatoLoader.jsx, so both look identical. */
.tp-splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9F8F6;
}
.tp-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tp-svg { width: 96px; height: 100px; overflow: visible; }
.tp-potato { transform-origin: 60px 102px; animation: tp-hop 1.3s ease-in-out infinite; }
.tp-shadow { transform-origin: 60px 108px; animation: tp-shadow 1.3s ease-in-out infinite; }
.tp-eye { transform-box: fill-box; transform-origin: center; animation: tp-blink 3.6s infinite; }
.tp-dot { animation: tp-dot 1.2s ease-in-out infinite; }
.tp-dot:nth-child(2) { animation-delay: 0.15s; }
.tp-dot:nth-child(3) { animation-delay: 0.3s; }
.tp-caption {
  margin: 0;
  font-family: 'Permanent Marker', cursive;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.55);
}
@keyframes tp-hop {
  0%, 100% { transform: translateY(0) scale(1.04, 0.96); }
  45% { transform: translateY(-14px) scale(0.97, 1.04); }
  70% { transform: translateY(0) scale(1.05, 0.95); }
}
@keyframes tp-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.18; }
  45% { transform: scaleX(0.7); opacity: 0.09; }
}
@keyframes tp-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.1); }
}
@keyframes tp-dot {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .tp-potato, .tp-shadow, .tp-eye, .tp-dot { animation: none; }
  .tp-dot { opacity: 0.7; }
}
