.bydi-privacy-link{display:inline-block;margin:8px 0 12px;padding:7px 12px;border:1px solid currentColor;border-radius:8px;color:inherit;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:3px}
#bydiPrivacyWelcome[hidden]{display:none!important}
#bydiPrivacyWelcome{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;background:rgba(0,12,24,.82);padding:14px}
#bydiPrivacyWelcomePanel{box-sizing:border-box;width:min(590px,100%);max-height:85vh;max-height:90dvh;overflow:auto;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:clamp(20px,4vw,30px);box-shadow:0 15px 60px var(--bydi-ui-browser-choice-shadow);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}
#bydiPrivacyWelcomePanel h2{margin:0 0 14px;font-size:24px;color:var(--cyan)}
#bydiPrivacyWelcomePanel p{margin:12px 0}#bydiPrivacyWelcomePanel a{color:var(--cyan);overflow-wrap:anywhere}
#bydiPrivacyContinue{display:block;margin:18px 0 0 auto;border:1px solid var(--bydi-component-action-blue, var(--bydi-component-action-blue));background:var(--bydi-component-action-blue, var(--bydi-component-action-blue));color:white;padding:11px 24px;border-radius:10px;cursor:pointer;font:inherit;font-weight:700}
#bydiPrivacyWelcomePanel :focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
html[data-byd-theme="light"] #bydiPrivacyWelcome{background:rgba(27,57,81,.55)}
html[data-byd-theme="light"] #bydiPrivacyWelcomePanel{background:var(--bydi-ui-browser-choice-light-bg);color:var(--bydi-component-text-navy, var(--bydi-ui-group-text-light));border-color:var(--bydi-ui-residual-b5d4e6)}
@media(max-width:550px){#bydiPrivacyWelcomePanel{font-size:15px}#bydiPrivacyWelcomePanel h2{font-size:22px}}

/* V20.17: desktop initial screens, aligned like the approved tutorial. */
@media (min-width: 768px) and (min-height: 550px) {
  #bydiPrivacyWelcomePanel {
    width: min(590px, 100%);
    height: min(620px, calc(100dvh - 28px));
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #bydiPrivacyWelcomePanel > :not(button) { flex-shrink: 0; }
  #bydiPrivacyContinue, #bydiIntroContinue {
    margin-top: auto;
    margin-left: auto;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 1;
  }
}
