/* Título de cinema (Kinéta). Só transform, opacity e um blur curto. */
.tc-pre [data-tc-titulo], .tc-pre [data-tc-depois] { opacity: 0; animation: tc-seguro 0s 3s forwards; }
@keyframes tc-seguro { to { opacity: 1; } }

[data-tc-titulo] { position: relative; }
.tc-p { display: inline-block; white-space: nowrap; }
.tc-m { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.tc-l { display: inline-block; }
.tc-linha { position: absolute; left: 0; right: 0; bottom: -.28em; height: 2px; overflow-x: clip; overflow-y: visible; clip-path: inset(-14px 0); pointer-events: none; opacity: 0; }
.tc-linha i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--tc-cor-linha, #E5552F) 30%, var(--tc-cor-linha, #E5552F) 70%, transparent); box-shadow: 0 0 12px var(--tc-cor-linha, #E5552F); transform: translateX(-100%); }

[data-tc-estado="espera"] .tc-l { transform: translateY(110%); opacity: 0; filter: blur(8px); }
[data-tc-estado="espera"] [data-tc-depois] { opacity: 0; transform: translateY(14px); }
[data-tc-estado="toca"] .tc-l { animation: tc-sobe var(--tc-dl, .8s) cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--i) * var(--tc-atraso, .028s)); }
[data-tc-estado="toca"] .tc-linha { opacity: 1; animation: tc-fade var(--tc-linha-dur, .9s) linear both; animation-delay: var(--tc-linha-atraso, .7s); }
[data-tc-estado="toca"] .tc-linha i { animation: tc-passa var(--tc-linha-dur, .9s) cubic-bezier(.5, 0, .2, 1) both; animation-delay: var(--tc-linha-atraso, .7s); }
[data-tc-estado="toca"] [data-tc-depois] { animation: tc-entra .5s cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--tc-depois, 1s) + var(--k, 0) * .1s); }
[data-tc-estado="fim"] .tc-linha { display: none; }
[data-tc-pausa] * { animation-play-state: paused !important; }

@keyframes tc-sobe { from { transform: translateY(110%); opacity: 0; filter: blur(8px); } 60% { opacity: 1; } to { transform: none; opacity: 1; filter: blur(0); } }
@keyframes tc-passa { to { transform: translateX(100%); } }
@keyframes tc-fade { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tc-entra { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .tc-pre [data-tc-titulo], .tc-pre [data-tc-depois] { opacity: 1; animation: none; }
  [data-tc-estado] * { animation: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  .tc-linha { display: none; }
}
