/*
 * Ajustes exclusivos da versão Laravel/Web.
 * O app HTML5/Tizen esconde scrollbars para uso com controle remoto; no
 * navegador elas ajudam o usuário a entender que há mais conteúdo.
 */
:root {
  --matrix-web-font: Arial, Helvetica, sans-serif;
  --matrix-web-button-weight: 400;
  --matrix-web-title-weight: 500;
  --matrix-web-emphasis-weight: 600;
  --matrix-web-scroll-track: rgba(255, 255, 255, 0.075);
  --matrix-web-scroll-thumb: rgba(255, 48, 38, 0.72);
  --matrix-web-scroll-thumb-hover: rgba(255, 72, 62, 0.95);
}

html,
body,
#app,
.screen,
button,
input,
select,
textarea,
.home-topbar,
.home-menu-button,
.home-card,
.live-breadcrumb,
.live-breadcrumb button,
.live-breadcrumb-current,
.movie-search-row,
.movie-category-row,
.live-search-row,
.live-category-row,
.live-channel-row,
.movies-grid,
.movie-card,
#catalog-next-root,
#catalog-next-root button,
#catalog-next-root input,
#catalog-next-root .live-breadcrumb,
#catalog-next-root .live-breadcrumb button,
#catalog-next-root .live-breadcrumb-current,
#catalog-next-root .movie-category-row,
#catalog-next-root .next-category,
#catalog-next-root .next-search,
#catalog-next-root .next-card,
#catalog-next-root .kids-filter-button {
  font-family: var(--matrix-web-font) !important;
}

html,
body,
#app,
.screen {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.live-breadcrumb,
.live-breadcrumb button,
.live-breadcrumb-current {
  font-weight: var(--matrix-web-button-weight) !important;
  letter-spacing: -0.02em;
}

.live-breadcrumb-current {
  font-weight: var(--matrix-web-title-weight) !important;
}

.movie-search-row,
.movie-category-row,
.live-search-row,
.live-category-row,
.live-channel-row,
#catalog-next-root .movie-category-row,
#catalog-next-root .next-category,
#catalog-next-root .next-search {
  font-weight: var(--matrix-web-button-weight) !important;
  letter-spacing: -0.015em;
}

.movie-category-row b,
.live-category-row b,
#catalog-next-root .next-category-count {
  font-weight: var(--matrix-web-button-weight) !important;
}

/* Padronização de tipografia da versão web: aproxima todos os textos do
 * visual dos botões/cards da Home, evitando o "super bold" herdado da TV. */
.home-menu button,
.home-card,
.home-card div,
.playlist-card,
.playlist-name,
.side-button,
.primary-button,
.secondary-button,
.settings-action,
.settings-back,
.movie-title,
.movie-card,
.movie-card *,
.movie-category-name,
.movie-search-row input,
.movies-topbar,
.series-favorite-action,
.series-catalog-note,
.live-scroll-text,
.live-details h1,
.live-details-title,
.live-playing-name,
.live-action-button,
.live-epg-row,
.live-epg-empty,
.live-fullscreen-channel,
.live-fullscreen-epg,
.global-search-heading,
.global-search-heading h1,
.global-search-heading p,
.global-search-input,
.global-search-input input,
.global-search-section h2,
.global-result-title,
.global-result-subtitle,
.movie-details-title,
.movie-details-overview,
.movie-details-meta,
.movie-details-cast,
.movie-details-play-button,
.movie-details-more-button,
.series-season-button,
.series-season-option,
.series-episode-info,
.series-episode,
.series-episode span,
.movie-player,
.movie-player button,
.movie-player-time,
.movie-player-controls h2,
.movie-player-track-menu,
.movie-synopsis-card,
.live-epg-dialog-card,
.parental-dialog-card {
  font-family: var(--matrix-web-font) !important;
  font-weight: var(--matrix-web-button-weight) !important;
  letter-spacing: -0.02em;
}

