/* smarters-linux: CSS nativo; só transform/opacity, sem camadas permanentes. */
@keyframes sl-screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sl-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sl-card-in {
  from { opacity: 0; transform: translateY(12px) skewX(var(--sl-entry-skew, 0deg)); }
  to { opacity: 1; transform: translateY(0) skewX(var(--sl-entry-skew, 0deg)); }
}
@keyframes sl-menu-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes sl-resume-in {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}
:is(.sl-home, .sl-continue, .login-page, .mainAccount, .mainHome, .blueBackgroundCenter, .viewinfo-content) {
  animation: sl-screen-in var(--sl-motion) var(--sl-ease);
}
:is(.sl-launcher-shell, .sl-seasons, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails) {
  animation: sl-fade-in var(--sl-motion) var(--sl-ease);
}
/* O índice vem do CSS; não percorre nem observa cada item das listas. */
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(-n+20) {
  animation: sl-card-in var(--sl-motion) var(--sl-ease) calc(var(--sl-order, 0) * 14ms) backwards;
}
.sl-launch-card { --sl-entry-skew: var(--sl-skew); }
/* smarters-linux: a entrada não é cancelada no hover; cancelar fazia a animação recomeçar (cartão sumia) ao tirar o mouse. */
:is(button, .btn, .episode, .tabBlock-tab, .liveDetails > .rowSec, .watchNow-custom, .makeFav, .wcp-button, .wcp-menu-item) {
  transition: transform var(--sl-motion) var(--sl-ease), opacity var(--sl-motion) var(--sl-ease);
}
:is(button, .btn, .watchNow-custom, .makeFav, .wcp-button):not(.sl-nav, .sl-launch-card):is(:hover, :focus-visible, .imageFocus) {
  transform: translateY(-3px) scale(1.025); box-shadow: var(--sl-shadow);
}
.sl-season-tab:is(:hover, :focus-visible, .imageFocus), .liveDetails > .rowSec:is(:hover, .imageFocus) {
  transform: translateY(-4px) scale(1.02); box-shadow: var(--sl-shadow);
}
.episode:is(:hover, :focus-visible, .imageFocus), .tabBlock-tab:is(:hover, :focus-visible, .imageFocus) {
  transform: translateY(-4px) scale(1.025); box-shadow: var(--sl-shadow);
}
/* Vence o transition:all e a entrada lateral de 2000px do CSS legado. */
.view-stream .sliderimage-view.animation-element {
  transition: transform var(--sl-motion) var(--sl-ease), opacity var(--sl-motion) var(--sl-ease);
}
.wcp-wrapper .wcp-menu { animation: sl-menu-in var(--sl-motion) var(--sl-ease); }
.sl-resume { animation: sl-fade-in var(--sl-motion) var(--sl-ease); }
.sl-resume > :is(p, button) { animation: sl-resume-in var(--sl-motion) var(--sl-ease); }

/* A sequência termina no item 20; os demais aparecem sem animação individual. */
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(2) { --sl-order: 1; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(3) { --sl-order: 2; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(4) { --sl-order: 3; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(5) { --sl-order: 4; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(6) { --sl-order: 5; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(7) { --sl-order: 6; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(8) { --sl-order: 7; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(9) { --sl-order: 8; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(10) { --sl-order: 9; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(11) { --sl-order: 10; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(12) { --sl-order: 11; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(13) { --sl-order: 12; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(14) { --sl-order: 13; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(15) { --sl-order: 14; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(16) { --sl-order: 15; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(17) { --sl-order: 16; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(18) { --sl-order: 17; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(19) { --sl-order: 18; }
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(20) { --sl-order: 19; }

/* smarters-linux: motion mais presente (pedido do Davi: "tá tudo seco"). Mola no foco, entradas mais longas e
   sequência perceptível; continua só transform/opacity. */
:root { --sl-spring: cubic-bezier(.34, 1.5, .64, 1); --sl-enter: 480ms; --sl-step: 45ms; }
@keyframes sl-screen-in { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sl-card-in {
  from { opacity: 0; transform: translateY(36px) scale(.96) skewX(var(--sl-entry-skew, 0deg)); }
  to { opacity: 1; transform: translateY(0) scale(1) skewX(var(--sl-entry-skew, 0deg)); }
}
@keyframes sl-launch-in {
  from { opacity: 0; transform: translateY(70px) skewX(var(--sl-skew)); }
  to { opacity: 1; transform: translateY(0) skewX(var(--sl-skew)); }
}
@keyframes sl-hero-in { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes sl-art-in { from { opacity: 0; transform: scale(1.08); } to { opacity: .55; transform: none; } }
:is(.sl-home, .sl-continue, .login-page, .mainAccount, .mainHome, .blueBackgroundCenter, .viewinfo-content) {
  animation: sl-screen-in var(--sl-enter) var(--sl-ease);
}
:where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(-n+20) {
  animation: sl-card-in var(--sl-enter) var(--sl-ease) calc(120ms + var(--sl-order, 0) * var(--sl-step)) backwards;
}
.sl-launcher > .sl-launch-card:nth-child(-n+20) { animation: sl-launch-in 560ms var(--sl-spring) calc(150ms + var(--sl-order, 0) * 70ms) backwards; }
.sl-hero-copy { animation: sl-hero-in 600ms var(--sl-ease) 80ms backwards; }
.sl-hero-art { animation: sl-art-in 1200ms var(--sl-ease) backwards; }
:is(.section, .sliderimage-div, .sliderimage-view, .sl-card, .settingsTile, .listIcons, .sl-launch-card, .sl-season-tab, .rowSec, .episode) {
  transition: transform 380ms var(--sl-spring), box-shadow 300ms var(--sl-ease), background-color 250ms var(--sl-ease), color 250ms var(--sl-ease), opacity 250ms var(--sl-ease) !important;
}
.sl-sidebar { transition: width 340ms var(--sl-spring), box-shadow 300ms var(--sl-ease) !important; }
.sl-nav { transition: background-color 200ms var(--sl-ease), color 200ms var(--sl-ease), padding-left 250ms var(--sl-ease); }
.sl-nav:is(:hover, :focus-visible) i { transform: scale(1.15); }
.sl-nav i { transition: transform 300ms var(--sl-spring); }
.wcp-wrapper .wcp-menu-item { transition: background-color 180ms var(--sl-ease), transform 250ms var(--sl-spring); }
.wcp-wrapper .wcp-menu-item:hover { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
    scroll-behavior: auto !important;
  }
}
