.consentmode-banner,
.consentmode-modal {
  font-family: Inter, "Helvetica Neue", system-ui, sans-serif;
  color: #f7f3ea;
}

.consentmode-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2147483000;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #1c1a16;
  border: 1px solid rgba(224, 195, 106, 0.28);
  border-radius: 6px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}

.consentmode-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #f7f3ea;
}

.consentmode-banner__text strong {
  color: #e0c36a;
  font-weight: 700;
}

.consentmode-banner__actions,
.consentmode-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.consentmode-btn,
.consentmode-preferences-btn {
  border: 0;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.consentmode-btn--primary {
  background: #c9a227;
  color: #0c0c0e;
}

.consentmode-btn--primary:hover {
  background: #e0c36a;
}

.consentmode-btn--secondary {
  background: transparent;
  color: #f7f3ea;
  border: 1px solid rgba(247, 243, 234, 0.28);
}

.consentmode-preferences-btn {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 2147482999;
  background: #1c1a16;
  color: #f7f3ea;
  border: 1px solid rgba(224, 195, 106, 0.35);
}

.consentmode-banner + .consentmode-preferences-btn {
  display: none;
}

.consentmode-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(12, 12, 14, 0.78);
}

.consentmode-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px;
  background: #1c1a16;
  border: 1px solid rgba(224, 195, 106, 0.35);
  border-radius: 6px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}

.consentmode-modal__panel h2 {
  margin: 0 34px 8px 0;
  font-size: 22px;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: #f7f3ea;
}

.consentmode-modal__panel p {
  margin: 0 0 16px;
  color: #d8d0c2;
  font-size: 14px;
  line-height: 1.45;
}

.consentmode-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #161410;
  color: #f7f3ea;
  border: 1px solid rgba(224, 195, 106, 0.28);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.consentmode-option {
  display: flex !important;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-top: 1px solid rgba(224, 195, 106, 0.18);
  text-align: left !important;
  font-weight: 400 !important;
  max-width: none !important;
  box-sizing: border-box;
}

.consentmode-option span {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #f7f3ea;
  text-align: left !important;
}

.consentmode-option strong,
.consentmode-option small {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.consentmode-option small {
  color: #d8d0c2;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.consentmode-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0 !important;
  accent-color: #c9a227;
}

@media (max-width: 767px) {
  .consentmode-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .consentmode-banner__actions,
  .consentmode-modal__actions {
    justify-content: stretch;
  }

  .consentmode-btn {
    flex: 1 1 auto;
  }
}

.consentmode-modal--corner {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 24px 24px;
}

.consentmode-modal--corner .consentmode-modal__panel {
  width: min(620px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}

@media (max-width: 767px) {
  .consentmode-modal--corner {
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
  }

  .consentmode-modal--corner .consentmode-modal__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
  }
}