.global-search-heading h1,
.global-search-section h2,
.movie-details-title,
.live-details h1,
.live-details-title,
.movie-player-controls h2,
.movie-synopsis-card h2,
.live-epg-dialog-card h2,
.parental-dialog-card h2 {
  font-weight: var(--matrix-web-title-weight) !important;
}

.home-menu button,
.primary-button,
.secondary-button,
.live-action-button,
.movie-details-play-button,
.movie-details-more-button,
.series-season-button,
.series-season-option,
.movie-player button,
.global-search-input,
.global-result-title {
  font-weight: var(--matrix-web-button-weight) !important;
}

.movie-category-row.selected,
.movie-category-row:focus,
.live-category-row.selected,
.live-search-row.selected,
.live-category-row:focus,
.live-channel-row.selected,
.live-channel-row:focus,
.global-result-card:focus .global-result-title {
  font-weight: var(--matrix-web-button-weight) !important;
}

/* Scrollbars elegantes/discretas para listas verticais e grades. */
.movie-category-list,
.movies-grid-panel,
.live-list,
.series-season-options,
.global-search-screen,
.global-search-row,
#catalog-next-root .g,
#catalog-next-root .y,
#catalog-next-root .M,
#catalog-next-root .E,
#catalog-next-root .next-category-list,
#catalog-next-root .next-viewport,
#catalog-next-root .kids-viewport {
  scrollbar-width: thin !important;
  scrollbar-color: var(--matrix-web-scroll-thumb) var(--matrix-web-scroll-track) !important;
  -ms-overflow-style: auto !important;
}

.movie-category-list::-webkit-scrollbar,
.movies-grid-panel::-webkit-scrollbar,
.live-list::-webkit-scrollbar,
.series-season-options::-webkit-scrollbar,
.global-search-screen::-webkit-scrollbar,
.global-search-row::-webkit-scrollbar,
#catalog-next-root .g::-webkit-scrollbar,
#catalog-next-root .y::-webkit-scrollbar,
#catalog-next-root .M::-webkit-scrollbar,
#catalog-next-root .E::-webkit-scrollbar,
#catalog-next-root .next-category-list::-webkit-scrollbar,
#catalog-next-root .next-viewport::-webkit-scrollbar,
#catalog-next-root .kids-viewport::-webkit-scrollbar {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
}

.movie-category-list::-webkit-scrollbar-track,
.movies-grid-panel::-webkit-scrollbar-track,
.live-list::-webkit-scrollbar-track,
.series-season-options::-webkit-scrollbar-track,
.global-search-screen::-webkit-scrollbar-track,
.global-search-row::-webkit-scrollbar-track,
#catalog-next-root .g::-webkit-scrollbar-track,
#catalog-next-root .y::-webkit-scrollbar-track,
#catalog-next-root .M::-webkit-scrollbar-track,
#catalog-next-root .E::-webkit-scrollbar-track,
#catalog-next-root .next-category-list::-webkit-scrollbar-track,
#catalog-next-root .next-viewport::-webkit-scrollbar-track,
#catalog-next-root .kids-viewport::-webkit-scrollbar-track {
  background: var(--matrix-web-scroll-track);
  border-radius: 999px;
}

.movie-category-list::-webkit-scrollbar-thumb,
.movies-grid-panel::-webkit-scrollbar-thumb,
.live-list::-webkit-scrollbar-thumb,
.series-season-options::-webkit-scrollbar-thumb,
.global-search-screen::-webkit-scrollbar-thumb,
.global-search-row::-webkit-scrollbar-thumb,
#catalog-next-root .g::-webkit-scrollbar-thumb,
#catalog-next-root .y::-webkit-scrollbar-thumb,
#catalog-next-root .M::-webkit-scrollbar-thumb,
#catalog-next-root .E::-webkit-scrollbar-thumb,
#catalog-next-root .next-category-list::-webkit-scrollbar-thumb,
#catalog-next-root .next-viewport::-webkit-scrollbar-thumb,
#catalog-next-root .kids-viewport::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 88, 78, 0.95), var(--matrix-web-scroll-thumb)) padding-box;
}

