.ew-cookie-notice {
  position: fixed; left: 20px; bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 99980; width: min(500px, calc(100vw - 40px)); box-sizing: border-box;
  padding: 22px 24px; border: 1px solid #e2e4e8; border-radius: 16px;
  background: var(--ew-cn-background, #fff); color: var(--ew-cn-text, #30343b); box-shadow: 0 8px 36px #0002;
  font-family: var(--e-global-typography-text-font-family, inherit); font-size: 15px; line-height: 1.55;
  text-align: left; max-height: 50dvh; overflow: auto;
}
/* Hidden must override theme display rules, including delayed/cached markup. */
.ew-cookie-notice[hidden] { display: none !important; }
.ew-cookie-notice p { margin: 0 0 16px; padding: 0; color: inherit; font: inherit; }
.ew-cookie-notice-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ew-cookie-notice .ew-cookie-notice-actions button {
  margin: 0; padding: 10px 22px; min-height: 44px; border: 0; border-radius: 8px;
  background: var(--ew-cn-button, #a01d21); color: var(--ew-cn-button-text, #fff);
  font: inherit; font-weight: 600; line-height: 1.5; text-transform: none; cursor: pointer;
}
.ew-cookie-notice .ew-cookie-notice-actions a { color: var(--ew-cn-link, #30343b); font: inherit; text-decoration: underline; text-underline-offset: 3px; padding-block: 10px; }
.ew-cookie-notice button:hover { filter: brightness(.9); }
.ew-cookie-notice :is(button,a):focus-visible { outline: 2px solid #30343b; outline-offset: 4px; }
@media (max-width: 600px) {
  .ew-cookie-notice { left: 12px; width: calc(100vw - 24px); padding: 18px; bottom: max(12px, env(safe-area-inset-bottom)); font-size: 14px; }
}
