/* The ad consent banner, the opt-out notice and "Ad choices" (public/static/ads.js).
   Only on pages the Worker gives ad tags to, and only once a platform is configured. */
.ads-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  width: max-content;
  max-width: min(720px, calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 16px;
  padding: 10px 10px 10px 16px;
  background: var(--bg-raised, #262624);
  color: var(--text, #f0eee6);
  border: 1px solid var(--line-strong, #4a4843);
  border-radius: var(--radius, 10px);
  box-shadow: var(--shadow-menu, 0 12px 28px rgba(0, 0, 0, 0.45));
  font-size: 14px;
  line-height: 1.5;
}
.ads-consent p { flex: 1 1 auto; margin: 0; color: var(--text-dim, #b5b2a8); white-space: nowrap; }
.ads-consent a { color: var(--accent, #d97757); }
.ads-consent-actions { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
@media (max-width: 560px) {
  .ads-consent { flex-wrap: wrap; width: auto; }
  .ads-consent p { white-space: normal; }
  .ads-consent-actions { flex: 1 1 100%; }
  .ads-consent-actions .btn { flex: 1 1 0; }
}
.ads-choices { font-size: inherit; color: inherit; }

/* The accepting answer reads as the main one. */
.ads-consent-actions .btn:last-child { background: var(--accent, #d97757); border-color: var(--accent, #d97757); color: var(--accent-ink, #fff); }
.ads-consent-actions .btn:last-child:hover { filter: brightness(1.06); }