.movie-category-list::-webkit-scrollbar-thumb:hover,
.movies-grid-panel::-webkit-scrollbar-thumb:hover,
.live-list::-webkit-scrollbar-thumb:hover,
.series-season-options::-webkit-scrollbar-thumb:hover,
.global-search-screen::-webkit-scrollbar-thumb:hover,
.global-search-row::-webkit-scrollbar-thumb:hover,
#catalog-next-root .g::-webkit-scrollbar-thumb:hover,
#catalog-next-root .y::-webkit-scrollbar-thumb:hover,
#catalog-next-root .M::-webkit-scrollbar-thumb:hover,
#catalog-next-root .E::-webkit-scrollbar-thumb:hover,
#catalog-next-root .next-category-list::-webkit-scrollbar-thumb:hover,
#catalog-next-root .next-viewport::-webkit-scrollbar-thumb:hover,
#catalog-next-root .kids-viewport::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 120, 110, 1), var(--matrix-web-scroll-thumb-hover)) padding-box;
}

.movie-category-list {
  padding-right: 10px;
}

.movies-grid-panel {
  padding-right: 26px;
}

.movies-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.movies-grid .movie-card {
  min-width: 0;
}

.movies-grid .movie-poster-frame {
  width: min(13.5vw, 250px) !important;
}

#catalog-next-root .next-grid .next-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding-inline: 8px;
}

#catalog-next-root .next-grid .movie-poster-frame {
  width: min(12.8vw, 230px) !important;
  max-width: calc(100% - 18px) !important;
}

#catalog-next-root .next-grid .movie-title {
  width: min(12.8vw, 230px) !important;
  max-width: calc(100% - 18px) !important;
}

.live-list {
  padding-right: 18px;
}

/* Pesquisa global: no navegador, a atividade inteira rola verticalmente e
 * cada trilho de Canais/Filmes/Séries rola horizontalmente. */
.global-search-screen {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 54px !important;
}

.global-search-content {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100%;
  overflow: visible !important;
  padding: 10px 0 52px;
}

.global-search-section {
  min-width: 0;
  margin-bottom: 34px;
}

.global-search-row {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 8px 18px 0;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.global-search-row .global-result-card {
  flex: 0 0 min(13.5vw, 250px);
}

.global-search-row::-webkit-scrollbar {
  height: 12px !important;
}

.global-search-screen::-webkit-scrollbar {
  width: 12px !important;
}

.global-search-screen::-webkit-scrollbar-corner,
.global-search-row::-webkit-scrollbar-corner {
  background: transparent;
}

/* Barra horizontal abaixo dos episódios nos detalhes da série. */
.series-episodes {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 22px;
  scrollbar-width: thin !important;
  scrollbar-color: var(--matrix-web-scroll-thumb) var(--matrix-web-scroll-track) !important;
  -ms-overflow-style: auto !important;
}

.series-episodes::-webkit-scrollbar {
  display: block !important;
  height: 12px !important;
  width: 12px !important;
}

.series-episodes::-webkit-scrollbar-track {
  background: var(--matrix-web-scroll-track);
  border-radius: 999px;
}

.series-episodes::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 88, 78, 0.95), var(--matrix-web-scroll-thumb)) padding-box;
}

.series-episodes::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, rgba(255, 120, 110, 1), var(--matrix-web-scroll-thumb-hover)) padding-box;
}

#catalog-next-root .g::-webkit-scrollbar-corner,
#catalog-next-root .y::-webkit-scrollbar-corner,
.movies-grid-panel::-webkit-scrollbar-corner,
.live-list::-webkit-scrollbar-corner,
.series-episodes::-webkit-scrollbar-corner {
  background: transparent;
}

/* Player web: controles clicáveis e botão de voltar visível. */
.movie-player video {
  cursor: default;
}

.movie-player-back,
.live-fullscreen-back {
  position: absolute;
  z-index: 40;
  top: 28px;
  left: 32px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.movie-player-back:hover,
.live-fullscreen-back:hover,
.movie-player-back:focus,
.live-fullscreen-back:focus {
  background: rgba(255, 35, 25, 0.72);
  border-color: rgba(255, 255, 255, 0.85);
  outline: none !important;
}

.movie-player-state-icon {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.movie-player-state-icon:hover,
.movie-player-state-icon:focus {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.85));
  outline: none !important;
}

