/* Keyframes e transições padrão — adaptado de assets/effects.css da skill. */
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 var(--good-soft); } 50% { box-shadow: 0 0 0 6px var(--good-soft); } }
.is-online { animation: breathe 2.4s ease-in-out infinite; }
@keyframes ping { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
.is-live { position: relative; }
.is-live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; animation: ping 1.6s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.is-loading { animation: pulse 1.1s ease-in-out infinite; }
@keyframes flash { 0% { color: var(--accent); } 100% { color: inherit; } }
.is-flash { animation: flash .9s var(--ease); }
@keyframes fade { 0% { opacity: 0; } }
@keyframes saved { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
.fade-in { animation: fade .3s var(--ease); }
@keyframes rowping { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.row-new { animation: rowping 1.4s var(--ease); }

.card, .input, .btn, .chip, .ibtn { transition: background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.switch__thumb { transition: translate .32s cubic-bezier(.3, 1.5, .5, 1); }
.chev { transition: rotate .3s cubic-bezier(.3, 1.4, .5, 1); }
.btn--bright:hover { filter: brightness(1.08); }
:root[data-theme="dark"] .btn--bright:hover { filter: brightness(.94); }

::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; animation: none; }

.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
.split-word > span { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, :before, :after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
