.fpv-clarity-consent {
  position: fixed;
  z-index: 10000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(320px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(241, 241, 241, .24);
  background: #121212;
  color: #f1f1f1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  font-family: "LayGrotesk";
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  font-synthesis: none;
}

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

.fpv-clarity-consent__copy {
  margin: 0;
  color: rgba(241, 241, 241, .85);
}

.fpv-clarity-consent__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.fpv-clarity-consent__button {
  flex: 1;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(241, 241, 241, .5);
  border-radius: 0;
  background: transparent;
  color: #f1f1f1;
  font-family: "LayGrotesk";
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  font-synthesis: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.fpv-clarity-consent__button--accept {
  border-color: #ff5555;
  background: #ff5555;
  color: #121212;
}

.fpv-clarity-consent__button:hover {
  border-color: #ff5555;
  background: #ff5555;
  color: #121212;
}

.fpv-clarity-consent__button:focus-visible,
.fpv-cookie-settings:focus-visible {
  outline: 2px solid #ff5555;
  outline-offset: 3px;
}

.fpv-cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.8;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.fpv-cookie-settings:hover {
  color: #ff5555;
}

@media (max-width: 600px) {
  .fpv-clarity-consent {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
  }
}

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