.movie-player-seek {
  cursor: pointer;
}

.movie-player-seek::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  bottom: -12px;
}

.movie-player-track-menu:not([hidden]) {
  z-index: 45;
}

.movie-synopsis-dialog,
.live-epg-dialog-overlay,
.parental-dialog-overlay {
  cursor: pointer;
}

.movie-synopsis-card,
.live-epg-dialog-card,
.parental-dialog-card {
  cursor: default;
}

.live-video-shell {
  cursor: pointer;
}

.live-screen.is-fullscreen .live-fullscreen-back {
  display: inline-flex;
}

.live-screen:not(.is-fullscreen) .live-fullscreen-back {
  display: none;
}

/* Playlist/Recarga: remove pesos herdados da versao TV e deixa tudo no mesmo
 * padrao visual dos cards/botoes da Home na versao web. */
.playlist-screen,
.playlist-screen *,
.playlist-header,
.playlist-header span,
.playlist-card,
.playlist-card *,
.playlist-name,
.playlist-footer,
.playlist-right,
.device-card,
.device-card *,
.qr-hint,
.whatsapp,
.whatsapp *,
.side-button {
  font-family: var(--matrix-web-font) !important;
  font-weight: var(--matrix-web-button-weight) !important;
  letter-spacing: -0.025em;
}

.playlist-header span {
  font-size: 42px;
  line-height: 1.05;
}

.playlist-name {
  font-size: 28px;
  line-height: 1.12;
}

.device-card {
  font-size: 20px;
  line-height: 1.2;
}

.device-value {
  font-weight: var(--matrix-web-emphasis-weight) !important;
  letter-spacing: 0.01em;
}

.qr-hint,
.whatsapp {
  line-height: 1.22;
}

.whatsapp span {
  font-weight: var(--matrix-web-emphasis-weight) !important;
}

.side-button {
  font-size: 22px;
}

/* Login web no layout institucional Tela Quente. */
.login-screen {
  display: grid !important;
  grid-template-columns: minmax(520px, 43vw) minmax(620px, 1fr) !important;
  align-items: center !important;
  min-height: 100vh;
  padding: 56px 76px !important;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 35, 25, 0.22), transparent 22%),
    linear-gradient(90deg, rgba(0,0,0,0.90), rgba(0,0,0,0.28) 48%, rgba(0,0,0,0.76)),
    var(--screen-bg) center center / cover no-repeat,
    #030309 !important;
}

.login-screen,
.login-screen * {
  font-family: var(--matrix-web-font) !important;
  letter-spacing: -0.02em;
}

.login-brand-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.login-brand-logo.brand-logo-image {
  width: min(460px, 34vw) !important;
  height: auto !important;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(255, 35, 0, 0.58));
}

.login-tagline {
  margin-top: 18px;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400 !important;
  text-align: center;
  letter-spacing: 0.42em !important;
}

.login-feature-row {
  width: 100%;
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.login-feature {
  min-height: 82px;
  border-right: 1px solid rgba(255,255,255,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 500 !important;
  text-align: center;
}

.login-feature:last-child {
  border-right: 0;
}

.login-feature img,
.login-star-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  color: #fff;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.login-screen svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-star-icon {
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.login-contact-row {
  width: 100%;
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.login-contact-row .login-qr,
.login-contact-row .qr-box {
  width: 150px !important;
  height: 150px !important;
  margin: 0 !important;
  padding: 8px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 30, 24, 0.95) !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 0 18px rgba(255, 25, 22, 0.36);
}

.login-qr-hidden {
  visibility: hidden;
}

.login-contact-divider {
  width: 1px;
  height: 132px;
  background: rgba(255,255,255,0.34);
}

.login-contact-copy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 260px;
  color: #fff;
}

.login-whatsapp-icon {
  color: #ff1f25;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 12px rgba(255, 31, 37, 0.55));
}

.login-whatsapp-svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.7;
}

