.ym-consent-banner{position:fixed;z-index:100000;left:20px;right:20px;bottom:20px;max-width:900px;margin:0 auto;padding:18px 20px;display:flex;align-items:center;gap:22px;border:1px solid rgba(202,183,255,.27);border-radius:16px;background:rgba(22,21,34,.98);box-shadow:0 18px 60px rgba(0,0,0,.48);color:#f4f0ff;backdrop-filter:blur(14px)}
.ym-consent-banner[hidden],.ym-settings-button[hidden]{display:none!important}
.ym-consent-copy{flex:1;min-width:0}.ym-consent-copy strong{display:block;font-size:14px;font-weight:800;margin-bottom:6px}.ym-consent-copy p{margin:0;color:#c2bdcf;font-size:11px;line-height:1.65}.ym-consent-copy a{color:#d4baff;text-decoration:underline;text-underline-offset:2px}
.ym-consent-actions{display:flex;flex-shrink:0;gap:9px}.ym-consent-button,.ym-settings-button{font:inherit;cursor:pointer;border-radius:10px;font-size:11px;font-weight:800;padding:11px 14px;border:1px solid rgba(202,183,255,.25);transition:filter .15s ease,transform .15s ease}.ym-consent-button:hover,.ym-settings-button:hover{filter:brightness(1.12);transform:translateY(-1px)}.ym-consent-primary{color:#171322;border:0;background:linear-gradient(100deg,#ffb2a7,#b59bff)}.ym-consent-secondary{color:#eee8fa;background:rgba(255,255,255,.04)}
.ym-settings-button{position:fixed;z-index:99998;right:16px;bottom:14px;color:#e9e2fb;background:rgba(24,23,37,.94);box-shadow:0 6px 22px rgba(0,0,0,.25);font-size:10px;padding:8px 11px}
@media(max-width:700px){.ym-consent-banner{left:10px;right:10px;bottom:10px;padding:15px;display:block;border-radius:14px}.ym-consent-copy strong{font-size:13px}.ym-consent-copy p{font-size:10px}.ym-consent-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr}.ym-consent-button{padding:11px 8px;font-size:10px}.ym-settings-button{right:10px;bottom:10px}}

/* Keep the consent UI clear of the fixed mobile call-to-action and device safe area. */
@media(max-width:700px){
  .ym-consent-banner{bottom:calc(148px + env(safe-area-inset-bottom, 0px));max-height:min(48vh, 330px);overflow-y:auto}
  /* Settings sits on the left of the Netlify badge; the main chat CTA is stacked above both. */
  .ym-settings-button{left:10px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom, 0px));max-width:calc(50vw - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
