/* meydn-consent.css — the consent sheet (MEY-30).
   Self-contained: both surfaces load it and neither's design tokens are assumed.
   The two buttons share ONE rule and split the row evenly. Reject all must have
   the same visual prominence as Accept all (EDPB cookie-banner guidance), and
   _test_consent_browser.mjs compares their computed styles. Do not give either
   button its own rule. */
.mc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  box-sizing: border-box;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(242, 239, 232, 0.14);
  border-radius: 14px;
  background: rgba(20, 20, 18, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #f2efe8;
  font: 14px/1.5 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.mc-banner[hidden] { display: none; }
.mc-text { margin: 0 0 14px; }
.mc-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mc-actions { display: flex; gap: 10px; }
.mc-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(242, 239, 232, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #f2efe8;
  font: 500 14px/1.2 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
.mc-btn:hover { background: rgba(242, 239, 232, 0.08); }
.mc-btn:focus-visible { outline: 2px solid #f2efe8; outline-offset: 2px; }

/* "Cookie settings" sits among each page's footer links, so it strips the button
   chrome and inherits everything else. Buttons do not inherit letter-spacing or
   text-transform by default; the page's own link rule does the rest. */
[data-consent-open] {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}
[data-consent-open][hidden] { display: none; }