.login-contact-label {
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  font-weight: 400 !important;
}

.login-contact-phone {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 600 !important;
}

.login-contact-note {
  margin-top: 12px;
  max-width: 260px;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400 !important;
}

.login-card {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(760px, 88%) !important;
  max-width: none !important;
  padding: 58px 74px 42px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 45, 45, 0.45);
  border-radius: 28px;
  background:
    radial-gradient(circle at 26% -4%, rgba(255, 31, 37, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(20,18,20,0.82), rgba(6,5,6,0.86));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 42px rgba(255, 23, 28, 0.28),
    0 32px 80px rgba(0,0,0,0.55);
  text-align: left !important;
  backdrop-filter: blur(8px);
}

.login-card::before {
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,40,48,0.95), rgba(255,255,255,0.75), rgba(255,40,48,0.95), transparent);
  box-shadow: 0 0 18px rgba(255,30,36,0.9);
}

.login-title {
  margin: 0 !important;
  color: #fff;
  font-size: 38px !important;
  line-height: 1.08;
  font-weight: 600 !important;
  text-align: left;
}

.login-title span {
  color: #ff272d;
  font-weight: 700 !important;
}

.login-subtitle {
  margin: 12px 0 34px;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  font-weight: 400 !important;
}

.login-card .input-pill {
  width: 100%;
  height: 76px;
  margin-bottom: 18px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(24,33,37,0.92), rgba(16,23,26,0.92));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 8px 24px rgba(0,0,0,0.28);
}

.login-card .login-input-control {
  gap: 18px;
}

.login-card .input-pill-inner {
  text-align: left !important;
  font-size: 24px;
  font-weight: 400 !important;
}

.login-card .input-pill-inner::placeholder {
  color: rgba(255,255,255,0.62);
}

.login-field-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-eye-icon {
  margin-left: auto;
  opacity: 0.88;
}

.login-inline-svg {
  width: 28px;
  height: 28px;
}

.login-card .login-input-control:focus,
.login-card .login-input-control:focus-within {
  transform: none !important;
  border-color: rgba(255,255,255,0.44);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.22), 0 0 24px rgba(255, 38, 42, 0.38);
}

