/* smarters-linux: Continuar, Favoritos e pergunta de retomada. */
.sl-continue { padding: 3vh 3vw 6vh; color: var(--sl-text); min-height: 100vh; }
.sl-continue-head { display: flex; align-items: center; gap: 3vw; margin-bottom: 4vh; }
.sl-continue-logo { width: clamp(120px, 11vw, 250px); height: auto; }
.sl-continue-head h1 { font-size: var(--sl-title); font-weight: 400; margin: 0; letter-spacing: -.03em; }
.sl-continue-empty { max-width: 36em; font-size: var(--sl-type); color: var(--sl-muted); text-align: left; margin: 18vh auto 0; }
.sl-continue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(155px, 13vw, 310px), 1fr)); gap: 4vh 2vw; padding: 3vh 2vw 5vh; }
.sl-card { position: relative; cursor: pointer; min-width: 0; padding-bottom: 1.6vh; background: var(--sl-blue); transform: none; }
.sl-card:nth-child(4n+2) { background: var(--sl-pink); }
.sl-card:nth-child(4n+3) { background: var(--sl-green); }
.sl-card:nth-child(4n) { background: var(--sl-cyan); }
.sl-card-art { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: var(--sl-surface); }
.sl-card-art img { display: block; width: 100%; max-width: 100%; height: 100%; margin-left: 0; object-fit: cover; transform: none; }
.sl-live .sl-card-art { aspect-ratio: 4 / 3; }
.sl-live .sl-card-art img { object-fit: contain; padding: 15%; }
.sl-card-name, .sl-card-sub, .sl-card-meta { padding: 0 1.2vw; transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card-name { font-size: var(--sl-small); font-weight: 650; margin: 1.3vh 0 .6vh; }
.sl-card-sub, .sl-card-meta { font-size: var(--sl-small); }
.sl-card-bar { position: absolute; inset: auto 0 0; height: .8vh; background: var(--sl-line); }
.sl-card-bar span { display: block; height: 100%; background: var(--sl-yellow); }
.sl-card-remove { position: absolute; top: 0; right: 0; width: clamp(44px, 3vw, 64px); aspect-ratio: 1; opacity: 0; }
.sl-card:is(:hover, :focus-within) .sl-card-remove, .sl-card-remove:focus-visible { opacity: 1; }
.sl-section { font-size: var(--sl-type); font-weight: 500; margin: 3vh 0 0; }
.sl-resume { position: fixed; inset: 0; z-index: 10001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh; background: var(--sl-overlay); color: var(--sl-text); backdrop-filter: blur(12px); }
.sl-resume p { font-size: var(--sl-title); font-weight: 300; margin: 0 0 3vh; }
.sl-resume button { min-width: clamp(300px, 30vw, 650px); padding: 2.5vh 3vw; border-radius: 0; border: 0; background: var(--sl-surface); color: var(--sl-text); font-size: var(--sl-type); transform: none; }
.sl-resume button span { display: inline-block; transform: none; }
.sl-resume .sl-resume-go { background: var(--sl-blue); }
.sl-resume button:is(:hover, :focus-visible) { background: var(--sl-cyan); box-shadow: var(--sl-shadow); }
/* smarters-linux: retomada e favoritos usam o mesmo título multilinha do catálogo. */
.sl-card-name { min-height: 2.8em; max-height: 4.2em; }
.sl-card { min-width: 0; }
/* Abas dos filtros, compartilhadas com a busca geral. */
.sl-filters { padding: 2vh 0 0; }
.sl-filters > .sl-filter { animation: none; }
.sl-filter small { color: var(--sl-muted); margin-left: .3em; }
.sl-filter[aria-pressed='true'] small { color: var(--sl-text); }
.sl-filters-gap { flex: 0 0 1.5vw; border-left: 1px solid var(--sl-line); margin-left: 1.5vw; }
.sl-filter:disabled { opacity: .4; }

.sl-library .sl-continue-head { margin-bottom: clamp(12px, 2vh, 24px); }
.sl-library-criteria { display: grid; gap: clamp(10px, 1.4vh, 18px); }
.sl-library-criteria[hidden] { display: none; }
.sl-library-controls, .sl-library-tabs { display: flex; flex-wrap: wrap; gap: clamp(6px, .65vw, 14px); }
.sl-library-controls { align-items: center; }
.sl-library-criteria > .sl-library-tabs { border-bottom: 1px solid var(--sl-line); }
.sl-library-tabs .sl-filter {
  min-height: 44px; padding: .4em .7em; border: 0; border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.sl-library-tabs .sl-filter[aria-pressed='true'] { background: var(--sl-raised); border-bottom-color: var(--sl-yellow); }
.sl-library .sl-search-bar {
  flex: 1 1 14em; width: auto; min-width: 0; margin: 0; padding: 0 .55em;
  min-height: 48px; border: 0; border-bottom: 1px solid var(--sl-line);
}
.sl-library .sl-search-bar:focus-within { border-color: var(--sl-cyan-hi); }
.sl-library .sl-library-field { min-width: 0; min-height: 46px; padding: 0 .3em; }
.sl-library-field::-webkit-search-cancel-button { display: none; }
.sl-library-clear, .sl-library-reset {
  min-height: 44px; border: 0; color: var(--sl-text); background: var(--sl-raised);
}
.sl-library-clear { flex: 0 0 44px; background: transparent; font-size: 1.3em; }
.sl-library-reset { padding: .4em .8em; margin-top: .5em; }
.sl-library .sl-continue-empty { margin: 1.5em 0 0; }
.sl-library-group > .sl-section { margin: 1.1em 0 .45em; font-weight: 600; }
.sl-library-group > .sl-continue-grid { padding: 0 0 .4em; gap: clamp(10px, 1.1vw, 20px); }
.sl-library-channels { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.sl-library-channel {
  display: grid; grid-template-columns: minmax(0, 1fr) max(44px, 2.2em);
  border-left: 4px solid var(--sl-cyan); background: var(--sl-surface);
}
.sl-library-channel button {
  min-height: max(52px, 2.6em); border: 0; color: var(--sl-text); background: transparent; font-size: var(--sl-small);
}
.sl-library-channel .sl-library-channel-play {
  display: grid; grid-template-columns: max(36px, 2em) minmax(0, 1fr) max(24px, 1.2em);
  align-items: center; gap: .6em; padding: .3em .5em; text-align: left; overflow-wrap: anywhere;
}
.sl-library-channel-logo {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--sl-raised); color: var(--sl-muted);
}
.sl-library-channel-logo img { width: 100%; height: 100%; object-fit: contain; }
.sl-library-channel-logo:has(img:not([hidden])) i { display: none; }
.sl-library-channel .sl-library-channel-play:is(:hover, :active) { background: var(--sl-raised); }
.sl-continue .sl-library-remove {
  background: transparent; border: 0; border-radius: 0; color: var(--sl-danger-text);
  font-size: clamp(24px, var(--sl-type), 36px); font-weight: 700; line-height: 1; padding: 0;
  -webkit-text-stroke: 2px var(--sl-ink); paint-order: stroke fill;
}
.sl-continue .sl-library-remove:is(:hover, :active, :focus-visible) {
  background: transparent; color: var(--sl-danger-text); box-shadow: none; transform: none;
}

@media (max-width: 750px) {
  .sl-library-controls > .sl-search-bar { flex-basis: 100%; }
}
