/* Navegação e estrutura do sabor mobile. */
.sl-mobile {
  --sl-rail: 0px;
  --sl-gap: 12px;
  --sl-type: 16px;
  --sl-small: 14px;
  --sl-title: clamp(22px, 5vw, 30px);
  --sl-mobile-nav-height: 60px;
  --sl-mobile-space: clamp(12px, 4vw, 24px);
  --sl-safe-top: max(env(safe-area-inset-top, 0px), var(--safe-area-inset-top, 0px));
  --sl-safe-right: max(env(safe-area-inset-right, 0px), var(--safe-area-inset-right, 0px));
  --sl-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--safe-area-inset-bottom, 0px));
  --sl-safe-left: max(env(safe-area-inset-left, 0px), var(--safe-area-inset-left, 0px));
  --sl-enter: 180ms;
  --sl-step: 0ms;
}
.sl-mobile body { font-size: var(--sl-type); }
.sl-mobile :is(button, .btn, .form-control, .watchNow-custom, .makeFav, .popUpBtn) { border-radius: 0; }
.sl-mobile body:not(.sl-player-open) .app {
  position: absolute; inset: var(--sl-safe-top) var(--sl-safe-right) var(--sl-safe-bottom) var(--sl-safe-left);
  width: auto; height: auto; margin: 0;
}
.sl-mobile body.sl-authenticated:not(.sl-player-open) .app {
  inset-block-end: calc(var(--sl-mobile-nav-height) + var(--sl-safe-bottom));
  inset-inline-start: calc(var(--sl-rail) + var(--sl-safe-left));
}
.sl-mobile .app > :is(#mainContent, #channelContent, #SingleMoviePage, #profile, #account) {
  overflow-x: hidden; overscroll-behavior: contain;
}
.sl-mobile .sl-mobile-nav, .sl-mobile .sl-mobile-shade, .sl-mobile .sl-sidebar { display: none; }
.sl-mobile body.sl-authenticated:not(.sl-player-open) .sl-mobile-nav {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); z-index: 1101;
  position: fixed; inset: auto 0 0; min-height: calc(var(--sl-mobile-nav-height) + var(--sl-safe-bottom));
  padding: 4px calc(4px + var(--sl-safe-right)) var(--sl-safe-bottom) calc(4px + var(--sl-safe-left));
  background: var(--sl-sidebar); border-top: 1px solid var(--sl-raised);
}
.sl-mobile .sl-mobile-nav button {
  display: grid; align-content: center; justify-items: center; gap: 3px; min-width: 0; min-height: 48px;
  border: 0; background: transparent; color: var(--sl-muted); font: 500 11px/1.3 system-ui, sans-serif;
}
.sl-mobile .sl-mobile-nav i { font-size: 18px; }
.sl-mobile body:not(.sl-offline-home) .sl-mobile-nav [data-mobile-nav="downloads"],
.sl-mobile body.sl-offline-home .sl-mobile-nav [data-mobile-nav]:not([data-mobile-nav="downloads"]) { display: none; }
.sl-mobile body.sl-offline-home .sl-mobile-nav { grid-template-columns: 1fr; }
.sl-mobile .sl-mobile-nav :is([aria-current="page"], [aria-expanded="true"]) {
  color: var(--sl-text); background: var(--sl-surface); box-shadow: inset 0 -3px var(--sl-yellow);
}
.sl-mobile body.sl-mobile-menu.sl-authenticated:not(.sl-player-open) .sl-sidebar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 4px;
  inset: auto calc(var(--sl-safe-right) + 8px) calc(var(--sl-mobile-nav-height) + var(--sl-safe-bottom) + 8px) auto;
  width: min(310px, calc(100% - var(--sl-safe-left) - var(--sl-safe-right) - 16px));
  max-height: calc(100dvh - var(--sl-mobile-nav-height) - var(--sl-safe-top) - var(--sl-safe-bottom) - 16px);
  overflow-y: auto; padding: 8px; border: 1px solid var(--sl-line);
  background: var(--sl-surface); box-shadow: var(--sl-shadow);
}
.sl-mobile .sl-sidebar :is(.sl-brand, .sl-nav[hidden]) { display: none; }
.sl-mobile .sl-sidebar .sl-nav {
  min-height: 48px; margin: 0; padding: 6px 8px; gap: 6px; border-left-width: 3px; font-size: 13px;
}
.sl-mobile .sl-sidebar .sl-nav span { opacity: 1; }
.sl-mobile .sl-sidebar .sl-nav i { flex: 0 0 20px; }
.sl-mobile .sl-mobile-menu.sl-authenticated .sl-mobile-shade {
  display: block; position: fixed; inset: 0; z-index: 1099; background: rgb(8 10 13 / 58%); border: 0;
}
.sl-mobile #backArrow { display: none !important; }

