.privacy-consent-overlay{
  position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:20px;
  background:rgba(10,13,30,.68);backdrop-filter:blur(5px);z-index:1000;
}
.privacy-consent-overlay.open{display:flex}
.privacy-consent-dialog{
  width:min(100%,560px);max-height:min(760px,calc(100vh - 40px));overflow:auto;
  background:var(--panel,#fff);color:var(--ink,#1a2033);border:1px solid var(--line,#e6e8ef);
  border-radius:18px;box-shadow:0 24px 80px rgba(10,13,30,.28);padding:26px;
}
.privacy-consent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.privacy-consent-head h2{font-size:1.25rem;line-height:1.35;letter-spacing:-.02em}
.privacy-consent-close{
  flex:0 0 auto;width:36px;height:36px;border:1px solid var(--line,#e6e8ef);border-radius:10px;
  background:transparent;color:inherit;font:inherit;cursor:pointer;
}
.privacy-consent-summary{
  display:grid;gap:9px;margin-bottom:18px;padding:16px;border-radius:13px;
  background:var(--bg-soft,#f6f7fa);font-size:.9rem;line-height:1.55;
}
.privacy-consent-summary b{margin-right:6px}
.privacy-consent-warning{margin:0 0 18px;color:var(--amber,#a4510c);font-size:.86rem;font-weight:700}
.privacy-consent-check{
  display:flex;align-items:flex-start;gap:10px;padding:12px 0;font-size:.9rem;line-height:1.55;cursor:pointer;
}
.privacy-consent-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--brand,#4655d4);flex:0 0 auto}
.privacy-consent-check a{color:var(--brand-ink,#3542ad);text-decoration:underline;text-underline-offset:2px}
.privacy-consent-marketing{display:none;border-top:1px solid var(--line,#e6e8ef)}
.privacy-consent-marketing.show{display:flex}
.privacy-consent-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.privacy-consent-actions button{
  min-height:44px;padding:10px 17px;border-radius:10px;border:1px solid var(--line,#e6e8ef);
  background:var(--panel,#fff);color:var(--ink,#1a2033);font:inherit;font-weight:700;cursor:pointer;
}
.privacy-consent-actions .primary{background:var(--brand,#4655d4);color:#fff;border-color:transparent}
.privacy-consent-actions .primary:disabled{opacity:.42;cursor:not-allowed}
body.privacy-dialog-open{overflow:hidden}
@media(max-width:560px){
  .privacy-consent-overlay{align-items:flex-end;padding:0}
  .privacy-consent-dialog{width:100%;max-height:90vh;border-radius:20px 20px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom))}
  .privacy-consent-actions{display:grid;grid-template-columns:1fr 1.35fr}
}
