.tfi-consent,
.tfi-privacy-choices {
  --tfi-consent-orange: #ff8a1f;
  font-family: Arial, Helvetica, sans-serif;
}

.tfi-consent[hidden] { display: none !important; }

.tfi-consent {
  position: fixed;
  z-index: 12000;
  right: clamp(1rem, 2.2vw, 2rem);
  bottom: clamp(1rem, 2.2vw, 2rem);
  width: min(45rem, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: end;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: #fff;
  background: rgba(8, 8, 8, .97);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .38);
}

.tfi-consent__eyebrow {
  margin: 0 0 .65rem;
  color: var(--tfi-consent-orange);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tfi-consent h2 {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.tfi-consent__copy > p:last-child {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .82rem;
  line-height: 1.55;
}

.tfi-consent a { color: inherit; text-underline-offset: .18em; }

.tfi-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}

.tfi-consent__button,
.tfi-privacy-choices {
  appearance: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tfi-consent__button {
  min-height: 2.8rem;
  padding: .75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .5);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.tfi-consent__button--primary {
  color: #080808;
  background: #fff;
  border-color: #fff;
}

.tfi-consent__button--secondary { color: #fff; background: transparent; }

.tfi-consent__button:hover { transform: translateY(-1px); }
.tfi-consent__button--primary:hover { background: var(--tfi-consent-orange); border-color: var(--tfi-consent-orange); }
.tfi-consent__button--secondary:hover { background: rgba(255, 255, 255, .1); }

.tfi-privacy-choices {
  position: fixed;
  z-index: 11990;
  left: 1rem;
  bottom: 1rem;
  min-height: 2.2rem;
  padding: .55rem .8rem;
  color: rgba(255, 255, 255, .84);
  background: rgba(8, 8, 8, .9);
  border: 1px solid rgba(255, 255, 255, .28);
}

.tfi-consent__button:focus-visible,
.tfi-privacy-choices:focus-visible,
.tfi-consent a:focus-visible {
  outline: 3px solid var(--tfi-consent-orange);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .tfi-consent {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    width: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .tfi-consent__actions { justify-content: stretch; }
  .tfi-consent__button { flex: 1 1 10rem; }
  .tfi-privacy-choices { left: .75rem; bottom: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tfi-consent__button { transition: none; }
}
