.nx-cookie-banner,.nx-cookie-dialog { color:var(--nx-text); background:var(--nx-surface); border:1px solid rgba(var(--nx-border-rgb),.3); border-radius:16px; box-shadow:0 12px 70px rgba(var(--nx-shadow-rgb),0.5333333333333333); }
.nx-cookie-banner { position:fixed; z-index:80; inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); padding:24px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; max-height:85svh; overflow:auto; }
.nx-cookie-banner[hidden] { display:none; }
.nx-consent h2 { font-size:22px; font-weight:500; letter-spacing:-.025em; }
.nx-consent p { font-size:14px; color:var(--nx-muted); margin:12px 0; max-width:85ch; }
.nx-consent a { font-size:14px; text-underline-offset:4px; }
.nx-cookie-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.nx-consent button { cursor:pointer; min-height:44px; padding:10px 16px; border:1px solid var(--nx-muted); border-radius:999px; background:var(--nx-transparent); font-size:14px; line-height:1.4; }
.nx-consent button:hover { border-color:var(--nx-cyan); background:var(--nx-surface-2); }
.nx-cookie-dialog { padding:28px; max-width:min(620px,calc(100% - 24px)); max-height:calc(100svh - 32px); overflow:auto; }
.nx-cookie-dialog::backdrop { background:rgba(var(--nx-veil-rgb),0.8); }
.nx-cookie-dialog-head { display:flex; align-items:start; gap:16px; justify-content:space-between; }
.nx-cookie-option { padding-block:20px; border-top:1px solid rgba(var(--nx-border-rgb),0.18823529411764706); }
.nx-cookie-option h3 { font-size:16px; margin:0; font-weight:500; }
.nx-cookie-option label { display:flex; align-items:center; gap:12px; min-height:44px; font-size:16px; cursor:pointer; }
.nx-cookie-option input { width:22px; height:22px; accent-color:var(--nx-cyan); flex:none; }
.nx-cookie-dialog .nx-cookie-actions { margin-top:24px; }
.nx-cookie-table { width:100%; margin-block:24px; border-collapse:collapse; table-layout:fixed; font-size:13px; line-height:1.6; }
.nx-cookie-table caption { text-align:left; color:var(--nx-text); font-size:16px; font-weight:500; padding-bottom:12px; }
.nx-cookie-table th,.nx-cookie-table td { text-align:left; vertical-align:top; padding:12px 8px; border-bottom:1px solid rgba(var(--nx-border-rgb),0.18823529411764706); overflow-wrap:anywhere; }
.nx-cookie-table tbody th,.nx-cookie-table td { color:var(--nx-muted); font-weight:400; }
.nx-cookie-toast { position:fixed; z-index:100; bottom:24px; left:50%; transform:translateX(-50%); border-radius:999px; background:var(--nx-surface); padding:12px 20px; pointer-events:none; }
.nx-cookie-toast:empty { display:none; }
@media(max-width:1100px) { .nx-cookie-banner { grid-template-columns:minmax(0,1fr); gap:14px; } }
@media(max-width:480px) { .nx-cookie-banner { padding:18px; } .nx-cookie-actions { align-items:stretch; } .nx-cookie-actions button { flex:1 1 120px; } .nx-cookie-dialog { padding:20px; } }

@media (max-width:480px) {
  .nx-cookie-banner { padding:14px 16px; gap:10px; max-height:46svh; }
  .nx-consent .nx-cookie-banner h2 { font-size:16px; }
  .nx-cookie-banner p { font-size:13px; line-height:1.5; margin:6px 0; }
  .nx-cookie-banner .nx-cookie-actions { gap:6px; }
  .nx-cookie-banner .nx-cookie-actions button { min-height:44px; padding:8px 10px; font-size:13px; flex:1 1 30%; }
}
.nx-cookie-toast { left:max(16px,env(safe-area-inset-left)); bottom:max(16px,env(safe-area-inset-bottom)); transform:none; font-size:13px; padding:10px 16px; border:1px solid rgba(var(--nx-border-rgb),.3); }
.nx-consent .nx-cookie-toast { margin:0; max-width:calc(100vw - 32px); white-space:normal; line-height:1.5; }