.login-card .primary-button {
  height: 78px;
  margin-top: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff242d, #d51118);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 10px 28px rgba(255, 25, 30, 0.28);
  font-size: 24px;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

.login-card .primary-button span {
  margin-left: 26px;
  width: 46px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -7px;
}

.login-arrow-svg {
  width: 42px;
  height: 28px;
  stroke-width: 2.1;
}

.login-card .primary-button:focus {
  background: linear-gradient(180deg, #ff343d, #e0161e);
}

.login-card-divider {
  height: 1px;
  margin: 34px 0 20px;
  background: rgba(255,255,255,0.26);
}

.login-card .login-device {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  font-weight: 500 !important;
  text-align: center;
}

.login-card .login-device b {
  color: #fff;
  font-size: 20px;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.login-device-icon {
  width: 34px;
  height: 28px;
  color: rgba(255,255,255,0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-device-svg {
  width: 34px;
  height: 28px;
  stroke-width: 1.7;
}

.login-card .error-box {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 500 !important;
}

.login-card .secondary-button {
  width: 180px;
  height: 48px;
  margin: 8px auto 0;
}

.login-footer-left,
.login-footer-right {
  position: fixed;
  bottom: 34px;
  z-index: 1;
  color: rgba(255,255,255,0.46);
  font-size: 14px;
  font-weight: 400 !important;
  letter-spacing: 0.45em !important;
}

.login-footer-left {
  left: 82px;
}

.login-footer-right {
  right: 74px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-footer-right span {
  width: 66px;
  height: 2px;
  display: inline-block;
  background: #ff1f25;
}

@media (max-width: 1280px) {
  .login-screen {
    grid-template-columns: 40% 60% !important;
    padding: 42px 48px !important;
  }

  .login-card {
    width: min(690px, 94%) !important;
    padding: 44px 54px 34px;
  }

  .login-feature-row {
    margin-top: 30px;
  }

  .login-contact-row {
    margin-top: 36px;
  }
}

/* Playlist/Perfil no mesmo padrao minimalista da tela de login. */
.playlist-screen {
  display: grid !important;
  grid-template-columns: minmax(620px, 1fr) minmax(360px, 440px) !important;
  gap: 58px;
  align-items: center;
  min-height: 100vh;
  padding: 54px 78px 70px !important;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 35, 25, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.42) 48%, rgba(0,0,0,0.82)),
    var(--screen-bg) center center / cover no-repeat,
    #030309 !important;
}

.playlist-screen svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.playlist-left {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
}

.playlist-header {
  display: flex;
  align-items: center;
  gap: 34px !important;
  margin-left: 8px;
}

.playlist-brand-logo.brand-logo-image.small {
  width: 190px !important;
  height: auto !important;
  max-height: 115px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 45, 0, 0.52));
}

.playlist-header-copy {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 16px !important;
  line-height: 1.2;
  font-weight: 400 !important;
  letter-spacing: 0.42em !important;
}

.playlist-header-copy i {
  width: 42px;
  height: 2px;
  margin-bottom: 10px;
  display: block;
  background: #ff1f25;
  box-shadow: 0 0 10px rgba(255,31,37,0.8);
}

.playlist-header-copy small {
  display: block;
  color: rgba(255,255,255,0.58);
  font-size: 16px;
  font-weight: 400 !important;
  letter-spacing: 0.42em !important;
}

.playlist-list {
  margin-top: 60px !important;
  padding: 10px 0 20px !important;
  display: flex !important;
  gap: 34px !important;
  align-items: flex-start;
  flex-wrap: wrap;
  max-height: calc(100vh - 315px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--matrix-web-scroll-thumb) transparent !important;
}

.playlist-list::-webkit-scrollbar {
  width: 8px;
}

.playlist-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 48, 38, 0.65);
}

.playlist-card {
  width: 132px !important;
  min-height: 168px !important;
  gap: 12px !important;
  font-size: 15px !important;
}

.playlist-card::before {
  width: 96px !important;
  height: 96px !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.playlist-card.selected::before {
  background: rgba(255, 31, 37, 0.16) !important;
  box-shadow:
    0 0 0 3px rgba(255,31,37,0.98),
    0 0 24px rgba(255,31,37,0.62),
    inset 0 0 0 1px rgba(255,255,255,0.12) !important;
}

.playlist-card:focus::before {
  background: rgba(255, 31, 37, 0.20) !important;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(255,31,37,0.78),
    0 0 28px rgba(255,31,37,0.68) !important;
}

.playlist-play,
.playlist-plus {
  top: 24px !important;
  width: 54px !important;
  height: 54px !important;
  background: #ff171f !important;
  box-shadow: 0 8px 22px rgba(255,23,31,0.35);
}

.playlist-plus {
  background: rgba(255,255,255,0.10) !important;
  box-shadow: none;
}

.playlist-play img,
.playlist-plus img {
  width: 34px !important;
  height: 34px !important;
  filter: brightness(0) invert(1);
}

.playlist-check {
  top: -3px !important;
  right: 18px !important;
  width: 34px !important;
  height: 34px !important;
  filter: drop-shadow(0 0 8px rgba(255,31,37,0.65));
}

.playlist-name {
  width: 118px !important;
  margin-top: 0 !important;
  color: rgba(255,255,255,0.92);
  font-size: 15px !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  white-space: normal;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.playlist-footer {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: min(560px, 100%);
  margin-top: 28px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}

.playlist-footer .login-feature {
  min-height: 60px;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.50);
}

.playlist-footer .login-feature img,
.playlist-footer .login-star-icon {
  width: 26px;
  height: 26px;
  opacity: 0.78;
}

.playlist-right {
  width: 100%;
  padding: 22px !important;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(16,18,22,0.88), rgba(6,7,9,0.90)) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.54), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
  backdrop-filter: blur(8px);
}

