/* smarters-linux: tokens LG clássico, referências locais F01/F02/F03. */
:root {
  color-scheme: dark;
  --sl-bg: #14171b;
  --sl-sidebar: #0c0e11;
  --sl-surface: #22262c;
  --sl-raised: #30363e;
  --sl-line: #515965;
  --sl-text: #ffffff;
  --sl-muted: #bdc4ce;
  --sl-ink: #121619;
  --sl-cyan: #007eaa;
  --sl-cyan-hi: #3cc8f0; /* ciano claro: texto e ícone sobre fundo escuro */
  --sl-red: #bd2539;
  --sl-green: #387b19;
  --sl-pink: #c21669;
  --sl-blue: #3153af;
  --sl-yellow: #f3cf23;
  --sl-pink-text: #ff8fc0; /* rosa para texto sobre fundo escuro (7,2:1 na superfície) */
  --sl-danger-text: #ff8a8a; /* erro sobre fundo escuro (6,7:1) */
  --sl-clear: transparent;
  --sl-scrim: rgb(8 10 13 / 92%);
  --sl-overlay: rgb(8 10 13 / 82%);
  --sl-shadow: 0 2vh 3vh rgb(0 0 0 / 55%);
  --sl-focus: 0 0 0 3px var(--sl-bg), 0 0 0 6px var(--sl-text);
  --sl-rail: clamp(72px, 6vw, 120px);
  --sl-rail-expanded: clamp(220px, 19vw, 390px);
  --sl-gap: clamp(14px, 1.6vw, 36px);
  --sl-type: clamp(22px, 1.7vw, 40px);
  --sl-small: clamp(18px, 1.3vw, 32px);
  --sl-title: clamp(30px, 3vw, 68px);
  --sl-skew: -9deg;
  --sl-unskew: 9deg;
  --sl-motion: 220ms;
  --sl-ease: cubic-bezier(.2, .8, .2, 1);
  --primary-color: var(--sl-bg);
  --light-primary: var(--sl-surface);
  --font-color: var(--sl-text);
  --basic-btnbg: var(--sl-line);
  --light-dark: var(--sl-overlay);
  --hover-btn: var(--sl-pink);
  --primary-btn: var(--sl-cyan);
  --custom-btn: var(--sl-cyan);
  --second-btn: var(--sl-raised);
  --cus-color: var(--sl-pink);
  --cus-colorlight: var(--sl-pink);
  --thumbBG: var(--sl-line);
  --scrollbarBG: var(--sl-sidebar);
}
@font-face {
  font-family: 'SL Icons';
  src: url('../../webfonts/fa-solid-900.woff2') format('woff2');
  font-display: block;
}
.fas, .far { font-family: 'SL Icons'; font-weight: 900; }
.fa-calendar-alt::before { content: '\f073'; }
html, body {
  width: 100%; height: 100%; margin: 0;
  background: var(--sl-bg); color: var(--sl-text);
  font-family: system-ui, 'Segoe UI', sans-serif;
  font-size: var(--sl-type); line-height: 1.4;
}
body { position: relative; overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea, .btn { font-family: inherit; }
button, a, [role='button'] { -webkit-tap-highlight-color: var(--sl-clear); }
button { cursor: pointer; }
.app { width: 100%; height: 100%; }
body.sl-authenticated .app { margin-left: var(--sl-rail); width: calc(100% - var(--sl-rail)); }
.app > :is(#mainContent, #channelContent, #SingleMoviePage, #profile, #account) { width: 100%; height: 100%; overflow: auto; }
.container { width: 100%; max-width: none; padding: 0 2.5vw; }
.mainHome, .mainAccount, .blueBackgroundCenter { position: relative; width: 100%; min-height: 100vh; height: 100%; background: var(--sl-bg) !important; }
.mainHomeContent { width: 100%; padding: 0; }
.header-margin-top { margin-top: 0 !important; padding-top: 3vh; }
.homeHeader, .liveHeader, .header { background: var(--sl-bg); padding: 2vh 0; height: auto; }
.main-title, .pagesTitle { font-size: var(--sl-type) !important; color: var(--sl-text); }
.main-title { margin: 0 !important; font-weight: 500; }
.logImg, .logo img { width: clamp(120px, 12vw, 280px); max-height: 7vh; object-fit: contain; }
.timeOnAllPages, .dateOnAllPages { font-size: var(--sl-small) !important; margin-top: 0; }
:is(.imageFocus, .mouseFocus):not(input), :focus-visible { outline: 3px solid var(--sl-text) !important; outline-offset: 3px; }
.imageFocus, .mouseFocus { scroll-margin: 4vh 3vw; }
input:focus-visible, input.imageFocus { outline: 3px solid var(--sl-yellow) !important; }
:is(.section, .sliderimage-div, .sliderimage-view, .sl-card, .settingsTile, .listIcons, .sl-launch-card) { transition: transform var(--sl-motion) var(--sl-ease), opacity var(--sl-motion) var(--sl-ease); }
:is(.section, .sliderimage-div, .sliderimage-view, .sl-card, .settingsTile, .listIcons):is(:hover, :focus-visible, .imageFocus), /* launcher tem foco próprio (home.css), com inclinação */
:is(.sliderimage-div, .sliderimage-view):has(.imageFocus) {
  z-index: 5; box-shadow: var(--sl-shadow); transform: translateY(-1.4vh) scale(1.04);
}
.scrollBarClass, .slider, .sl-continue-grid { scrollbar-width: thin; scrollbar-color: var(--sl-line) var(--sl-sidebar); }
body ::-webkit-scrollbar { width: 8px; height: 8px; }
body ::-webkit-scrollbar-track { background: var(--sl-sidebar); }
body ::-webkit-scrollbar-thumb { background: var(--sl-line); border-radius: 0; box-shadow: none; }
.overlay-screen, .loader-bg { background: var(--sl-overlay); }
#backArrow { right: 1.3vw !important; bottom: 1.2vh !important; width: clamp(80px, 8vw, 160px) !important; z-index: 9000; /* abaixo do player (#HTML5Div, 9999), para não cobrir o fechar */ }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
/* smarters-linux: rolagem preservada, sem barras visuais (inclusive regras do vendor). */
body, body * { scrollbar-width: none !important; }
body ::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
/* smarters-linux: substitui a imagem que continha “Go back” por texto localizado. */
#backArrow { top: 2vh !important; bottom: auto !important; right: 1.5vw !important; width: clamp(110px, 7.5vw, 190px) !important; height: auto !important; background: var(--sl-raised) !important; color: var(--sl-text); opacity: 1 !important; text-align: center; padding: 1vh .6vw; font-size: clamp(16px, 1.15vw, 28px); line-height: 1.4; cursor: pointer; }
#backArrow::before { content: '← Voltar'; }
@media (max-width: 650px) {
  #backArrow { right: 12px !important; top: 12px !important; width: 84px !important; font-size: 16px; }
  .categoriesPadding > .row { grid-template-columns: minmax(0, 1fr); }
}
/* smarters-linux: com a barra lateral à vista, a marca fica só nela; telas internas não repetem a logo. */
body.sl-authenticated img[src="images/home-logo.png"] { display: none; }
