.a11y-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(100, 255, 218, 0.4);
  border-radius: 999px;
  background: rgba(100, 255, 218, 0.08);
  color: var(--texto-claro, #ffffff);
  font: 700 0.9rem/1 var(--fonte-padrao, sans-serif);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  background: rgba(100, 255, 218, 0.16);
  border-color: var(--cor-destaque, #64ffda);
  outline: 2px solid rgba(100, 255, 218, 0.35);
  outline-offset: 3px;
}

.a11y-toggle--floating {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9000;
  background: #0a192f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.a11y-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.a11y-panel-backdrop--open {
  opacity: 1;
}

.a11y-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 10001;
  display: flex;
  width: min(420px, 100vw);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 28px;
  background: #101824;
  color: #eef4fb;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 0.18s ease;
}

.a11y-panel--open {
  transform: translateX(0);
}

.a11y-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.a11y-panel__eyebrow {
  margin: 0 0 6px;
  color: var(--cor-destaque, #64ffda);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a11y-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.a11y-panel__close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.a11y-panel__description {
  margin: 0;
  color: #bfd0e2;
  line-height: 1.6;
}

.a11y-panel__controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a11y-choice,
.a11y-control {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.a11y-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}

.a11y-choice {
  margin: 0;
  min-width: 0;
}

.a11y-choice__legend,
.a11y-control__text strong,
.a11y-control__text small {
  display: block;
}

.a11y-choice__legend {
  box-sizing: border-box;
  float: left;
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

.a11y-choice__legend strong,
.a11y-control__text strong {
  color: #ffffff;
  font-size: 1rem;
}

.a11y-choice__legend small,
.a11y-control__text small {
  margin-top: 6px;
  color: #b8c8d9;
  line-height: 1.45;
}

.a11y-choice__items {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.a11y-choice__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #e7eef7;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.a11y-choice__item input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.a11y-choice__item:has(input:checked) {
  border-color: var(--cor-destaque, #64ffda);
  background: rgba(100, 255, 218, 0.18);
  color: #ffffff;
}

.a11y-choice__item:has(input:focus-visible) {
  outline: 3px solid var(--cor-destaque, #64ffda);
  outline-offset: 3px;
}

.a11y-control__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.a11y-switch {
  position: relative;
  width: 52px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.a11y-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.a11y-control__input:checked + .a11y-switch {
  border-color: var(--cor-destaque, #64ffda);
  background: rgba(100, 255, 218, 0.32);
}

.a11y-control__input:checked + .a11y-switch::before {
  transform: translateX(22px);
}

.a11y-control:has(.a11y-control__input:focus-visible) {
  outline: 3px solid var(--cor-destaque, #64ffda);
  outline-offset: 3px;
}

.a11y-panel__footer {
  margin-top: auto;
  padding-top: 8px;
}

.a11y-reset {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  font: 700 0.95rem/1 var(--fonte-padrao, sans-serif);
  cursor: pointer;
}

.a11y-reset:hover,
.a11y-reset:focus-visible {
  border-color: var(--cor-destaque, #64ffda);
  outline: 2px solid rgba(100, 255, 218, 0.3);
  outline-offset: 3px;
}

html[data-a11y-contrast="high"] {
  --bg-principal: #000000;
  --bg-secundario: #050505;
  --bg-terciario: #111111;
  --bg-header: #000000;
  --bg-header-hover: #1f1f1f;
  --bg-perfil: #000000;
  --texto-claro: #ffffff;
  --texto-cinza: #f5f5f5;
  --texto-escuro: #e7e7e7;
  --color-gray-900: 255, 255, 255;
  --color-background-100: 0, 0, 0;
  --color-shadow-blue: 0, 0, 0;
  --borda-padrao: #ffffff;
  --cor-destaque: #ffff00;
  --cor-erro: #ff7676;
  color-scheme: dark;
}

html[data-a11y-contrast="high"],
html[data-a11y-contrast="high"] body,
html[data-a11y-contrast="high"] .pagina-perfil {
  background: #000000 !important;
  color: #ffffff !important;
}

html[data-a11y-contrast="high"] .main-header,
html[data-a11y-contrast="high"] .login-box,
html[data-a11y-contrast="high"] .cadastro,
html[data-a11y-contrast="high"] .termos-box,
html[data-a11y-contrast="high"] .perfil-hero,
html[data-a11y-contrast="high"] .painel,
html[data-a11y-contrast="high"] .card-minha-avaliacao,
html[data-a11y-contrast="high"] .formulario-avaliacao-inline,
html[data-a11y-contrast="high"] .modal-container,
html[data-a11y-contrast="high"] .modal-confirmacao .modal-box,
html[data-a11y-contrast="high"] #avatar-preview.upload-preview,
html[data-a11y-contrast="high"] .busca-dropdown,
html[data-a11y-contrast="high"] .sinopse-preview {
  background: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] .perfil-hero-banner {
  background: #111111 !important;
  border-color: #ffffff !important;
}

html[data-a11y-contrast="high"] .nav-link,
html[data-a11y-contrast="high"] .info p,
html[data-a11y-contrast="high"] .perfil-resumo,
html[data-a11y-contrast="high"] .painel-cabecalho p,
html[data-a11y-contrast="high"] .header-avaliacoes p,
html[data-a11y-contrast="high"] .painel-nota,
html[data-a11y-contrast="high"] .data-avaliacao,
html[data-a11y-contrast="high"] .texto-avaliacao,
html[data-a11y-contrast="high"] .avaliacao-data,
html[data-a11y-contrast="high"] .avaliacao-comentario,
html[data-a11y-contrast="high"] .avaliacao-comentario-label,
html[data-a11y-contrast="high"] .hero-metric-label,
html[data-a11y-contrast="high"] .stat-label,
html[data-a11y-contrast="high"] .filtro-label,
html[data-a11y-contrast="high"] .busca-secao-label,
html[data-a11y-contrast="high"] .busca-item-meta,
html[data-a11y-contrast="high"] .busca-vazio,
html[data-a11y-contrast="high"] .termos-box p,
html[data-a11y-contrast="high"] .container.login p,
html[data-a11y-contrast="high"] .login-box label,
html[data-a11y-contrast="high"] .cadastro label,
html[data-a11y-contrast="high"] .modal-texto,
html[data-a11y-contrast="high"] .modal-confirmacao .modal-mensagem,
html[data-a11y-contrast="high"] .sinopse-preview__texto,
html[data-a11y-contrast="high"] #nota-help,
html[data-a11y-contrast="high"] .char-counter {
  color: #ffffff !important;
}

html[data-a11y-contrast="high"] h1,
html[data-a11y-contrast="high"] h2,
html[data-a11y-contrast="high"] h3,
html[data-a11y-contrast="high"] strong,
html[data-a11y-contrast="high"] .busca-item-nome,
html[data-a11y-contrast="high"] .dados-usuario h1,
html[data-a11y-contrast="high"] .dados-usuario h1 span,
html[data-a11y-contrast="high"] .painel-cabecalho h2,
html[data-a11y-contrast="high"] .header-avaliacoes h2,
html[data-a11y-contrast="high"] .avaliacao-titulo,
html[data-a11y-contrast="high"] .hero-metric-value,
html[data-a11y-contrast="high"] .stat-numero {
  color: #ffffff !important;
}

html[data-a11y-contrast="high"] a,
html[data-a11y-contrast="high"] .termos-box h2,
html[data-a11y-contrast="high"] .busca-item-nome mark,
html[data-a11y-contrast="high"] .nota-numero {
  color: #ffff00 !important;
}

html[data-a11y-contrast="high"] input,
html[data-a11y-contrast="high"] textarea,
html[data-a11y-contrast="high"] select,
html[data-a11y-contrast="high"] .busca-container,
html[data-a11y-contrast="high"] .nota-label,
html[data-a11y-contrast="high"] .nota-output,
html[data-a11y-contrast="high"] .hero-metric-card,
html[data-a11y-contrast="high"] .stat-item,
html[data-a11y-contrast="high"] .avaliacao-card,
html[data-a11y-contrast="high"] .avaliacao-nota,
html[data-a11y-contrast="high"] .perfil-tabs {
  background: #000000 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

html[data-a11y-contrast="high"] input::placeholder,
html[data-a11y-contrast="high"] textarea::placeholder {
  color: #ffffff !important;
  opacity: 0.9;
}

html[data-a11y-contrast="high"] button,
html[data-a11y-contrast="high"] .btn-media,
html[data-a11y-contrast="high"] .btn-avaliar,
html[data-a11y-contrast="high"] .btn-catalogo,
html[data-a11y-contrast="high"] .btn-editar,
html[data-a11y-contrast="high"] .btn-deletar,
html[data-a11y-contrast="high"] .btn-secundario-form,
html[data-a11y-contrast="high"] .btn-secundario-modal,
html[data-a11y-contrast="high"] .btn-perigo-modal,
html[data-a11y-contrast="high"] .btn-excluir,
html[data-a11y-contrast="high"] .busca-btn-limpar-hist,
html[data-a11y-contrast="high"] .termos-box .voltar {
  border: 2px solid #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] button:hover,
html[data-a11y-contrast="high"] button:focus-visible,
html[data-a11y-contrast="high"] a:hover,
html[data-a11y-contrast="high"] a:focus-visible,
html[data-a11y-contrast="high"] .card-filme:focus-visible,
html[data-a11y-contrast="high"] .busca-item:hover,
html[data-a11y-contrast="high"] .busca-item.ativo {
  outline-color: #ffff00 !important;
  border-color: #ffff00 !important;
  color: #ffff00 !important;
  background: #1a1a1a !important;
}

html[data-a11y-contrast="high"] .nota-radio:checked + .nota-label,
html[data-a11y-contrast="high"] .perfil-tab-link-ativo,
html[data-a11y-contrast="high"] .carrossel-indicadores .indicador.ativo,
html[data-a11y-contrast="high"] .avaliado-badge {
  background: #ffff00 !important;
  border-color: #ffff00 !important;
  color: #000000 !important;
}

html[data-a11y-contrast="high"] .notificacao-custom {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] .notificacao-sucesso,
html[data-a11y-contrast="high"] .notificacao-info,
html[data-a11y-contrast="high"] .notificacao-aviso,
html[data-a11y-contrast="high"] .notificacao-erro {
  background: #000000 !important;
  border-left-color: #ffff00 !important;
}

html[data-a11y-text="large"] {
  font-size: 112.5%;
}

html[data-a11y-text="xlarge"] {
  font-size: 125%;
}

html[data-a11y-text="large"] body,
html[data-a11y-text="large"] button,
html[data-a11y-text="large"] input,
html[data-a11y-text="large"] textarea,
html[data-a11y-text="large"] select,
html[data-a11y-text="large"] label,
html[data-a11y-text="large"] .nav-link,
html[data-a11y-text="large"] .busca-item-nome,
html[data-a11y-text="large"] .busca-item-meta,
html[data-a11y-text="large"] .sinopse-preview,
html[data-a11y-text="large"] .sinopse-preview__texto,
html[data-a11y-text="large"] .card-filme p,
html[data-a11y-text="large"] .info p,
html[data-a11y-text="large"] .perfil-resumo,
html[data-a11y-text="large"] .avaliacao-comentario,
html[data-a11y-text="large"] .termos-box p,
html[data-a11y-text="large"] .notificacao-custom,
html[data-a11y-text="xlarge"] body,
html[data-a11y-text="xlarge"] button,
html[data-a11y-text="xlarge"] input,
html[data-a11y-text="xlarge"] textarea,
html[data-a11y-text="xlarge"] select,
html[data-a11y-text="xlarge"] label,
html[data-a11y-text="xlarge"] .nav-link,
html[data-a11y-text="xlarge"] .busca-item-nome,
html[data-a11y-text="xlarge"] .busca-item-meta,
html[data-a11y-text="xlarge"] .sinopse-preview,
html[data-a11y-text="xlarge"] .sinopse-preview__texto,
html[data-a11y-text="xlarge"] .card-filme p,
html[data-a11y-text="xlarge"] .info p,
html[data-a11y-text="xlarge"] .perfil-resumo,
html[data-a11y-text="xlarge"] .avaliacao-comentario,
html[data-a11y-text="xlarge"] .termos-box p,
html[data-a11y-text="xlarge"] .notificacao-custom {
  font-size: 1.08rem !important;
}

html[data-a11y-text="xlarge"] body,
html[data-a11y-text="xlarge"] button,
html[data-a11y-text="xlarge"] input,
html[data-a11y-text="xlarge"] textarea,
html[data-a11y-text="xlarge"] select,
html[data-a11y-text="xlarge"] label,
html[data-a11y-text="xlarge"] .nav-link,
html[data-a11y-text="xlarge"] .busca-item-nome,
html[data-a11y-text="xlarge"] .busca-item-meta,
html[data-a11y-text="xlarge"] .sinopse-preview,
html[data-a11y-text="xlarge"] .sinopse-preview__texto,
html[data-a11y-text="xlarge"] .card-filme p,
html[data-a11y-text="xlarge"] .info p,
html[data-a11y-text="xlarge"] .perfil-resumo,
html[data-a11y-text="xlarge"] .avaliacao-comentario,
html[data-a11y-text="xlarge"] .termos-box p,
html[data-a11y-text="xlarge"] .notificacao-custom {
  font-size: 1.18rem !important;
}

html[data-a11y-text="large"] h1,
html[data-a11y-text="large"] .info h1,
html[data-a11y-text="large"] .login-box h1,
html[data-a11y-text="large"] .cadastro h1,
html[data-a11y-text="large"] .termos-box h1,
html[data-a11y-text="large"] .dados-usuario h1,
html[data-a11y-text="xlarge"] h1,
html[data-a11y-text="xlarge"] .info h1,
html[data-a11y-text="xlarge"] .login-box h1,
html[data-a11y-text="xlarge"] .cadastro h1,
html[data-a11y-text="xlarge"] .termos-box h1,
html[data-a11y-text="xlarge"] .dados-usuario h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  line-height: 1.15 !important;
}

html[data-a11y-text="large"] h2,
html[data-a11y-text="large"] h3,
html[data-a11y-text="xlarge"] h2,
html[data-a11y-text="xlarge"] h3 {
  line-height: 1.25 !important;
}

html[data-a11y-text="large"] .main-header .nav-direita,
html[data-a11y-text="xlarge"] .main-header .nav-direita {
  flex-wrap: wrap;
}

html[data-a11y-text="large"] .main-header .busca-input,
html[data-a11y-text="xlarge"] .main-header .busca-input {
  width: min(300px, 52vw);
}

html[data-a11y-text="large"] .card-filme {
  min-width: 170px !important;
}

html[data-a11y-text="xlarge"] .card-filme {
  min-width: 190px !important;
}

html[data-a11y-text="large"] .sinopse-preview,
html[data-a11y-text="xlarge"] .sinopse-preview {
  min-width: min(420px, 80vw);
}

html[data-a11y-text="large"] .login-box,
html[data-a11y-text="large"] .cadastro,
html[data-a11y-text="large"] .termos-box,
html[data-a11y-text="xlarge"] .login-box,
html[data-a11y-text="xlarge"] .cadastro,
html[data-a11y-text="xlarge"] .termos-box {
  max-width: min(92vw, 560px);
}

html[data-a11y-spacing="comfortable"] p,
html[data-a11y-spacing="comfortable"] li,
html[data-a11y-spacing="comfortable"] .info p,
html[data-a11y-spacing="comfortable"] .perfil-resumo,
html[data-a11y-spacing="comfortable"] .painel-cabecalho p,
html[data-a11y-spacing="comfortable"] .header-avaliacoes p,
html[data-a11y-spacing="comfortable"] .avaliacao-comentario,
html[data-a11y-spacing="comfortable"] .modal-texto,
html[data-a11y-spacing="comfortable"] .modal-confirmacao .modal-mensagem,
html[data-a11y-spacing="comfortable"] .sinopse-preview__texto,
html[data-a11y-spacing="comfortable"] .termos-box p,
html[data-a11y-spacing="comfortable"] .a11y-panel__description,
html[data-a11y-spacing="comfortable"] .a11y-control__text small,
html[data-a11y-spacing="comfortable"] .a11y-choice__legend small {
  line-height: 1.85 !important;
}

html[data-a11y-spacing="comfortable"] .main-header {
  padding: 20px 34px;
}

html[data-a11y-spacing="comfortable"] .main-header .nav-direita {
  gap: 24px;
  flex-wrap: wrap;
}

html[data-a11y-spacing="comfortable"] .main-header .busca-container,
html[data-a11y-spacing="comfortable"] .a11y-toggle,
html[data-a11y-spacing="comfortable"] .main-header .btn-sair,
html[data-a11y-spacing="comfortable"] .main-header .nav-link {
  min-height: 44px;
}

html[data-a11y-spacing="comfortable"] button,
html[data-a11y-spacing="comfortable"] input,
html[data-a11y-spacing="comfortable"] select,
html[data-a11y-spacing="comfortable"] textarea,
html[data-a11y-spacing="comfortable"] .btn-media,
html[data-a11y-spacing="comfortable"] .btn-avaliar,
html[data-a11y-spacing="comfortable"] .btn-catalogo,
html[data-a11y-spacing="comfortable"] .btn-editar,
html[data-a11y-spacing="comfortable"] .btn-deletar,
html[data-a11y-spacing="comfortable"] .btn-secundario-form,
html[data-a11y-spacing="comfortable"] .btn-secundario-modal,
html[data-a11y-spacing="comfortable"] .btn-perigo-modal,
html[data-a11y-spacing="comfortable"] .btn-excluir,
html[data-a11y-spacing="comfortable"] .termos-box .voltar {
  min-height: 44px;
  padding-block: 0.8rem;
}

html[data-a11y-spacing="comfortable"] .login-box,
html[data-a11y-spacing="comfortable"] .cadastro,
html[data-a11y-spacing="comfortable"] .termos-box,
html[data-a11y-spacing="comfortable"] .a11y-panel {
  padding: clamp(28px, 5vw, 48px);
}

html[data-a11y-spacing="comfortable"] .login-box input[type="text"],
html[data-a11y-spacing="comfortable"] .login-box input[type="password"],
html[data-a11y-spacing="comfortable"] .cadastro input[type="text"],
html[data-a11y-spacing="comfortable"] .cadastro input[type="password"] {
  margin-bottom: 26px;
}

html[data-a11y-spacing="comfortable"] .container:not(.login) {
  gap: 56px;
  padding: 52px 40px;
}

html[data-a11y-spacing="comfortable"] .info p {
  margin-bottom: 18px;
}

html[data-a11y-spacing="comfortable"] .container-filmes {
  padding: 30px;
}

html[data-a11y-spacing="comfortable"] .titulo-catalogo {
  padding: 30px;
}

html[data-a11y-spacing="comfortable"] .secao-genero {
  margin-bottom: 48px;
}

html[data-a11y-spacing="comfortable"] .fileira-filmes {
  gap: 28px;
  padding: 18px 16px;
}

html[data-a11y-spacing="comfortable"] .sinopse-preview {
  padding: 30px;
  gap: 18px;
}

html[data-a11y-spacing="comfortable"] .perfil-hero,
html[data-a11y-spacing="comfortable"] .perfil-lateral,
html[data-a11y-spacing="comfortable"] .secao-avaliacoes,
html[data-a11y-spacing="comfortable"] .formulario-avaliacao-inline,
html[data-a11y-spacing="comfortable"] .card-minha-avaliacao,
html[data-a11y-spacing="comfortable"] .modal-container,
html[data-a11y-spacing="comfortable"] .modal-confirmacao .modal-box,
html[data-a11y-spacing="comfortable"] .a11y-control,
html[data-a11y-spacing="comfortable"] .a11y-choice {
  padding: clamp(22px, 4vw, 34px);
}

html[data-a11y-spacing="comfortable"] .pagina-perfil .container-perfil,
html[data-a11y-spacing="comfortable"] .perfil-grid,
html[data-a11y-spacing="comfortable"] .hero-metrics,
html[data-a11y-spacing="comfortable"] .estatisticas,
html[data-a11y-spacing="comfortable"] .lista-avaliacoes,
html[data-a11y-spacing="comfortable"] .nota-input-container,
html[data-a11y-spacing="comfortable"] .avaliacao-acoes,
html[data-a11y-spacing="comfortable"] .modal-botoes,
html[data-a11y-spacing="comfortable"] .modal-confirmacao .modal-botoes,
html[data-a11y-spacing="comfortable"] .a11y-panel__controls {
  gap: 22px;
}

html[data-a11y-spacing="comfortable"] .avaliacao-topo {
  gap: 22px;
  padding: 22px 22px 18px;
}

html[data-a11y-spacing="comfortable"] .avaliacao-comentario-wrap {
  gap: 16px;
  padding: 18px 22px;
}

html[data-a11y-spacing="comfortable"] .avaliacao-rodape {
  padding: 16px 22px 22px;
}

html[data-a11y-spacing="comfortable"] .nota-botoes {
  gap: 12px;
}

html[data-a11y-spacing="comfortable"] .nota-label {
  width: 48px;
  height: 48px;
}

html[data-a11y-spacing="comfortable"] .busca-item {
  padding: 14px 16px;
}

html[data-a11y-spacing="comfortable"] .busca-rodape {
  padding: 12px;
}

html[data-a11y-spacing="comfortable"] .a11y-choice__items {
  gap: 12px;
}

html[data-a11y-motion="reduce"],
html[data-a11y-motion="reduce"] *,
html[data-a11y-motion="reduce"] *::before,
html[data-a11y-motion="reduce"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}

html[data-a11y-motion="reduce"] .card-filme,
html[data-a11y-motion="reduce"] .card-filme:hover,
html[data-a11y-motion="reduce"] .card-filme:focus-within,
html[data-a11y-motion="reduce"] .card-filme:focus-visible,
html[data-a11y-motion="reduce"] .btn-avaliar:hover,
html[data-a11y-motion="reduce"] .btn-media:hover,
html[data-a11y-motion="reduce"] .btn-media:focus-visible,
html[data-a11y-motion="reduce"] .avaliacao-card:hover,
html[data-a11y-motion="reduce"] .avaliacao-card:focus-within,
html[data-a11y-motion="reduce"] .btn-excluir:hover,
html[data-a11y-motion="reduce"] .btn-catalogo:hover,
html[data-a11y-motion="reduce"] .btn-catalogo:focus-visible,
html[data-a11y-motion="reduce"] .nota-radio:checked + .nota-label {
  transform: none !important;
}

html[data-a11y-motion="reduce"] .sinopse-preview,
html[data-a11y-motion="reduce"] .modal-container,
html[data-a11y-motion="reduce"] .modal-confirmacao .modal-box,
html[data-a11y-motion="reduce"] .a11y-panel,
html[data-a11y-motion="reduce"] .a11y-panel-backdrop,
html[data-a11y-motion="reduce"] .notificacao-custom {
  transition: none !important;
}

html[data-a11y-motion="reduce"] .seta-carrossel:hover,
html[data-a11y-motion="reduce"] .seta-carrossel:focus-visible {
  --glyph-scale: 1 !important;
  transform: translateY(-50%) !important;
}

html[data-a11y-distraction="reduced"] .sinopse-preview,
html[data-a11y-distraction="reduced"] .perfil-hero-banner::before,
html[data-a11y-distraction="reduced"] .perfil-hero-banner::after,
html[data-a11y-distraction="reduced"] .busca-item-seta,
html[data-a11y-distraction="reduced"] .busca-icone-hist,
html[data-a11y-distraction="reduced"] .carrossel-indicadores {
  display: none !important;
}

html[data-a11y-distraction="reduced"] .card-filme,
html[data-a11y-distraction="reduced"] .card-filme:hover,
html[data-a11y-distraction="reduced"] .card-filme:focus-within,
html[data-a11y-distraction="reduced"] .card-filme:focus-visible,
html[data-a11y-distraction="reduced"] .btn-media:hover,
html[data-a11y-distraction="reduced"] .btn-media:focus-visible,
html[data-a11y-distraction="reduced"] .avaliacao-card:hover,
html[data-a11y-distraction="reduced"] .avaliacao-card:focus-within,
html[data-a11y-distraction="reduced"] .btn-excluir:hover,
html[data-a11y-distraction="reduced"] .btn-catalogo:hover,
html[data-a11y-distraction="reduced"] .btn-catalogo:focus-visible {
  transform: none !important;
}

html[data-a11y-distraction="reduced"] .main-header,
html[data-a11y-distraction="reduced"] .login-box,
html[data-a11y-distraction="reduced"] .cadastro,
html[data-a11y-distraction="reduced"] .termos-box,
html[data-a11y-distraction="reduced"] .perfil-hero,
html[data-a11y-distraction="reduced"] .painel,
html[data-a11y-distraction="reduced"] .card-minha-avaliacao,
html[data-a11y-distraction="reduced"] .formulario-avaliacao-inline,
html[data-a11y-distraction="reduced"] .avaliacao-card,
html[data-a11y-distraction="reduced"] .avaliacao-poster img,
html[data-a11y-distraction="reduced"] .avatar-usuario img,
html[data-a11y-distraction="reduced"] .btn-media,
html[data-a11y-distraction="reduced"] .notificacao-custom,
html[data-a11y-distraction="reduced"] .modal-container,
html[data-a11y-distraction="reduced"] .modal-confirmacao .modal-box,
html[data-a11y-distraction="reduced"] #avatar-preview.upload-preview,
html[data-a11y-distraction="reduced"] .a11y-panel {
  box-shadow: none !important;
  filter: none !important;
}

html[data-a11y-distraction="reduced"] .pagina-perfil {
  background: linear-gradient(180deg, #0b1118 0%, #0f1620 100%) !important;
}

html[data-a11y-distraction="reduced"] .perfil-hero-banner {
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.32), rgba(7, 11, 17, 0.86)), #111a26 !important;
}

html[data-a11y-distraction="reduced"] .card-filme {
  will-change: auto !important;
}

html[data-a11y-distraction="reduced"] .card-imagem-wrapper img,
html[data-a11y-distraction="reduced"] #img,
html[data-a11y-distraction="reduced"] .avaliacao-poster img,
html[data-a11y-distraction="reduced"] .avatar-usuario img {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

html[data-a11y-distraction="reduced"] .busca-dropdown {
  box-shadow: none !important;
}

html[data-a11y-distraction="reduced"] .fileira-filmes {
  gap: 24px;
}

@media (max-width: 768px) {
  .a11y-toggle {
    width: 100%;
  }

  .a11y-toggle--floating {
    width: auto;
    max-width: calc(100vw - 32px);
  }

  .a11y-panel {
    padding: 22px;
  }

  .a11y-choice__items {
    grid-template-columns: 1fr;
  }

  html[data-a11y-spacing="comfortable"] .main-header,
  html[data-a11y-spacing="comfortable"] .container:not(.login),
  html[data-a11y-spacing="comfortable"] .container-filmes,
  html[data-a11y-spacing="comfortable"] .titulo-catalogo {
    padding-inline: 18px;
  }

  html[data-a11y-spacing="comfortable"] .container:not(.login) {
    gap: 32px;
  }
}