.playlist-right .device-card {
  width: 100%;
  margin: 0 0 14px !important;
  padding: 12px 16px !important;
  box-sizing: border-box;
  border-radius: 8px;
  background: rgba(255,255,255,0.04) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255,255,255,0.88);
  font-size: 14px !important;
  font-weight: 500 !important;
}

.playlist-right .device-value {
  display: inline !important;
  margin: 0 8px 0 0 !important;
  color: #ff252d !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.playlist-copy-icon {
  width: 21px;
  height: 21px;
  color: rgba(255,255,255,0.68);
  margin-left: auto;
}

.playlist-right .qr-box {
  width: 146px !important;
  height: 146px !important;
  margin: 8px auto 12px !important;
  padding: 4px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 3px;
  background: #fff !important;
  object-fit: contain;
}

.playlist-right .qr-hint {
  color: rgba(255,255,255,0.78);
  font-size: 15px !important;
  line-height: 1.25;
  font-weight: 400 !important;
}

.playlist-right .whatsapp {
  margin: 10px 0 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.playlist-right .whatsapp span {
  color: #21e447 !important;
  font-weight: 700 !important;
}

.playlist-whatsapp-icon {
  width: 22px;
  height: 22px;
  color: #21e447;
  stroke-width: 1.8;
}

.playlist-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.side-button {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: rgba(255,255,255,0.10) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.playlist-action-pay,
.playlist-action-back {
  grid-column: 1 / -1;
}

.playlist-action-pay {
  background: linear-gradient(180deg, #ff242d, #d51118) !important;
  box-shadow: 0 10px 24px rgba(255,23,31,0.24);
}

.playlist-action-back {
  background: rgba(255,255,255,0.07) !important;
}

.playlist-action-icon {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.side-button:focus {
  background: rgba(255,31,37,0.82) !important;
  box-shadow: 0 0 0 2px #fff, 0 0 20px rgba(255,31,37,0.55) !important;
}

@media (max-width: 1280px) {
  .playlist-screen {
    grid-template-columns: minmax(560px, 1fr) 360px !important;
    gap: 34px;
    padding: 42px 46px 54px !important;
  }

  .playlist-brand-logo.brand-logo-image.small {
    width: 150px !important;
  }

  .playlist-list {
    gap: 22px !important;
  }

  .playlist-card {
    width: 118px !important;
  }
}

/* Correcoes finas do modelo minimalista: remove a faixa antiga herdada e
 * reposiciona os blocos para nao parecer uma tela dividida em duas metades. */
.playlist-screen {
  grid-template-columns: minmax(620px, 860px) minmax(330px, 390px) !important;
  justify-content: center;
  gap: 76px;
  padding: 58px 80px !important;
}

.playlist-left {
  align-self: center;
  min-height: 520px;
  background: transparent !important;
  border-right: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playlist-header {
  margin-left: 0;
  transform: translateY(-10px);
}

.playlist-brand-logo.brand-logo-image.small {
  width: 178px !important;
  max-height: 108px;
}

.playlist-header-copy {
  font-size: 14px !important;
  letter-spacing: 0.44em !important;
}

.playlist-header-copy small {
  font-size: 14px;
  letter-spacing: 0.44em !important;
}

.playlist-list {
  width: fit-content;
  max-width: 100%;
  margin-top: 48px !important;
  max-height: none !important;
  overflow: visible !important;
}

.playlist-card {
  width: 122px !important;
}

.playlist-footer {
  width: 540px;
  max-width: 100%;
  margin-top: 46px;
}

.playlist-right {
  align-self: center;
  max-width: 390px;
  padding: 20px !important;
}

.playlist-right .qr-box {
  width: 136px !important;
  height: 136px !important;
}

.playlist-right .device-card {
  min-height: 44px;
}

.playlist-actions {
  gap: 9px;
}

.side-button {
  height: 48px !important;
}

@media (max-width: 1280px) {
  .playlist-screen {
    grid-template-columns: minmax(580px, 760px) 350px !important;
    gap: 38px;
    padding: 44px 48px !important;
  }

  .playlist-left {
    min-height: 500px;
  }

  .playlist-card {
    width: 112px !important;
  }

  .playlist-footer {
    width: 500px;
  }
}

/* Escala final da playlist para casar com a proporcao visual da tela de login. */
.playlist-screen {
  grid-template-columns: minmax(850px, 1060px) minmax(430px, 500px) !important;
  gap: 88px;
  padding: 58px 92px !important;
}

.playlist-left {
  min-height: 700px;
}

.playlist-brand-logo.brand-logo-image.small {
  width: 270px !important;
  max-height: 160px;
}

.playlist-header {
  gap: 48px !important;
}

.playlist-header-copy,
.playlist-header-copy small {
  font-size: 18px !important;
}

.playlist-header-copy i {
  width: 54px;
  margin-bottom: 14px;
}

.playlist-list {
  margin-top: 72px !important;
  gap: 50px !important;
}

.playlist-card {
  width: 172px !important;
  min-height: 220px !important;
}

.playlist-card::before {
  width: 132px !important;
  height: 132px !important;
}

.playlist-play,
.playlist-plus {
  top: 32px !important;
  width: 76px !important;
  height: 76px !important;
}

.playlist-play img,
.playlist-plus img {
  width: 48px !important;
  height: 48px !important;
}

.playlist-check {
  right: 20px !important;
  width: 42px !important;
  height: 42px !important;
}

.playlist-name {
  width: 165px !important;
  font-size: 18px !important;
}

.playlist-footer {
  width: 760px;
  margin-top: 64px;
  padding-top: 30px;
}

.playlist-footer .login-feature {
  min-height: 82px;
  font-size: 15px;
}

.playlist-footer .login-feature img,
.playlist-footer .login-star-icon {
  width: 36px;
  height: 36px;
}

.playlist-right {
  max-width: 500px;
  padding: 28px !important;
  border-radius: 20px;
}

.playlist-right .device-card {
  min-height: 58px;
  margin-bottom: 22px !important;
  padding: 15px 20px !important;
  font-size: 17px !important;
}

.playlist-right .device-value {
  font-size: 20px !important;
}

.playlist-copy-icon {
  width: 25px;
  height: 25px;
}

.playlist-right .qr-box {
  width: 184px !important;
  height: 184px !important;
  margin: 12px auto 20px !important;
}

.playlist-right .qr-hint {
  font-size: 18px !important;
}

.playlist-right .whatsapp {
  margin: 16px 0 24px !important;
  font-size: 18px !important;
}

.playlist-whatsapp-icon {
  width: 28px;
  height: 28px;
}

.playlist-actions {
  gap: 12px;
}

.side-button {
  height: 62px !important;
  border-radius: 11px !important;
  font-size: 17px !important;
}

.playlist-action-icon {
  width: 26px;
  height: 26px;
}

@media (max-width: 1600px) {
  .playlist-screen {
    grid-template-columns: minmax(720px, 880px) minmax(390px, 450px) !important;
    gap: 56px;
    padding: 54px 70px !important;
  }

  .playlist-left {
    min-height: 610px;
  }

  .playlist-brand-logo.brand-logo-image.small {
    width: 220px !important;
  }

  .playlist-header-copy,
  .playlist-header-copy small {
    font-size: 16px !important;
  }

  .playlist-list {
    margin-top: 58px !important;
    gap: 38px !important;
  }

  .playlist-card {
    width: 145px !important;
    min-height: 190px !important;
  }

  .playlist-card::before {
    width: 112px !important;
    height: 112px !important;
  }

  .playlist-play,
  .playlist-plus {
    width: 64px !important;
    height: 64px !important;
    top: 28px !important;
  }

  .playlist-name {
    width: 140px !important;
    font-size: 16px !important;
  }

  .playlist-footer {
    width: 640px;
    margin-top: 52px;
  }

  .playlist-right {
    max-width: 450px;
  }
}
