.dy-consent{position:fixed;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));z-index:200;box-sizing:border-box;max-width:980px;margin:auto;display:flex;align-items:center;gap:20px;padding:14px 18px;border:1px solid #b5c2b6;border-radius:14px;background:#fff;color:#1b2720;box-shadow:0 8px 30px #0003;font:14px/1.4 system-ui,sans-serif;text-align:start}
.dy-consent strong{font-size:15px}.dy-consent p{margin:4px 0}.dy-consent a{display:inline-flex;align-items:center;min-height:32px;color:#185f47;text-decoration:underline;text-underline-offset:3px}
.dy-consent-buttons{display:flex;gap:8px;flex:none}.dy-consent button{min-width:110px;min-height:44px;padding:10px 14px;border:1px solid #17543f;border-radius:8px;background:#fff;color:#17543f;font:700 14px/1.2 system-ui,sans-serif;cursor:pointer}
.dy-consent :is(button,a):focus-visible{outline:3px solid #9b5b25;outline-offset:2px}
@media(max-width:670px){.dy-consent{left:8px;right:8px;display:block;padding:10px 12px;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));overflow:auto}.dy-consent strong{display:none}.dy-consent p{margin:0;font-size:13px;line-height:1.35}.dy-consent a{font-size:13px;min-height:36px}.dy-consent-buttons{margin-top:4px}.dy-consent button{flex:1;min-width:0}}

/* Reserve sight lines on short landscape screens while consent is pending. */
@media (orientation: landscape) and (max-height: 420px) {
  .dy-consent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 8px 12px;
  }
  .dy-consent p { margin: 0; font-size: 13px; line-height: 1.3; }
  .dy-consent a { min-height: 28px; }
  .dy-consent-buttons { margin-top: 0; }
  .dy-consent button { padding-inline: 10px; white-space: nowrap; }
  body:has(#dyConsentBanner) [data-package-demo-id] { scroll-margin-bottom: 112px; }
}
