.t-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 35;
  max-width: 560px;
  margin-inline: auto;
  padding: 20px 22px;
  display: grid;
  gap: 14px;
  background: var(--toot-surface);
  border: 1px solid var(--toot-line-12);
  border-radius: 14px;
  box-shadow: 0 18px 48px var(--toot-shadow-45);
  color: var(--toot-muted);
  font-family: var(--toot-sans);
  font-size: 13px;
  line-height: 1.6;
  animation: rise .6s var(--toot-ease) both;
}

@media (min-width: 768px) {
  .t-consent {
    inset: auto 24px 96px auto;
    max-width: 440px;
    margin: 0;
  }

  .t-consent__acoes .t-btn {
    padding-inline: 14px;
  }
}

.t-consent[hidden],
.t-consent [hidden] {
  display: none;
}

.t-consent__titulo {
  margin: 0;
  font-family: var(--toot-serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--toot-text);
}

.t-consent__texto {
  margin: 0;
}

.t-consent__texto a {
  color: var(--toot-text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.t-consent__opcoes {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--toot-line-08);
}

.t-consent__opcao {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 44px;
  padding-top: 10px;
  cursor: pointer;
}

.t-consent__opcao input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--toot-gold);
}

.t-consent__opcao strong {
  color: var(--toot-text);
  font-weight: 500;
}

.t-consent__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.t-consent__acoes .t-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 12px 18px;
}

.t-footer__consent {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  cursor: pointer;
}

.t-footer__consent:hover {
  color: var(--toot-gold);
}
