/* V26 analytics choice: contained styles, independent of the existing site theme. */
.drs-analytics-choice,
.drs-analytics-choice *,
.drs-analytics-settings {
  box-sizing: border-box;
}

.drs-analytics-choice {
  position: fixed;
  z-index: 99999;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  max-width: 690px;
  margin-left: auto;
  padding: 23px 26px 22px;
  border: 1px solid rgba(218, 175, 91, 0.8);
  border-radius: 12px;
  background: #111015;
  box-shadow: 0 17px 50px rgba(0, 0, 0, 0.58);
  color: #f9f5ec;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
}

.drs-analytics-copy strong {
  display: block;
  margin: 0 0 6px;
  color: #e9bb70;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.drs-analytics-copy p {
  margin: 0 0 16px;
  max-width: 590px;
  color: #ede7dc;
}

.drs-analytics-copy a {
  color: #f3cd89;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drs-analytics-copy a:hover {
  color: #ffe9b6;
}

.drs-analytics-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.drs-analytics-actions button {
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid #caa66e;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 140ms ease, color 140ms ease;
}

.drs-analytics-decline {
  background: transparent;
  color: #f4ead9;
}

.drs-analytics-accept {
  background: #d8b16b;
  color: #16120d;
}

.drs-analytics-decline:hover {
  background: #332a21;
}

.drs-analytics-accept:hover {
  background: #f3d599;
}

.drs-analytics-choice button:focus-visible,
.drs-analytics-settings:focus-visible {
  outline: 3px solid #f0ce8a;
  outline-offset: 3px;
}

.drs-analytics-settings {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #e6c17f;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 540px) {
  .drs-analytics-choice {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 17px 17px 16px;
    font-size: 13px;
  }

  .drs-analytics-actions {
    justify-content: stretch;
  }

  .drs-analytics-actions button {
    flex: 1 1 135px;
  }
}
