.troy-consent-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  pointer-events: none;
  padding: 0.75rem;
  box-sizing: border-box;
}

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

.troy-consent-bar {
  pointer-events: auto;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.9rem;
  line-height: 1.45;
}

.troy-consent-bar--troy {
  background: rgba(28, 24, 20, 0.96);
  color: #f3ece3;
  border: 1px solid rgba(196, 168, 118, 0.35);
  font-family: "Crimson Pro", Georgia, serif;
}

.troy-consent-bar--gemma {
  background: rgba(18, 16, 14, 0.96);
  color: #e8e0d4;
  border: 1px solid rgba(160, 140, 110, 0.4);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.troy-consent-text {
  margin: 0 0 0.85rem;
}

.troy-consent-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.troy-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: stretch;
}

.troy-consent-btn {
  flex: 1 1 8rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

.troy-consent-btn--accept.troy-consent-bar--troy,
.troy-consent-bar--troy .troy-consent-btn--accept {
  background: #c4a876;
  color: #1c1814;
  border-color: #c4a876;
}

.troy-consent-bar--troy .troy-consent-btn--reject {
  background: transparent;
  color: #f3ece3;
  border-color: rgba(243, 236, 227, 0.55);
}

.troy-consent-bar--gemma .troy-consent-btn--accept {
  background: #a68b5c;
  color: #12100e;
  border-color: #a68b5c;
}

.troy-consent-bar--gemma .troy-consent-btn--reject {
  background: transparent;
  color: #e8e0d4;
  border-color: rgba(232, 224, 212, 0.55);
}

.troy-consent-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.troy-consent-visible {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.troy-footer-cookie-settings {
  margin-left: 0.35rem;
}

@media (max-width: 375px) {
  .troy-consent-bar {
    padding: 0.85rem 0.9rem;
    font-size: 0.85rem;
  }
  .troy-consent-btn {
    flex: 1 1 100%;
  }
}