.sl-mobile :is(.imageFocus, .mouseFocus):not(:focus-visible) { outline: none !important; }
.sl-mobile :focus-visible { outline: 2px solid var(--sl-cyan-hi) !important; outline-offset: -2px !important; }
.sl-mobile :is(button, .btn, .watchNow-custom, .makeFav, .section, .sl-card, .sliderimage-div, .sliderimage-view, .settingsTile, .listIcons, .sl-season-tab, .rowSec, .episode, .wcp-button):not(:disabled):is(:hover, :focus-visible, .imageFocus) {
  transform: none; box-shadow: none;
}
.sl-mobile :where(.sl-launcher, .categoriesPadding > .row, .slider.responsive, .view-stream, .sl-continue-grid, .liveDetails, #relatedSeries, .sl-seasons, .accountBody) > :nth-child(-n+20) { animation: none; }

.sl-mobile .sl-home {
  min-height: 100%; height: auto; overflow: visible;
  padding: 12px var(--sl-mobile-space) 8px; gap: 10px;
}
.sl-mobile .sl-home-head { z-index: 4; flex: none; flex-wrap: nowrap; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0; }
.sl-mobile .sl-home-head > img[src] { display: block; width: 72px; max-height: 38px; object-fit: contain; }
.sl-mobile .sl-home-head .sl-home-clock, .sl-mobile .sl-home-footer { display: none; }
.sl-mobile .sl-profile-toggle { min-height: 44px; padding: 3px 9px 3px 3px; gap: 8px; border-radius: 0; }
.sl-mobile .sl-profile-toggle span { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-mobile .sl-profile-menu .sl-profile-pop { display: none; right: 0; min-width: min(240px, 80vw); padding: 6px; border: 1px solid var(--sl-line); }
.sl-mobile .sl-profile-toggle[aria-expanded="true"] + .sl-profile-pop { display: block; }
.sl-mobile .sl-profile-pop :is(.sl-profile-info, .sl-profile-item) { padding: 10px; }
.sl-mobile .sl-profile-pop .sl-profile-item { min-height: 44px; }
.sl-mobile .sl-home-idle { flex: 1 0 150px; display: grid; align-content: center; padding: 16px; }
.sl-mobile .sl-home-idle h1 { font-size: var(--sl-title); }
.sl-mobile .sl-home-idle p, .sl-mobile .sl-hero-copy p { font-size: var(--sl-small); }
.sl-mobile .sl-home-hero {
  flex: 1 0 auto; display: flex; align-items: flex-end; min-height: 280px; margin: 0; padding: 18px;
  overflow: hidden;
}
.sl-mobile .sl-home-hero:not(:has(.sl-hero-art)) { background: var(--sl-surface); }
.sl-mobile .sl-hero-art { width: 100%; object-position: center 30%; opacity: 1; animation: none; }
.sl-mobile .sl-home-live .sl-hero-art { height: 55%; inset: 26px 0 auto; object-fit: contain; object-position: center; }
.sl-mobile .sl-home-hero::after {
  background: linear-gradient(to top, #0c0e11 3%, rgb(12 14 17 / 92%) 19%, rgb(12 14 17 / 32%) 50%, transparent 72%);
}
.sl-mobile .sl-hero-copy { width: 100%; max-width: none; animation: none; }
.sl-mobile .sl-hero-heading { display: grid; grid-template-columns: minmax(0, 1fr) 52px; align-items: center; gap: 10px; }
.sl-mobile .sl-hero-heading h1 {
  display: block; margin: 0;
  font-size: clamp(14px, 4.2vw, 20px); line-height: 1.25; font-weight: 650;
  white-space: nowrap; text-overflow: ellipsis;
}
.sl-mobile .sl-hero-copy p { margin: 0; }
.sl-mobile .sl-hero-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--sl-muted); }
.sl-mobile .sl-hero-progress progress { flex: 1 0 100px; height: 4px; border: 0; overflow: hidden; }
.sl-mobile .sl-hero-progress progress::-webkit-progress-bar { background: rgb(255 255 255 / 26%); }
.sl-mobile .sl-hero-progress progress::-webkit-progress-value { background: var(--sl-cyan-hi); }
.sl-mobile .sl-hero-action {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0; padding: 0;
  color: var(--sl-ink); background: var(--sl-cyan-hi); font-size: 23px;
}
.sl-mobile .sl-hero-action:active { background: var(--sl-text); }
.sl-mobile .sl-hero-action:focus-visible { outline-color: var(--sl-ink) !important; }
.sl-mobile .sl-launcher-shell { flex: none; margin: 0; }
.sl-mobile .sl-launcher {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px;
  padding: 0 5px; overflow: visible; align-items: stretch;
}
.sl-mobile .sl-home .sl-launcher .sl-launch-card {
  width: 100%; height: auto; min-height: 54px; padding: 6px 2px; gap: 5px;
  justify-content: center; box-shadow: none; animation: none;
  font-size: clamp(10px, 3.1vw, 12px); font-weight: 550;
}
.sl-mobile .sl-home #homeLiveTile { background: var(--sl-text); color: var(--sl-ink); }
.sl-mobile .sl-home #newsTile { background: var(--sl-pink); }
.sl-mobile .sl-home .sl-launcher .sl-launch-card:is(:active, :focus-visible) {
  transform: skewX(var(--sl-skew)) translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 45%);
}
.sl-mobile .sl-launcher :is(#continueTile, #favoritesTile, #downloadsTile, #accountTile, #settingTile) { display: none; }
.sl-mobile .sl-launch-card i { margin: 0; font-size: 20px; }
.sl-mobile .sl-launch-card span { max-width: 100%; overflow-wrap: anywhere; white-space: normal; line-height: 1.2; }
.sl-mobile .sl-launch-card .sl-sala-badge { top: 2px; right: 3px; }

@media (orientation: landscape) and (min-width: 600px) {
  .sl-mobile { --sl-rail: 68px; --sl-mobile-nav-height: 0px; --sl-mobile-space: 16px; }
  .sl-mobile body.sl-authenticated:not(.sl-player-open) .sl-mobile-nav {
    grid-template: repeat(5, minmax(0, 1fr)) / 1fr;
    inset: var(--sl-safe-top) auto var(--sl-safe-bottom) var(--sl-safe-left); width: var(--sl-rail);
    padding: 4px; border: 0; border-right: 1px solid var(--sl-raised);
  }
  .sl-mobile .sl-mobile-nav :is([aria-current="page"], [aria-expanded="true"]) { box-shadow: inset 3px 0 var(--sl-yellow); }
  .sl-mobile body.sl-mobile-menu.sl-authenticated:not(.sl-player-open) .sl-sidebar {
    inset: auto auto calc(var(--sl-safe-bottom) + 8px) calc(var(--sl-safe-left) + var(--sl-rail) + 8px);
  }
  .sl-mobile .sl-home-hero { min-height: 168px; padding: 12px 16px; }
  .sl-mobile .sl-hero-art { width: 58%; }
  .sl-mobile .sl-home-live .sl-hero-art { height: 100%; inset: 0 0 0 auto; padding: 12px; }
  .sl-mobile .sl-home-hero::after { background: linear-gradient(to right, #0c0e11 32%, rgb(12 14 17 / 74%) 52%, transparent 85%); }
  .sl-mobile .sl-hero-copy { max-width: 64%; }
}
