.tai-consent-panel {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-family: "Quicksand", system-ui, sans-serif;
}

.tai-consent-panel[hidden],
.tai-consent-panel [hidden] {
  display: none !important;
}

.tai-consent-inner {
  box-sizing: border-box;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(15, 18, 24, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.tai-consent-inner h2 {
  margin: 0 0 0.35rem;
  color: inherit;
  font-family: "Bilbo", cursive;
  font-size: 2rem;
  line-height: 1;
}

.tai-consent-inner p {
  margin: 0;
  line-height: 1.45;
}

.tai-consent-options {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.tai-consent-options label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  cursor: pointer;
}

.tai-consent-options input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: #af7892;
}

.tai-consent-options span,
.tai-consent-options small {
  display: block;
}

.tai-consent-options small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.tai-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.tai-consent-button {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tai-consent-button-primary,
.tai-consent-button-secondary {
  background: #74495e;
}

.tai-consent-button:hover,
.tai-consent-button:focus-visible,
.tai-privacy-choice-link:hover,
.tai-privacy-choice-link:focus-visible,
.tai-privacy-footer button:hover,
.tai-privacy-footer button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.tai-consent-policy {
  display: inline-block;
  margin-top: 0.75rem;
  color: inherit;
}

.tai-kit-consent-slot {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

.tai-kit-consent-message {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  line-height: 1.35;
}

.tai-privacy-choice-link,
.tai-privacy-footer button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.tai-privacy-footer {
  padding: 0.75rem 1rem;
  color: #fff;
  text-align: center;
}

@media (max-width: 34rem) {
  .tai-consent-panel {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }

  .tai-consent-actions,
  .tai-consent-button {
    width: 100%;
  }
}
